diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-06 13:55:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-06 13:55:15 +0000 |
commit | a3732110fbfe79be3b17fe697186f0d8a7c823cc (patch) | |
tree | 14e3beb5c5ac698914f1029b4b5e3b9de1d9cad8 | |
parent | 76c286d19581e2339782e7c8b4744dd2cdb8df17 (diff) | |
download | ruby-a3732110fbfe79be3b17fe697186f0d8a7c823cc.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | common.mk | 4 | ||||
-rw-r--r-- | test/runner.rb | 1 |
3 files changed, 8 insertions, 1 deletions
@@ -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. @@ -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 diff --git a/test/runner.rb b/test/runner.rb index b96081e7e2..e19ed82562 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -1,5 +1,4 @@ require 'rbconfig' -exit if CROSS_COMPILING require 'test/unit' |