mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
feat(example): enable powersave CI test by soc cap
This commit is contained in:
@@ -5,6 +5,7 @@ import os.path
|
||||
import pytest
|
||||
from pytest_embedded_idf.dut import IdfDut
|
||||
from pytest_embedded_idf.utils import idf_parametrize
|
||||
from pytest_embedded_idf.utils import soc_filtered_targets
|
||||
|
||||
# @pytest.mark.supported_targets
|
||||
# This test should support all targets, even between different target types
|
||||
@@ -33,7 +34,7 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
)
|
||||
@idf_parametrize(
|
||||
'target',
|
||||
['esp32', 'esp32c3', 'esp32s2', 'esp32s3', 'esp32c5', 'esp32c6', 'esp32c61'],
|
||||
soc_filtered_targets('SOC_WIFI_SUPPORTED == 1 and IDF_TARGET not in ["esp32c2"]'),
|
||||
indirect=['target'],
|
||||
)
|
||||
def test_wifi_getting_started(dut: tuple[IdfDut, IdfDut]) -> None:
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user