summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch')
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch30
1 files changed, 21 insertions, 9 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch b/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch
index 80acab867c..86d841b1c5 100644
--- a/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch
+++ b/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch
@@ -1,20 +1,32 @@
1Configure output from installed-tests to be TAP compliant, such that gnome-desktop-testing-runner properly interprets the results. 1From 668e1d14af13249384ab324c7d79ec4147f07e48 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Mon, 27 Apr 2015 20:12:33 +0300
4Subject: [PATCH] Run installed tests with tap output
5
6Configure output from installed-tests to be TAP compliant such that
7gnome-desktop-testing-runner properly interprets the results.
2 8
3Upstream-status: Pending 9Upstream-status: Pending
4 10
5Signed-off-by: Tim Orling <TicoTimo@gmail.com> 11Signed-off-by: Tim Orling <TicoTimo@gmail.com>
12---
13 build/autotools/glib-tap.mk | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
6 15
7Index: clutter-1.20.0/build/autotools/glib-tap.mk 16diff --git a/build/autotools/glib-tap.mk b/build/autotools/glib-tap.mk
8=================================================================== 17index 7c5f82b..844e17e 100644
9--- clutter-1.20.0.orig/build/autotools/glib-tap.mk 18--- a/build/autotools/glib-tap.mk
10+++ clutter-1.20.0/build/autotools/glib-tap.mk 19+++ b/build/autotools/glib-tap.mk
11@@ -128,7 +128,8 @@ installed_test_meta_DATA = $(installed_t 20@@ -127,7 +127,8 @@ installed_test_meta_DATA = $(installed_testcases:=.test)
21 %.test: %$(EXEEXT) Makefile
12 $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ 22 $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
13 echo 'Type=session' >> $@.tmp; \ 23 echo 'Type=session' >> $@.tmp; \
14 echo 'TestEnvironment=G_ENABLE_DIAGNOSTIC=0;CLUTTER_ENABLE_DIAGNOSTIC=0;' >> $@.tmp; \ 24- echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 $(installed_testdir)/$<' >> $@.tmp; \
15- echo 'Exec=$(installed_testdir)/$<' >> $@.tmp; \ 25+ echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 $(installed_testdir)/$< --tap' >> $@.tmp; \
16+ echo 'Exec=$(installed_testdir)/$< --tap' >> $@.tmp; \
17+ echo 'Output=TAP' >> $@.tmp; \ 26+ echo 'Output=TAP' >> $@.tmp; \
18 mv $@.tmp $@) 27 mv $@.tmp $@)
19 28
20 CLEANFILES += $(installed_test_meta_DATA) 29 CLEANFILES += $(installed_test_meta_DATA)
30--
312.1.4
32