Merge branch 'ci/fix_build_linux_targets' into 'release/v5.1'

Ci/fix build linux targets (v5.1)

See merge request espressif/esp-idf!27519
This commit is contained in:
Anton Maklakov 2023-12-06 15:31:35 +08:00
commit 4fe15460ab
5 changed files with 16 additions and 6 deletions

View File

@ -1,5 +1,10 @@
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
components/esp_event/host_test/esp_event_unit_test:
enable:
- if: IDF_TARGET == "linux"
reason: only test on linux
components/esp_event/test_apps:
enable:
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32c3"]

View File

@ -1,12 +1,12 @@
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
components/esp_rom/host_test/rom_test:
enable:
- if: IDF_TARGET == "linux"
reason: only test on linux
components/esp_rom/test_apps:
disable_test:
- if: IDF_TARGET in ["esp32", "esp32c2"]
temporary: false
reason: lack of memory for testing miniz compressing
components/esp_rom/test_apps/linux_rom_apis:
enable:
- if: IDF_TARGET == "linux"
reason: only test on linux

View File

@ -0,0 +1,4 @@
components/nvs_flash/host_test:
enable:
- if: IDF_TARGET == "linux"
reason: only test on linux

View File

@ -12,6 +12,7 @@ addopts =
--skip-check-coredump y
--logfile-extension ".txt"
--check-duplicates y
--ignore-glob "*/managed_components/*"
# ignore DeprecationWarning
filterwarnings =

View File

@ -214,7 +214,7 @@ def get_pytest_files(paths: List[str]) -> List[str]:
pytest_scripts: Set[str] = set()
for p in paths:
path = Path(p)
pytest_scripts.update(str(_p) for _p in path.glob('**/pytest_*.py'))
pytest_scripts.update(str(_p) for _p in path.glob('**/pytest_*.py') if 'managed_components' not in _p.parts)
return list(pytest_scripts)