summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2014-08-29 19:35:11 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2014-08-29 19:37:47 +0100
commit98b64fec33834d5fd8534ba5ac5067fe6f398525 (patch)
treef8695dd028f484a062e9b04106da56666566b275
parent4bcf739d049f7a97e1c71cce90af0fc206f43532 (diff)
downloadclutter-98b64fec33834d5fd8534ba5ac5067fe6f398525.tar.gz
Add TestEnvironment key to the installed tests launchers
The TestEnvironment key allows us to control the environment used by the gnome-desktop-testing-runner harness. We use it to disable the diagnostic messages without having to tweak the Exec line. https://bugzilla.gnome.org/show_bug.cgi?id=734115
-rw-r--r--build/autotools/glib-tap.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/autotools/glib-tap.mk b/build/autotools/glib-tap.mk
index 7a634cd3e..14a7cb166 100644
--- a/build/autotools/glib-tap.mk
+++ b/build/autotools/glib-tap.mk
@@ -127,6 +127,7 @@ installed_test_meta_DATA = $(installed_testcases:=.test)
%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Type=session' >> $@.tmp; \
+ echo 'TestEnvironment=G_ENABLE_DIAGNOSTIC=0;CLUTTER_ENABLE_DIAGNOSTIC=0;' >> $@.tmp; \
echo 'Exec=$(installed_testdir)/$<' >> $@.tmp; \
mv $@.tmp $@)