mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 04:25:32 +00:00
test: support test for UT cases expect to reset
This commit is contained in:

committed by
Ivan Grokhotkov

parent
1613044aef
commit
f80824a2d8
9
components/esp32/test/test_exception.c
Normal file
9
components/esp32/test/test_exception.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "unity.h"
|
||||
#include "esp_system.h"
|
||||
#include "string.h"
|
||||
|
||||
|
||||
TEST_CASE("make exception", "[restart][reset=StoreProhibited,SW_CPU_RESET]")
|
||||
{
|
||||
*(int *) NULL = 0;
|
||||
}
|
Reference in New Issue
Block a user