Francisco Molina
416c048737
tests: add test_utils_interactive_sync when possible
...
- Define test_utils_interactive_sync as DEFAULT_MODULE in Makefile.tests_common
- For tests disabling autoinit, add test_utils_interactive_sync to main
- Add DISABLE_MODULE += test_utils_interactive_sync for tests requiring
sudo, `tests/shell`, `tests/minimal` and `tests/stdin`
- Add shell_commands to tests/periph_wdt and tests/struct_tm_utility to
pull `r` and `s` commands
- Remove includes and usage in `tests/main.c` for tests that where
already using test_utils_interactive_sync
2019-11-27 15:07:42 +01:00
Gaëtan Harter
8e5422ff78
applications: remove 'TEST_ON_CI_WHITELIST += all'
...
This is now the default so not required anymore.
2019-08-21 12:51:17 +02:00
Gaëtan Harter
ed27d3b68b
tests/posix_time: use test_utils_interactive_sync
...
Use test_utils_interactive_sync for synchronizing test instead of the
custom 'getchar' handling.
2019-08-15 12:26:28 +02:00
7f5a402267
tests/posix_time,xtimer_usleep: add stdin dependency
2019-06-20 16:01:45 +02:00
472bd0ae01
tests: remove obsolete local test targets
2018-09-07 15:13:08 +02: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
Francisco Acosta
1886256f90
tests: add HIL for selected test
2018-04-09 17:50:22 +02:00
smlng
fbb34761a3
examples/posix_sockets: fix undefined usleep
2018-01-16 13:22:35 +01: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
ec5a9a5f88
tests: fix python style E502 issue:
...
E502 the backslash is redundant between brackets
2017-12-12 15:14:47 +01:00
9f4096059e
tests: fix python E127 'continuation line over/under-indented for visual indent'
2017-12-03 20:18:56 +01:00
Cenk Gündoğan
ac1a645fd1
Merge pull request #8190 from kaspar030/name_tests_by_folder
...
tests: set APPLICATION from folder name
2017-12-01 11:39:19 +01:00
fc2eff9fba
tests: remove redundant APPLICATION defines
2017-12-01 11:03:39 +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
Martine Lenders
f3f5489b4e
tests: update posix_time tests for running with pexpect script
2017-11-12 19:55:57 +01:00
Martine Lenders
0a0bb86f4a
posix: move time functions to their own module
2017-11-12 19:55:57 +01:00