From 333454e4dd89fb6bd1c206cd79485b22ffb992b7 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 14 Aug 2007 16:06:44 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ bootstraptest/runner.rb | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4506067722..0834413b92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Aug 15 01:05:55 2007 Tanaka Akira + + * bootstraptest/runner.rb (assert_check): don't call newtest. + (assert_equal): call newtest. + (assert_match): ditto. + Tue Aug 14 21:43:39 2007 Tanaka Akira * bootstraptest/runner.rb (assert_check): new method. 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