We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31fc397 commit 63cd1e2Copy full SHA for 63cd1e2
1 file changed
tests/run_tests.sh
@@ -1,23 +1,29 @@
1
#! /bin/sh
2
#
3
# run_tests.sh
4
-# Copyright (C) 2016 Jakub Krajniak <jkrajniak@gmail.com>
+# Copyright (C) 2016,2017 Jakub Krajniak <jkrajniak@gmail.com>
5
6
# Distributed under terms of the GNU GPLv3 license.
7
8
9
10
for d in *; do
11
- if [ -d $d ]; then
+ if [ -d $d ] && [ "$d" != "testsuit" ]; then
12
cd $d
13
- ./run_test.sh | tee log
+ ./run_test.sh &> ${d}_log
14
RET="$?"
15
if [ "$RET" != "0" ]; then
16
- echo "Error"
17
- cat log
+ echo "Error in ${d}"
+ cat ${d}_log
18
exit $RET
19
fi
20
cd ..
21
22
done
23
-python testsuit/test_preapre_files.py
+
24
+# Run Python TestCases
25
+cd testsuit
26
+python test_preapre_files.py
27
+RET="$?"
28
+cd ..
29
+exit $RET
0 commit comments