Skip to content

Commit

Permalink
* benchmark/driver.rb: fix to continue benchmarks when
Browse files Browse the repository at this point in the history
  an error is occurred.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ko1 committed May 27, 2012
1 parent 2d8b8b4 commit 06653c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sun May 27 13:33:26 2012 Koichi Sasada <[email protected]>

* benchmark/driver.rb: fix to continue benchmarks when
an error is occurred.

Sun May 27 11:27:50 2012 Nobuyoshi Nakada <[email protected]>

* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): fix operator
Expand Down
7 changes: 4 additions & 3 deletions benchmark/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,11 @@ def measure executable, file
}

if $? != 0
raise "\`#{cmd}\' exited with abnormal status (#{$?})"
output "\`#{cmd}\' exited with abnormal status (#{$?})"
0
else
m.real
end

m.real
end
end

Expand Down

0 comments on commit 06653c1

Please sign in to comment.