X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2FMakefile.am;h=9ed85d9e6bc562d33b7b3b7778434caae05fe55e;hb=610f424e2c0eb060719d84ffa05d55264d7af1d3;hp=44b16445f628e03f54bbbb8e8259bbeddf0961c3;hpb=a1ee3a539fc8a1e4f5a1c39c488723c4a5870a11;p=gedcom-parse.git diff --git a/t/Makefile.am b/t/Makefile.am index 44b1644..9ed85d9 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -22,4 +22,12 @@ TESTS := $(wildcard $(srcdir)/*.test) EXTRA_DIST=$(TEST_SCRIPT) $(TESTS) all-local: - rm -f ../testgedcom.out + rm -f ../testgedcom.out ./testgedcom.out + +check-% : %.test + @srcdir=$(srcdir); export srcdir; \ + if $(TESTS_ENVIRONMENT) ./$<; then \ + echo "Test succeeded"; \ + else \ + echo "Test failed"; \ + fi