make the unit tests spam their output, in an attempt yo understand wtf the matter with the buildbot is

svn path=/trunk/; revision=21349
This commit is contained in:
Richard van der Hoff 2007-04-07 02:18:57 +00:00
parent a0afc5d832
commit 235cfd0f19
1 changed files with 6 additions and 3 deletions

View File

@ -36,12 +36,15 @@ unittests_step_test() {
test_step_failed "make $DUT failed"
return
fi
$DUT > testout.txt 2>&1
# temporary hack to disable output redirection, in the hope
# this will shed some light on the mysterious windows buildbot failures.
$DUT
# > testout.txt 2>&1
RETURNVALUE=$?
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
echo
cat ./testout.txt
#cat ./testout.txt
test_step_failed "exit status of $DUT: $RETURNVALUE"
return
fi