From f8fb26835ce0cfd44cc68f20683bc668588ccca0 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 19 Jan 2021 16:22:14 +0100 Subject: [PATCH] tests/driver_si1133: move to test-with-config --- tests/driver_si1133/{tests => tests-with-config}/01-run.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename tests/driver_si1133/{tests => tests-with-config}/01-run.py (77%) diff --git a/tests/driver_si1133/tests/01-run.py b/tests/driver_si1133/tests-with-config/01-run.py similarity index 77% rename from tests/driver_si1133/tests/01-run.py rename to tests/driver_si1133/tests-with-config/01-run.py index 4ef52c72e7..f4cfa52413 100755 --- a/tests/driver_si1133/tests/01-run.py +++ b/tests/driver_si1133/tests-with-config/01-run.py @@ -12,10 +12,7 @@ from testrunner import run def testfunc(child): child.expect_exact('Testing Si1133 in blocking mode:') - i = child.expect([r'.*Result: OK\s', r'.*Result: FAILED (\d+)\s']) - if i == 1: - print('FAILED') - return + child.expect_exact('Result: OK') print('SUCCESS')