summaryrefslogtreecommitdiff
path: root/bootstraptest/runner.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-14 16:06:44 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-14 16:06:44 +0000
commit333454e4dd89fb6bd1c206cd79485b22ffb992b7 (patch)
treebf4b6f45ece9e43a144ef5875642fac70cdeac42 /bootstraptest/runner.rb
parentb235e8f474b24b22162ed3feb8a0a3abec14f2e0 (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.rb3
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