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

This reverts commit c6c2948a99.
This commit is contained in:
hebinglin
2026-01-15 17:04:17 +08:00
committed by BOT
parent 402558201c
commit 69ced7c670
12 changed files with 15 additions and 17 deletions
@@ -59,7 +59,7 @@ static void test_ledc_sleep_retention(bool allow_pd)
printf("Check if the sleep happened as expected\r\n");
TEST_ASSERT_EQUAL(0, sleep_ctx.sleep_request_result);
#if SOC_PMU_SUPPORTED && !SOC_PM_TOP_PD_NOT_ALLOWED
#if SOC_PMU_SUPPORTED
// check if the TOP power domain on/off as desired
TEST_ASSERT_EQUAL(allow_pd ? PMU_SLEEP_PD_TOP : 0, (sleep_ctx.sleep_flags) & PMU_SLEEP_PD_TOP);
#endif