Extend wxWebView test hack to all the builds
The first unit test using wxWebView sometimes fails in other builds too, so try using the same hack as was previously used for the clang build for them as well.
This commit is contained in:
parent
c989d3973e
commit
3ac39970b1
1 changed files with 4 additions and 6 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -362,12 +362,10 @@ jobs:
|
|||
echo 0 | sudo tee /proc/sys/kernel/core_uses_pid
|
||||
|
||||
# This is exceedingly weird, but for some reason the first test using
|
||||
# wxWebView in the build using clang under Ubuntu 20.04 fails (even
|
||||
# if the timeout in the test is increased), so run it before really
|
||||
# running the tests -- then they will succeed.
|
||||
if [ '${{ matrix.compiler }}' = 'clang++-10' ]; then
|
||||
# wxWebView sometimes fails (even if the timeout in the test is
|
||||
# increased), so run it before really running the tests -- then they
|
||||
# will succeed.
|
||||
xvfb-run -a -s '-screen 0 1600x1200x24' ./test_gui -c Title WebView >/dev/null 2>&1 || echo 'First wxWebView test failure ignored.'
|
||||
fi
|
||||
|
||||
/bin/bash -o pipefail -c "xvfb-run -a -s '-screen 0 1600x1200x24' ./test_gui -d 1 $wx_tests_selection 2>&1 | tee -a test_gui.out" || rc=$?
|
||||
if [ -n "$rc" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue