Skip to content

Commit

Permalink
fix(tests): Specify native_sim in sample testcase
Browse files Browse the repository at this point in the history
Since `make test` specifies native_sim as the target, no configurations are run when executing `make test` on the template repo as-is.

We change the sample test configuration to use native_sim instead of native_posix, so it is picked up when using `make test`.
  • Loading branch information
TjazVracko authored and MarkoSagadin committed Nov 8, 2024
1 parent 507bb86 commit 2f3002c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sample_test/testcase.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tests:
tests.sample_test.posix:
# Set of platforms that this test case can be run on.
platform_allow: native_posix
platform_allow: native_sim
harness: ztest
# Only build the test, do not run it
# build_only: True
Expand Down

0 comments on commit 2f3002c

Please sign in to comment.