Output test debug logs on failure.
This commit is contained in:
parent
eb122b1eeb
commit
a09e98dcae
|
@ -18,6 +18,17 @@ done
|
|||
|
||||
if [ -z "$LTESTS" ]; then
|
||||
make $TEST_TARGET
|
||||
result=$?
|
||||
else
|
||||
make $TEST_TARGET LTESTS="$LTESTS"
|
||||
result=$?
|
||||
fi
|
||||
|
||||
if [ "$result" -ne "0" ]; then
|
||||
for i in regress/failed*; do
|
||||
echo -------------------------------------------------------------------------
|
||||
echo LOGFILE $i
|
||||
cat $i
|
||||
echo -------------------------------------------------------------------------
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue