summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-06 14:43:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-06 14:43:50 +0000
commitc42bfb08b2cd2d1588aa6bf61718bfb7d7d49117 (patch)
tree65b5fe093f6869fbeeb338c7d2c30f8e238e511c /common.mk
parent5d8fd7f1ba3ebd13beaf4a572ff72582e8dee4e7 (diff)
* common.mk (test-build): run all test normally on native environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 62da9aa39e..e3f912febe 100644
--- a/common.mk
+++ b/common.mk
@@ -467,8 +467,11 @@ no-test-all: PHONY
yes-test-all: PHONY
$(RUNRUBY) "$(srcdir)/test/runner.rb" $(TESTS)
+# only on cross-compiling
TESTS_BUILD = mkmf
-test-build: PHONY
+test-build: $(TEST_RUNNABLE)-test-build
+yes-test-build: yes-test-all
+no-test-build: PHONY
$(MINIRUBY) -I"$(srcdir)/lib" "$(srcdir)/test/runner.rb" $(TESTS_BUILD)
test-ruby: $(TEST_RUNNABLE)-test-ruby