mirror of
https://github.com/espressif/esp-idf.git
synced 2026-07-13 14:33:06 +03:00
fix(fatfs): re-enable fatfs and vfs psram/ccomp CI tests
This commit is contained in:
@@ -20,3 +20,17 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
@idf_parametrize('target', ['esp32', 'esp32c3'], indirect=['target'])
|
||||
def test_fatfs_flash_wl_generic(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(timeout=240)
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.flaky(reruns=2, reruns_delay=5)
|
||||
@pytest.mark.psram
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'psram',
|
||||
],
|
||||
)
|
||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
||||
def test_fatfs_flash_wl_psram(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(timeout=180)
|
||||
|
||||
@@ -30,3 +30,30 @@ def test_fatfs_sdcard_generic_sdmmc(dut: Dut) -> None:
|
||||
@idf_parametrize('target', ['esp32', 'esp32c3'], indirect=['target'])
|
||||
def test_fatfs_sdcard_generic_sdspi(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(group='sdspi', timeout=180)
|
||||
|
||||
|
||||
@pytest.mark.sdcard_sdmode
|
||||
@pytest.mark.psram
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'psram',
|
||||
],
|
||||
)
|
||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
||||
def test_fatfs_sdcard_psram_sdmmc(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(group='sdmmc', timeout=180)
|
||||
|
||||
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32'], reason='IDFCI-2058, temporary lack runner')
|
||||
@pytest.mark.sdcard_spimode
|
||||
@pytest.mark.psram
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'psram',
|
||||
],
|
||||
)
|
||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
||||
def test_fatfs_sdcard_psram_sdspi(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(group='sdspi', timeout=180)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
components/spiffs/test_apps:
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
||||
reason: These chips should be sufficient for test coverage (Xtensa and RISC-V, single and dual core)
|
||||
|
||||
depends_components:
|
||||
|
||||
@@ -18,3 +18,16 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
@idf_parametrize('target', ['esp32', 'esp32c3'], indirect=['target'])
|
||||
def test_spiffs_generic(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(timeout=120)
|
||||
|
||||
|
||||
@pytest.mark.quad_psram
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'psram',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32s3'], indirect=['target'])
|
||||
def test_spiffs_psram(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(timeout=120)
|
||||
|
||||
0
components/spiffs/test_apps/sdkconfig.ci.psram
Normal file
0
components/spiffs/test_apps/sdkconfig.ci.psram
Normal file
@@ -5,7 +5,7 @@ components/vfs/test_apps:
|
||||
reason: not support yet # TODO: [esp32h21] IDF-11593 [ESP32H4] IDF-12372
|
||||
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32c2", "esp32c3", "esp32c6", "esp32h2"]
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32s3"]
|
||||
temporary: true
|
||||
reason: lack of runners
|
||||
|
||||
|
||||
@@ -18,3 +18,29 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
@idf_parametrize('target', ['esp32c2', 'esp32c3', 'esp32c6', 'esp32h2'], indirect=['target'])
|
||||
def test_vfs_default(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'ccomp',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
||||
def test_vfs_ccomp(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.quad_psram
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'psram',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32s3'], indirect=['target'])
|
||||
def test_vfs_psram(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
0
components/vfs/test_apps/sdkconfig.ci.ccomp
Normal file
0
components/vfs/test_apps/sdkconfig.ci.ccomp
Normal file
0
components/vfs/test_apps/sdkconfig.ci.psram
Normal file
0
components/vfs/test_apps/sdkconfig.ci.psram
Normal file
Reference in New Issue
Block a user