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)"
7474echo " Running: \" valgrind $OPTION \" for the following tests:"
7575
7676ANY_TEST_FAILED=0
77- rm -f umf_test-* .log umf_test-* .err
77+ PATH_TESTS=" ./test/umf_test-*"
78+ PATH_EXAMPLES=" ./examples/umf_example_*"
7879
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} )
8083
8184for test in $TESTS ; do
8285 if [ ! -f $test ]; then
185188echo " ======================================================================"
186189echo
187190
188- for log in $( ls -1 umf_test- * .log) ; do
191+ for log in $( ls -1 ${PATH_TESTS} .log ${PATH_EXAMPLES} .log) ; do
189192 echo " >>>>>>> LOG $log "
190193 cat $log
191194 echo
You can’t perform that action at this time.
0 commit comments