From 188de595793446bfa079e0f3bb954e2c6ebc35b3 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 7 Feb 2017 09:03:13 +0100 Subject: 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 --- modules/user/aszlig/programs/gajim/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/user/aszlig/programs/gajim/default.nix') 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 ''; -- cgit 1.4.1