diff mbox series

py: tests: Bind should run only on sandbox

Message ID 786bfdfda7dee4494e39c3fff699970ecd623116.1657191142.git.michal.simek@amd.com
State Accepted
Delegated to: Michal Simek
Headers show
Series py: tests: Bind should run only on sandbox | expand

Commit Message

Michal Simek July 7, 2022, 10:52 a.m. UTC
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(-)

Comments

Simon Glass July 12, 2022, 10:58 a.m. UTC | #1
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>
Michal Simek July 15, 2022, 7:58 a.m. UTC | #2
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
diff mbox series

Patch

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