feat(example): enable powersave CI test by soc cap

This commit is contained in:
wuzhenghui
2026-09-03 19:04:24 +08:00
committed by sibeibei
parent f1f52f3e8f
commit 6b219dbe4b
4 changed files with 18 additions and 17 deletions
@@ -6,6 +6,7 @@ from collections.abc import Callable
import pytest
from pytest_embedded import Dut
from pytest_embedded_idf.utils import idf_parametrize
from pytest_embedded_idf.utils import soc_filtered_targets
# diff of esp32s2/esp32s3 ~45K, others ~50K
@@ -20,8 +21,7 @@ DIFF_THRESHOLD = {
@pytest.mark.parametrize('count, config, skip_autoflash', [(2, 'default|enable_softap', 'y')], indirect=True)
@idf_parametrize(
'target',
# esp32s31: no two_duts runner in CI (rev_default) yet
['esp32', 'esp32c2', 'esp32c3', 'esp32s2', 'esp32s3', 'esp32c5', 'esp32c6', 'esp32c61'],
soc_filtered_targets('SOC_WIFI_SUPPORTED == 1'),
indirect=['target'],
)
def test_wifi_sdkconfig_disable_softap_save_binary_size(