mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/driver_si1133: move to test-with-config
This commit is contained in:
parent
5ec41f35c7
commit
f8fb26835c
@ -12,10 +12,7 @@ from testrunner import run
|
|||||||
|
|
||||||
def testfunc(child):
|
def testfunc(child):
|
||||||
child.expect_exact('Testing Si1133 in blocking mode:')
|
child.expect_exact('Testing Si1133 in blocking mode:')
|
||||||
i = child.expect([r'.*Result: OK\s', r'.*Result: FAILED (\d+)\s'])
|
child.expect_exact('Result: OK')
|
||||||
if i == 1:
|
|
||||||
print('FAILED')
|
|
||||||
return
|
|
||||||
print('SUCCESS')
|
print('SUCCESS')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user