blob: f5c18c5828b474fa096d06d03ae226d2b47b7614 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From 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.
8
9Upstream-Status: Pending
10
11Signed-off-by: Tim Orling <TicoTimo@gmail.com>
12---
13 build/autotools/glib-tap.mk | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16diff --git a/build/autotools/glib-tap.mk b/build/autotools/glib-tap.mk
17index 7c5f82b..844e17e 100644
18--- a/build/autotools/glib-tap.mk
19+++ b/build/autotools/glib-tap.mk
20@@ -127,7 +127,8 @@ installed_test_meta_DATA = $(installed_testcases:=.test)
21 %.test: %$(EXEEXT) Makefile
22 $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
23 echo 'Type=session' >> $@.tmp; \
24- echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 $(installed_testdir)/$<' >> $@.tmp; \
25+ echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 $(installed_testdir)/$< --tap' >> $@.tmp; \
26+ echo 'Output=TAP' >> $@.tmp; \
27 mv $@.tmp $@)
28
29 CLEANFILES += $(installed_test_meta_DATA)
30--
312.1.4
32