[riot-notifications] [RIOT-OS/RIOT] make: don't execute tilde files on test target (#11414)

Gaƫtan Harter notifications at github.com
Thu Apr 18 12:43:10 CEST 2019


I tested and it is indeed working, the `[^~]` is evaluated by make already and not only the shell. https://www.gnu.org/software/make/manual/html_node/Wildcards.html#Wildcards

It is however the only place where we need to do this. As all other `wildcard` are used with a file extension.
I would prefer to replace it by matching only `python` executable scripts as there are only python tests.

```
find tests/*/tests/  -type f -executable -exec basename {} \; | sort -u
01-make.py
01-run.py
02-bench.py
02-run.py
test.py
```

If at some point we need to add other tests file extensions, we could add them to the accepted list or maintain different lists with `PYTHONTESTS`, `SHELLTESTS` to allow maybe different handling.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11414#issuecomment-484448402
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190418/12388ca3/attachment-0001.html>


More information about the notifications mailing list