summaryrefslogtreecommitdiffstats
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
commit3ef1b561ee45defc4d3b9afde0e679a96e191fb8 (patch)
treebf4b6f45ece9e43a144ef5875642fac70cdeac42
parentf54165fdf1cfb1aec7196abd775fe38ee21e1cf3 (diff)
downloadruby-3ef1b561ee45defc4d3b9afde0e679a96e191fb8.tar.gz
ruby-3ef1b561ee45defc4d3b9afde0e679a96e191fb8.tar.xz
ruby-3ef1b561ee45defc4d3b9afde0e679a96e191fb8.zip
* bootstraptest/runner.rb (assert_check): don't call newtest.
(assert_equal): call newtest. (assert_match): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--bootstraptest/runner.rb3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 450606772..0834413b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Aug 15 01:05:55 2007 Tanaka Akira <akr@fsij.org>
+
+ * 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 <akr@fsij.org>
* bootstraptest/runner.rb (assert_check): new method.
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 5d550025e..bada52062 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