]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test/py: vboot can be run only at Sandbox
authorMichal Simek <michal.simek@xilinx.com>
Mon, 18 Jul 2016 06:49:08 +0000 (08:49 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Jul 2016 18:52:04 +0000 (14:52 -0400)
Getting this error:
Zynq> sb load hostfs - 100
/home/monstr/data/disk/u-boot/build-zynq_zc706/test.fit
Unknown command 'sb' - try 'help'

because sb command is present only for Sandbox
obj-$(CONFIG_SANDBOX) += host.o

that's why mark this test to be run only at Sandbox

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_vboot.py

index 25a78324e25dabccb0ce2ad8471b34edea7a3c42..14ec85b853ca85ce7339869d27f77564a3e58239 100644 (file)
@@ -29,6 +29,7 @@ import pytest
 import sys
 import u_boot_utils as util
 
+@pytest.mark.boardspec('sandbox')
 @pytest.mark.buildconfigspec('fit_signature')
 def test_vboot(u_boot_console):
     """Test verified boot signing with mkimage and verification with 'bootm'.