[前][次][番号順一覧][スレッド一覧]

ruby-changes:18078

From: nobu <ko1@a...>
Date: Mon, 6 Dec 2010 22:56:08 +0900 (JST)
Subject: [ruby-changes:18078] Ruby:r30099 (trunk): * common.mk (test-build): test for build process.

nobu	2010-12-06 22:55:15 +0900 (Mon, 06 Dec 2010)

  New Revision: 30099

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30099

  Log:
    * common.mk (test-build): test for build process.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/test/runner.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30098)
+++ ChangeLog	(revision 30099)
@@ -1,3 +1,7 @@
+Mon Dec  6 22:55:10 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* common.mk (test-build): test for build process.
+
 Mon Dec  6 22:47:15 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/optparse.rb (OptionParser#candidate): skip separators.
Index: common.mk
===================================================================
--- common.mk	(revision 30098)
+++ common.mk	(revision 30099)
@@ -467,6 +467,10 @@
 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
Index: test/runner.rb
===================================================================
--- test/runner.rb	(revision 30098)
+++ test/runner.rb	(revision 30099)
@@ -1,5 +1,4 @@
 require 'rbconfig'
-exit if CROSS_COMPILING
 
 require 'test/unit'
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]