diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-10-04 23:55:31 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-10-04 23:56:18 +0000 |
commit | 9ef6b6f551a34922cfd831e2521495e89afe2f94 (patch) | |
tree | b041131b4ee0d5969b3b4e959112c660cf6d48dc /t/GNUmakefile | |
parent | 018a9deff4bd9273e053f369d746256e5b3ac99b (diff) | |
download | unicorn-9ef6b6f551a34922cfd831e2521495e89afe2f94.tar.gz |
We'll be using more of Isolate in development.
Diffstat (limited to 't/GNUmakefile')
-rw-r--r-- | t/GNUmakefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile index e80c43a..9af9551 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -17,6 +17,13 @@ endif RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))') export RUBY_ENGINE +isolate_libs := ../tmp/isolate/.$(RUBY_ENGINE)-$(RUBY_VERSION).libs +MYLIBS := $(shell cat $(isolate_libs)) +ifeq ($(MY_LIBS),) + ignore := $(shell cd .. && $(RUBY) ./script/isolate_for_tests) + MYLIBS := $(shell cat $(isolate_libs)) +endif + T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) all:: $(T) @@ -58,7 +65,7 @@ $(test_prefix)/.stamp: $(T): export RUBY := $(RUBY) $(T): export RAKE := $(RAKE) $(T): export PATH := $(test_prefix)/bin:$(PATH) -$(T): export RUBYLIB := $(test_prefix)/lib:$(RUBYLIB) +$(T): export RUBYLIB := $(test_prefix)/lib:$(MYLIBS) $(T): dep $(test_prefix)/.stamp trash/.gitignore $(TRACER) $(SHELL) $(SH_TEST_OPTS) $@ $(TEST_OPTS) |