Merge branch 'feat/esp_idf_sbom' into 'master'

feat(tools): esp-idf-sbom integration into idf.py

Closes IDF-15120

See merge request espressif/esp-idf!45696
This commit is contained in:
Roland Dobai
2026-02-20 10:18:47 +01:00
4 changed files with 46 additions and 30 deletions

View File

@@ -397,3 +397,9 @@ def test_hints_components_loading(
assert 'HINT FROM PROJECT COMPONENT' in ret.stderr, (
'Hint from project component should be displayed in build output'
)
def test_sbom_create_cmd(idf_py: IdfPyFunc, test_app_copy: Path) -> None:
logging.info('Test if sbom-create command works correctly')
idf_py('sbom-create', '--spdx-file', 'test_app.spdx')
assert (test_app_copy / 'test_app.spdx').is_file()