COMMIT remove superfluous comment http://github.com/rubyspec/rubyspec/commit/6369020e4dc33d7c1d24fbd088ffa1002b4649c5 COMMIT * Random: change test to rely on type (Float) instead of value http://github.com/rubyspec/rubyspec/commit/351df6a527bc6582cc2e12e817ee69bfedd431ba COMMIT * Random: Specify behavior for ranges with Integers & Floats http://github.com/rubyspec/rubyspec/commit/609330876db75bf0a6c4fc06fea4c8ec2dad2a49 COMMIT Numeric#step: spec with infinite steps [redmine:781] http://github.com/rubyspec/rubyspec/commit/8e10b50f12a42bf8c1a92abc43168de974b9b247 COMMIT Getting started on Module.class_exec specs. http://github.com/rubyspec/rubyspec/commit/e05e0f588d841ee556a44e79c007c68bf55cc9bc =================================================================== +++ 20101010T041431 @@ 16327 @@ - raises an ArgumentError when a block and normal arguments are given /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/module/class_exec_spec.rb +Module#class_exec - does not add defined methods to other classes +- defines method in the receiver's scope - evaluates a given block in the context of self +- raises an LocalJumpError when no block is given /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/module/class_variable_defined_spec.rb Module#class_variable_defined? @@ 16620 @@ - raises an ArgumentError when a block and normal arguments are given /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/module/module_exec_spec.rb +Module#class_exec - does not add defined methods to other classes +- defines method in the receiver's scope - evaluates a given block in the context of self +- raises an LocalJumpError when no block is given /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/module/module_function_spec.rb Module#module_function with specific method names @@ 16964 @@ - returns an Enumerator when passed no block and self > stop - returns an Enumerator when passed no block and self < stop - increments self (using #+) until self > stop when step > 0 +- decrements self (using #+) until self < stop when step < 0 Numeric#step with [stop, step] when self, stop and step are Fixnums - raises an ArgumentError when step is 0 @@ 16985 @@ - raises an ArgumentError when step is 0 - yields only Floats +Numeric#step with [stop, +infinity] +- yields once if self < stop (FAILED - ) +- yields once when self equals stop (FAILED - ) +- does not yield when self > stop (FAILED - ) Numeric#step with [stop, +step] when self, stop or step is a Float - yields while increasing self by step until stop is reached - yields once when self equals stop - does not yield when self is greater than stop +Numeric#step with [stop, -infinity] +- yields once if self > stop (FAILED - ) +- yields once when self equals stop (FAILED - ) +- does not yield when self > stop (FAILED - ) Numeric#step with [stop, -step] when self, stop or step is a Float - yields while decreasing self by step until stop is reached @@ 33012 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/bin/mspec-run:8 ) +Numeric#step with [stop, +infinity] yields once if self < stop FAILED +Expected [NaN] + to equal [42, 42] /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/matchers/base.rb:8:in `==' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:159 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:143:in `all?' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `each' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `all?' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 33031 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:199:in `process' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/object.rb:11:in `describe' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:154 +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:153 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `load' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `files' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 33047 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/bin/mspec-run:8 ) +Numeric#step with [stop, +infinity] yields once when self equals stop FAILED +Expected [NaN] + to equal [42, Infinity] /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/matchers/base.rb:8:in `==' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:166 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 33066 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:199:in `process' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/object.rb:11:in `describe' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:154 +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:153 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `load' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `files' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 33082 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/bin/mspec-run:8 ) +Numeric#step with [stop, +infinity] does not yield when self > stop FAILED +Expected [NaN] + to equal [] /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/matchers/base.rb:8:in `==' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:173 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 33101 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:199:in `process' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/object.rb:11:in `describe' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:154 +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:153 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `load' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `files' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 33117 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/bin/mspec-run:8 ) +Numeric#step with [stop, -infinity] yields once if self > stop FAILED +Expected [NaN] + to equal [42, 42] /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/matchers/base.rb:8:in `==' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:204 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 33136 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:199:in `process' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/object.rb:11:in `describe' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:199 +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:198 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `load' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `files' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 33152 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/bin/mspec-run:8 ) +Numeric#step with [stop, -infinity] yields once when self equals stop FAILED +Expected [NaN] + to equal [42, Infinity] /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/matchers/base.rb:8:in `==' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:211 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 33171 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:199:in `process' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/object.rb:11:in `describe' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:199 +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:198 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `load' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `files' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 33187 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/bin/mspec-run:8 ) +Numeric#step with [stop, -infinity] does not yield when self > stop FAILED +Expected [NaN] + to equal [] /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/matchers/base.rb:8:in `==' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:218 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 33206 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/context.rb:199:in `process' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/object.rb:11:in `describe' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:199 +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/core/numeric/step_spec.rb:198 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `load' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:56:in `files' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 33330 @@ ) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR +ThreadError: Thread#join: deadlock 0xf7fc7ee0 - mutual join(0xf408ec70) /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /var/lib/chkbuild/tmp/build/ruby-1.8.7-pth-o3//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ 34254 @@ Finished in seconds +3302 files, 13402 examples, expectations, 31 failures, 33 errors exit 1 failed(rubyspec) == end #