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