Benjamin Valentin
f404519ce3
tests/shell: enable the test on native
...
Now that #19002 has been merged, the test is also working on `native`.
2025-04-14 18:56:44 +02:00
Mikolai Gütschow
69c15e1754
boards: make BOARD=native an alias for BOARD=native32
2025-04-01 12:39:06 +02:00
Benjamin Valentin
7c3637a62d
tests/shell: drop test that only ever worked on native
...
It's no longer working on native, but native behaves more like a
real board now.
2025-03-13 00:24:09 +01:00
Marian Buschsieweke
8903c82320
tests/sys/shell: improve test automation
...
This changes the matching to not eagerly match a shell commands
description across a line break.
2024-12-31 11:30:27 +01:00
Mikolai Gütschow
be5d099e84
tests/sys/shell: use default terminal instead of socat
...
python tests by default already use make cleanterm
2024-12-02 08:50:27 +01:00
Marian Buschsieweke
b858614fec
tests/sys/shell: make test more robust
...
This changes the behavior of the test script for verifying the `help`
command: It no longer assumes a specific order for the list of commands.
Making the test robust is a bit tricky, as the module
`shell_cmds_default` that is used here may add commands specific to a
set of board. We use `help_json` to get the list of commands actually
provided, so that we know how many rows the command table printed
by `help` need to be parsed.
A minimum set of commands that *must* be present for all boards is
hard-coded in the test script and the actually provided commands are
tested against this. Otherwise e.g. an empty list of commands presented
by `help` and `help_json` would also pass.
Co-authored-by: benpicco <benpicco@googlemail.com>
2024-11-25 17:23:26 +01:00
Marian Buschsieweke
5a342e8a4b
tests/sys/shell: fix invalid escaping in test
...
This fixes:
/home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/tests/sys/shell/tests/01-run.py:86: SyntaxWarning: invalid escape sequence '\e'
Python still assumes `\\<char>` if `\<char>` is not valid, but started
to warn. Chances are good that this will be elevated to an error in
future python releases.
2024-11-25 11:12:32 +01:00
Mikolai Gütschow
1fece9008e
tests/sys/shell: skip reboot for boards using highlevel_stdio
2024-11-14 14:40:54 +01:00
Benjamin Valentin
97128eef48
treewide: clean up remnants of THREAD_CREATE_STACKTEST
2024-10-07 17:31:31 +02:00
Marian Buschsieweke
d5839ca190
examples,tests: Bump Makefile.ci for MSP430 boards
2024-05-07 07:57:41 +02:00
dylad
1a69d9c4c1
tests/sys/shell: add boards to BOARD_INSUFFICIENT_MEMORY
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2024-04-06 12:00:16 +02:00
dylad
364519d5ce
tests/sys/shell: increase the stack size of periodic thread
...
Otherwise the test seems to be broken with LLVM toolchain
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2024-04-06 10:14:10 +02:00
Marian Buschsieweke
04620d471c
Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal
...
Remove Kconfig dependency modelling
2024-03-27 16:39:56 +00:00
benpicco
d13faeb1cc
Merge pull request #19005 from benpicco/tests/shell-preempt
...
tests/shell: add test for preemption
2024-03-26 23:56:59 +00:00
Benjamin Valentin
ac383b33ae
tests/shell: add test for preemption
...
This tests if a blocking stdio read will allow other threads to be scheduled.
2024-03-27 00:11:53 +01:00
MrKevinWeiss
db965c9491
*app.config.test*: Remove kconfig dep files
2024-03-26 14:53:35 +01:00
Dylan Laduranty
f78a41f1b3
treewide: replace shell_commands module in documentation
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-19 15:12:02 +01:00
Frederik Haxel
5ed0bafc92
examples, tests: Changes for the native64 board
...
- Adapted build system and test checks for the native boards to include native64
- Added `native64` to the same tests as `native`
2024-02-05 22:02:14 +01:00
Benjamin Valentin
d8cc2ac24f
tests: don't manually select native term
2023-12-23 20:27:47 +01:00
Oleg Hahm
c0e71b0592
Merge pull request #20172 from OlegHahm/pr/pyterm_native_pipe
...
pyterm: add native support
2023-12-21 23:08:22 +00:00
Frederik Haxel
fa0cf05d0a
tests: Use size_t print format specifier
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:37 +01:00
Oleg Hahm
99ff9bad03
examples: tests: update native TERMFLAGS
...
Updating the Makefiles for example and test applications to set the
TERMFLAGS correctly for native.
2023-12-18 13:44:20 +01:00
Hugues Larrive
3c465836f2
examples and tests: add atmega8 to relevent Makefile.ci
...
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +02:00
Alexandre Abadie
0147d44258
tests: move sys related applications to tests/sys/ subdirectory
2023-05-10 12:02:58 +02:00