mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
Always print warnings/failures in integration test
This makes it easier to debug issues when they appear in the CI.
This commit is contained in:
parent
b31fa557b7
commit
0bde042c11
|
@ -355,23 +355,16 @@ do
|
|||
then
|
||||
continue
|
||||
fi
|
||||
if [ "$arg_verbose" != "1" ]
|
||||
then
|
||||
continue
|
||||
fi
|
||||
echo "[!] Warning: $stderr"
|
||||
cat "$stderr"
|
||||
done
|
||||
|
||||
if test -n "$(find . -maxdepth 1 -name 'fail_*' -print -quit)"
|
||||
then
|
||||
if [ "$arg_verbose" == "1" ]
|
||||
then
|
||||
for fail in fail_*
|
||||
do
|
||||
cat "$fail"
|
||||
done
|
||||
fi
|
||||
for fail in fail_*
|
||||
do
|
||||
cat "$fail"
|
||||
done
|
||||
print_results
|
||||
echo "[-] Test failed. See errors above."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue