File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,12 @@ echo "Working directory: $(pwd)"
74
74
echo " Running: \" valgrind $OPTION \" for the following tests:"
75
75
76
76
ANY_TEST_FAILED=0
77
- rm -f umf_test-* .log umf_test-* .err
77
+ PATH_TESTS=" ./test/umf_test-*"
78
+ PATH_EXAMPLES=" ./examples/umf_example_*"
78
79
79
- [ " $TESTS " = " " ] && TESTS=$( ls -1 ./test/umf_test-* ./examples/umf_example_* )
80
+ rm -f ${PATH_TESTS} .log ${PATH_TESTS} .err ${PATH_EXAMPLES} .log ${PATH_EXAMPLES} .err
81
+
82
+ [ " $TESTS " = " " ] && TESTS=$( ls -1 ${PATH_TESTS} ${PATH_EXAMPLES} )
80
83
81
84
for test in $TESTS ; do
82
85
if [ ! -f $test ]; then
185
188
echo " ======================================================================"
186
189
echo
187
190
188
- for log in $( ls -1 umf_test- * .log) ; do
191
+ for log in $( ls -1 ${PATH_TESTS} .log ${PATH_EXAMPLES} .log) ; do
189
192
echo " >>>>>>> LOG $log "
190
193
cat $log
191
194
echo
You can’t perform that action at this time.
0 commit comments