Temporary work around for a problem in ProcessEnter() unit test
Running this test on its own doesn't work currently, so run ButtonTestCase, which uses wxUIActionSimulator::Click(), which somehow fixes the problem in ProcessEnter test (by giving focus to the correct window, probably), before it to avoid failures in this test now that we run "wx*" tests separately.
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -262,7 +262,11 @@ jobs:
|
||||
# Running all tests at once fails, apparently due to running out of
|
||||
# memory when using ASAN, work around this problem by splitting them
|
||||
# in 2 parts.
|
||||
/bin/bash -o pipefail -c 'xvfb-run -a -s "-screen 0 1600x1200x24" ./test_gui -d 1 wx* ~[.] 2>&1 | tee -a test_gui.out' || rc=$?
|
||||
#
|
||||
# Also, as a temporary workaround for a problem with ProcessEnter()
|
||||
# test, run ButtonTestCase before running wx* tests. This should be
|
||||
# reverted once the actual problem in the test is fixed.
|
||||
/bin/bash -o pipefail -c 'xvfb-run -a -s "-screen 0 1600x1200x24" ./test_gui -d 1 ButtonTestCase,wx* ~[.] 2>&1 | tee -a test_gui.out' || rc=$?
|
||||
/bin/bash -o pipefail -c 'xvfb-run -a -s "-screen 0 1600x1200x24" ./test_gui -d 1 ~wx* ~[.] 2>&1 | tee -a test_gui.out' || rc=$?
|
||||
if [ -n "$rc" ]; then
|
||||
if fgrep -q '(core dumped)' test_gui.out; then
|
||||
|
Reference in New Issue
Block a user