summaryrefslogtreecommitdiff
path: root/yarvtest
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-08 13:38:21 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-08 13:38:21 +0000
commiteb6153b37d480222b034dd24dfe7212e46644078 (patch)
tree0ca91359f6861d48db1a5ac9da5bcfb007bbdd4e /yarvtest
parent9e249508162c80974a815504cf96c78e240e3a42 (diff)
* yarvtest/yarvtest.rb: check target command names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvtest')
-rw-r--r--yarvtest/yarvtest.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/yarvtest/yarvtest.rb b/yarvtest/yarvtest.rb
index 04cfd257e4..56c173bbe0 100644
--- a/yarvtest/yarvtest.rb
+++ b/yarvtest/yarvtest.rb
@@ -17,8 +17,10 @@ ARGV.each{|opt|
end
}
-puts "matzruby: #{`#{$matzruby} -v`}"
-puts "ruby : #{`#{$ruby} -v`}"
+a = "matzruby: #{`#{$matzruby} -v`}"
+b = "ruby : #{`#{$ruby} -v`}"
+puts a, b
+raise "Using same command" if a == b
class YarvTestBase < Test::Unit::TestCase
def initialize *args