From 7f1f39216606763cc06c5ac75c38cb345a45cda8 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 11 Jan 2013 13:32:27 +0000 Subject: [PATCH] tools: run built-in tests with a pattern --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index de46be610..ff6888c02 100644 --- a/Makefile +++ b/Makefile @@ -360,6 +360,11 @@ unittest-builtin: bin/hledgerdev @(bin/hledgerdev test \ && echo $@ PASSED) || echo $@ FAILED +unittest-%: bin/hledgerdev + @echo unit tests: + @(bin/hledgerdev test $* \ + && echo $@ PASSED) || echo $@ FAILED + # XXX doesn't rebuild on hledger source changes unittest-standalone: tools/unittest @echo unit tests (standalone):