Skip to content

Commit 831987d

Browse files
soburidkalowsk
authored andcommitted
tests: drivers: display: controlling test execution with fixture
Currently, the `display_read_write` test execution can be suppressed by `harness: display`, but since the display harness does not exist, there is no way to run tests. Using a fixture, it will be possible only to build if not specified, and run tests if specified. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
1 parent 1387657 commit 831987d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/drivers/display/display_read_write/testcase.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ common:
55
tags:
66
- drivers
77
- display
8-
harness: display
8+
harness: ztest
9+
harness_config:
10+
fixture: display
911
tests:
1012
drivers.display.read_write.sdl.argb8888:
1113
platform_allow:

0 commit comments

Comments
 (0)