Skip to content

Commit

Permalink
Merge pull request #11347 from bergzand/pr/pkg_c25519/fix_test_timeout
Browse files Browse the repository at this point in the history
tests/pkg_c25519: increase timeout on non-native
  • Loading branch information
miri64 authored Apr 5, 2019
2 parents a81dbf0 + 25b0d4d commit 2ef1451
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/pkg_c25519/tests/01-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@


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

0 comments on commit 2ef1451

Please sign in to comment.