mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Enable tests using wxUIActionSimulator under wxQt
This commit is contained in:
@@ -135,7 +135,7 @@ jobs:
|
||||
- name: Ubuntu 18.04 wxQt
|
||||
runner: ubuntu-latest
|
||||
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
|
||||
use_xvfb: true
|
||||
|
||||
@@ -370,6 +370,9 @@ jobs:
|
||||
wx_tests_selection='~[.] ~RichTextCtrlTestCase'
|
||||
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
|
||||
# current directory instead of using apport to handle them, as
|
||||
# Ubuntu does by default (even in a container where apport is not
|
||||
|
||||
+3
-3
@@ -524,11 +524,11 @@ bool EnableUITests()
|
||||
|
||||
if ( s_enabled == -1 )
|
||||
{
|
||||
#if defined(__WXMSW__) || defined(__WXGTK__)
|
||||
#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXQT__)
|
||||
s_enabled = 1;
|
||||
#else // !(__WXMSW__ || __WXGTK__)
|
||||
#else // !(__WXMSW__ || __WXGTK__ || __WXQT__)
|
||||
s_enabled = 0;
|
||||
#endif // (__WXMSW__ || __WXGTK__)
|
||||
#endif // (__WXMSW__ || __WXGTK__ || __WXQT__)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user