* [PATCH] fixup! test: bthread: change comparison condition for switches vs. yields
@ 2025-04-01 9:20 Ahmad Fatoum
2025-04-01 10:14 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-04-01 9:20 UTC (permalink / raw)
To: barebox; +Cc: Bastian Krause, Ahmad Fatoum
As Bastian correctly notes, the asserts should have different
conditions.
Reported-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
test/py/test_bthread.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/py/test_bthread.py b/test/py/test_bthread.py
index 84fb9f830b0c..6bd1032a53dd 100644
--- a/test/py/test_bthread.py
+++ b/test/py/test_bthread.py
@@ -20,5 +20,5 @@ def test_bthread(barebox, barebox_config):
switches = int(barebox.run_check("bthread -c")[0].split()[0])
yields = int(barebox.run_check("bthread -t")[0].split()[0])
- assert yields > 1000
+ assert switches > 1000
assert yields > 1000
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fixup! test: bthread: change comparison condition for switches vs. yields
2025-04-01 9:20 [PATCH] fixup! test: bthread: change comparison condition for switches vs. yields Ahmad Fatoum
@ 2025-04-01 10:14 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-04-01 10:14 UTC (permalink / raw)
To: barebox, Ahmad Fatoum; +Cc: Bastian Krause
On Tue, 01 Apr 2025 11:20:27 +0200, Ahmad Fatoum wrote:
> As Bastian correctly notes, the asserts should have different
> conditions.
>
>
Applied, thanks!
[1/1] fixup! test: bthread: change comparison condition for switches vs. yields
https://git.pengutronix.de/cgit/barebox/commit/?id=e719105f56a1 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-01 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-01 9:20 [PATCH] fixup! test: bthread: change comparison condition for switches vs. yields Ahmad Fatoum
2025-04-01 10:14 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox