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:
parent
94f421c9c0
commit
7a4905583d
2 changed files with 20 additions and 1 deletions
10
ChangeLog
10
ChangeLog
|
@ -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>
|
Sun Aug 31 17:16:07 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* transcode.c (make_econv_exception): rename instance variable names
|
* transcode.c (make_econv_exception): rename instance variable names
|
||||||
|
|
|
@ -8,6 +8,15 @@ class MSpecScript
|
||||||
]
|
]
|
||||||
|
|
||||||
srcdir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
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.
|
# 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
|
end
|
||||||
|
|
Loading…
Reference in a new issue