[PATCH] py: tests: Bind should run only on sandbox

Michal Simek michal.simek at amd.com
Thu Jul 7 12:52:26 CEST 2022


From: Michal Simek <michal.simek at xilinx.com>

Disable test to run on any other platform than sandbox.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
Signed-off-by: Michal Simek <michal.simek at amd.com>
---

 test/py/tests/test_bind.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/py/tests/test_bind.py b/test/py/tests/test_bind.py
index 8ad277da190b..00f99374195f 100644
--- a/test/py/tests/test_bind.py
+++ b/test/py/tests/test_bind.py
@@ -24,7 +24,7 @@ def in_tree(response, name, uclass, drv, depth, last_child):
 			return True
 	return False
 
-
+ at pytest.mark.boardspec('sandbox')
 @pytest.mark.buildconfigspec('cmd_bind')
 def test_bind_unbind_with_node(u_boot_console):
 
@@ -116,6 +116,7 @@ def get_next_line(tree, name):
 			break
 	return child_line
 
+ at pytest.mark.boardspec('sandbox')
 @pytest.mark.buildconfigspec('cmd_bind')
 def test_bind_unbind_with_uclass(u_boot_console):
 	#bind /bind-test
-- 
2.36.1



More information about the U-Boot mailing list