diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-26 21:38:06 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-26 21:38:06 -0800 |
commit | 921a961e91276522c134813052a7b7e06b00ef2b (patch) | |
tree | d3714586bffef2a7636fecf745105e94474fab89 | |
parent | bd2f88ff10203dd37749e451eaac70294a4a3e56 (diff) | |
download | rainbows-921a961e91276522c134813052a7b7e06b00ef2b.tar.gz |
-rw-r--r-- | t/GNUmakefile | 7 |
1 files changed, 6 insertions, 1 deletions
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... |