[U-Boot] [PATCH] test/py: vboot can be run only at Sandbox
Michal Simek
michal.simek at xilinx.com
Mon Jul 18 08:49:08 CEST 2016
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 at xilinx.com>
---
test/py/tests/test_vboot.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py
index c77989591c7e..92b4eccad808 100644
--- a/test/py/tests/test_vboot.py
+++ b/test/py/tests/test_vboot.py
@@ -29,6 +29,7 @@ import pytest
import sys
import u_boot_utils as util
+ at 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'.
--
1.9.1
More information about the U-Boot
mailing list