]> granicus.if.org Git - esp-idf/commitdiff
test: ut only test app core reset on dual core
authorHe Yin Ling <heyinling@espressif.com>
Fri, 10 Nov 2017 09:53:59 +0000 (17:53 +0800)
committerHe Yin Ling <heyinling@espressif.com>
Fri, 10 Nov 2017 09:53:59 +0000 (17:53 +0800)
components/esp32/test/test_restart.c

index a48ad26ea1f8a312126ae796edf89107be2b5009..6ad334da09c01bbfb6a484a9ca2375b941e19b29 100644 (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