about summary refs log tree commit homepage
path: root/t/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-26 21:38:06 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-26 21:38:06 -0800
commit921a961e91276522c134813052a7b7e06b00ef2b (patch)
treed3714586bffef2a7636fecf745105e94474fab89 /t/GNUmakefile
parentbd2f88ff10203dd37749e451eaac70294a4a3e56 (diff)
downloadrainbows-921a961e91276522c134813052a7b7e06b00ef2b.tar.gz
Diffstat (limited to 't/GNUmakefile')
-rw-r--r--t/GNUmakefile7
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...