summaryrefslogtreecommitdiff
path: root/rubytest.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-14 13:49:29 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-14 13:49:29 +0000
commitd9ff499bf3b4772b2657c8182f33180e9f70db49 (patch)
tree98c3bcc9a1f424ecdcf3e97bf0f35494b5ce17e9 /rubytest.rb
parent45432a6d2b22bbc7318819e251127021810a728d (diff)
* re.c (rb_char_to_option_kcode): use rb_enc_find_index() instead
of using fixed index value. * enc/Makefile.in (encsrcdir): make US-ASCII built-in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubytest.rb')
-rwxr-xr-xrubytest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubytest.rb b/rubytest.rb
index eecc588..6c3939a 100755
--- a/rubytest.rb
+++ b/rubytest.rb
@@ -37,7 +37,7 @@ $stderr.reopen($stdout)
error = ''
srcdir = File.dirname(__FILE__)
-`#{ruby} -I#{srcdir} -I#{srcdir}/lib #{srcdir}/sample/test.rb`.each_line do |line|
+`#{ruby} -I.ext/#{RUBY_PLATFORM} -I#{srcdir}/lib #{srcdir}/sample/test.rb`.each_line do |line|
if line =~ /^end of test/
print "\ntest succeeded\n"
exit true