-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_tests.sh
30 lines (25 loc) · 1002 Bytes
/
run_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SRC=tema
TESTS=tests
OUT=out
STATS=stats
rm -f ${OUT} ${STATS}
time python -tt ${SRC}/tester.py -t test0 -o ${OUT} -i 1; echo
time python -tt ${SRC}/tester.py -f ${TESTS}/test1 -o ${OUT} -i 5; echo
time python -tt ${SRC}/tester.py -f ${TESTS}/test2 -o ${OUT} -i 5; echo
time python -tt ${SRC}/tester.py -f ${TESTS}/test3 -o ${OUT} -i 10; echo
time python -tt ${SRC}/tester.py -f ${TESTS}/test4 -o ${OUT} -i 5; echo
time python -tt ${SRC}/tester.py -f ${TESTS}/test5 -o ${OUT} -i 5; echo
time python -tt ${SRC}/tester.py -f ${TESTS}/test6 -o ${OUT} -i 5; echo
time python -tt ${SRC}/tester.py -f ${TESTS}/test7 -o ${OUT} -i 5; echo
time python -tt ${SRC}/tester.py -f ${TESTS}/test8 -o ${OUT} -i 5; echo
time python -tt ${SRC}/tester.py -t test9 -o ${OUT} -i 100; echo
time python -tt ${SRC}/tester.py -t test10 -o ${OUT} -i 20; echo
echo ""
echo "-----------------------------------------------------------------------"
echo ""
if [ -f ${OUT} ]
then
cat ${OUT}
else
echo "Tests failed"
fi