Skip to contentSkip to conversation

test: py: test_fit_mkimage_validate: Only run either test on sandbox

PATCH In review Tom Rini 1 participant 2 messages Jul 25, 2025 – Aug 5, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 test: py: test_fit_mkimage_validate: Only run either test on sandbox

Both of these tests are only valid for sandbox (and require dtc) so both tests need the pytest annotations.

Fixes 93d09d3bd8ea ("test: fit: add test case for invalid default configuration reference")

---
 test/py/tests/test_fit_mkimage_validate.py | 2 ++
 1 file changed, 2 insertions(+)
test/py/tests/test_fit_mkimage_validate.py +2 -0
index ef974c8c7622..170b2a8cbbb6 100644
@@ -57,6 +57,8 @@ def test_fit_invalid_image_reference(ubman):
     assert result.returncode != 0, "mkimage should fail due to missing image reference"
     assert "references undefined image 'notexist'" in result.stderr
 
[email protected]('sandbox')
[email protected]('dtc')
 def test_fit_invalid_default_config(ubman):
     """Test that mkimage fails when default config is missing"""
 
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

Both of these tests are only valid for sandbox (and require dtc) so both tests need the pytest annotations.

Fixes 93d09d3bd8ea ("test: fit: add test case for invalid default configuration reference")

Applied to u-boot/master, thanks!

[1/1] test: py: test_fit_mkimage_validate: Only run either test on sandbox

      commit: 12a94b894dec1b682068e70cd9cc11147242f70d
Signature · 1 line
Tom