From 06c7e20d0dca426772f9d6201a01b443162ae92c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 24 Oct 2009 22:01:58 -0700 Subject: tests: allow "make $model" to run tests for that model This makes it easier to filter functionality by model. --- t/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/GNUmakefile b/t/GNUmakefile index 0966563..465a68b 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -35,6 +35,9 @@ t9000-rack-app-pool.sh: MODELS = ThreadPool ThreadSpawn $(T): $(MAKE) $(foreach m,$(MODELS),$(addprefix $(m).,$@)) +$(all_models): + $(MAKE) $(filter $@.%,$(MODEL_T)) + all:: $(T) # can't rely on "set -o pipefail" since we don't require bash or ksh93 :< -- cgit v1.2.3-24-ge0c7