Skip to content
Snippets Groups Projects
Unverified Commit a78f357b authored by Dylan Laduranty's avatar Dylan Laduranty Committed by GitHub
Browse files

Merge pull request #10813 from aabadie/pr/tests/pkg_hacl_monocypher

tests/pkg_{hacl,monocypher}: set custom timeout value
parents 4c4087ce a1736b08
No related branches found
No related tags found
No related merge requests found
...@@ -10,8 +10,13 @@ import sys ...@@ -10,8 +10,13 @@ import sys
from testrunner import run from testrunner import run
# increase the default timeout to 30s, on samr30-xpro this test takes 20s to
# complete.
TIMEOUT = 30
def testfunc(child): def testfunc(child):
child.expect('OK \(\d+ tests\)') child.expect('OK \(\d+ tests\)', timeout=TIMEOUT)
if __name__ == "__main__": if __name__ == "__main__":
......
...@@ -11,8 +11,13 @@ import sys ...@@ -11,8 +11,13 @@ import sys
from testrunner import run from testrunner import run
# increase the default timeout to 20s, on samr30-xpro this test takes 14s to
# complete.
TIMEOUT = 20
def testfunc(child): def testfunc(child):
child.expect(r"OK \(2 tests\)") child.expect(r"OK \(2 tests\)", timeout=TIMEOUT)
if __name__ == "__main__": if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment