1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* spec/default.mspec (config): added.

* spec/default.mspec (target): replaced the built ruby
  to runruby.rb.
  Improved $LOAD_PATH on running specs.

* spec/default.mspec (flags): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-08-31 08:31:38 +00:00
parent 94f421c9c0
commit 7a4905583d
2 changed files with 20 additions and 1 deletions

View file

@ -1,3 +1,13 @@
Sun Aug 31 17:28:25 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* spec/default.mspec (config): added.
* spec/default.mspec (target): replaced the built ruby
to runruby.rb.
Improved $LOAD_PATH on running specs.
* spec/default.mspec (flags): ditto.
Sun Aug 31 17:16:07 2008 Tanaka Akira <akr@fsij.org>
* transcode.c (make_econv_exception): rename instance variable names

View file

@ -8,6 +8,15 @@ class MSpecScript
]
srcdir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
config = proc{|name| `#{srcdir}/miniruby -I#{srcdir} -rrbconfig -e 'print Config::CONFIG["#{name}"]'`}
# The default implementation to run the specs.
set :target, File.join(srcdir, `#{srcdir}/miniruby -I#{srcdir} -rrbconfig -e 'print Config::CONFIG["RUBY_INSTALL_NAME"]'`)
set :target, File.join(srcdir, "miniruby#{config['exeext']}")
set :flags, %W[
-I#{srcdir}/lib
-I#{srcdir}/#{config['EXTOUT']}/common
-I#{srcdir}/-
-r#{srcdir}/ext/purelib.rb
#{srcdir}/runruby.rb --extout=#{config['EXTOUT']}
]
end