Skip to content
Snippets Groups Projects
Commit b28f9ef0 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

test suite: prettier printing of timing results

parent ad3d00f0
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ echo '| FAIL: '$failed >> $outfile
echo '| XFAIL: '$xfailed >> $outfile
echo '| XPASS: '$xpassed >> $outfile
if [ $failed -gt 0 ] ; then
echo '| LIST OF FAILED TESTS:' >> $outfile
echo '| LIST OF FAILED TESTS:' >> $outfile
for file in ${failed_tests[@]} ; do
if [ "$prg" == "MATLAB" ]; then
modfile=`sed 's/\.m\.trs/\.mod/g' <<< $file` >> $outfile
......@@ -97,5 +97,6 @@ if [ "$prg" == "MATLAB" ]; then
else
timing=`sed 's/\.o\.trs/\.mod/g' <<< $timing`
fi
echo $timing | tr ':' '\n' | sed -e 's/^[ \t]*//' | sed '/^$/d' >> $outfile
echo $timing | tr ':' '\n' | sed -e 's/^[ \t]*//' | \
sed '/^$/d' | sed -e 's/^|[ ]/| * /' >> $outfile
echo >> $outfile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment