From 872f8513fb5280fc42fb2030fac595f55117b8c6 Mon Sep 17 00:00:00 2001 From: Laukik Hase Date: Tue, 7 Jun 2022 10:26:35 +0530 Subject: [PATCH] ci: Re-enable protocomm UTs for ESP32-C2 --- components/protocomm/test/test_protocomm.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/components/protocomm/test/test_protocomm.c b/components/protocomm/test/test_protocomm.c index 9d4453e104..16dfcc7f09 100644 --- a/components/protocomm/test/test_protocomm.c +++ b/components/protocomm/test/test_protocomm.c @@ -681,8 +681,6 @@ static void stop_test_service(void) test_pc = NULL; } -#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) -//IDF-5143 static esp_err_t test_security1_no_encryption (void) { ESP_LOGI(TAG, "Starting Security 1 no encryption test"); @@ -1005,7 +1003,6 @@ static esp_err_t test_security1_weak_session (void) ESP_LOGI(TAG, "Protocomm test successful"); return ESP_OK; } -#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) static esp_err_t test_protocomm (session_t *session) { @@ -1055,8 +1052,6 @@ static esp_err_t test_protocomm (session_t *session) return ESP_OK; } -#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) -//IDF-5143 static esp_err_t test_security1 (void) { ESP_LOGI(TAG, "Starting Sec1 test"); @@ -1087,7 +1082,6 @@ static esp_err_t test_security1 (void) free(session); return ESP_OK; } -#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) static esp_err_t test_security0 (void) { @@ -1114,8 +1108,6 @@ static esp_err_t test_security0 (void) return ESP_OK; } -#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) -//IDF-5143 TEST_CASE("leak test", "[PROTOCOMM]") { #ifdef CONFIG_HEAP_TRACING @@ -1156,15 +1148,12 @@ TEST_CASE("leak test", "[PROTOCOMM]") TEST_ASSERT(pre_start_mem == post_stop_mem); } -#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) TEST_CASE("security 0 basic test", "[PROTOCOMM]") { TEST_ASSERT(test_security0() == ESP_OK); } -#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2) -//IDF-5143 TEST_CASE("security 1 basic test", "[PROTOCOMM]") { TEST_ASSERT(test_security1() == ESP_OK); @@ -1194,4 +1183,3 @@ TEST_CASE("security 1 weak session test", "[PROTOCOMM]") { TEST_ASSERT(test_security1_weak_session() == ESP_OK); } -#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2)