From 25b0d4d67b71d977d711c404a65b62d6aa01c8f7 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Fri, 5 Apr 2019 16:33:53 +0200 Subject: [PATCH] tests/pkg_c25519: increase timeout on non-native --- tests/pkg_c25519/tests/01-run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/pkg_c25519/tests/01-run.py b/tests/pkg_c25519/tests/01-run.py index d90541ef39..f049f3179c 100755 --- a/tests/pkg_c25519/tests/01-run.py +++ b/tests/pkg_c25519/tests/01-run.py @@ -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__":