As Bastian correctly notes, the asserts should have different conditions. Reported-by: Bastian Krause <b...@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fat...@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