COMMIT In Ruby CAPI "true" is Qtrue, not int 1, http://github.com/rubyspec/rubyspec/commit/bb9ccf087ad415bd59059e35cc41d512d325a6c1 COMMIT Clean warnings: ISO C90 forbids mixed declarations and code http://github.com/rubyspec/rubyspec/commit/80c50e606cff999e2c01fbd2475cefd46f091eb5 COMMIT Add missing return. http://github.com/rubyspec/rubyspec/commit/4f9c5954f94c4624595903bfe6767388d70483bb COMMIT More tweaks for capi/spec_helper.rb http://github.com/rubyspec/rubyspec/commit/58074e75834bd2c31d84750b1f37a73743e9b489 COMMIT A bunch of fixes for 1.9 running C-API specs. http://github.com/rubyspec/rubyspec/commit/66567befe708a1494d446d88f84bbcf01da3fa86 COMMIT Ignore our version.h file. http://github.com/rubyspec/rubyspec/commit/af2ab7e305cc0c00a9b410aee87a4f46f85f977a COMMIT Fixes to C-API spec_helper.rb. http://github.com/rubyspec/rubyspec/commit/9ae6b7ba74fd43c08dfae223086a722b2f4ca3a9 COMMIT Revert "Add arch_hdrdir for capi test for MRI." http://github.com/rubyspec/rubyspec/commit/79ed9ce9041dbe2ed4ec17de0b8d4edfce3aa99b COMMIT Some fixes and macros for C-API specs. http://github.com/rubyspec/rubyspec/commit/6eb2e4f56d37d2fc0a5aa8bba0cd986bfac21e96 COMMIT Revert "Don't define macros not in Ruby 1.9." http://github.com/rubyspec/rubyspec/commit/cf6238e62a92f5cfcc04b3fbc1dccbf837d7e161 COMMIT Revert "Define RARRAY_PTR and so on for Ruby 1.9." http://github.com/rubyspec/rubyspec/commit/8933c784d529f55b9ccee1edf0e77e59c166293c COMMIT Revert "Fix typo in the commit a5312c77." http://github.com/rubyspec/rubyspec/commit/404504635570833ffec7857cfa28e055b276b521 COMMIT add require for be_close_to_matrix. http://github.com/rubyspec/rubyspec/commit/badc09080ba112f2a603e4a44a514a2cb4797463 COMMIT require fiber for transfer method. http://github.com/rubyspec/rubyspec/commit/a36bda739e761cdf732d6a3885da6c116df0d8e5 COMMIT add require for file_read_directory. http://github.com/rubyspec/rubyspec/commit/92d1cb203993642fd212c2e3eaccd2a21800e780 COMMIT require libraries. http://github.com/rubyspec/rubyspec/commit/a473b21683b763559f437e4f2173b7ba1440a65f COMMIT require fixtures for DelegateSpecs. http://github.com/rubyspec/rubyspec/commit/914b7403eb1a5cb8461ea16a2b821fe7c90a2aa4 COMMIT require fixtures for IOSpecs. http://github.com/rubyspec/rubyspec/commit/622e969936f9e8b28e58fc53f9fb988e3f983895 =================================================================== +++ 20100815T040113 @@ 7175 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/https.rb:: warning: instance variable @server_cert not initialized /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/https.rb:: warning: instance variable @server_cert not initialized /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/xsd/datatypes.rb:: warning: DateTime::new0 is deprecated; use DateTime::new! +F, [YYYY-MM-DDThh:mm:ss.ssssss #] FATAL -- Test: Detected an exception. Stopping ... stream closed (IOError) +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/server.rb:133:in `start' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/server.rb:113:in `each' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/server.rb:113:in `start' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/server.rb:23:in `start' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/server.rb:82:in `start' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/soap/rpc/httpserver.rb:123:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/logger.rb:659:in `start' +./test/wsdl/rpc/test_rpc.rb:82:in `start_server_thread' +./test/wsdl/rpc/test_rpc.rb:80:in `initialize' +./test/wsdl/rpc/test_rpc.rb:80:in `new' +./test/wsdl/rpc/test_rpc.rb:80:in `start_server_thread' +./test/wsdl/rpc/test_rpc.rb:59:in `setup_server' +./test/wsdl/rpc/test_rpc.rb:45:in `setup' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testcase.rb:77:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:34:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:33:in `each' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:33:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:34:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:33:in `each' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:33:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:34:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:33:in `each' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:33:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:34:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:33:in `each' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/testsuite.rb:33:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/ui/console/testrunner.rb:41:in `start' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/ui/testrunnerutilities.rb:29:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/autorunner.rb:216:in `run' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/test/unit/autorunner.rb:12:in `run' +./test/runner.rb:7 . test_ping(WSDL::SimpleType::TestSimpleType): /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/https.rb:: warning: instance variable @server_cert not initialized /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//ruby/lib/webrick/https.rb:: warning: instance variable @server_cert not initialized @@ 31834 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/library/zlib/zstream/stream_end_spec.rb /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/library/zlib/zstream/total_in_spec.rb /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/library/zlib/zstream/total_out_spec.rb +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/array_spec.rb +C-API Array function rb_ary_new - returns an empty array +C-API Array function rb_ary_new2 - returns an empty array +C-API Array function rb_ary_push +- adds an element to the array +C-API Array function rb_ary_pop +- removes and returns the last element in the array +C-API Array function rb_ary_join +- joins elements of an array with a string +C-API Array function rb_ary_reverse +- reverses the order of elements in the array +C-API Array function rb_ary_entry +- returns nil when passed an empty array +- returns elements from the end when passed a negative index +- returns nil if the index is out of range +C-API Array function rb_ary_clear +- removes all elements from the array +C-API Array function rb_ary_dup +- duplicates the array +C-API Array function rb_ary_unshift +- prepends the element to the array +C-API Array function rb_ary_shift - removes and returns the first element - returns nil when the array is empty +C-API Array function rb_ary_store +- overwrites the element at the given position +- writes to elements offset from the end if passed a negative index +- raises on IndexError if the negative index is greater than the length +- enlarges the array as needed +C-API Array function RARRAY +- returns a struct with a pointer to a C array of the array's elements +- allows assigning to the elements of the C array +- 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 +C-API Array function RARRAY_PTR +- returns a pointer to a C array of the array's elements +- allows assigning to the elements of the C array +C-API Array function RARRAY_LEN +- returns the size of the array +C-API Array function rb_assoc_new +- returns an array containing the two elements +C-API Array function rb_ary_includes +- returns true if the array includes the element +- returns false if the array does not include the element +C-API Array function rb_ary_aref +- returns the element at the given index +- returns nil for an out of range index +- returns a new array where the first argument is the index and the second is the length +- accepts a range +- returns nil when the start of a range is out of bounds +- returns an empty array when the start of a range equals the last element +C-API Array function rb_iterate +- calls an callback function as a block passed to an method +C-API Array function rb_ary_delete +- removes an element from an array and returns it +- returns nil if the element is not in the array /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/bignum_spec.rb +CApiBignumSpecs rb_big2long +- converts a Bignum +- raises RangeError if passed Bignum overflow long +CApiBignumSpecs rb_big2ll +- converts a Bignum +- raises RangeError if passed Bignum overflow long +CApiBignumSpecs rb_big2ulong +- converts a Bignum +- wraps around if passed a negative bignum +- raises RangeError if passed Bignum overflow long +CApiBignumSpecs rb_big2dbl +- converts a Bignum to a double value +- returns Infinity if the number is too big for a double +- returns -Infinity if the number is negative and too big for a double (FAILED - ) +CApiBignumSpecs rb_big2str +- converts a Bignum to a string with base 10 +- converts a Bignum to a string with a different base /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/class_spec.rb +C-API Class function rb_class_new_instance +- allocates and initializes a new object +- passes arguments to the #initialize method +C-API Class function rb_include_module +- includes a module into a class +C-API Class function rb_define_attr +- defines an attr_reader when passed true, false +- defines an attr_writer when passed false, true +- defines an attr_accessor when passed true, true +C-API Class function rb_call_super +- calls the method in the superclass +C-API Class function rb_class2name +- returns the class name +C-API Class function rb_cvar_defined +- returns false when the class variable is not defined +- returns true when the class variable is defined +- returns true if the class instance variable is defined +C-API Class function rb_cv_set +- sets a class variable +C-API Class function rb_cv_get +- returns the value of the class variable +- raises a NameError if the class variable is not defined +C-API Class function rb_cvar_set +- sets a class variable +C-API Class function rb_define_class_variable +- sets a class variable +C-API Class function rb_cvar_get +- returns the value of the class variable +- raises a NameError if the class variable is not defined +C-API Class function rb_class_inherited +- calls superclass.inherited(subclass) +- calls Object.inherited(subclass) if superclass is C NULL +C-API Class function rb_class_new +- returns an new subclass of the superclass +- raises a TypeError if passed Class as the superclass +- raises a TypeError if passed a singleton class as the superclass /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/constants_spec.rb +C-API constant +- rb_cArray references the Array class +- rb_cBignum references the Bignum class +- rb_cClass references the Class class +- rb_mComparable references the Comparable module +- rb_cData references the Data class +- rb_mEnumerable references the Enumerable module +- rb_cFalseClass references the FalseClass class +- rb_cFile references the File class +- rb_cFixnum references the Fixnum class +- rb_cFloat references the Float class +- rb_cHash references the Hash class +- rb_cInteger references the Integer class +- rb_cIO references the IO class +- rb_mKernel references the Kernel module +- rb_cMatch references the MatchData class +- rb_cModule references the Module class +- rb_cNilClass references the NilClass class +- rb_cNumeric references the Numeric class +- rb_cObject references the Object class +- rb_cRange references the Range class +- rb_cRegexp references the Regexp class +- rb_cString references the String class +- rb_cStruct references the Struct class +- rb_cSymbol references the Symbol class +- rb_cThread references the Thread class +- rb_cTrueClass references the TrueClass class +- rb_cProc references the Proc class +C-API exception constant +- rb_eArgError references the ArgumentError class +- rb_eEOFError references the EOFError class +- rb_eErrno references the Errno module +- rb_eException references the Exception class +- rb_eFloatDomainError references the FloatDomainError class +- rb_eIndexError references the IndexError class +- rb_eInterrupt references the Interrupt class +- rb_eIOError references the IOError class +- rb_eLoadError references the LoadError class +- rb_eLocalJumpError references the LocalJumpError class +- rb_eNameError references the NameError class +- rb_eNoMemError references the NoMemoryError class +- rb_eNoMethodError references the NoMethodError class +- rb_eNotImpError references the NotImplementedError class +- rb_eRangeError references the RangeError class +- rb_eRegexpError references the RegexpError class +- rb_eRuntimeError references the RuntimeError class +- rb_eScriptError references the ScriptError class +- rb_eSecurityError references the SecurityError class +- rb_eSignal references the SignalException class +- rb_eStandardError references the StandardError class +- rb_eSyntaxError references the SyntaxError class +- rb_eSystemCallError references the SystemCallError class +- rb_eSystemExit references the SystemExit class +- rb_eSysStackError references the SystemStackError class +- rb_eTypeError references the TypeError class +- rb_eThreadError references the ThreadError class +- rb_eZeroDivError references the ZeroDivisionError class /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/data_spec.rb +CApiAllocSpecs (a class with an alloc func defined) +- calls the alloc func +CApiWrappedStruct +- Data_Wrap_Struct should wrap and Data_Get_Struct should return data +- RDATA()->data should return the struct data +- Changing RDATA()->data should change the wrapped struct +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/ext/exception_spec.c: In function ‘exception_spec_rb_set_errinfo’: +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/ext/exception_spec.c:: warning: implicit declaration of function ‘rb_set_errinfo’ /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/exception_spec.rb +C-API Exception function rb_exc_new +- creates an exception from a C string and length +C-API Exception function rb_exc_new2 +- creates an exception from a C string +C-API Exception function rb_exc_new3 +- creates an exception from a Ruby string +C-API Exception function rb_exc_raise +- raises passed exception /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/float_spec.rb +CApiFloatSpecs rb_float_new +- should create a new float +CApiFloatSpecs RFLOAT +- returns a struct with the Float value +- allows changing the Float value +CApiFloatSpecs rb_Float +- should create a new Float from a String /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/gc_spec.rb +CApiGCSpecs +- correctly gets the value from a registered address /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/globals_spec.rb +CApiGlobalSpecs +- correctly gets global values +- correctly sets global values +- lists all global variables +- rb_define_variable should define a new global variable +- rb_define_readonly_variable should define a new readonly global variable +- rb_define_hooked_variable should define a C hooked global variable +CApiGlobalSpecs rb_set_kcode +- sets the value of $KCODE /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/hash_spec.rb +C-API Hash function rb_hash_new +- returns a new hash +C-API Hash function rb_hash_aref +- returns the value associated with the key +- returns the default value if it exists +- returns nil if the key does not exist +C-API Hash function rb_hash_aset +- adds the key/value pair and returns the value +C-API Hash function rb_hash_delete +- removes the key and returns the value +C-API Hash function rb_hash_foreach +- iterates over the hash /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/io_spec.rb +C-API IO function rb_io_write +- sends #write to the object passing the object to be written /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/kernel_spec.rb +C-API Kernel function rb_block_given_p +- returns false if no block is passed +- returns true if a block is passed +C-API Kernel function rb_raise +- raises an exception +- terminates the function at the point it was called +C-API Kernel function rb_throw +- sets the return value of the catch block to the specified value +- terminates the function at the point it was called - raises a NameError if there is no catch block for the symbol +C-API Kernel function rb_warn +- prints a message to $stderr if $VERBOSE evaluates to true +- prints a message to $stderr if $VERBOSE evaluates to false +C-API Kernel function rb_sys_fail +- raises an exception from the value of errno +C-API Kernel function rb_yield +- yields passed argument +- returns the result from block evaluation +- raises LocalJumpError when no block is given +C-API Kernel function rb_yield_values +- yields passed arguments +- returns the result from block evaluation +- raises LocalJumpError when no block is given +C-API Kernel function rb_rescue +- executes passed function +- executes passed 'raise function' if a StardardError exception is raised +- raises an exception if passed function raises an exception other than StardardError +- raises an exception if any exception is raised inside 'raise function' +- makes $! available only during 'raise function' execution +C-API Kernel function rb_rescue2 +- only rescues if one of the passed exceptions is raised +C-API Kernel function rb_ensure +- executes passed function and returns its value +- executes passed 'ensure function' when no exception is raised +- executes passed 'ensure function' when an exception is raised +- raises the same exception raised inside passed function +C-API Kernel function rb_eval_string +- evaluates a string of ruby code +C-API Kernel function rb_block_proc +- converts the implicit block into a proc /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/module_spec.rb +CApiModule rb_define_global_const +- defines a constant on Object +CApiModule rb_const_set given a symbol name and a value +- sets a new constant on a module +- sets an existing constant's value +CApiModule rb_define_class_under +- creates a subclass of the superclass contained in a module +- uses Object as the superclass if NULL is passed +- sets the class name +- call #inherited on the superclass +CApiModule rb_define_module_under +- creates a new module inside the inner class +- sets the module name +CApiModule rb_define_const given a String name and a value +- defines a new constant on a module +- sets an existing constant's value +CApiModule rb_const_defined +- returns C non-zero if a constant is defined +- returns C non-zero if a constant is defined in Object +CApiModule rb_const_defined_at +- returns C non-zero if a constant is defined +- does not search in ancestors for the constant +- does not search in Object +CApiModule rb_const_get +- returns a constant defined in the module +- returns a constant defined at toplevel +- returns a constant defined in a superclass +- calls #const_missing if the constant is not defined in the class or ancestors +CApiModule rb_const_get_from +- returns a constant defined in the module +- returns a constant defined in a superclass +- calls #const_missing if the constant is not defined in the class or ancestors +CApiModule rb_const_get_at +- returns a constant defined in the module +- calls #const_missing if the constant is not defined in the module +CApiModule rb_define_alias +- defines an alias for an existing method +CApiModule rb_define_global_function +- defines a method on Object +CApiModule rb_define_method +- defines a method on a class +- defines a method on a module +CApiModule rb_define_module_function +- defines a module function +- defines a private instance method +CApiModule rb_define_private_method +- defines a private method on a class +- defines a private method on a module +CApiModule rb_define_protected_method +- defines a protected method on a class +- defines a protected method on a module +CApiModule rb_define_singleton_method +- defines a method on the singleton class +CApiModule rb_undef_method +- undef'ines a method on a class +CApiModule rb_class2name +- returns the module name /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/numeric_spec.rb +CApiNumericSpecs rb_num2long +- raises an TypeError if passed nil +- converts a Float +- converts a Bignum +- converts a Fixnum +- calls #to_int to coerce the value +CApiNumericSpecs rb_num2ulong +- raises an TypeError if passed nil +- converts a Float +- converts a Bignum +- converts a Fixnum +- calls #to_int to coerce the value +CApiNumericSpecs rb_Integer +- should create a new Integer from a String +CApiNumericSpecs rb_ll2inum +- should create a new Fixnum from a small signed long long +CApiNumericSpecs rb_int2inum +- should create a new Fixnum from a long +CApiNumericSpecs rb_num2dbl +- raises an TypeError if passed nil +- raises an TypeError if passed a String +- converts a Float +- converts a Bignum +- converts a Fixnum +- calls #to_f to coerce the value +CApiNumericSpecs NUM2CHR +- returns the first character of a String +- returns the least significant byte of an Integer +- returns the least significant byte of a Float converted to an Integer +- raises a TypeError when passed an empty String /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/object_spec.rb +CApiObject +- rb_obj_alloc should allocate a new uninitialized object +- rb_obj_call_init should send #initialize +- rb_is_instance_of should return true if an object is an instance +- rb_is_kind_of should return true if an object is an instance or descendent +- rb_respond_to should return 1 if respond_to? is true and 0 if respond_to? is false +- rb_to_id should return a symbol representation of the object +- rb_require should require a ruby file +- rb_attr_get should get an instance variable +- rb_check_array_type should try to coerce to array, otherwise return nil +- rb_check_convert_type should try to coerce to a type, otherwise return nil +- rb_check_string_type should try to coerce to a string, otherwise return nil +- rb_convert_type should try to coerce to a type, otherwise raise a TypeError +- rb_inspect should return a string with the inspect representation +- rb_class_of should return the class of a object +- rb_obj_classname should return the class name of a object +- rb_type should return the type constant for the object +CApiObject RTEST +- returns C false if passed Qfalse +- returns C false if passed Qnil +- returns C true if passed Qtrue +- returns C true if passed a Symbol +- returns C true if passed an Object +CApiObject rb_special_const_p +- returns true if passed Qfalse +- returns true if passed Qtrue +- returns true if passed Qnil +- returns true if passed a Symbol +- returns true if passed a Fixnum +- returns false if passed an Object +CApiObject rb_extend_object +- add the module's instance methods to the object +CApiObject OBJ_TAINT +- taints the object +CApiObject OBJ_TAINTED +- returns C true if the object is tainted +- returns C false if the object is not tainted +CApiObject rb_obj_freeze +- freezes the object passed to it +CApiObject rb_obj_taint +- marks the object passed as tainted +- raises a TypeError if the object passed is frozen +CApiObject rb_check_frozen +- raises a TypeError if the obj is frozen +- does nothing when object isn't frozen +CApiObject rb_any_to_s +- converts obj to string +CApiObject rb_to_int +- returns self when called on an Integer +- returns self when called on a Bignum +- calls #to_int to convert and object to an integer +- converts a Float to an Integer by truncation +- raises a TypeError if #to_int does not return an Integer +- raises a TypeError if called with nil +- raises a TypeError if called with true +- raises a TypeError if called with false +- raises a TypeError if called with a String +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/ext/proc_spec.c: In function ‘sp_underline_concat_proc’: +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/ext/proc_spec.c:: warning: implicit declaration of function ‘rb_proc_new’ /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/proc_spec.rb +CApiProc +- rb_proc_new should return a new valid Proc +- rb_proc_new returned proc should have arity -1 /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/range_spec.rb +C-API Range function rb_range_new - constructs a range using the given start and end - includes the end object when the third parameter is omitted or false - raises an ArgumentError when the given start and end can't be compared by using #<=> /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/safe_spec.rb +CApiSafeSpecs +- has a default safe level of 0 +- throws an error when rb_secure is called with argument >= SAFE +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/ext/string_spec.c: In function ‘string_spec_rb_str_len’: +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/ext/string_spec.c:: warning: implicit declaration of function ‘rb_str_len’ /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/string_spec.rb +C-API String function rb_str_new +- returns a new string object from a char buffer of len characters +- returns an empty string if len is 0 +C-API String function rb_str_new2 +- returns a new string object calling strlen on the passed C string +- rb_str_new2 should raise ArgumentError if passed NULL +C-API String function rb_str_new3 +- returns a copy of the string +C-API String function rb_str_dup +- returns a copy of the string +C-API String function rb_str_append +- appends a string to another string +C-API String function rb_str_plus +- returns a new string from concatenating two other strings +C-API String function rb_str_buf_cat +- concatenates a C string to a ruby string +C-API String function rb_str_cat +- concatenates a C string to ruby string +C-API String function rb_str_cat2 +- concatenates a C string to a ruby string +C-API String function rb_str_cmp +- returns 0 if two strings are identical +- returns -1 if the first string is shorter than the second +- returns -1 if the first string is lexically less than the second +- returns 1 if the first string is longer than the second +- returns 1 if the first string is lexically greater than the second +C-API String function rb_str_split +- splits strings over a splitter +C-API String function rb_str2inum +- converts a string to a number given a base +C-API String function rb_cstr2inum +- converts a C string to a number given a base +C-API String function rb_str_substr +- returns a substring +C-API String function rb_str_to_str +- calls #to_str to coerce the value to a String +- raises a TypeError if coercion fails +C-API String function RSTRING +- returns struct with a pointer to the string's contents +- allows changing the characters in the string +- allows changing the string and calling a rb_str_xxx function +- allows changing the string and calling a method via rb_funcall +- returns a struct with the string's length +C-API String function RSTRING_PTR +- returns a pointer to the string's contents +- allows changing the characters in the string +- reflects changes after a rb_funcall +C-API String function RSTRING_LEN +- returns the size of the string +C-API String function StringValue +- does not call #to_str on a String +- does not call #to_s on a String - calls #to_str on non-String objects +- does not call #to_s on non-String objects +C-API String function rb_str_resize +- reduces the size of the string +- updates the string's attributes visible in C code +- increases the size of the string +C-API String function rb_str_intern +- returns a symbol created from the string +- raises an ArgumentError if passed an empty string +- raises an ArgumentError if the passed string contains NULL characters +C-API String function rb_str2cstr +- returns a pointer to the string's content and its length +- allows changing the characters in the string +- issues a warning iff passed string contains a NULL character, $VERBOSE = true and len parameter is NULL +C-API String function STR2CSTR +- returns a pointer to the string's content +- allows changing the characters in the string +C-API String function rb_str_freeze +- freezes the string /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/struct_spec.rb +CApiStruct +- rb_struct_define defines a structure +- rb_struct_define allows for anonymous structures /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/symbol_spec.rb +C-API Symbol function rb_is_const_id +- returns true given a const-like symbol +- returns false given an ivar-like symbol +- returns false given a cvar-like symbol +- returns false given an undecorated symbol +C-API Symbol function rb_is_instance_id +- returns false given a const-like symbol +- returns true given an ivar-like symbol +- returns false given a cvar-like symbol +- returns false given an undecorated symbol +C-API Symbol function rb_is_class_id +- returns false given a const-like symbol +- returns false given an ivar-like symbol +- returns true given a cvar-like symbol +- returns false given an undecorated symbol +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/ext/thread_spec.c: In function ‘thread_spec_rb_thread_blocking_region’: +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/ext/thread_spec.c:: warning: implicit declaration of function ‘rb_thread_blocking_region’ /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/thread_spec.rb +CApiThreadSpecs rb_thread_select +- returns true if an fd is ready to read +- does not block all threads +CApiThreadSpecs rb_thread_alone +- returns true if there is only one thread +CApiThreadSpecs rb_thread_current +- equals Thread.current +CApiThreadSpecs rb_thread_local_aref +- returns the value of a thread-local variable +- returns nil if the value has not been set +CApiThreadSpecs rb_thread_local_aset +- sets the value of a thread-local variable /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/time_spec.rb +CApiTimeSpecs rb_time_new +- creates a Time from the sec and usec +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/ffi/buffer_spec.rb (ERROR - ) /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/ffi/callback_spec.rb - (ERROR - ) /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/ffi/enum_spec.rb @@ 33121 @@ ) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR +ThreadError: Thread#join: deadlock 0xf7fc7ee0 - mutual join(0xf7823d00) /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ 33666 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/bin/mspec-run:8 ) +CApiBignumSpecs rb_big2dbl returns -Infinity if the number is negative and too big for a double FAILED +Expected Infinity + to equal -Infinity /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/matchers/base.rb:8:in `==' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/bignum_spec.rb:74 /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/bignum_spec.rb:56:in `all?' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/context.rb:179:in `each' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/context.rb:179:in `all?' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 33688 @@ /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/context.rb:228:in `process' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/object.rb:11:in `describe' +/var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//rubyspec/optional/capi/bignum_spec.rb:9 /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/mspec.rb:56:in `load' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/mspec.rb:56:in `files' /var/lib/chkbuild/tmp/build/ruby-1.8.7-o3//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 34045 @@ Finished in seconds +3302 files, 13382 examples, expectations, 25 failures, 33 errors exit 1 failed(rubyspec) == end #