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

tests/pkg_{hacl,monocypher}: set custom timeout value
This commit is contained in:
Dylan Laduranty 2019-01-18 16:08:29 +01:00 committed by GitHub
commit a78f357b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -10,8 +10,13 @@ import sys
from testrunner import run
# increase the default timeout to 30s, on samr30-xpro this test takes 20s to
# complete.
TIMEOUT = 30
def testfunc(child):
child.expect('OK \(\d+ tests\)')
child.expect('OK \(\d+ tests\)', timeout=TIMEOUT)
if __name__ == "__main__":

View File

@ -11,8 +11,13 @@ import sys
from testrunner import run
# increase the default timeout to 20s, on samr30-xpro this test takes 14s to
# complete.
TIMEOUT = 20
def testfunc(child):
child.expect(r"OK \(2 tests\)")
child.expect(r"OK \(2 tests\)", timeout=TIMEOUT)
if __name__ == "__main__":