mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/pkg_ubasic: improve test output regex
The test application now correctly prints float value, with a 3 digits precision. The python test script now verifies the run time value printed for each test is following the x.xxx pattern.
This commit is contained in:
parent
0e7c3bd2b7
commit
630e7ba053
@ -17,7 +17,7 @@ TIMEOUT = 180
|
||||
|
||||
def testfunc(child):
|
||||
for i in range(1, 6):
|
||||
child.expect(r"Running test #{}... done. Run time: [0-9.]* s".format(i),
|
||||
child.expect(r"Running test #%d... done. Run time: \d+.\d{3} s" % i,
|
||||
timeout=TIMEOUT)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user