regression.py 424 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python2
import sys

timeout = 5

binaries = [
    "taste-simulate-leon3 binary.c/binaries/leon_partition"
]

expected = [
    '\[Startup\] Expected output: "Hello, world..." every 2 seconds',
    'Hello, world...',
    'Hello, world...',
    'Hello, world...',
    'Hello, world...'
]

sys.path.append("..")
import commonRegression
result = commonRegression.test(binaries, expected, timeout)
sys.exit(result)