diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-04-02 19:03:49 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-04-03 21:11:47 +0100 |
commit | 60a3b91fc80a7f489a6c08c965cf2015a909b339 (patch) | |
tree | e2d57120a4bbebbe04eb7740482e8040c20cdc1e | |
parent | 73a463d71eb61c937b52b1a57a87e8651f073f9d (diff) | |
download | telepathy-idle-60a3b91fc80a7f489a6c08c965cf2015a909b339.tar.gz |
Install GNOME InstalledTests metadata for installed tests
-rw-r--r-- | tests/twisted/Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am index 78551e6..89789d6 100644 --- a/tests/twisted/Makefile.am +++ b/tests/twisted/Makefile.am @@ -114,3 +114,19 @@ CLEANFILES = \ $(NULL) SUBDIRS = tools + +%.test: Makefile + @$(MKDIR_P) $(dir $*) + $(AM_V_GEN)( echo '[Test]'; \ + echo 'Exec=${twistedtestsdir}/run-test.sh $*.py'; \ + echo 'Type=session'; \ + echo 'Output=TAP' ) > $@.tmp + @mv $@.tmp $@ + +insttestdir = ${datadir}/installed-tests/telepathy-idle-1 + +if ENABLE_INSTALLED_TESTS +nobase_nodist_insttest_DATA = \ + $(patsubst %.py,%.test,$(TWISTED_TESTS)) \ + $(NULL) +endif |