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:
commit
169a72b9a7
@ -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)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user