File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ for test in $TESTS; do
154154
155155 LAST_TEST_FAILED=0
156156 set +e
157- HWLOC_CPUID_PATH=./cpuid valgrind $OPTION $OPT_SUP --gen-suppressions=all $test $FILTER > $LOG 2>&1
157+ HWLOC_CPUID_PATH=./cpuid time valgrind $OPTION $OPT_SUP --gen-suppressions=all $test $FILTER > $LOG 2>&1
158158 RET=$?
159159 set -e
160160 # 125 is the return code when the test is skipped
@@ -172,9 +172,11 @@ for test in $TESTS; do
172172 grep -e " ERROR SUMMARY:" $LOG | grep -v -e " ERROR SUMMARY: 0 errors from 0 contexts" > $ERR || true
173173 if [ $LAST_TEST_FAILED -eq 0 -a $( cat $ERR | wc -l) -eq 0 ]; then
174174 [ $RET -eq 0 ] && echo " - OK" || echo " - SKIPPED"
175+ tail -n2 $LOG || true # print out the output of the "time" command
175176 rm -f $LOG $ERR
176177 else
177178 echo " - FAILED!"
179+ tail -n2 $LOG || true # print out the output of the "time" command
178180 cat $ERR | cut -d' ' -f2-
179181 ANY_TEST_FAILED=1
180182 fi || true
You can’t perform that action at this time.
0 commit comments