1
0
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:
Alexandre Abadie 2019-10-02 14:37:46 +02:00 committed by GitHub
commit 5653e89a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))