Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync
2021-01-20 17:36:14 +01:00
Leandro Lanzieri
ee3e3578d4
tests/{x,z}timer: add Kconfig configuration files
2021-01-19 09:31:05 +01:00
ec65e8a776
tests/xtimer_usleep: fix test to allow zero (perfect) offset
2020-09-22 11:50:02 +02:00
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
1172ca9f93
tests/xtimer_usleep: 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
Benjamin Valentin
4918dfe590
tests: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Gaëtan Harter
bdd721fff4
tests/xtimer: blacklist native instead of whitelisting
...
Blacklist native for the xtimer tests that have timing issues.
This also enables running the test on `nrf52dk` as I think it was
forgotten when adding the support.
2019-06-26 17:53:58 +02:00
7f5a402267
tests/posix_time,xtimer_usleep: add stdin dependency
2019-06-20 16:01:45 +02:00
francisco
a687a26f42
tests/xtimer_usleep: fail with negative offset
...
- xtimer_usleep(timeout) should sleep for at least timeout us.
Negative offset, i.e. sleeping less than the specified time
is incorrect.
2019-05-14 08:57:29 +02:00
Gaëtan Harter
1bc0bbb1a8
tests/xtimer_usleep: disable running test on native
...
The test randomly fails for unrelated PRs. Expecting real-time timing on
native is not really possible. Maybe it could be fixed but it currently
triggers many false positive.
2018-12-05 17:32:53 +01: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
Josarn
ffb8c27956
tests/xtimer_usleep: Add SLEEP_PIN, Updated README
2018-05-29 16:09:20 +02:00
Francisco Acosta
d634b7b1d9
tests: add more hardware in the loop tests
2018-05-15 19:54:51 +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
smlng
9da940736b
tests: use python3 for tests scripts
2018-01-26 11:09:11 +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
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
24fa718327
tests: xtimer_usleep: provide README
2017-10-25 11:31:29 +02:00
Martine Lenders
bea71f6c5c
tests: xtimer_usleep: remove timer testing in pexpect
...
As with #7816 : testing timings over the UART doesn't make much sense.
This PR removes those timer testing in `pexpect` for
`tests/xtimer_usleep` and simplifies and cleans-up a lot of code overall
(converting counting while-loops to for-loops, syncing iterations of
the test etc.)
2017-10-25 11:31:29 +02:00
Oleg Hahm
693636690c
Merge pull request #6399 from OlegHahm/timex_constants
...
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
smlng
6a037ad004
tests: add prefix to Makefile.tests_common
...
- fixes name clash on macOS
- correct naming of test coap to pkg_libcoap
2017-01-19 15:20:37 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
kYc0o
ddaa28fdc1
tests: add xtimer_usleep test
2017-01-18 23:55:02 +01:00