mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-05 23:06:59 +02:00
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: 93d09d3bd8
("test: fit: add test case for invalid default configuration reference")
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
851c3f28d0
commit
12a94b894d
@ -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
|
||||
|
||||
@pytest.mark.boardspec('sandbox')
|
||||
@pytest.mark.requiredtool('dtc')
|
||||
def test_fit_invalid_default_config(ubman):
|
||||
"""Test that mkimage fails when default config is missing"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user