test: support test for UT cases expect to reset

This commit is contained in:
houchenyao
2017-09-20 17:17:51 +08:00
committed by Ivan Grokhotkov
parent 1613044aef
commit f80824a2d8
7 changed files with 103 additions and 59 deletions

View 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;
}