tests/pkg_c25519: increase timeout on non-native

This commit is contained in:
Koen Zandberg 2019-04-05 16:33:53 +02:00
parent a81dbf0037
commit 25b0d4d67b
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

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__":