Added rule to be able to perform single tests.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Fri, 16 Aug 2002 16:24:03 +0000 (16:24 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Fri, 16 Aug 2002 16:24:03 +0000 (16:24 +0000)
t/Makefile.am

index 44b16445f628e03f54bbbb8e8259bbeddf0961c3..720ae2eed8ccbe35b69dd4d93f32b53847ca1a2c 100644 (file)
@@ -23,3 +23,11 @@ EXTRA_DIST=$(TEST_SCRIPT) $(TESTS)
 
 all-local:
        rm -f ../testgedcom.out
+
+check-% :      %.test
+       @srcdir=$(srcdir); export srcdir; \
+        if $(TESTS_ENVIRONMENT) ./$<; then \
+         echo "Test succeeded"; \
+       else \
+         echo "Test failed"; \
+       fi