From: Peter Verthez Date: Fri, 16 Aug 2002 16:24:03 +0000 (+0000) Subject: Added rule to be able to perform single tests. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;ds=inline;h=662652cb9266fddfcdcb28497d311eddd626dae8;p=gedcom-parse.git Added rule to be able to perform single tests. --- diff --git a/t/Makefile.am b/t/Makefile.am index 44b1644..720ae2e 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -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