Enable tests using wxUIActionSimulator under wxQt
This commit is contained in:
parent
aa4a19cb1d
commit
28cf04036d
2 changed files with 7 additions and 4 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -135,7 +135,7 @@ jobs:
|
||||||
- name: Ubuntu 18.04 wxQt
|
- name: Ubuntu 18.04 wxQt
|
||||||
runner: ubuntu-latest
|
runner: ubuntu-latest
|
||||||
container: ubuntu:18.04
|
container: ubuntu:18.04
|
||||||
configure_flags: --with-qt --enable-pch --without-opengl --disable-uiactionsim
|
configure_flags: --with-qt --enable-pch --without-opengl
|
||||||
skip_samples: true
|
skip_samples: true
|
||||||
use_xvfb: true
|
use_xvfb: true
|
||||||
|
|
||||||
|
|
@ -370,6 +370,9 @@ jobs:
|
||||||
wx_tests_selection='~[.] ~RichTextCtrlTestCase'
|
wx_tests_selection='~[.] ~RichTextCtrlTestCase'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# The tests only work reliably with native windows
|
||||||
|
export QT_USE_NATIVE_WINDOWS=1
|
||||||
|
|
||||||
# Configure the system to create core files and create them in the
|
# Configure the system to create core files and create them in the
|
||||||
# current directory instead of using apport to handle them, as
|
# current directory instead of using apport to handle them, as
|
||||||
# Ubuntu does by default (even in a container where apport is not
|
# Ubuntu does by default (even in a container where apport is not
|
||||||
|
|
|
||||||
|
|
@ -524,11 +524,11 @@ bool EnableUITests()
|
||||||
|
|
||||||
if ( s_enabled == -1 )
|
if ( s_enabled == -1 )
|
||||||
{
|
{
|
||||||
#if defined(__WXMSW__) || defined(__WXGTK__)
|
#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXQT__)
|
||||||
s_enabled = 1;
|
s_enabled = 1;
|
||||||
#else // !(__WXMSW__ || __WXGTK__)
|
#else // !(__WXMSW__ || __WXGTK__ || __WXQT__)
|
||||||
s_enabled = 0;
|
s_enabled = 0;
|
||||||
#endif // (__WXMSW__ || __WXGTK__)
|
#endif // (__WXMSW__ || __WXGTK__ || __WXQT__)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue