From be405d69d82c408dfd98684705d1c1b792cfdafa Mon Sep 17 00:00:00 2001 From: He Yin Ling Date: Fri, 10 Nov 2017 17:53:59 +0800 Subject: [PATCH] test: ut only test app core reset on dual core --- components/esp32/test/test_restart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp32/test/test_restart.c b/components/esp32/test/test_restart.c index a48ad26ea1..6ad334da09 100644 --- a/components/esp32/test/test_restart.c +++ b/components/esp32/test/test_restart.c @@ -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 -- 2.40.0