diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-02-07 09:03:13 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-02-07 09:03:13 +0100 |
commit | 188de595793446bfa079e0f3bb954e2c6ebc35b3 (patch) | |
tree | f81e81cc48c93c7c64c137a6b02bc6dd816761a2 /modules/user/aszlig/programs/gajim | |
parent | ef9abfdf530f2b25c913d3f11c2734ccb8362ab7 (diff) |
programs/gajim: Disable tests expected to fail
We inject our own declarative config into Gajim by patching the source, which unfortunately kills a few tests which assume the default configuration, especially in terms of the GUI (for example the Vuizvui config has a single window GUI). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user/aszlig/programs/gajim')
-rw-r--r-- | modules/user/aszlig/programs/gajim/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/user/aszlig/programs/gajim/default.nix b/modules/user/aszlig/programs/gajim/default.nix index f60b0455..a4555cd1 100644 --- a/modules/user/aszlig/programs/gajim/default.nix +++ b/modules/user/aszlig/programs/gajim/default.nix @@ -48,6 +48,12 @@ let pkgs.pythonPackages.python-axolotl ]; postPatch = (o.postPatch or "") + '' + # Disable a few config-related and GUI tests that won't work with our + # patches. + sed -i -e '/integration\.test_roster/d' \ + -e '/unit.test_gui_interface/d' \ + test/runtests.py + sed -i -e '/^export/i export GTK2_RC_FILES="${gtkTheme}"' \ scripts/gajim.in ''; |