tests/periph_rtt: Correct the test script syntax
Previously the test was failing due to apparently incorrect Python syntax in the testrunner script. This fix corrects this and the test now passes.
This commit is contained in:
parent
b0094a69af
commit
b3ed7ade10
@ -17,7 +17,7 @@ MAX_HELLOS = 5
|
||||
|
||||
def testfunc(child):
|
||||
child.expect(r'This test will display \'Hello\' every (\d+) seconds')
|
||||
period = int(child.match[1])
|
||||
period = int(child.match.group(1))
|
||||
child.expect_exact('Initializing the RTT driver')
|
||||
child.expect(r'RTT now: \d+')
|
||||
child.expect(r'Setting initial alarm to now \+ {} s \(\d+\)'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user