diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-04 11:30:37 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-04 11:30:37 +0000 |
commit | 3e5b3dac1f3b847161fa914f3e4cb3e85198c4a4 (patch) | |
tree | a0581d998af87a9793fb346867cc83a5557f88d9 /yarvtest/runner.rb | |
parent | 31d815aacf57d5d61d9e04683c6c4b9a36a4fbee (diff) | |
download | ruby-3e5b3dac1f3b847161fa914f3e4cb3e85198c4a4.tar.gz |
* common.mk : rename yarv-test-[all/each] to compare-test[/-each].
purpose of "compare-test" rule is to compare ruby (trunk) and
matzruby (branches/matzruby) binary in miniruby level. MATZRUBY
parameter means an path to miniruby of matzruby binary. to do this
comparison test, you should build matzruby branch.
* yarvtest/yarvtest.rb : fix to use command line option as
command names to be compared.
* yarvtest/runner.rb : remove a debug output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvtest/runner.rb')
-rw-r--r-- | yarvtest/runner.rb | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/yarvtest/runner.rb b/yarvtest/runner.rb index 25b813e99c..003967b804 100644 --- a/yarvtest/runner.rb +++ b/yarvtest/runner.rb @@ -1,10 +1,9 @@ -require 'test/unit'
-
-if $0 == __FILE__
- # exit Test::Unit::AutoRunner.run(false, File.dirname($0))
- Dir.glob(File.dirname($0) + '/test_*'){|file|
- p file
- require file
- }
-end
-
+require 'test/unit' + +if $0 == __FILE__ + # exit Test::Unit::AutoRunner.run(false, File.dirname($0)) + Dir.glob(File.dirname($0) + '/test_*'){|file| + require file + } +end + |