testsuite: make test logs more verbose

The Automake-provided parallel testsuite harness take care of
redirection the stdout and stderr of the run test cases to a
corresponding log file, so we no longer have to worry about
avoiding to pollute the "make test" output.

* testsuite/runtest: Adjust and simplify.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
This commit is contained in:
Stefano Lattarini authored and Paolo Bonzini committed 2013-01-01 17:14:07 +01:00
1 parent 44d9fbdc2b
commit 2c99bdaf9b
2 files changed
+9 -13

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2012-12-29 Stefano Lattarini <stefano.lattarini@gnu.org> (tiny change)
testsuite: make test logs more verbose
* testsuite/runtest: Adjust and simplify.
2012-12-29 Stefano Lattarini <stefano.lattarini@gnu.org> (tiny change)
maint: enable Automake parallel testsuite harness
+4 -13
View File
@@ -7,17 +7,8 @@
makefile="$srcdir/Makefile.tests"
test=`echo "$@"| sed 's,.*/,,'`
# As a convenience, suppress the output of make if the test passes
if $MAKE SED="$SED" srcdir="$srcdir" -f "$makefile" $test > $test.test 2>&1; then
exitcode=0
rm -f $test.test
else
exitcode=$?
fi
if test -f $test.skip; then
exitcode=77
else
test -f $test.test && cat $test.test
fi
rm -f $test.test $test.skip
exitcode=0
$MAKE SED="$SED" srcdir="$srcdir" -f "$makefile" $test || exitcode=$?
test -f $test.skip && exitcode=77
rm -f $test.skip
exit $exitcode