From c2d439f115abc45aacdb3bc4b590816e0c3155c4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 16 Feb 2015 10:29:14 -0500 Subject: [PATCH] tests: Restore accidentally deleted Makefile bit Not sure how this got deleted... --- Makefile-tests.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile-tests.am b/Makefile-tests.am index 42d1be7d..82df821d 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -87,6 +87,12 @@ INSTALL_DATA_HOOKS += install-gpg-data-hook echo 'Output=TAP' >> $@.tmp; \ mv $@.tmp $@) +%.test: tests/%.js Makefile + $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ + echo 'Exec=env TESTDATADIR=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$(notdir $<)' >> $@.tmp; \ + echo 'Type=session' >> $@.tmp; \ + mv $@.tmp $@) + if BUILDOPT_GJS insttest_SCRIPTS += tests/test-core.js \ tests/test-sizes.js \