This commit is contained in:
Alexey Gerenkov
2017-08-28 18:41:32 +03:00
committed by Ivan Grokhotkov
parent bf8ff8c98b
commit 8859dab10c
4 changed files with 29 additions and 66 deletions
-11
View File
@@ -1,11 +0,0 @@
#include "unity.h"
TEST_CASE("pthread C test 1", "[pthread]")
{
// int delay_ms = 50;
// const delay_test_arg_t args = { .delay_us = delay_ms * 1000, .method = 1 };
// xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void*) &args, 3, NULL, 0);
// vTaskDelay(delay_ms / portTICK_PERIOD_MS + 1);
// xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void*) &args, 3, NULL, 1);
// vTaskDelay(delay_ms / portTICK_PERIOD_MS + 1);
}
+1 -1
View File
@@ -54,7 +54,7 @@ static void thread_main()
}
}
TEST_CASE("pthread CXX test 1", "[pthread]")
TEST_CASE("pthread CXX", "[pthread]")
{
global_sp.reset(new int(1));