Show the GUI tests being executed in the CI workflow
This is useful to check where the test dies when it does it.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -259,7 +259,7 @@ jobs:
|
|||||||
export ASAN_OPTIONS="$ASAN_OPTIONS fast_unwind_on_malloc=0"
|
export ASAN_OPTIONS="$ASAN_OPTIONS fast_unwind_on_malloc=0"
|
||||||
fi
|
fi
|
||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
/bin/bash -o pipefail -c 'xvfb-run -a -s "-screen 0 1600x1200x24" ./test_gui 2>&1 | tee test_gui.out' || rc=$?
|
/bin/bash -o pipefail -c 'xvfb-run -a -s "-screen 0 1600x1200x24" ./test_gui -d 1 2>&1 | tee test_gui.out' || rc=$?
|
||||||
if [ -n "$rc" ]; then
|
if [ -n "$rc" ]; then
|
||||||
if fgrep -q '(core dumped)' test_gui.out; then
|
if fgrep -q '(core dumped)' test_gui.out; then
|
||||||
echo '*** Test crashed, trying to get more information ***'
|
echo '*** Test crashed, trying to get more information ***'
|
||||||
|
Reference in New Issue
Block a user