1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #7834 from haukepetersen/fix_test_xtimer_hang

test/xtimer_hang: accept 10% timing deviations
This commit is contained in:
Hauke Petersen 2017-10-25 14:30:30 +02:00 committed by GitHub
commit 775609dcac

View File

@ -15,7 +15,9 @@ import testrunner
def testfunc(child):
child.expect_exact("[START]")
for i in range(100):
# due to timer inaccuracies, boards might not display exactly 100 steps, so
# we accept 10% deviation
for i in range(90):
child.expect(u"Testing \( +\d+%\)")
child.expect_exact("[SUCCESS]")