Use tap mode for installed tests too, when using tap

This commit is contained in:
Matthias Clasen 2014-01-04 21:09:18 -05:00
parent b3253fe025
commit 71c9ea42f8

View File

@ -127,7 +127,8 @@ installed_test_meta_DATA = $(installed_testcases:=.test)
%.test: %$(EXEEXT) Makefile %.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \ $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Type=session' >> $@.tmp; \ echo 'Type=session' >> $@.tmp; \
echo 'Exec=$(installed_testdir)/$(notdir $<)' >> $@.tmp; \ echo 'Exec=$(installed_testdir)/$(notdir $<) --tap' >> $@.tmp; \
echo 'Output=TAP' >> $@.tmp; \
mv $@.tmp $@) mv $@.tmp $@)
CLEANFILES += $(installed_test_meta_DATA) CLEANFILES += $(installed_test_meta_DATA)