diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-14 16:06:44 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-14 16:06:44 +0000 |
commit | 333454e4dd89fb6bd1c206cd79485b22ffb992b7 (patch) | |
tree | bf4b6f45ece9e43a144ef5875642fac70cdeac42 /bootstraptest/runner.rb | |
parent | b235e8f474b24b22162ed3feb8a0a3abec14f2e0 (diff) |
* bootstraptest/runner.rb (assert_check): don't call newtest.
(assert_equal): call newtest.
(assert_match): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/runner.rb')
-rw-r--r-- | bootstraptest/runner.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 5d550025e9..bada520629 100644 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -96,7 +96,6 @@ def exec_test(pathes) end def assert_check(testsrc, message = '') - newtest $stderr.puts "\##{@count} #{@location}" if @verbose result = get_result_string(testsrc) check_coredump @@ -113,6 +112,7 @@ rescue Exception => err end def assert_equal(expected, testsrc, message = '') + newtest assert_check(testsrc, message) {|result| if expected == result nil @@ -124,6 +124,7 @@ def assert_equal(expected, testsrc, message = '') end def assert_match(expected_pattern, testsrc, message = '') + newtest assert_check(testsrc, message) {|result| if expected_pattern =~ result nil |