mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/extmk.rb (extmake): skip uncompiled extensions.
* lib/mkmf.rb (create_makefile): emit no rules for static library if $static is nil, e.g., outside of ext/. * lib/test/unit/ui/console/testrunner.rb (test_started): show test name via $0. * runruby.rb: set environments to use the compiled binary. * test/runner.rb: do nothing while cross-compiling. * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to know ruby binary. * test/ruby/envutil.rb: give priority to RUBY environment variable to use just compiled binary and libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4732bf25f5
commit
fa7a5d5477
9 changed files with 40 additions and 16 deletions
|
@ -2,7 +2,8 @@ require 'test/unit'
|
|||
require 'soap/rpc/driver'
|
||||
require 'logger'
|
||||
require 'webrick'
|
||||
require 'rbconfig'
|
||||
$:.replace($: | [File.expand_path("../ruby", File.dirname(__FILE__))])
|
||||
require 'envutil'
|
||||
|
||||
|
||||
module SOAP
|
||||
|
@ -10,11 +11,7 @@ module Calc
|
|||
|
||||
|
||||
class TestCalcCGI < Test::Unit::TestCase
|
||||
# This test shuld be run after installing ruby.
|
||||
RUBYBIN = File.join(
|
||||
Config::CONFIG["bindir"],
|
||||
Config::CONFIG["ruby_install_name"] + Config::CONFIG["EXEEXT"]
|
||||
)
|
||||
RUBYBIN = EnvUtil.rubybin
|
||||
RUBYBIN << " -d" if $DEBUG
|
||||
|
||||
Port = 17171
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue