Skip to content

Commit f92ae6d

Browse files
nashifkartben
authored andcommitted
samples: shell: use shell harness
Use shell harness for basic testing of this sample. Signed-off-by: Anas Nashif <[email protected]>
1 parent c1f603b commit f92ae6d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

samples/subsys/shell/shell_module/sample.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ tests:
99
sample.shell.shell_module:
1010
filter: CONFIG_SERIAL and dt_chosen_enabled("zephyr,shell-uart")
1111
tags: shell
12-
harness: keyboard
12+
harness: shell
1313
min_ram: 40
1414
integration_platforms:
1515
- native_sim
16-
- intel_socfpga_agilex5_socdk
16+
extra_configs:
17+
- arch:posix:CONFIG_NATIVE_UART_0_ON_STDINOUT=y
1718
sample.shell.shell_module.usb:
1819
depends_on: usb_device
1920
tags:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
test_shell_harness:
2+
- command: "kernel cycles"
3+
expected: "cycles: .* hw cycles"
4+
- command: "kernel version"
5+
expected: "Zephyr version .*"

0 commit comments

Comments
 (0)