mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-18 20:02:22 +00:00
CI: Report which boost test suite is being executed.
This commit is contained in:
parent
fed8f6cbcb
commit
fcf7ca3b28
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
gdb -q -batch -return-child-result -ex "set disable-randomization off" -ex "set style enabled on" -ex "run" -ex "thread apply all bt" -ex "quit" --args ./boost_unit_tests 2> error.log
|
||||
gdb -q -batch -return-child-result -ex "set disable-randomization off" -ex "set style enabled on" -ex "run" -ex "thread apply all bt" -ex "quit" --args ./boost_unit_tests --color_output --log_level=test_suite 2> error.log
|
||||
error_code="$?"
|
||||
while grep -q 'Could not initialize SDL_video' error.log; do
|
||||
echo "Could not initialize SDL_video error, retrying..."
|
||||
gdb -q -batch -return-child-result -ex "set style enabled on" -ex "run" -ex "thread apply all bt" -ex "quit" --args ./boost_unit_tests 2> error.log
|
||||
gdb -q -batch -return-child-result -ex "set style enabled on" -ex "run" -ex "thread apply all bt" -ex "quit" --args ./boost_unit_tests --color_output --log_level=test_suite 2> error.log
|
||||
error_code="$?"
|
||||
done
|
||||
cat error.log
|
||||
|
|
Loading…
Reference in New Issue
Block a user