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

From: Michal Simek michal.simek@xilinx.com
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 ---
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
- +@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
+@pytest.mark.boardspec('sandbox') @pytest.mark.buildconfigspec('cmd_bind') def test_bind_unbind_with_uclass(u_boot_console): #bind /bind-test

On Thu, 7 Jul 2022 at 04:52, Michal Simek michal.simek@amd.com wrote:
From: Michal Simek michal.simek@xilinx.com
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
test/py/tests/test_bind.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org

On 7/7/22 12:52, Michal Simek wrote:
From: Michal Simek michal.simek@xilinx.com
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
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
+@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
+@pytest.mark.boardspec('sandbox') @pytest.mark.buildconfigspec('cmd_bind') def test_bind_unbind_with_uclass(u_boot_console): #bind /bind-test
Applied. M
participants (2)
-
Michal Simek
-
Simon Glass