OlderDiff < 20110712T183304Z < ThisDiff > 20110714T183304Z > NewerDiff
OLDREV 32529
NEWREV 32545
CHG ChangeLog 32529->32544
CHG regint.h 30740->32544
CHG st.c 30679->32544
CHG version.h 32522->32545
CHG doc/ChangeLog-1.9.3 32503->32543
CHG ext/openssl/ossl.c 32337->32537
CHG test/json/setup_variant.rb 32493->32535
CHG test/json/test_json_string_matching.rb 32493->32535
CHG test/openssl/test_pair.rb 30176->32537
CHG test/openssl/test_ssl.rb 32337->32537
CHG test/openssl/utils.rb 32195->32537
CHG test/testunit/tests_for_parallel/ptest_first.rb 32496->32535
CHG test/testunit/tests_for_parallel/ptest_forth.rb 32496->32535
CHG test/testunit/tests_for_parallel/ptest_second.rb 32496->32535
COMMIT Add mspec -t x19 to run Rubinius in 1.9 mode
COMMIT Show Rake tasks without RSpec installed (patch regularfry). Fixes #4.
COMMIT Fixed specs for -x19 support.
COMMIT Fixed OpenStruct specs for #[], #[]=.
COMMIT Add spec for module included into singleton ancestor chain
COMMIT A little spec cleanup
COMMIT Add specs for 1.8 vs 1.9 Array casting rules
COMMIT Cleanup, shift, and generally cleanup specs
COMMIT Move catch specs into core/kernel/catch
COMMIT Cleanup class specs and mark spec as not_compliant_on :rubinius
COMMIT Add spec for when method_missing is invoked
COMMIT Rename and cleanup the singleton classspec
COMMIT Fixed catch spec to use identical String value.
COMMIT Fixed version guard for DateTime#second spec.
COMMIT Cleaned up constant spec.
COMMIT 20.times is not enough, use 40.
COMMIT Class#superclass on uninitialized class should raise TypeError.
===================================================================
+++ 20110714T183304Z
@@ 6949 @@
OpenSSL::TestSSL#test_client_ca = <elapsed> s = .
OpenSSL::TestSSL#test_connect_and_close = <elapsed> s = .
OpenSSL::TestSSL#test_ctx_setup = <elapsed> s = .
+OpenSSL::TestSSL#test_exception_in_verify_callback_is_ignored = <elapsed> s = .
OpenSSL::TestSSL#test_not_started_session = /var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/ruby/test/openssl/test_ssl.rb:<line_a>: warning: SSL session is not started yet.
<elapsed> s = .
OpenSSL::TestSSL#test_parallel = <elapsed> s = .
@@ 8073 @@
Syck::YAML_Unit_Tests#test_symbol_cycle = <elapsed> s = .
Syck::YAML_Unit_Tests#test_time_now_cycle = <elapsed> s = .
Syck::YAML_Unit_Tests#test_ypath_parsing = <elapsed> s = .
+TC_Enumerable#test_to_set = <elapsed> s = .
TC_HMAC_MD5#test_hexdigest = <elapsed> s = .
TC_HMAC_MD5#test_reset = <elapsed> s = .
TC_HMAC_MD5#test_s_hexdigest = <elapsed> s = .
@@ 18535 @@
<n>) Failure:
test_huge_precision(TestTimeExtension) [/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/ruby/test/test_time.rb:404]:
[ruby-dev:43284]
+pid 26419 killed by SIGSEGV (signal 11) (core dumped)
| -:1: [BUG] Segmentation fault
| ruby <version>
|
| -- Control frame information -----------------------------------------------
| c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :strftime
+| c:0003 p:0023 s:0006 b:0006 l:001154 d:0002e4 EVAL -:1
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
+| c:0001 p:0000 s:0002 b:0002 l:001154 d:001154 TOP
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
+9546 tests, <num> assertions, 1 failures, 1 errors, 44 skips
make: *** [yes-test-all] Error 2
exit 2
failed(test-all)
@@ 22235 @@
- returns an instance of self
- returns a fully-formed instance of Module
- does not call initialize on the new instance
+- raises TypeError for #superclass
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/class/dup_spec.rb
Class#dup
- duplicates both the class and the singleton class
+- retains an included module in the ancestor chain for the singleton class
- retains the correct ancestor chain for the singleton class
- sets the name from the class to nil if not assigned to a constant
- stores the new name if assigned to a constant
@@ 28486 @@
- executes its block
- returns the last expression evaluated if throw was not called
- throws the given name and is caught by matching catch block
+- allows a String to be used for the label
- does not match objects that are not exactly the same
- catches objects that are exactly the same
- requires a block
@@ 36868 @@
- returns a value to the block scope invoking the lambda in a method
- raises a LocalJumpError when yielding to a lambda passed as a block argument
+Break inside a while loop
+- stops a while loop when run
+- causes a call with a block to return when run
+Break inside a while loop with a value
+- exits the loop and returns the value
+Break inside a while loop with a splat
+- exits the loop and makes the splat an Array
+- treats nil as an empty array
+- preserves an array as is
+- wraps a non-Array in an Array
Executing break from within a block
- returns from the original invoking method even in case of chained calls
@@ 37006 @@
- searches Object if a toplevel qualifier (::X) is given
- does not search the singleton class of the class or module
- returns the updated value when a constant is reassigned
+- evaluates the right hand side before evaluating a constant path
Constant resolution within methods
- raises a NameError if no constant is defined in the search path
@@ 38260 @@
- is an empty array if there are no additional arguments
- gathers unused arguments
+Invoking a method when the method is not available
+- invokes method_missing
Invoking a private setter method permits self as a receiver
- for normal assignment
@@ 38308 @@
- passes without curly braces or parens
- handles a hanging comma without curly braces
+/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/language/singleton_class_spec.rb
+A singleton class
- is TrueClass for true
- is FalseClass for false
- is NilClass for nil
@@ 38318 @@
- is a singleton Class instance
- is a Class for classes
- inherits from Class for classes
+- is a subclass of Class's singleton class
+- is a subclass of the same level of Class's singleton class
+- is a subclass of a superclass's singleton class
+- is a subclass of the same level of superclass's singleton class
+- for BasicObject has Class as it's superclass
+- for BasicObject has the proper level of superclass for Class
- has class String as the superclass of a String instance
- has class Bignum as the superclass of a Bignum instance
+A constant on a singleton class
+- can be accessed after the singleton class body is reopened
- can be accessed via self::CONST
- can be accessed via const_get
- is not defined on the object's class
+- is not defined in the singleton class opener's scope
- cannot be accessed via object::CONST
- raises a NameError for anonymous_module::CONST
+- appears in the singleton class constant list
- does not appear in the object's class constant list
- is not preserved when the object is duped
- is preserved when the object is cloned
+Defining instance methods on a singleton class
- define public methods
+Instance methods of a singleton class
+- include ones of the object's class
+- do not include class methods of the object's class
+- include instance methods of Object
+- do not include class methods of Object
+Instance methods of a singleton class for a class
+- include instance methods of Class
+- do not include class methods of Class
+- do not include instance methods of the singleton class of Class
+- do not include class methods of the singleton class of Class
+Instance methods of a singleton class for a singleton class
+- includes instance methods of the singleton class of Class
+- does not include class methods of the singleton class of Class
+Class methods of a singleton class
+- include ones of the object's class
+- do not include instance methods of the object's class
+- include instance methods of Class
+- do not include class methods of Class
+Class methods of a singleton class for a class
+- include instance methods of Class
+- include class methods of Class
+- include instance methods of the singleton class of Class
+- do not include class methods of the singleton class of Class
+Class methods of a singleton class for a singleton class
+- include instance methods of the singleton class of Class
+- include class methods of the singleton class of Class
+Instantiating a singleton class
- raises a TypeError when new is called
- raises a TypeError when allocate is called
@@ 38541 @@
- allows the assignment of the rhs to the lhs using the rhs splat operator
- allows the assignment of the rhs to the lhs using the lhs splat operator
- allows the assignment of rhs to the lhs using the lhs and rhs splat operators simultaneously
+- sets unavailable values to nil
+- sets the splat to an empty Array if there are no more values
- allows multiple values to be assigned
- calls to_a on the given argument when using a splat
- supports the {|r,| } form of block assignment
@@ 38574 @@
- allows parallel assignment
- allows safe parallel swapping
- returns the rhs values used for assignment as an array
+- wraps a single value in an Array if it's not already one
- evaluates rhs left-to-right
- supports parallel assignment to lhs args via object.method=
- supports parallel assignment to lhs args using []=
@@ 41278 @@
- needs to be reviewed for spec completeness
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/datetime/second_spec.rb
+DateTime#second
- returns 0 seconds if passed no arguments
- returns the seconds passed in the arguments
- adds 60 to negative values
@@ 44978 @@
- removes the named field from self's method/value table
- does remove the accessor methods
+/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/openstruct/element_reference_spec.rb
+OpenStruct#[]
- raises a NoMethodError
+/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/openstruct/element_set_spec.rb
+OpenStruct#[]=
- raises a NoMethodError
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/openstruct/equal_value_spec.rb
@@ 50059 @@
<n>)
File::Stat#inspect produces a nicely formatted description of a File::Stat object FAILED
+Expected "#<File::Stat dev=0x0, ino=5956224, mode=0100644, nlink=1, uid=110, gid=101, rdev=0x0, size=8, blksize=4096, blocks=8, atime=2011-07-15 04:31:11 +0900, mtime=2011-07-15 04:31:11 +0900, ctime=2011-07-15 04:31:11 +0900>"
+to equal "#<File::Stat dev=0x803, ino=5956224, mode=0100644, nlink=1, uid=110, gid=101, rdev=0x0, size=8, blksize=4096, blocks=8, atime=2011-07-15 04:31:11 +0900, mtime=2011-07-15 04:31:11 +0900, ctime=2011-07-15 04:31:11 +0900>"
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/file/stat/inspect_spec.rb:17:in `block (2 levels) in <top (required)>'
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/file/stat/inspect_spec.rb:3:in `<top (required)>'
@@ 50133 @@
Finished in <t> seconds
+3521 files, 17633 examples, <num> expectations, 17 failures, 1 error
exit 1
failed(rubyspec)
== dist # <time>
===================================================================
--- 20110712T183304Z
@@ 8072 @@
Syck::YAML_Unit_Tests#test_symbol_cycle = <elapsed> s = .
Syck::YAML_Unit_Tests#test_time_now_cycle = <elapsed> s = .
Syck::YAML_Unit_Tests#test_ypath_parsing = <elapsed> s = .
-TC_Enumerable#test_to_set = (eval):<line_a>: warning: method redefined; discarding old initialize
-/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/ruby/lib/set.rb:<line_a>: warning: previous definition of initialize was here
<elapsed> s = .
TC_HMAC_MD5#test_hexdigest = <elapsed> s = .
TC_HMAC_MD5#test_reset = <elapsed> s = .
@@ 18536 @@
<n>) Failure:
test_huge_precision(TestTimeExtension) [/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/ruby/test/test_time.rb:404]:
[ruby-dev:43284]
-pid 31551 killed by SIGSEGV (signal 11) (core dumped)
| -:1: [BUG] Segmentation fault
| ruby <version>
|
| -- Control frame information -----------------------------------------------
| c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :strftime
-| c:0003 p:0023 s:0006 b:0006 l:001534 d:0006c4 EVAL -:1
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
-| c:0001 p:0000 s:0002 b:0002 l:001534 d:001534 TOP
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
-9545 tests, <num> assertions, 1 failures, 1 errors, 44 skips
make: *** [yes-test-all] Error 2
exit 2
failed(test-all)
@@ 28487 @@
- throws the given name and is caught by matching catch block
- can be used even in a method different from where throw is called
- can be nested
-- raises ArgumentError if more than one arguments are given
- accepts an object as an argument
- yields a new, unique object when called without arguments
- raises LocalJumpError if no block is given
@@ 36864 @@
- raises a LocalJumpError when yielding to a lambda passed as a block argument
Executing break from within a block
-- returns from the invoking singleton method
-- returns from the invoking method with the argument to break
- returns from the original invoking method even in case of chained calls
- runs ensures when continuing upward
- doesn't run ensures in the destination method
-Breaking out of a loop with a value
- assigns objects
- assigns splatted objects
- assigns splatted objects
-- assigns an array containing an empty array when the splatted array contains an empty array
-- assigns an array with a nil object when the splatted object contains a nil object
-- assigns an array that contains the splatted object if the splatted objects doesn't respond to to_a
-- assigns to a splatted reference
-- assigns arrays to a splatted reference
-- assings splatted objects to a splatted reference
-- assigns empty arrays to a splatted reference
-- assigns an array to splatted reference when the object is an splatted array
-- assigns splatted objects to a splatted reference from a splatted loop
-- assigns empty arrays to a splatted reference from a splatted loop
-- assigns an array containing an empty array to a splatter reference when the splatter array from a splatted loop contains an empty array
- assigns objects to multiple block variables
- assigns splatted objects to multiple block variables
-- assigns an empty array to variables when the splatted value is an empty array
-- stops any loop type at the correct spot
-- stops a yielded method at the correct spot
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/language/case_spec.rb
The 'case'-construct
@@ 36930 @@
The 'case'-construct
- takes multiple expanded arrays
-/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/language/catch_spec.rb
-The catch keyword
-- allows any object
-- returns the last value of the block if it nothing is thrown
- does not match objects that are not exactly the same
- catches objects that are exactly the same
- requires a block
-- supports nesting
- supports nesting with the same name
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/language/class_spec.rb
@@ 37021 @@
- searches Object if a toplevel qualifier (::X) is given
- does not search the singleton class of the class or module
- returns the updated value when a constant is reassigned
-- processes RHS first
Constant resolution within methods
- raises a NameError if no constant is defined in the search path
@@ 37404 @@
The defined? keyword for super within an included module's method
- returns 'super' when a superclass method exists in the including hierarchy
-/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/language/eigenclass_spec.rb
-self in an eigenclass body (class << obj)
- is TrueClass for true
- is FalseClass for false
- is NilClass for nil
@@ 37414 @@
- is a singleton Class instance
- is a Class for classes
- inherits from Class for classes
-- is a metaclass for classes
-- is a metametaclass for metaclasses
-- has the class's metaclass as superclass for classes
-- has Class as superclass for BasicObject class
-- has the class's metaclass's metaclass as superclass for metaclasses
-- has the metaclass of Class as superclass for the metaclass of BasicObject
- has class String as the superclass of a String instance
- has class Bignum as the superclass of a Bignum instance
-A constant on an eigenclass
-- can be accessed after the eigenclass body is reopened
- can be accessed via self::CONST
- can be accessed via const_get
- is not defined on the object's class
-- is not defined in the eigenclass opener's scope
- cannot be accessed via object::CONST
- raises a NameError for anonymous_module::CONST
-- appears in the eigenclass constant list
- does not appear in the object's class constant list
- is not preserved when the object is duped
- is preserved when the object is cloned
-Defining instance methods on an eigenclass
- define public methods
-Instance methods of an eigenclass
-- includes ones of the object's class
-- does not include class methods of the object's class
-- includes instance methods of Object
-- does not include class methods of Object
-- includes instance methods of Class, for a class
-- does not include class methods of Class, for a class
-- does not include instance methods of the metaclass of Class, for a class
-- does not include class methods of the metaclass of Class, for a class
-- includes instance methods of the metaclass of Class, for a metaclass
-- does not include class methods of the metaclass of Class, for a metaclass
-Class methods of an eigenclass
-- includes ones of the object's class
-- does not include instance methods of the object's class
-- includes instance methods of Class
-- does not include class mtehods of Class
-- includes instance methods of Class, for a class
-- includes class methods of Class, for a class
-- includes instance methods of the metaclass of Class, for a class
-- does not include class methods of the metaclass of Class, for a class
-- includes instance methods of the metaclass of Class, for a metaclass
-- includes class methods of the metaclass of Class, for a metaclass
-Instantiating an eigenclass
- raises a TypeError when new is called
- raises a TypeError when allocate is called
@@ 41279 @@
- needs to be reviewed for spec completeness
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/datetime/second_spec.rb
-DateTime.second
- returns 0 seconds if passed no arguments
- returns the seconds passed in the arguments
- adds 60 to negative values
@@ 45028 @@
OpenStruct#method_missing when not passed any additional arguments
- returns the value for the passed method from the method/value table
-OpenStruct#method_missing when called with method name '[]'
- raises a NoMethodError
-OpenStruct#method_missing when called with method name '[]='
- raises a NoMethodError
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/library/openstruct/new_ostruct_member_spec.rb
@@ 50058 @@
<n>)
File::Stat#inspect produces a nicely formatted description of a File::Stat object FAILED
-Expected "#<File::Stat dev=0x0, ino=5308998, mode=0100644, nlink=1, uid=110, gid=101, rdev=0x0, size=8, blksize=4096, blocks=8, atime=2011-07-13 04:36:34 +0900, mtime=2011-07-13 04:36:34 +0900, ctime=2011-07-13 04:36:34 +0900>"
-to equal "#<File::Stat dev=0x803, ino=5308998, mode=0100644, nlink=1, uid=110, gid=101, rdev=0x0, size=8, blksize=4096, blocks=8, atime=2011-07-13 04:36:34 +0900, mtime=2011-07-13 04:36:34 +0900, ctime=2011-07-13 04:36:34 +0900>"
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/file/stat/inspect_spec.rb:17:in `block (2 levels) in <top (required)>'
/var/lib/chkbuild/tmp/build/ruby-trunk-o3/<buildtime>/rubyspec/core/file/stat/inspect_spec.rb:3:in `<top (required)>'
@@ 50132 @@
Finished in <t> seconds
-3520 files, 17644 examples, <num> expectations, 17 failures, 1 error
exit 1
failed(rubyspec)
== dist # <time>
OlderDiff < 20110712T183304Z < ThisDiff > 20110714T183304Z > NewerDiff