mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby interpreter to
exec, instead of test/ruby/envutil.rb, git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ef7845ad24
commit
2d6b30ee57
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Oct 29 22:02:04 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby
|
||||||
|
interpreter to exec, instead of test/ruby/envutil.rb,
|
||||||
|
|
||||||
Wed Oct 29 19:58:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
Wed Oct 29 19:58:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not
|
* ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not
|
||||||
|
|
|
@ -2,12 +2,15 @@ require 'test/unit'
|
||||||
require 'drb/drb'
|
require 'drb/drb'
|
||||||
require 'drb/extservm'
|
require 'drb/extservm'
|
||||||
require 'timeout'
|
require 'timeout'
|
||||||
$:.unshift(File.expand_path("../../ruby", __FILE__))
|
require 'rbconfig'
|
||||||
require 'envutil'
|
|
||||||
|
|
||||||
class DRbService
|
class DRbService
|
||||||
@@manager = DRb::ExtServManager.new
|
@@manager = DRb::ExtServManager.new
|
||||||
@@ruby = EnvUtil.rubybin
|
@@ruby = File.join(
|
||||||
|
Config::CONFIG["bindir"],
|
||||||
|
Config::CONFIG["ruby_install_name"] + Config::CONFIG["EXEEXT"]
|
||||||
|
)
|
||||||
|
@@ruby += " -d" if $DEBUG
|
||||||
@@dir = File.dirname(File.expand_path(__FILE__))
|
@@dir = File.dirname(File.expand_path(__FILE__))
|
||||||
|
|
||||||
%w(ut_drb.rb ut_array.rb ut_port.rb ut_large.rb ut_safe1.rb ut_eval.rb).each do |nm|
|
%w(ut_drb.rb ut_array.rb ut_port.rb ut_large.rb ut_safe1.rb ut_eval.rb).each do |nm|
|
||||||
|
|
Loading…
Add table
Reference in a new issue