瀏覽代碼

fix merge failure in earlier merges

Frank Haverland 2 年之前
父節點
當前提交
0309620fd6
共有 1 個文件被更改,包括 5 次插入18 次删除
  1. 5 18
      code/test/test_suite_flowcontroll.cpp

+ 5 - 18
code/test/test_suite_flowcontroll.cpp

@@ -156,22 +156,9 @@ extern "C" void app_main()
 {
   initGPIO();
   Init_NVS_SDCard();
-  esp_log_level_set("*", ESP_LOG_ERROR);        // set all components to ERROR level
-
-  UNITY_BEGIN();
-    RUN_TEST(testNegative_Issues);
-    RUN_TEST(testNegative);
-   
-    RUN_TEST(test_analogToDigit_Standard);
-    RUN_TEST(test_analogToDigit_Transition);
-    RUN_TEST(test_doFlowPP);
-    RUN_TEST(test_doFlowPP1);
-    RUN_TEST(test_doFlowPP2);
-    RUN_TEST(test_doFlowPP3);
-    RUN_TEST(test_doFlowPP4);
-
-    // getReadoutRawString test
-    RUN_TEST(test_getReadoutRawString);
-  
-  UNITY_END();
+  esp_log_level_set("*", ESP_LOG_DEBUG);        // set all components to ERROR level
+
+    // Create dedicated testing task (heap size can be configured - large enough to handle a lot of testing cases)
+    // ********************************************
+    xTaskCreate(&task_UnityTesting, "task_UnityTesting", 12 * 1024, NULL, tskIDLE_PRIORITY+2, NULL);
 }