diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-27 01:11:19 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-27 01:11:19 -0800 |
commit | 6d81636901a6417e925c588d748a12634e8e5f82 (patch) | |
tree | fcd0c60f606a2d6278ea8a73c873f62171a4a5ac | |
parent | 399dc41b753d2bbc74e099ef0d33afbcddf82b99 (diff) | |
download | rainbows-6d81636901a6417e925c588d748a12634e8e5f82.tar.gz |
One bad thing to defaulting to ksh93 for my tests during development, small cleanups while we're at it, too for extra checks
-rw-r--r-- | t/GNUmakefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile index 0b56503..52f59df 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -4,13 +4,17 @@ all:: pid := $(shell echo $$PPID) -RUBY = $(ruby) +RUBY = ruby rainbows_lib := $(shell cd ../lib && pwd) -include ../local.mk ifeq ($(RUBY_VERSION),) RUBY_VERSION := $(shell $(RUBY) -e 'puts RUBY_VERSION') endif +ifeq ($(RUBY_VERSION),) + $(error unable to detect RUBY_VERSION) +endif + ifeq ($(RUBYLIB),) RUBYLIB := $(rainbows_lib) else @@ -20,7 +24,7 @@ export RUBYLIB RUBY_VERSION models = ThreadPool ThreadSpawn Rev EventMachine rp := ) -ONENINE := $(shell case $(RUBY_VERSION) in 1.9.*$(rp); echo true;;esac) +ONENINE := $(shell case $(RUBY_VERSION) in 1.9.*$(rp) echo true;;esac) ifeq ($(ONENINE),true) models += Revactor models += FiberSpawn |