Skip to content

Commit 63cd1e2

Browse files
committed
updated test_suit
1 parent 31fc397 commit 63cd1e2

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

tests/run_tests.sh

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
#! /bin/sh
22
#
33
# run_tests.sh
4-
# Copyright (C) 2016 Jakub Krajniak <jkrajniak@gmail.com>
4+
# Copyright (C) 2016,2017 Jakub Krajniak <jkrajniak@gmail.com>
55
#
66
# Distributed under terms of the GNU GPLv3 license.
77
#
88

99

1010
for d in *; do
11-
if [ -d $d ]; then
11+
if [ -d $d ] && [ "$d" != "testsuit" ]; then
1212
cd $d
13-
./run_test.sh | tee log
13+
./run_test.sh &> ${d}_log
1414
RET="$?"
1515
if [ "$RET" != "0" ]; then
16-
echo "Error"
17-
cat log
16+
echo "Error in ${d}"
17+
cat ${d}_log
1818
exit $RET
1919
fi
2020
cd ..
2121
fi
2222
done
23-
python testsuit/test_preapre_files.py
23+
24+
# Run Python TestCases
25+
cd testsuit
26+
python test_preapre_files.py
27+
RET="$?"
28+
cd ..
29+
exit $RET

0 commit comments

Comments
 (0)