Francisco Molina
e0855dedfd
tests: remove uneeded DISABLE_MODULE+=auto_init
2020-02-12 16:51:34 +01: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
Benjamin Valentin
58892fbbef
tests: add stm32f030f4-demo to Makefile.ci
2019-10-21 15:33:11 +02:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
...
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
fd6fedaab6
tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
...
- Moved the BOARD_INSUFFICIENT_MEMORY list into Makefile.ci
- Formatted the list to contain one board per line
- Sorted the lists alphabetically
2019-10-17 15:11:59 +02: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
4ac2b4ec2b
tests: exclude stm32l0538-disco board
...
because of insufficient memory available
2019-07-08 21:50:36 +02:00
Marian Buschsieweke
855b5bd54d
tests: Updated BOARD_INSUFFICIENT_MEMORY
...
Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed
2019-05-24 17:57:44 +02:00
07a7ae9c3a
test: not enough memory for i-nucleo-lrwan1
2019-05-21 09:57:33 +02:00
a9cd9433f0
tests/posix_semaphore: unify and increase allowed test4 margin
...
Previously, there was a very tight allowed margin (100us), then some
special cases for platforms for which the test would otherwise fail,
increasing the margin.
This turned out to be a maintanance burden, as each slightly special
board needed a PR adding the special case.
This commit sets a quite large margin (1000us, 0.1% of total delay),
which should be large enough to not trip over platform-induced timer
inaccuracies, but still verify that the module is using timers
correctly.
(This is not a timer accuracy test.)
2019-05-06 14:51:44 +02:00
Gaëtan Harter
732bcc7335
tests/posix_semaphore: sem_timedwait should not return before abstime
...
Update the test as sem_timedwait is not supposed to return before the
given abstime.
Source: http://pubs.opengroup.org/onlinepubs/9699919799.2016edition/functions/sem_timedwait.html
The timeout shall expire when the absolute time specified by abstime
passes, as measured by the clock on which timeouts are based (that is,
when the value of that clock equals or exceeds abstime), or if the
absolute time specified by abstime has already been passed at the time
of the call.
2019-03-20 15:18:25 +01:00
Marian Buschsieweke
0e90e6195f
tests: Updated Updated BOARD_INSUFFICIENT_MEMORY
...
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 15:39:54 +01:00
Gaëtan Harter
6e7fa9e9e0
tests/posix_semaphore: private sub functions for tests libs
...
While trying python test libraries, like pytest, the automatic test collection
detects the `testNUM` functions as tests but does not know the `term` argument
and fails.
This declares them as private to only find `testfunc(child)` entry point.
Another solution could have been to use `testNUM(child)` and rename
`testfunc` to `main` but would not match other tests.
2019-01-21 12:32:29 +01:00
bd77949bc7
tests/posix_semaphore: increase timeout margin
...
Otherwise it may break on nrf51 boards where the timeout can be slightly above 100. Using 105us margin seems enough
2018-12-14 22:22:36 +01:00
472bd0ae01
tests: remove obsolete local test targets
2018-09-07 15:13:08 +02:00
cladmi
6942c376df
tests/: blacklist arduino boards based on ROM/RAM overflow
2018-09-05 12:08:29 +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
Michel Rottleuthner
aca8953827
tests: add nucleo-f303k8 to BOARD_INSUFFICIENT_MEMORY
2018-07-17 17:52:12 +02:00
633a92929d
boards/nucleo-l031k6: rename to st marketing name
2018-05-23 12:50:33 +02:00
81700d4301
boards/nucleo-f042k6: rename to st marketing name
2018-05-23 12:49:40 +02:00
3e4f7adc95
boards/nucleo-f031k6: rename to st marketing name
2018-05-23 12:46:42 +02:00
18435609ce
boards/nucleo-l053r8: rename to marketing name
2018-05-22 22:02:57 +02:00
b0912659b5
boards/nucleo-f334r8: rename to marketing name
2018-05-22 21:52:41 +02:00
bd6a7c3d26
boards/nucleo-f030r8: rename to marketing name
2018-05-22 21:52:41 +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
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
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
Hauke Petersen
24056f3fd8
tests/examples: removed pca1000x from Makefiles
2017-11-09 13:59:18 +01:00
Gaëtan Harter
e6e4072335
tests/posix_semaphore: test4: allow native to take more time
...
As not real time, native does often not weak up before 100ms.
I observed mostly between 0 and 200 but also got a 250, so I allow 300 more.
2017-10-24 13:38:35 +02:00
Gaëtan Harter
712550987d
tests/posix_semaphore: test4: fix timestamp comparison
...
Only use a 'start' and a 'elapsed' timestamp to compare diff.
And remove the puts from within the measured time.
2017-10-24 13:38:03 +02:00
Gaëtan Harter
ffcdb61211
tests/posix_semaphore: test4: BUG add '\0' after fmt_u64_dec
...
fmt_u64_dec does not include the terminating null string character.
2017-10-24 13:36:06 +02:00
Gaëtan Harter
fe9c604391
tests/posix_semaphore: test4: only one call to fmt_u64_dec
2017-10-24 13:36:06 +02:00
Gaëtan Harter
14235b57ec
tests/posix_semaphore: test4: change msg when waited more than expected
2017-10-24 13:36:06 +02:00
Hauke Petersen
cfa9580f31
boards: removed support for weio
...
No maintainer and no hardware available to the community.
2017-08-28 12:11:51 +02:00
b0128f9dd1
tests: remove nucleo32-l031 from memory intensive tests
2017-03-15 14:08:06 +01:00
Vincent Dupont
ad0f0877cc
tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically
2017-03-13 18:27:50 +01:00
d0e641e80b
tests: remove nucleo-l053 from memory intensive tests
2017-03-02 13:52:12 +01:00
77df65e95e
tests: add nucleo32-f031 to unsufficient memory boards
2017-02-22 18:43:02 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
963662416b
boards/nucleo32-f042: change board name nucleo->nucleo32
2017-01-18 22:04:59 +01:00
Vincent Dupont
1a12a40110
boards/nucleo-f042: initial support
2017-01-10 10:34:35 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Martine Lenders
8136a12d24
tests: fix posix_semaphore output and for timer error
2016-11-08 16:38:04 +01:00