mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 02:20:57 +02:00
Merge branch 'fix/component_validation' into 'master'
Build & config: correct component targets property name in validation See merge request espressif/esp-idf!42170
This commit is contained in:
@@ -65,7 +65,8 @@ test_tools_win:
|
|||||||
- .\export.ps1
|
- .\export.ps1
|
||||||
- python "${SUBMODULE_FETCH_TOOL}" -s "all"
|
- python "${SUBMODULE_FETCH_TOOL}" -s "all"
|
||||||
- cd ${IDF_PATH}/tools/test_idf_py
|
- cd ${IDF_PATH}/tools/test_idf_py
|
||||||
- pytest --parallel-count ${CI_NODE_TOTAL} --parallel-index ${CI_NODE_INDEX} --junitxml=${IDF_PATH}/XUNIT_RESULT.xml
|
- idf-ci gitlab download-known-failure-cases-file ${KNOWN_FAILURE_CASES_FILE_NAME}
|
||||||
|
- pytest --parallel-count ${CI_NODE_TOTAL} --parallel-index ${CI_NODE_INDEX} --junitxml=${IDF_PATH}/XUNIT_RESULT.xml --ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME}
|
||||||
|
|
||||||
# Build tests
|
# Build tests
|
||||||
.test_build_system_template_win:
|
.test_build_system_template_win:
|
||||||
@@ -82,7 +83,8 @@ test_tools_win:
|
|||||||
- . .\export.ps1
|
- . .\export.ps1
|
||||||
- python "${SUBMODULE_FETCH_TOOL}" -s "all"
|
- python "${SUBMODULE_FETCH_TOOL}" -s "all"
|
||||||
- cd ${IDF_PATH}\tools\test_build_system
|
- cd ${IDF_PATH}\tools\test_build_system
|
||||||
- pytest --parallel-count ${CI_NODE_TOTAL} --parallel-index ${CI_NODE_INDEX} --junitxml=${CI_PROJECT_DIR}\XUNIT_RESULT.xml
|
- idf-ci gitlab download-known-failure-cases-file ${KNOWN_FAILURE_CASES_FILE_NAME}
|
||||||
|
- pytest --parallel-count ${CI_NODE_TOTAL} --parallel-index ${CI_NODE_INDEX} --junitxml=${CI_PROJECT_DIR}\XUNIT_RESULT.xml --ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME}
|
||||||
|
|
||||||
pytest_build_system_win:
|
pytest_build_system_win:
|
||||||
extends:
|
extends:
|
||||||
@@ -129,4 +131,5 @@ pytest_build_system_win_minimal_cmake:
|
|||||||
}
|
}
|
||||||
- python "${SUBMODULE_FETCH_TOOL}" -s "all"
|
- python "${SUBMODULE_FETCH_TOOL}" -s "all"
|
||||||
- cd ${IDF_PATH}\tools\test_build_system
|
- cd ${IDF_PATH}\tools\test_build_system
|
||||||
- pytest -k cmake --junitxml=${CI_PROJECT_DIR}\XUNIT_RESULT.xml
|
- idf-ci gitlab download-known-failure-cases-file ${KNOWN_FAILURE_CASES_FILE_NAME}
|
||||||
|
- pytest -k cmake --junitxml=${CI_PROJECT_DIR}\XUNIT_RESULT.xml --ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME}
|
||||||
|
@@ -122,7 +122,7 @@ endfunction()
|
|||||||
#
|
#
|
||||||
function(__component_validation_run_checks)
|
function(__component_validation_run_checks)
|
||||||
# Get all component targets
|
# Get all component targets
|
||||||
idf_build_get_property(component_targets __COMPONENT_TARGETS)
|
idf_build_get_property(component_targets __BUILD_COMPONENT_TARGETS)
|
||||||
|
|
||||||
# Run validation checks for each component
|
# Run validation checks for each component
|
||||||
foreach(component_target ${component_targets})
|
foreach(component_target ${component_targets})
|
||||||
|
Reference in New Issue
Block a user