1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 23:41:18 +01:00

Merge pull request #10590 from aabadie/tests/pkg_libcose_timeout

tests/pkg_libcose: increase timeout of autotest
This commit is contained in:
Gaëtan Harter 2018-12-14 21:05:58 +01:00 committed by GitHub
commit 169a72b9a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,10 +11,15 @@ import sys
from testrunner import run
# on real hardware, this test application can take several minutes to
# complete (~4min on microbit)
HW_TIMEOUT = 300
def testfunc(child):
board = os.environ['BOARD']
# Increase timeout on "real" hardware
timeout = 120 if board is not 'native' else -1
timeout = HW_TIMEOUT if board is not 'native' else -1
child.expect('OK \(\d+ tests\)', timeout=timeout)