From 921a961e91276522c134813052a7b7e06b00ef2b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 26 Nov 2009 21:38:06 -0800 Subject: tests: enable AppPool test for Revactor and Fiber* --- t/GNUmakefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 't/GNUmakefile') diff --git a/t/GNUmakefile b/t/GNUmakefile index 0150165..f03980a 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -19,7 +19,9 @@ endif export RUBYLIB RUBY_VERSION models = ThreadPool ThreadSpawn Rev EventMachine -ifeq ($(RUBY_VERSION),1.9.1) # 1.9.2-preview1 was broken +rp := ) +ONENINE := $(shell case $(RUBY_VERSION) in 1.9.*$(rp); echo true;;esac) +ifeq ($(ONENINE),true) models += Revactor models += FiberSpawn models += FiberPool @@ -43,6 +45,9 @@ t0003-reopen-logs.sh: MODELS = $(all_models) # this test is not compatible with non-Thread models yet t9000-rack-app-pool.sh: MODELS = ThreadPool ThreadSpawn +ifeq ($(ONENINE),true) +t9000-rack-app-pool.sh: MODELS += Revactor FiberPool FiberSpawn +endif # recursively run per-model tests # haven't figured out a good way to make make non-recursive here, yet... -- cgit v1.2.3-24-ge0c7