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.
tests: ztest: remove the testcase that catches an assertion in ISR
This testcase shows triggering an assertion in ISR intentionally, for verifying the assertion works in our code. But currently, the ztest error hook doesn't have a mechanism to fully recover from ISR context for different platforms. It needs to recover the resource being hold and exit ISR context, otherwise, the program will not stable enough to execute the following testcases. We already submitted a workaround PR#34846 for it by putting these kinds of testcases executing last. Anyway, we recommend not to use it this way unless our ztest error hook mechanism can be refined to handle this recovery completely. So we tend to remove this testcase at this moment. Fixes zephyrproject-rtos#34844 Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
- Loading branch information
Enjia Mai
committed
May 17, 2021
1 parent
878043a
commit f0ff8d1
Showing
2 changed files
with
12 additions
and
52 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
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