tests/pkg_{hacl,monocypher}: set custom timeout value
On samr30-xpro the tests takes respectively 20 and 14 seconds to complete
This commit is contained in:
parent
c191d52cba
commit
a1736b08ad
@ -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__":
|
||||
|
||||
@ -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__":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user