summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-06 13:55:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-06 13:55:15 +0000
commita3732110fbfe79be3b17fe697186f0d8a7c823cc (patch)
tree14e3beb5c5ac698914f1029b4b5e3b9de1d9cad8 /common.mk
parent76c286d19581e2339782e7c8b4744dd2cdb8df17 (diff)
* common.mk (test-build): test for build process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index c45c3e1f71..62da9aa39e 100644
--- a/common.mk
+++ b/common.mk
@@ -467,6 +467,10 @@ no-test-all: PHONY
yes-test-all: PHONY
$(RUNRUBY) "$(srcdir)/test/runner.rb" $(TESTS)
+TESTS_BUILD = mkmf
+test-build: PHONY
+ $(MINIRUBY) -I"$(srcdir)/lib" "$(srcdir)/test/runner.rb" $(TESTS_BUILD)
+
test-ruby: $(TEST_RUNNABLE)-test-ruby
no-test-ruby: PHONY
yes-test-ruby: PHONY