summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-30 01:24:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-30 01:24:05 +0000
commita8f87d6d8d04d34ead8915ae350999c7875180ea (patch)
tree586cc013033faa5251906036ca79ab8db03c1b21 /tool
parent99c741c119e46ae4f12f68095ca6f9f1d6d2b58d (diff)
common test options
* common.mk (btest, test-sample, test-knownbugs, test-all, test-ruby): pass common options by TESTOPTS. * tool/rubytest.rb: pass ARGV from make to sample/test.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rubytest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rubytest.rb b/tool/rubytest.rb
index 6b8a665dde..08eada44b8 100755
--- a/tool/rubytest.rb
+++ b/tool/rubytest.rb
@@ -16,7 +16,7 @@ $stderr.reopen($stdout)
error = ''
srcdir = File.expand_path('..', File.dirname(__FILE__))
-`#{ruby} #{srcdir}/sample/test.rb`.each_line do |line|
+`#{ruby} #{srcdir}/sample/test.rb #{ARGV.join(' ')}`.each_line do |line|
if line =~ /^end of test/
print "\ntest succeeded\n"
exit true