test: ut only test app core reset on dual core

This commit is contained in:
He Yin Ling
2017-11-10 17:53:59 +08:00
parent b1d13ded1a
commit be405d69d8

View File

@@ -14,6 +14,7 @@ static void restart_task(void *arg)
esp_restart();
}
#ifndef CONFIG_FREERTOS_UNICORE
TEST_CASE("restart from APP CPU", "[restart][reset=SW_CPU_RESET]")
{
xTaskCreatePinnedToCore(&restart_task, "restart", 2048, NULL, 5, NULL, 1);
@@ -21,4 +22,4 @@ TEST_CASE("restart from APP CPU", "[restart][reset=SW_CPU_RESET]")
;
}
}
#endif