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.patch20
1 files changed, 20 insertions, 0 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
new file mode 100644
index 0000000000..80acab867c
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-1.0/run-installed-tests-with-tap-output.patch
@@ -0,0 +1,20 @@
1Configure output from installed-tests to be TAP compliant, such that gnome-desktop-testing-runner properly interprets the results.
2
3Upstream-status: Pending
4
5Signed-off-by: Tim Orling <TicoTimo@gmail.com>
6
7Index: clutter-1.20.0/build/autotools/glib-tap.mk
8===================================================================
9--- clutter-1.20.0.orig/build/autotools/glib-tap.mk
10+++ clutter-1.20.0/build/autotools/glib-tap.mk
11@@ -128,7 +128,8 @@ installed_test_meta_DATA = $(installed_t
12 $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
13 echo 'Type=session' >> $@.tmp; \
14 echo 'TestEnvironment=G_ENABLE_DIAGNOSTIC=0;CLUTTER_ENABLE_DIAGNOSTIC=0;' >> $@.tmp; \
15- echo 'Exec=$(installed_testdir)/$<' >> $@.tmp; \
16+ echo 'Exec=$(installed_testdir)/$< --tap' >> $@.tmp; \
17+ echo 'Output=TAP' >> $@.tmp; \
18 mv $@.tmp $@)
19
20 CLEANFILES += $(installed_test_meta_DATA)