aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch
blob: eb2e0c29a13874813622b7822d9ee267f8fa9630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Configure output from installed-tests to be TAP compliant, such that gnome-desktop-testing-runner properly interprets the results.

Upstream-status: Pending

Signed-off-by: Tim Orling <TicoTimo@gmail.com>

Index: clutter-1.22.0/build/autotools/glib-tap.mk
===================================================================
--- clutter-1.22.0.orig/build/autotools/glib-tap.mk
+++ clutter-1.22.0/build/autotools/glib-tap.mk
@@ -127,7 +127,8 @@ installed_test_meta_DATA = $(installed_t
 %.test: %$(EXEEXT) Makefile
 	$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
 	echo 'Type=session' >> $@.tmp; \
-	echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 $(installed_testdir)/$<' >> $@.tmp; \
+	echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 $(installed_testdir)/$< --tap' >> $@.tmp; \
+       echo 'Output=TAP' >> $0.tmp; \
 	mv $@.tmp $@)
 
 CLEANFILES += $(installed_test_meta_DATA)