Skip to content

Commit

Permalink
samples: flash_shell: use shell harness
Browse files Browse the repository at this point in the history
Use shell harness for basic testing of this sample.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Feb 2, 2025
1 parent ed62507 commit e11a5f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion samples/drivers/flash_shell/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tests:
platform_exclude:
- stm32h7s78_dk
- gd32f350r_eval
harness: keyboard
harness: shell
min_ram: 12
integration_platforms:
- qemu_x86
3 changes: 3 additions & 0 deletions samples/drivers/flash_shell/test_shell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
test_shell_harness:
- command: "flash page_info 0"
expected: "Page for address 0x0"

0 comments on commit e11a5f7

Please sign in to comment.