revert(unit-test): filter top domain power down check for some sleep test cases

This reverts commit c6c2948a99bcaa47c8354fe44f62acf963821847.
This commit is contained in:
hebinglin
2026-01-12 14:41:38 +08:00
committed by BOT
parent 402558201c
commit 69ced7c670
12 changed files with 15 additions and 17 deletions
@@ -323,7 +323,7 @@ static void test_psram_accessible_after_lightsleep(void)
esp_light_sleep_start();
TEST_ASSERT_EQUAL(0, sleep_ctx.sleep_request_result);
#if CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP && !SOC_PM_TOP_PD_NOT_ALLOWED
#if CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
TEST_ASSERT_EQUAL(PMU_SLEEP_PD_TOP, sleep_ctx.sleep_flags & PMU_SLEEP_PD_TOP);
TEST_ESP_OK(sleep_cpu_configure(false));
#endif
@@ -74,9 +74,7 @@ TEST_CASE("Task WDT task timeout after peripheral powerdown lightsleep", "[task_
esp_light_sleep_start();
#if !SOC_PM_TOP_PD_NOT_ALLOWED
TEST_ASSERT_EQUAL(PMU_SLEEP_PD_TOP, sleep_ctx.sleep_flags & PMU_SLEEP_PD_TOP);
#endif
TEST_ASSERT_EQUAL(0, sleep_ctx.sleep_request_result);
esp_sleep_set_sleep_context(NULL);