MrKevinWeiss
04630d20ba
sys/shell: Add optional hooks for shell commands
...
Introduce optional user shell_post_readline_hook, shell_pre_command_hook, shell_post_command_hook.
Enable with USEMODULE=shell_hooks.
Calls user implemented *_hook functions if defined.
If implementation does not exist, nothing happens.
The intent is to make profiling of the shell command timings easier.
Test provided in tests/shell with USEMODULE=shell_hooks.
2020-07-07 17:00:38 +02:00
Hendrik van Essen
c8daf596c9
tests/shell: add test case for shell's buffer size
...
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
Francisco Molina
e0855dedfd
tests: remove uneeded DISABLE_MODULE+=auto_init
2020-02-12 16:51:34 +01:00
Leandro Lanzieri
859250c66f
tests/shell: Init xtimer when stdio_rtt is used
2019-05-29 17:18:30 +02: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
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
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
d46c7e00d4
tests: remove test_
prefix
...
Closes #1485 .
2014-07-31 07:34:11 +02:00