forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ztest: Safely handle fail/skip/pass outside tests
Updates the implementation when KERNEL is available to safely bail on the test when the test calls fail, skip, or pass during invalid test phases. Print a detailed message, and skip all other tests. The test run will be marked as failed. Signed-off-by: Yuval Peress <[email protected]>
- Loading branch information
1 parent
20475bf
commit 5ceba48
Showing
1 changed file
with
74 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters