samples: flash_shell: use shell harness
Use shell harness for basic testing of this sample. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
f92ae6d844
commit
88b5f1232d
3 changed files with 8 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
|||
zephyr,uart-pipe = &uart1;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,flash-controller = &sim_flash_controller;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
@ -10,7 +10,10 @@ tests:
|
|||
platform_exclude:
|
||||
- stm32h7s78_dk
|
||||
- gd32f350r_eval
|
||||
harness: keyboard
|
||||
harness: shell
|
||||
extra_configs:
|
||||
- arch:posix:CONFIG_NATIVE_UART_0_ON_STDINOUT=y
|
||||
min_ram: 12
|
||||
integration_platforms:
|
||||
- qemu_x86
|
||||
- native_sim
|
||||
|
|
3
samples/drivers/flash_shell/test_shell.yml
Normal file
3
samples/drivers/flash_shell/test_shell.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
test_shell_harness:
|
||||
- command: "flash page_info 0"
|
||||
expected: "Page for address 0x0"
|
Loading…
Add table
Add a link
Reference in a new issue