about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-04 06:36:28 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-04 06:43:22 +0000
commit93842bb5ef9e5da1d750e41614a99024dc7a0399 (patch)
tree8f37a555b709d0d8d6ab21951eb85eb8972d7944 /t
parentf66c59d7b259e5784c9da87df1a6f1dbca160577 (diff)
downloadrainbows-93842bb5ef9e5da1d750e41614a99024dc7a0399.tar.gz
It was missing dependencies on the first run
Diffstat (limited to 't')
-rw-r--r--t/GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile
index 955f273..2e86d24 100644
--- a/t/GNUmakefile
+++ b/t/GNUmakefile
@@ -100,13 +100,14 @@ $(libs): test_isolate.rb
         mkdir -p $(@D)
         $(RUBY) $< > $@+
         mv $@+ $@
-$(T): $(libs) $(deps) test-bin-$(RUBY_VERSION)/rainbows trash/.gitignore
+t_deps := $(libs) $(deps) test-bin-$(RUBY_VERSION)/rainbows trash/.gitignore
+$(T): $(t_deps)
 
 $(MODEL_T): export model = $(firstword $(subst ., ,$@))
 $(MODEL_T): script = $(subst $(model).,,$@)
 $(MODEL_T): export RUBY := $(RUBY)
 $(MODEL_T): export PATH := $(CURDIR)/test-bin-$(RUBY_VERSION):$(PATH)
-$(MODEL_T):
+$(MODEL_T): $(t_deps)
         RUBYLIB=$(rainbows_lib):$$(cat $(libs)) \
            $(TRACER) $(SHELL) $(SH_TEST_OPTS) $(script) $(TEST_OPTS)