]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
py: tests: Bind should run only on sandbox
authorMichal Simek <michal.simek@xilinx.com>
Thu, 7 Jul 2022 10:52:26 +0000 (12:52 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 06:23:54 +0000 (08:23 +0200)
Disable test to run on any other platform than sandbox.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/786bfdfda7dee4494e39c3fff699970ecd623116.1657191142.git.michal.simek@amd.com
test/py/tests/test_bind.py

index d7e6626d45f1a6e21a3f26c3f14859346d5f0213..c90c54d266f34ca04aa2bb25b51328df491c335a 100644 (file)
@@ -25,7 +25,7 @@ def in_tree(response, name, uclass, drv, depth, last_child):
             return True
     return False
 
-
+@pytest.mark.boardspec('sandbox')
 @pytest.mark.buildconfigspec('cmd_bind')
 def test_bind_unbind_with_node(u_boot_console):
 
@@ -117,6 +117,7 @@ def get_next_line(tree, name):
             break
     return child_line
 
+@pytest.mark.boardspec('sandbox')
 @pytest.mark.buildconfigspec('cmd_bind')
 def test_bind_unbind_with_uclass(u_boot_console):
     #bind /bind-test