Cannot run zephyrproject-rtos/example-application
Twister tests
#57119
Replies: 3 comments 2 replies
-
I saw the few reasons listed that would prevent the Twister from running the tests listed here:
but none of the above reasons are true in my case. I even have qemu installed and added to path but it isn't ran either. |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
I've just re-installed the environment but this time on WSL and it works by building and running with native_posix. Surprisingly, with qemu it seems that twister can't launch the application. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying Twister testing in the Zephyr example-application.
I'm running twister by calling
west twister -G --board-root boards/ --testsuite-root ./tests/
and this is what I got:Please focus on the
2 test configurations executed on platforms, 2 test configurations were only built
line where it says that the 2 test configurations were only built.To confirm this, I've went in
tests\lib\custom_lib\src\main.c
and addedzassert_equal(1, 0, "");
line that must fail in one of the tests and the test results inmy-manifest-repo\twister-out\twister.json
shows"status":"passed"
on every testsuite.My question is why the tests are not ran, even on
qemu_cortex_m0
platform defined intests\lib\custom_lib\testcase.yaml
? And how do I run the tests?Beta Was this translation helpful? Give feedback.
All reactions