[ostree] tests: Restore accidentally deleted Makefile bit



commit c2d439f115abc45aacdb3bc4b590816e0c3155c4
Author: Colin Walters <walters verbum org>
Date:   Mon Feb 16 10:29:14 2015 -0500

    tests: Restore accidentally deleted Makefile bit
    
    Not sure how this got deleted...

 Makefile-tests.am |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/Makefile-tests.am b/Makefile-tests.am
index 42d1be7..82df821 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 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]