mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #5785
5785: Always print warnings/failures in integration test r=def- a=Robyt3 This makes it easier to debug issues when they appear in the CI. Closes #5684. ## Checklist - [ ] Tested the change ingame - [ ] Provided screenshots if it is a visual change - [ ] Tested in combination with possibly related configuration options - [ ] Written a unit test (especially base/) or added coverage to integration test - [ ] Considered possible null pointers and out of bounds array indexing - [ ] Changed no physics that affect existing maps - [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional) Co-authored-by: Robert Müller <robytemueller@gmail.com>
This commit is contained in:
commit
0f43a34aac
|
@ -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