mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02:00
Output test debug logs on failure.
This commit is contained in:
parent
eb122b1eeb
commit
a09e98dcae
11
.github/run_test.sh
vendored
11
.github/run_test.sh
vendored
@ -18,6 +18,17 @@ done
|
|||||||
|
|
||||||
if [ -z "$LTESTS" ]; then
|
if [ -z "$LTESTS" ]; then
|
||||||
make $TEST_TARGET
|
make $TEST_TARGET
|
||||||
|
result=$?
|
||||||
else
|
else
|
||||||
make $TEST_TARGET LTESTS="$LTESTS"
|
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
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user