regression.py 445 Bytes
Newer Older
yoogx's avatar
yoogx committed
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 = [
    "binary.linux.ada/binaries/demo_c", 
    "binary.linux.pohic/binaries/demo_c"]

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)