ruby 1.8.8dev (2010-10-08) [x86_64-linux] (duet) 467W KB1F0E 3F0E rubyspec:73F53E

chkbuild summary recent last

OlderDiff < 20101008T235033Z < ThisDiff > 20101009T235623Z > NewerDiff

COMMIT Getting started on Module.class_exec specs.
COMMIT Numeric#step: spec with infinite steps [redmine:781]
COMMIT * Random: Specify behavior for ranges with Integers & Floats
COMMIT * Random: change test to rely on type (Float) instead of value
COMMIT remove superfluous comment

===================================================================
+++ 20101009T235623Z
@@ 16135 @@
 - raises an ArgumentError when a block and normal arguments are given
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/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
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/module/class_variable_defined_spec.rb
 Module#class_variable_defined?
@@ 16429 @@
 - raises an ArgumentError when a block and normal arguments are given
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/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
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/module/module_function_spec.rb
 Module#module_function with specific method names
@@ 16773 @@
 - 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
@@ 16794 @@
 - raises an ArgumentError when step is 0
 - yields only Floats
 
+Numeric#step with [stop, +infinity]
+- yields once if self < stop (FAILED - <n>)
+- yields once when self equals stop (FAILED - <n>)
+- does not yield when self > stop (FAILED - <n>)
 
 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 - <n>)
+- yields once when self equals stop (FAILED - <n>)
+- does not yield when self > stop (FAILED - <n>)
 
 Numeric#step with [stop, -step] when self, stop or step is a Float
 - yields while decreasing self by step until stop is reached
@@ 33576 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/bin/mspec-run:8
 
  <n>)
+Numeric#step with [stop, +infinity] yields once if self < stop FAILED
+Expected [NaN]
+ to equal [42, 42]
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `=='
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:159
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:143:in `all?'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `each'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `all?'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect'
@@ 33595 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:154
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:153
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
@@ 33611 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/bin/mspec-run:8
 
  <n>)
+Numeric#step with [stop, +infinity] yields once when self equals stop FAILED
+Expected [NaN]
+ to equal [42, Infinity]
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `=='
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:166
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect'
@@ 33630 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:154
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:153
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
@@ 33646 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/bin/mspec-run:8
 
  <n>)
+Numeric#step with [stop, +infinity] does not yield when self > stop FAILED
+Expected [NaN]
+ to equal []
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `=='
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:173
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect'
@@ 33665 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:154
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:153
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
@@ 33681 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/bin/mspec-run:8
 
  <n>)
+Numeric#step with [stop, -infinity] yields once if self > stop FAILED
+Expected [NaN]
+ to equal [42, 42]
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `=='
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:204
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect'
@@ 33700 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:199
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:198
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
@@ 33716 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/bin/mspec-run:8
 
  <n>)
+Numeric#step with [stop, -infinity] yields once when self equals stop FAILED
+Expected [NaN]
+ to equal [42, Infinity]
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `=='
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:211
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect'
@@ 33735 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:199
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:198
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
@@ 33751 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/bin/mspec-run:8
 
  <n>)
+Numeric#step with [stop, -infinity] does not yield when self > stop FAILED
+Expected [NaN]
+ to equal []
 
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `=='
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:218
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect'
@@ 33770 @@
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:199
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/guards/bug.rb:20:in `ruby_bug'
+/home/chkbuild/tmp/build/ruby-1.8/<buildtime>/rubyspec/core/numeric/step_spec.rb:198
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files'
 /home/chkbuild/tmp/build/ruby-1.8/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval'
@@ 36586 @@
 
 Finished in <t> seconds
 
+3284 files, 13642 examples, <num> expectations, 73 failures, 53 errors
 exit 1
 failed(rubyspec)
 == end # <time>

===================================================================
--- 20101008T235033Z
@@ 16761 @@
 - 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
@@ 36354 @@
 
 Finished in <t> seconds
 
-3284 files, 13628 examples, <num> expectations, 67 failures, 53 errors
 exit 1
 failed(rubyspec)
 == end # <time>
    

OlderDiff < 20101008T235033Z < ThisDiff > 20101009T235623Z > NewerDiff


chkbuild summary recent last