Francisco Molina
4117b459af
tests/shell: fix reset dependency
2019-12-12 10:13:33 +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
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
Juan Carrano
2946f4b192
tests/shell: Test cancelling a line with ctrl-C.
...
Send garbage, cancel it and issue a valid command. No errors should
ocurr.
2019-08-15 17:40:17 +02:00
Juan Carrano
3f46863426
tests/shell: use tuple instead of dictionary in test scripts.
...
Python dictionaries are not guaranteed to be ordered until version
3.7. In 3.6 they are ordered too, but that is an implementation
detail. riotdocker seems to be using 3.5.
As it stands now, it would not be a problem if the test commands
are run in a random order, except that:
- It would result in non-reproduceable tests.
- It hinders testing other functionality, such as exiting the shell.
2019-08-15 17:13:42 +02:00
Juan Carrano
cdfece682f
tests/shell: Use socat as the RIOT_TERMINAL.
...
For test scripts, a terminal that does not modify the input and output
streams, configured without local echo, is preferred as it ensures the
test setup is introducing as little noise as possible.
2019-08-15 17:12:54 +02:00
Leandro Lanzieri
859250c66f
tests/shell: Init xtimer when stdio_rtt is used
2019-05-29 17:18:30 +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
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
MrKevinWeiss
c36cf5743f
tests/shell: Add app_metadata to shell tests
...
Adds app_metadata to the shell test
This both serves as a simple test to see if the module is available
and doesn't crash as well as an example
2019-03-06 13:07:57 +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
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
0611be6b1b
tests/shell: disable DEVELHELP
...
Fixes tests assuming non-DEVELHELP ps output.
2018-03-19 10:53:16 +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
fc2eff9fba
tests: remove redundant APPLICATION defines
2017-12-01 11:03:39 +01:00
5e159cf42e
tests/shell: migrate to testunner
2017-11-10 21:39:55 +01:00
smlng
9a7a8a17c6
doc, tests: fix non-standard quotes
2017-09-06 08:49:05 +02:00
25f900e489
tests, examples: adapt to simplified shell
2015-09-03 13:33:49 +02:00
Joakim Gebart
42d6feaa13
tests/shell: Use libc putchar/getchar instead of wrappers
2015-07-14 08:11:19 +02:00
Joakim Gebart
b318d2607c
tests/shell: Blacklist chronos for missing getchar implementation
2015-07-14 08:11:19 +02:00
kushalsingh007
9aae656be9
shell: Return-based error-handling for shell handlers
...
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
Oleg Hahm
9cf21545fa
make: fix dependencies
...
uart0 depends on POSIX, not the other way around.
2014-10-07 12:14:14 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
René Kijewski
8854e8989a
tests: fix APPLICATION name
2014-07-31 07:34:11 +02:00
René Kijewski
d46c7e00d4
tests: remove test_
prefix
...
Closes #1485 .
2014-07-31 07:34:11 +02:00