Skip to content

Commit 6ef85ed

Browse files
aescolarAnas Nashif
authored andcommitted
test: shell: native_posix also supports shell
The native_posix port also supports shell apps thru its stdin redirection. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent e3f727c commit 6ef85ed

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

samples/subsys/shell/shell_module/sample.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ sample:
22
name: Shell Sample
33
tests:
44
test:
5-
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT
5+
filter: ( CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT )
6+
or CONFIG_NATIVE_POSIX_STDIN_CONSOLE
67
tags: samples shell
78
harness: keyboard

tests/bluetooth/shell/testcase.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
tests:
22
test:
3-
platform_whitelist: qemu_cortex_m3 qemu_x86 arduino_101
3+
platform_whitelist: qemu_cortex_m3 qemu_x86 arduino_101 native_posix
44
tags: bluetooth
55
harness: keyboard
66
test_br:
77
extra_args: CONF_FILE="prj_br.conf"
8-
platform_whitelist: qemu_cortex_m3 qemu_x86
8+
platform_whitelist: qemu_cortex_m3 qemu_x86 native_posix
99
tags: bluetooth
1010
harness: keyboard

tests/shell/testcase.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
tests:
22
test:
3-
filter: (CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT)
3+
filter: ( CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT )
4+
or CONFIG_NATIVE_POSIX_STDIN_CONSOLE
45
tags: shell

0 commit comments

Comments
 (0)