ci: remove redundent ci configs for chip support and network components

CI would build psram config test apps even for target with no psram.
This commit is contained in:
Marius Vikhammer
2023-04-25 14:40:53 +08:00
parent 8be8a1cd22
commit bca026455c
15 changed files with 59 additions and 51 deletions

View File

@@ -20,32 +20,28 @@ def test_mmap(dut: Dut) -> None:
# mmu tests with psram enabled
@pytest.mark.esp32
@pytest.mark.esp32s2
@pytest.mark.esp32s3
PSRAM_RELEASE_CONFIGS = [
pytest.param('psram_release_esp32', marks=[pytest.mark.esp32]),
pytest.param('psram_release_esp32s2', marks=[pytest.mark.esp32s2]),
pytest.param('psram_release_esp32s3', marks=[pytest.mark.esp32s3]),
]
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'psram_release',
],
indirect=True,
)
@pytest.mark.parametrize('config', PSRAM_RELEASE_CONFIGS, indirect=True)
def test_mmap_psram(dut: Dut) -> None:
dut.run_all_single_board_cases(group='mmu')
# mmu tests with xip_psram
@pytest.mark.esp32s2
@pytest.mark.esp32s3
XIP_CONFIGS = [
pytest.param('xip_psram_esp32s2', marks=[pytest.mark.esp32s2]),
pytest.param('xip_psram_esp32s3', marks=[pytest.mark.esp32s3]),
]
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'xip_psram'
],
indirect=True,
)
@pytest.mark.parametrize('config', XIP_CONFIGS, indirect=True)
def test_mmap_xip_psram(dut: Dut) -> None:
dut.run_all_single_board_cases(group='mmu')
@@ -65,31 +61,14 @@ def test_cache(dut: Dut) -> None:
# cache tests with psram enabled
@pytest.mark.esp32
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'psram_release',
],
indirect=True,
)
@pytest.mark.parametrize('config', PSRAM_RELEASE_CONFIGS, indirect=True)
def test_cache_psram(dut: Dut) -> None:
dut.run_all_single_board_cases(group='cache')
# cache tests with xip_psram
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'xip_psram'
],
indirect=True,
)
@pytest.mark.parametrize('config', XIP_CONFIGS, indirect=True)
def test_cache_xip_psram(dut: Dut) -> None:
dut.run_all_single_board_cases(group='cache')