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

Merge pull request #11347 from bergzand/pr/pkg_c25519/fix_test_timeout

tests/pkg_c25519: increase timeout on non-native
This commit is contained in:
Martine Lenders 2019-04-05 17:20:09 +02:00 committed by GitHub
commit 2ef1451ecf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,10 @@ import sys
def testfunc(child):
child.expect(r"OK \(2 tests\)")
board = os.environ['BOARD']
# Increase timeout on "real" hardware
timeout = 20 if board is not 'native' else -1
child.expect(r"OK \(2 tests\)", timeout=timeout)
if __name__ == "__main__":