Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 668e1d14af13249384ab324c7d79ec4147f07e48 Mon Sep 17 00:00:00 2001 |
| 2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> |
| 3 | Date: Mon, 27 Apr 2015 20:12:33 +0300 |
| 4 | Subject: [PATCH] Run installed tests with tap output |
| 5 | |
| 6 | Configure output from installed-tests to be TAP compliant such that |
| 7 | gnome-desktop-testing-runner properly interprets the results. |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Tim Orling <TicoTimo@gmail.com> |
| 12 | --- |
| 13 | build/autotools/glib-tap.mk | 3 ++- |
| 14 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/build/autotools/glib-tap.mk b/build/autotools/glib-tap.mk |
| 17 | index 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 | -- |
| 31 | 2.1.4 |
| 32 | |