mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Merge pull request #12357 from aabadie/pr/tests/pkg_ubasic
tests/pkg_ubasic: increase timeout value, per test
This commit is contained in:
commit
5653e89a3a
@ -10,10 +10,16 @@ import sys
|
||||
from testrunner import run
|
||||
|
||||
|
||||
# Use custom timeout, per test.
|
||||
# test #3 requires ~150s to complete on samr30-xpro.
|
||||
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 #{}... done. Run time: [0-9.]* s".format(i),
|
||||
timeout=TIMEOUT)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(run(testfunc, timeout=120))
|
||||
sys.exit(run(testfunc))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user