OlderDiff < 20110115T021549Z < ThisDiff > 20110116T024202Z > NewerDiff
OLDREV 30479 NEWREV 30553 CHG ChangeLog 30479->30552 CHG version.h 30477->30553 CHG ext/zlib/zlib.c 26430->30552 COMMIT Added :launch flags for mspec to launch the target. COMMIT Fixed Array#cycle specs. COMMIT Fixed Array() specs. COMMIT Fixed whitespace in Numeric#step specs. COMMIT Fixed Numeric#step specs. COMMIT Move specs of Object#instance_exec COMMIT Cleanup whitespace COMMIT More RUBYOPT specs and cleanup. COMMIT Clean up some C-API IO specs. COMMIT More rb_ary_delete_at specs. COMMIT Add spec for custom seperator with ** COMMIT More better RARRAY specs. COMMIT Better RSTRING spec. COMMIT Rewrote rb_scan_args specs. =================================================================== +++ 20110116T024202Z @@ 9311 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/count_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/cycle_spec.rb Array#cycle +- does not yield and returns nil when the array is empty +- does not yield and returns nil when passed 0 +- iterates the array 'count' times yielding each item to the block +- iterates indefinitely when not passed a count +- iterates indefinitely when passed nil +- does not rescue StopIteration when not passed a count +- does not rescue StopIteration when passed a count +- iterates the array Integer(count) times when passed a Float count +- calls #to_int to convert count to an Integer - raises a TypeError if #to_int does not return an Integer +- raises a TypeError if passed a String +- raises a TypeError if passed an Object +- raises a TypeError if passed true - raises a TypeError if passed false /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/delete_at_spec.rb @@ 16405 @@ - raises IOError on closed stream /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/Array_spec.rb +Kernel +- has private instance method Array() Kernel.Array - does not call #to_ary on an Array - calls #to_ary to convert the argument to an Array - does not call #to_a on an Array +- calls #to_a if the argument does not respond to #to_ary +- calls #to_a if #to_ary returns nil +- raises a TypeError if #to_a returns nil +- returns an Array containing the argument if it responds to neither #to_ary nor #to_a +- returns an empty Array when passed nil +- raises a TypeError if #to_ary does not return an Array +- raises a TypeError if #to_a does not return an Array Kernel#Array - does not call #to_ary on an Array - calls #to_ary to convert the argument to an Array - does not call #to_a on an Array +- calls #to_a if the argument does not respond to #to_ary +- calls #to_a if #to_ary returns nil +- raises a TypeError if #to_a returns nil +- returns an Array containing the argument if it responds to neither #to_ary nor #to_a +- returns an empty Array when passed nil +- raises a TypeError if #to_ary does not return an Array +- raises a TypeError if #to_a does not return an Array /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/Complex_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/Float_spec.rb @@ 19355 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb Numeric#step - raises an ArgumentError when step is 0 +- raises an ArgumentError when step is 0.0 - defaults to step = 1 +- returns an Enumerator when step is 0 +- returns an Enumerator when not passed a block and self > stop +- returns an Enumerator when not passed a block and self < stop - returns an Enumerator that uses the given step +- does not rescue ArgumentError exceptions +- does not rescue TypeError exceptions Numeric#step with [stop, step] +- increments self using #+ until self > stop when step > 0 +- decrements self using #+ until self < stop when step < 0 +Numeric#step Numeric#step with [stop, step] when self, stop and step are Fixnums - yields only Fixnums +Numeric#step Numeric#step with [stop, +step] when self, stop and step are Fixnums - 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 Numeric#step with [stop, -step] when self, stop and step are Fixnums - yields while decreasing self by step until stop is reached - yields once when self equals stop - does not yield when self is less than stop +Numeric#step Numeric#step with [stop, step] +- yields only Floats when self is a Float +- yields only Floats when stop is a Float +- yields only Floats when step is a Float +Numeric#step Numeric#step with [stop, +step] when self, stop or step is a Float +- yields while increasing self by step while stop < stop - yields once when self equals stop - does not yield when self is greater than stop +Numeric#step Numeric#step with [stop, -step] when self, stop or step is a Float +- yields while decreasing self by step while self > stop - yields once when self equals stop - does not yield when self is less than stop +Numeric#step Numeric#step with [stop, +Infinity] - yields once if self < stop (FAILED - <n>) +- yields once when stop is Infinity (FAILED - <n>) - yields once when self equals stop (FAILED - <n>) +- yields once when self and stop are Infinity (FAILED - <n>) +Numeric#step Numeric#step with [stop, -infinity] - does not yield when self > stop (FAILED - <n>) +- does not yield when stop is Infinity /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/to_c_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/to_int_spec.rb @@ 19447 @@ - does not preserve frozen state from the original /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/object/initialize_spec.rb +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/object/instance_exec_spec.rb +Object#instance_exec +- raises a LocalJumpError unless given a block - has an arity of -1 +- accepts arguments with a block +- doesn't pass self to the block as an argument +- passes any arguments to the block +- only binds the exec to the receiver - binds self to the receiver - executes in the context of the receiver - has access to receiver's instance variables @@ 24862 @@ - includes TOPLEVEL_BINDING Processing RUBYOPT +- adds the -I path to $LOAD_PATH +- sets $DEBUG to true for '-d' +- sets $VERBOSE to true for '-w' +- sets $VERBOSE to true for '-W' +- sets $VERBOSE to nil for '-W0' +- sets $VERBOSE to false for '-W1' +- sets $VERBOSE to true for '-W2' +- requires the file for '-r' +- sets $KCODE to 'NONE' with '-K' +- sets $KCODE to 'NONE' with '-Ka' +- sets $KCODE to 'NONE' with '-KA' +- sets $KCODE to 'NONE' with '-Kn' +- sets $KCODE to 'NONE' with '-KN' +- sets $KCODE to 'EUC' with '-Ke' +- sets $KCODE to 'EUC' with '-KE' +- sets $KCODE to 'UTF8' with '-Ku' +- sets $KCODE to 'UTF8' with '-KU' +- sets $KCODE to 'SJIS' with '-Ks' +- sets $KCODE to 'SJIS' with '-KS' - raises a RuntimeError for '-a' - raises a RuntimeErrorError for '-p' - raises a RuntimeErrorError for '-n' @@ 34467 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/cycle_spec.rb Array#cycle +- does not yield and returns nil when the array is empty +- does not yield and returns nil when passed 0 +- iterates the array 'count' times yielding each item to the block +- iterates indefinitely when not passed a count +- iterates indefinitely when passed nil +- does not rescue StopIteration when not passed a count +- does not rescue StopIteration when passed a count +- iterates the array Integer(count) times when passed a Float count +- calls #to_int to convert count to an Integer - raises a TypeError if #to_int does not return an Integer +- raises a TypeError if passed a String +- raises a TypeError if passed an Object +- raises a TypeError if passed true - raises a TypeError if passed false @@ 48769 @@ ruby <version> /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/Array_spec.rb +Kernel +- has private instance method Array() Kernel.Array - does not call #to_ary on an Array - calls #to_ary to convert the argument to an Array - does not call #to_a on an Array +- calls #to_a if the argument does not respond to #to_ary +- calls #to_a if #to_ary returns nil +- raises a TypeError if #to_a returns nil +- returns an Array containing the argument if it responds to neither #to_ary nor #to_a +- returns an empty Array when passed nil +- raises a TypeError if #to_ary does not return an Array +- raises a TypeError if #to_a does not return an Array Kernel#Array - does not call #to_ary on an Array - calls #to_ary to convert the argument to an Array - does not call #to_a on an Array +- calls #to_a if the argument does not respond to #to_ary +- calls #to_a if #to_ary returns nil +- raises a TypeError if #to_a returns nil +- returns an Array containing the argument if it responds to neither #to_ary nor #to_a +- returns an empty Array when passed nil +- raises a TypeError if #to_ary does not return an Array +- raises a TypeError if #to_a does not return an Array Finished in <t> seconds @@ 54495 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb Numeric#step - raises an ArgumentError when step is 0 +- raises an ArgumentError when step is 0.0 - defaults to step = 1 +- returns an Enumerator when step is 0 +- returns an Enumerator when not passed a block and self > stop +- returns an Enumerator when not passed a block and self < stop - returns an Enumerator that uses the given step +- does not rescue ArgumentError exceptions +- does not rescue TypeError exceptions Numeric#step with [stop, step] +- increments self using #+ until self > stop when step > 0 +- decrements self using #+ until self < stop when step < 0 +Numeric#step Numeric#step with [stop, step] when self, stop and step are Fixnums - yields only Fixnums +Numeric#step Numeric#step with [stop, +step] when self, stop and step are Fixnums - 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 Numeric#step with [stop, -step] when self, stop and step are Fixnums - yields while decreasing self by step until stop is reached - yields once when self equals stop - does not yield when self is less than stop +Numeric#step Numeric#step with [stop, step] +- yields only Floats when self is a Float +- yields only Floats when stop is a Float +- yields only Floats when step is a Float +Numeric#step Numeric#step with [stop, +step] when self, stop or step is a Float +- yields while increasing self by step while stop < stop - yields once when self equals stop - does not yield when self is greater than stop +Numeric#step Numeric#step with [stop, -step] when self, stop or step is a Float +- yields while decreasing self by step while self > stop - yields once when self equals stop - does not yield when self is less than stop +Numeric#step Numeric#step with [stop, +Infinity] - yields once if self < stop (FAILED - <n>) +- yields once when stop is Infinity (FAILED - <n>) - yields once when self equals stop (FAILED - <n>) +- yields once when self and stop are Infinity (FAILED - <n>) +Numeric#step Numeric#step with [stop, -infinity] - does not yield when self > stop (FAILED - <n>) +- does not yield when stop is Infinity <n>) +Numeric#step Numeric#step with [stop, +Infinity] yields once if self < stop FAILED Expected [NaN] + to equal [42] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:176 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 54570 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:228:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:4 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 54584 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/bin/mspec-run:8 <n>) +Numeric#step Numeric#step with [stop, +Infinity] yields once when stop is Infinity FAILED +Expected [] + to equal [42] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:181 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 54606 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:228:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:4 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 54620 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/bin/mspec-run:8 <n>) +Numeric#step Numeric#step with [stop, +Infinity] yields once when self equals stop FAILED Expected [NaN] + to equal [42] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:186 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 54642 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:228:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:4 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 54656 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/bin/mspec-run:8 <n>) +Numeric#step Numeric#step with [stop, +Infinity] yields once when self and stop are Infinity FAILED +Expected [] + to equal [Infinity] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:191 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 54678 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:228:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:4 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 54692 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/bin/mspec-run:8 <n>) +Numeric#step Numeric#step with [stop, -infinity] does not yield when self > stop FAILED Expected [NaN] to equal [] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:234 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 54714 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:228:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:4 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 54729 @@ Finished in <t> seconds +1 file, 33 examples, <num> expectations, 5 failures, 0 errors exit 1 failed(rubyspec/core/numeric/step_spec.rb) == rubyspec/core/numeric/to_c_spec.rb # <time> @@ 54845 @@ Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors +== rubyspec/core/object/instance_exec_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/object/instance_exec_spec.rb ruby <version> +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/object/instance_exec_spec.rb +Object#instance_exec +- raises a LocalJumpError unless given a block - has an arity of -1 +- accepts arguments with a block +- doesn't pass self to the block as an argument +- passes any arguments to the block +- only binds the exec to the receiver - binds self to the receiver - executes in the context of the receiver - has access to receiver's instance variables @@ 65182 @@ - includes TOPLEVEL_BINDING Processing RUBYOPT +- adds the -I path to $LOAD_PATH +- sets $DEBUG to true for '-d' +- sets $VERBOSE to true for '-w' +- sets $VERBOSE to true for '-W' +- sets $VERBOSE to nil for '-W0' +- sets $VERBOSE to false for '-W1' +- sets $VERBOSE to true for '-W2' +- requires the file for '-r' +- sets $KCODE to 'NONE' with '-K' +- sets $KCODE to 'NONE' with '-Ka' +- sets $KCODE to 'NONE' with '-KA' +- sets $KCODE to 'NONE' with '-Kn' +- sets $KCODE to 'NONE' with '-KN' +- sets $KCODE to 'EUC' with '-Ke' +- sets $KCODE to 'EUC' with '-KE' +- sets $KCODE to 'UTF8' with '-Ku' +- sets $KCODE to 'UTF8' with '-KU' +- sets $KCODE to 'SJIS' with '-Ks' +- sets $KCODE to 'SJIS' with '-KS' - raises a RuntimeError for '-a' - raises a RuntimeErrorError for '-p' - raises a RuntimeErrorError for '-n' @@ 65225 @@ Finished in <t> seconds +1 file, 93 examples, <num> expectations, 0 failures, 0 errors == rubyspec/language/private_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/language/private_spec.rb ruby <version> @@ 91805 @@ - allows changing the array and calling a method via rb_funcall - returns a struct with the length of the array +C-API Array function RARRAY when the Array is mutated in Ruby +- returns the length when #shift is called +- returns the length when #unshift is called +- returns the length when #pop is called +- returns the length when #push is called +- returns the length when #<< is called +- returns the length when #concat is called +- returns the length when #clear is called +- returns the length when #[]= is called +- returns the length during multiple mutations C-API Array function RARRAY_PTR - returns a pointer to a C array of the array's elements @@ 91856 @@ - freezes the object exactly like Object#freeze C-API Array function rb_ary_delete_at +- removes an element from an array at a positive index +- removes an element from an array at a negative index +- returns nil if the index is out of bounds +- returns nil if the negative index is out of bounds Finished in <t> seconds @@ 92173 @@ - closes an IO object C-API IO function rb_io_check_closed +- does not raise an exception if the IO is not closed +- raises an error if the IO is closed C-API IO function GetOpenFile - allows access to the system fileno C-API IO function rb_io_check_readable +- does not raise an exception if the IO is opened for reading +- raises an IOError if the IO is not opened for reading C-API IO function rb_io_check_writable +- does not raise an exeption if the IO is opened for writing +- raises an IOError if the IO is not opened for reading C-API IO function rb_io_wait_writeable +- returns false if there is no error condition +- raises an IOError if the IO is closed C-API IO function rb_io_wait_readable +- returns false if there is no error condition - raises and IOError if passed a closed stream +- blocks until the io is readable and returns true Finished in <t> seconds @@ 92878 @@ == rubyspec/optional/capi/util_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/optional/capi/util_spec.rb ruby <version> +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/optional/capi/ext/util_spec.c: In function 'util_spec_rb_scan_args': +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/optional/capi/ext/util_spec.c:<line_a>: warning: operation on 'a2' may be undefined /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/optional/capi/util_spec.rb C-API Util function rb_scan_args +- assigns the required arguments scanned +- raises an ArgumentError if there are insufficient arguments +- assigns the required and optional arguments scanned +- assigns the optional arguments scanned +- assigns nil for optional arguments that are not present +- assigns the required and optional arguments and splats the rest +- assigns the required and optional arguments and and empty Array when there are no arguments to splat +- assigns required, optional arguments scanned and the passed block +- assigns required, optional, splatted arguments scanned and the passed block +- assigns required arguments, nil for missing optional arguments and the passed block +- assigns required, splatted arguments and the passed block Finished in <t> seconds =================================================================== --- 20110115T021549Z @@ 9311 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/count_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/cycle_spec.rb Array#cycle -- returns nil and does nothing for non positive n or empty arrays -- cycle as many times as requested -- cycles indefinitely if called without argument -- cycles indefinitely if argument is nil -- doesn't rescue StopIteration -- raises a TypeError if passed a non-Numeric and non-nil argument - yields successive elements of the array repeatedly /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/delete_at_spec.rb @@ 11911 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/equal_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/equal_value_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/instance_eval_spec.rb -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/instance_exec_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/metaclass_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/method_missing_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/new_spec.rb @@ 16402 @@ Kernel#Array - is a private method - does not call #to_ary on an Array -- tries to call #to_ary on the given argument if it's not an Array - does not call #to_a on an Array -- tries to call #to_a on the given argument if #to_ary is provided and it returns nil -- tries to call #to_a on the given argument if #to_ary is not provided -- returns an array with the given argument if neither #to_ary nor #to_a are provided -- returns an empty array if the given argument is nil -- raises a TypeError if #to_ary / #to_a do not return an array Kernel.Array - needs to be reviewed for spec completeness @@ 19336 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb Numeric#step with [stop, step] - raises an ArgumentError when step is 0 -- returns an Enumerator when passed no block and self > stop -- returns an Enumerator when passed no block and self < stop - returns an Enumerator that uses the given step -- 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 - yields only Fixnums - defaults to step = 1 -Numeric#step with [stop, +step] when self, stop and step are Fixnums - 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, -step] when self, stop and step are Fixnums - yields while decreasing self by step until stop is reached - yields once when self equals stop - does not yield when self is less than stop -Numeric#step with [stop, step] when self, stop or step is a Float - 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>) -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] - 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 - yields once when self equals stop - does not yield when self is less than stop Numeric#step -- doesn't catch errors /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/to_c_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/to_int_spec.rb @@ 34408 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/cycle_spec.rb Array#cycle -- returns nil and does nothing for non positive n or empty arrays -- cycle as many times as requested -- cycles indefinitely if called without argument -- cycles indefinitely if argument is nil -- doesn't rescue StopIteration -- raises a TypeError if passed a non-Numeric and non-nil argument - yields successive elements of the array repeatedly @@ 38143 @@ Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors -== rubyspec/core/basicobject/instance_exec_spec.rb # <time> -+ bin/ruby mspec/bin/mspec -V -f s -B /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/instance_exec_spec.rb ruby <version> -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/instance_exec_spec.rb Finished in <t> seconds @@ 48715 @@ Kernel#Array - is a private method - does not call #to_ary on an Array -- tries to call #to_ary on the given argument if it's not an Array - does not call #to_a on an Array -- tries to call #to_a on the given argument if #to_ary is provided and it returns nil -- tries to call #to_a on the given argument if #to_ary is not provided -- returns an array with the given argument if neither #to_ary nor #to_a are provided -- returns an empty array if the given argument is nil -- raises a TypeError if #to_ary / #to_a do not return an array Kernel.Array - needs to be reviewed for spec completeness @@ 54425 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb Numeric#step with [stop, step] - raises an ArgumentError when step is 0 -- returns an Enumerator when passed no block and self > stop -- returns an Enumerator when passed no block and self < stop - returns an Enumerator that uses the given step -- 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 - yields only Fixnums - defaults to step = 1 -Numeric#step with [stop, +step] when self, stop and step are Fixnums - 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, -step] when self, stop and step are Fixnums - yields while decreasing self by step until stop is reached - yields once when self equals stop - does not yield when self is less than stop -Numeric#step with [stop, step] when self, stop or step is a Float - 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>) -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] - 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 - yields once when self equals stop - does not yield when self is less than stop Numeric#step -- doesn't catch errors <n>) -Numeric#step with [stop, +infinity] yields once if self < stop FAILED Expected [NaN] - to equal [42, 42] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:163 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:147:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `each' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 54491 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:157 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 54505 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<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] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:170 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 54524 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:157 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 54538 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/bin/mspec-run:8 <n>) -Numeric#step with [stop, -infinity] does not yield when self > stop FAILED Expected [NaN] to equal [] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:226 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 54557 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/numeric/step_spec.rb:204 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 54572 @@ Finished in <t> seconds -1 file, 27 examples, <num> expectations, 3 failures, 0 errors exit 1 failed(rubyspec/core/numeric/step_spec.rb) == rubyspec/core/numeric/to_c_spec.rb # <time> @@ 65024 @@ Finished in <t> seconds -1 file, 74 examples, <num> expectations, 0 failures, 0 errors == rubyspec/language/private_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/language/private_spec.rb ruby <version> @@ 91546 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/optional/capi/array_spec.rb C-API Array function RARRAY -- is sync'd with the object properly C-API Array function rb_ary_new - returns an empty array @@ 91606 @@ - allows changing the array and calling an rb_ary_xxx function - allows changing the array and calling a method via rb_funcall - returns a struct with the length of the array -- is sync'd with the ruby Array object C-API Array function RARRAY_PTR - returns a pointer to a C array of the array's elements @@ 91648 @@ - freezes the object exactly like Object#freeze C-API Array function rb_ary_delete_at -- removes an element from an array at the specified index Finished in <t> seconds -1 file, 49 examples, <num> expectations, 0 failures, 0 errors == rubyspec/optional/capi/bignum_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/optional/capi/bignum_spec.rb ruby <version> @@ 91962 @@ - closes an IO object C-API IO function rb_io_check_readable -- raises an IOError if the io isn't opened for reading -- raises no error if the io is opened for reading C-API IO function rb_io_check_writable -- raises no error if the io is opened for writing -- raises an IOError if the io is not opened for reading C-API IO function rb_io_check_closed -- raises an error only if the io is closed C-API IO function rb_io_wait_writeable - raises and IOError if passed a closed stream C-API IO function rb_io_wait_readable -- blocks until the io is readable - raises and IOError if passed a closed stream C-API IO function GetOpenFile @@ 92667 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/optional/capi/util_spec.rb C-API Util function rb_scan_args -- should assign all required arguments -- should assign all required and all passed optional arguments -- should assign all required and all optional arguments and splat the rest -- should assign all arguments and a possible block Finished in <t> seconds
OlderDiff < 20110115T021549Z < ThisDiff > 20110116T024202Z > NewerDiff