-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.5.24: test suite freezes #2307
Comments
ibus-compose requires to open display. You could disable GUI tests if you cannot configure display correctly.
|
Issue is that I'm running test suite with $DSPLAY %check
%{!?with_check:exit 0}
xvfb-run -a \
%make_build check \
DISABLE_GUI_TESTS="ibus-keypress" |
OK, you already setup Display. Unfortunately you also need to setup a window manager since IBus needs to receive focus-in/out events to test IBus with GTK applications. I run ibus-compose using gnome-desktop-testing-runner & ibus-desktop-testing-runner in Fedora CI but not Fedora build |
Issue is that it makes test suite useless in case typical build used on packaging software which uses env without human interraction. |
So you can use DISABLE_GUI_TESTS. I don't expect all users run ibus-compose. |
@fujiwarat It'd be nice if we could declare that we want to skip all GUI tests, instead of having to know in advance which ones need to be added to DISABLE_GUI_TESTS. Something like: |
Probably DISABLE_GUI_TESTS values are different by your environments. |
May I ask why you want to skip thise GUI test? |
When you enable window manager, the test should works. |
Using the latest release, I could disable the problematic tests with |
Just in case .. if you will look on top of this ticket on |
As I also noted above, openning display is not enough but a window manager is required for those testings. |
OK so what exacly should be done to have for example FB session for test suite session? 🤔 |
ibus-desktop-testing-runner can run gnome-shell as a window manager and executes the tests using gnome-desktop-testring-runner. Fedora CI runs ibus-desktop-testing-runner and those GUI test cases. |
fragment of the
ps auxwf
output:and strace of the last process:
The text was updated successfully, but these errors were encountered: