From ce34147cf4de2212b77d11d83a8e4cbd9df52683 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 20 Jul 2009 02:13:00 +0000 Subject: * configure.in, Makefile.in (TEST_RUNNABLE): tests are not runnable if cross-compiling. * common.mk (btest*, test*): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 8779e983a1..a2a7c594eb 100644 --- a/configure.in +++ b/configure.in @@ -1910,12 +1910,15 @@ if test x"$cross_compiling" = xyes; then test x"$MINIRUBY" = x && MINIRUBY="${RUBY-ruby} -I`pwd` "-r'$(arch)-fake' PREP='$(arch)-fake.rb' RUNRUBY='$(MINIRUBY) -I`cd $(srcdir)/lib; pwd`' + TEST_RUNNABLE=no else MINIRUBY='./miniruby$(EXEEXT) -I$(srcdir)/lib' MINIRUBY="$MINIRUBY"' -I$(EXTOUT)/common -I./- -r$(srcdir)/ext/purelib.rb' PREP='miniruby$(EXEEXT)' RUNRUBY='$(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=$(EXTOUT)' + TEST_RUNNABLE=yes fi +AC_SUBST(TEST_RUNNABLE) AC_SUBST(MINIRUBY) AC_SUBST(PREP) AC_SUBST(RUNRUBY) -- cgit v1.2.3