From a55046b4d699b9b76e80a38684571f9a1d0b6ad4 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 27 May 2012 18:15:36 +0000 Subject: [PATCH] tools: make autotest-PAT to auto-compile & run only tests matching PAT --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 80d0eddab..cd219a3c6 100644 --- a/Makefile +++ b/Makefile @@ -138,6 +138,9 @@ auto: sp autotest: sp cd hledger; $(AUTOBUILD) $(MAIN) -o ../bin/hledger $(BUILDFLAGS) --run test +autotest-%: sp + cd hledger; $(AUTOBUILD) $(MAIN) -o ../bin/hledger $(BUILDFLAGS) --run test $* + autoweb: sp cd hledger-web; $(AUTOBUILD) hledger-web.hs -o ../bin/hledger-web $(BUILDFLAGS) -DDEVELOPMENT --run -B --port 5001 --base-url http://localhost:5001 -f test.journal