* [PATCH] py: tests: Bind should run only on sandbox
@ 2022-07-07 10:52 Michal Simek
2022-07-12 10:58 ` Simon Glass
2022-07-15 7:58 ` Michal Simek
0 siblings, 2 replies; 3+ messages in thread
From: Michal Simek @ 2022-07-07 10:52 UTC (permalink / raw)
To: u-boot, git; +Cc: Michal Simek, Patrice Chotard, Simon Glass
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
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] py: tests: Bind should run only on sandbox
2022-07-07 10:52 [PATCH] py: tests: Bind should run only on sandbox Michal Simek
@ 2022-07-12 10:58 ` Simon Glass
2022-07-15 7:58 ` Michal Simek
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2022-07-12 10:58 UTC (permalink / raw)
To: Michal Simek; +Cc: U-Boot Mailing List, git, Michal Simek, Patrice Chotard
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] py: tests: Bind should run only on sandbox
2022-07-07 10:52 [PATCH] py: tests: Bind should run only on sandbox Michal Simek
2022-07-12 10:58 ` Simon Glass
@ 2022-07-15 7:58 ` Michal Simek
1 sibling, 0 replies; 3+ messages in thread
From: Michal Simek @ 2022-07-15 7:58 UTC (permalink / raw)
To: u-boot, git; +Cc: Michal Simek, Patrice Chotard, Simon Glass
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-15 7:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07 10:52 [PATCH] py: tests: Bind should run only on sandbox Michal Simek
2022-07-12 10:58 ` Simon Glass
2022-07-15 7:58 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).