1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/pkg_hacl/tests/01-run.py
Alexandre Abadie a1736b08ad
tests/pkg_{hacl,monocypher}: set custom timeout value
On samr30-xpro the tests takes respectively 20 and 14 seconds to complete
2019-01-18 11:29:46 +01:00

24 lines
518 B
Python
Executable File

#!/usr/bin/env python3
# Copyright (C) 2017 Freie Universität Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
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\)', timeout=TIMEOUT)
if __name__ == "__main__":
sys.exit(run(testfunc))