1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

Merge pull request #11387 from danpetry/tests/periph_rtt_testfix

tests/periph_rtt: Correct the test script syntax
This commit is contained in:
Martine Lenders 2019-04-23 12:30:15 +02:00 committed by GitHub
commit cfde3f1596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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+\)'