mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
4f2521262b
Globally speed up automated tests as iterating more does not add anything. Especially usefull for wsn430 that now takes ~30 seconds instead of the double.
22 lines
515 B
Python
Executable File
22 lines
515 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
# Copyright (C) 2017 HAW Hamburg
|
|
#
|
|
# 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 os
|
|
import sys
|
|
|
|
|
|
def testfunc(child):
|
|
for i in range(10):
|
|
child.expect(r"\[ALIVE\] alternated \d+k times.")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.path.append(os.path.join(os.environ['RIOTTOOLS'], 'testrunner'))
|
|
from testrunner import run
|
|
sys.exit(run(testfunc))
|