From 457e31a7155521ccb64fa9f06b6d6b53d83781d3 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 5 Jul 2022 18:02:04 +0800 Subject: [PATCH] freertos: re-enable tests disabled for C2 --- .gitlab/ci/target-test.yml | 2 +- components/freertos/test/integration/timers/test_timers.c | 3 --- components/freertos/test/port/test_newlib_reent.c | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitlab/ci/target-test.yml b/.gitlab/ci/target-test.yml index b709e9a220..68b8e37c4f 100644 --- a/.gitlab/ci/target-test.yml +++ b/.gitlab/ci/target-test.yml @@ -894,7 +894,7 @@ UT_S2_SDSPI: UT_C2: extends: .unit_test_esp32c2_template - parallel: 20 + parallel: 21 tags: - ESP32C2_IDF - UT_T1_1 diff --git a/components/freertos/test/integration/timers/test_timers.c b/components/freertos/test/integration/timers/test_timers.c index 98322c2922..37c170fc6c 100644 --- a/components/freertos/test/integration/timers/test_timers.c +++ b/components/freertos/test/integration/timers/test_timers.c @@ -21,8 +21,6 @@ static void timer_callback(TimerHandle_t timer) printf("Callback timer %p count %p = %d\n", timer, count, *count); } -#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) -//IDF-5140 TEST_CASE("Oneshot FreeRTOS timers", "[freertos]") { volatile int count = 0; @@ -77,7 +75,6 @@ TEST_CASE("Recurring FreeRTOS timers", "[freertos]") TEST_ASSERT( xTimerDelete(recurring, 1) ); } -#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) TEST_CASE("Static timer creation", "[freertos]") { diff --git a/components/freertos/test/port/test_newlib_reent.c b/components/freertos/test/port/test_newlib_reent.c index e80cf9688e..628e36ffa5 100644 --- a/components/freertos/test/port/test_newlib_reent.c +++ b/components/freertos/test/port/test_newlib_reent.c @@ -22,8 +22,6 @@ volatile static int done; volatile static int error; -#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) -//IDF-5140 static void tskTestRand(void *pvParameters) { int l; @@ -61,4 +59,3 @@ TEST_CASE("Test for per-task non-reentrant tasks", "[freertos]") } TEST_ASSERT(error == 0); } -#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2)