* 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
This commit is contained in:
nobu 2010-12-06 13:55:15 +00:00
parent 76c286d195
commit a3732110fb
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Mon Dec 6 22:55:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (test-build): test for build process.
Mon Dec 6 22:47:15 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (OptionParser#candidate): skip separators.

View File

@ -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

View File

@ -1,5 +1,4 @@
require 'rbconfig'
exit if CROSS_COMPILING
require 'test/unit'