Closed bochecha closed 9 years ago
For now, I'm using this patch in Fedora: https://pkgs.fedoraproject.org/cgit/ibus-cangjie.git/tree/ibus-cangjie-2.2-Skip-a-unit-test.patch
It unconditionally skips the unit test.
Obviously, that's not an acceptable patch upstream, we want to be able to skip the test only when in a non-graphical environment (build for distros, CI,...), but keep it for our development workstations.
Does that means we cannot support both Fedora 20+ and 12.04 at the same time?
For users, we absolutely can, no problem at all.
The problem is in the unit tests, not in the code that the user runs.
It seems the behaviour of importing Gtk changed between Ubuntu 12.04 (our CI server) and Fedora 20+.
So the detection we have in our unit tests (can we import Gtk? if no slkip the test) fails on recent Fedora, which makes the unit tests fail.
We need to fix this.