Skip to content

Commit 7fa5299

Browse files
nashifkartben
authored andcommitted
samples: mpu_test: verify sample using shell harness
Verify sample using shell harness instead of just building the sample. Signed-off-by: Anas Nashif <[email protected]>
1 parent d80e3f7 commit 7fa5299

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

samples/arch/mpu/mpu_test/sample.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ tests:
44
sample.mpu.mpu_test:
55
arch_allow: arm
66
filter: CONFIG_CPU_HAS_MPU and not CONFIG_ARM64
7-
tags: mpu
8-
harness: keyboard
7+
tags:
8+
- mpu
9+
harness: shell
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
test_shell_harness:
2+
- command: "mpu mtest 1"
3+
expected: "The value is: 0x.*"
4+
- command: "mpu mtest 2"
5+
expected: "The value is: 0x.*"

0 commit comments

Comments
 (0)