From cb38f71d8e39d55a7cf0f79e965a308b9c976987 Mon Sep 17 00:00:00 2001 From: ismail Date: Fri, 22 Aug 2025 17:42:24 +0300 Subject: [PATCH] Optimize a flip test case and execute tests upon removing esp_event --- test_apps/main/test_relay_chn_core_multi.c | 2 -- test_apps/sdkconfig | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/test_apps/main/test_relay_chn_core_multi.c b/test_apps/main/test_relay_chn_core_multi.c index b7904dd..1abcd7b 100644 --- a/test_apps/main/test_relay_chn_core_multi.c +++ b/test_apps/main/test_relay_chn_core_multi.c @@ -322,12 +322,10 @@ TEST_CASE("Flipping a running channel stops it and flips direction", "[relay_chn // 1. Start channel running and verify state relay_chn_run_forward(ch); - vTaskDelay(pdMS_TO_TICKS(test_delay_margin_ms)); TEST_ASSERT_EQUAL(RELAY_CHN_STATE_FORWARD, relay_chn_get_state(ch)); // 2. Flip the direction while running relay_chn_flip_direction(ch); - vTaskDelay(pdMS_TO_TICKS(test_delay_margin_ms)); // Give time for events to process // 3. The channel should stop as part of the flip process TEST_ASSERT_EQUAL(RELAY_CHN_STATE_STOPPED, relay_chn_get_state(ch)); diff --git a/test_apps/sdkconfig b/test_apps/sdkconfig index 7810c58..bc3790f 100644 --- a/test_apps/sdkconfig +++ b/test_apps/sdkconfig @@ -643,14 +643,6 @@ CONFIG_SPI_SLAVE_ISR_IN_IRAM=y # CONFIG_UART_ISR_IN_IRAM is not set # end of ESP-Driver:UART Configurations -# -# Event Loop Library -# -# CONFIG_ESP_EVENT_LOOP_PROFILING is not set -CONFIG_ESP_EVENT_POST_FROM_ISR=y -CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=y -# end of Event Loop Library - # # Hardware Settings # @@ -1330,9 +1322,6 @@ CONFIG_STACK_CHECK_NONE=y # CONFIG_WARN_WRITE_STRINGS is not set CONFIG_ADC2_DISABLE_DAC=y # CONFIG_MCPWM_ISR_IN_IRAM is not set -# CONFIG_EVENT_LOOP_PROFILING is not set -CONFIG_POST_EVENTS_FROM_ISR=y -CONFIG_POST_EVENTS_FROM_IRAM_ISR=y # CONFIG_TWO_UNIVERSAL_MAC_ADDRESS is not set CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4