Skip to content

Commit 0b370bc

Browse files
gbarkadiuszfabiobaltieri
authored andcommitted
Tests: Ztest_params fix.
- Add CONFIG_SHELL_PROMPT_UART to the prj.conf file. - Ensure the ztest_params test is flashed/run only once per Pytest session. Signed-off-by: Arkadiusz Cholewinski <[email protected]>
1 parent c377017 commit 0b370bc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/ztest/ztest_param/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
CONFIG_ZTEST=y
22
CONFIG_ZTEST_SHELL=y
33
CONFIG_ZTEST_SHUFFLE=y
4+
CONFIG_SHELL_PROMPT_UART="uart"

tests/ztest/ztest_param/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ tests:
44
- qemu_x86
55
tags: test_framework
66
harness: pytest
7+
harness_config:
8+
pytest_dut_scope: session

0 commit comments

Comments
 (0)