Kees Bakker
b9efe4e0c2
tests/rmutex: refactor the test to avoid having to know the thread IDs
...
When CDC ACM is used as stdio the first thread in the test may have a
different ID than #3 . The test code will now look at the printed thread
information (id, prio) as they are created. This avoids the need for a
table with ID/prio.
2020-06-09 23:05:30 +02:00
Francisco Molina
41e9f06b85
flake8: fix PEP8 W608 invalid escape sequence
2019-11-22 11:47:49 +01:00
smlng
3893f04d00
tests: move testrunner import up
...
Testrunner is now impported as a package found in PYTHONPATH, so
import can be placed at the top of the script as usual.
2018-08-13 14:11:24 +02:00
smlng
f9824abedb
tests: remove unused os package import
...
os package is imported by every test script but only used by
a few, thus flake8 check reported errors.
2018-08-13 14:11:23 +02:00
smlng
13d61b5c20
tests: use testrunner from pythonlibs
...
Remove now obsolete sys.append from all tests, as testrunner was moved
to dist/pythonlibs as proper package.
2018-08-13 14:11:23 +02:00
Gaëtan Harter
154fbcff35
tests: use RIOTTOOLS variable
...
Follow up to #9067 and part of #8821
2018-05-04 10:52:26 +02:00
Martine Lenders
ba2453d320
Merge pull request #8247 from aabadie/pr/tests/python_E305
...
tests: fix python style E305
2017-12-13 10:52:57 +01:00
87b14d96c8
tests: fix python style E402
...
E402 module level import not at top of file
2017-12-12 22:40:03 +01:00
d3015f0a57
tests: fix python style E305
...
expected 2 blank lines after class or function definition, found 1
2017-12-12 15:43:27 +01:00
c4f66edba1
tests: fix python style 'E302 expected 2 blank lines, found 1'
2017-11-29 17:32:06 +01:00
74b681560d
tests: fix python style 'E703 statement ends with a semicolon'
2017-11-27 17:33:48 +01:00
Martin Elshuber
b9bb22b393
Added test application for reentrant mutexes
...
* fixed BOARD_INSUFFICIENT_MEMORY for rmutex
2017-02-09 15:29:24 +01:00