[clutter/clutter-1.22] build: Use `env` instead of TestEnvironment key
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.22] build: Use `env` instead of TestEnvironment key
- Date: Fri, 2 Jan 2015 12:18:59 +0000 (UTC)
commit 96c6c0347440222e772c44c182bb6baf5bc2e201
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Jan 2 12:16:57 2015 +0000
build: Use `env` instead of TestEnvironment key
We rely on having the DISPLAY environment variable set, otherwise we
default to skipping all tests automatically. The TestEnvironment key
inside the installed test launcher keyfile replaces the whole
environment, instead of just adding to it like the TESTS_ENVIRONMENT
automake variable.
build/autotools/glib-tap.mk | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/build/autotools/glib-tap.mk b/build/autotools/glib-tap.mk
index 14a7cb1..7c5f82b 100644
--- a/build/autotools/glib-tap.mk
+++ b/build/autotools/glib-tap.mk
@@ -127,8 +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; \
+ echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 $(installed_testdir)/$<' >> $ tmp; \
mv $ tmp $@)
CLEANFILES += $(installed_test_meta_DATA)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]