OlderDiff < 20101017T193916Z < ThisDiff > 20101018T193913Z > NewerDiff
COMMIT adjust to work with jruby cext COMMIT add C api spec for rb_obj_instance_eval COMMIT add spec for rb_path2class COMMIT capi spec for rb_ary_new4 COMMIT capi spec for rb_ary_delete_at COMMIT add capi spec for class_name COMMIT spec for rb_ary_new3 COMMIT add jruby to capi spec guards for things jruby does not support COMMIT catch a more generic system error, because jruby will have a different error code here COMMIT add additional C api spec for rb_ary_new2 COMMIT add jruby undefs COMMIT fix typo COMMIT don't use RARRAY on 1.9 COMMIT add capi spec rb_yield_splat COMMIT describe rb_undef for capi specs COMMIT ad rb_intern spec COMMIT add capi specs for instance variable access COMMIT add specs for rb_str_buf_new COMMIT add rb_id2name spec COMMIT add more capi io specs COMMIT add capi spec for rb_scan_args COMMIT add specs for regex functioniality COMMIT add capi io spec for fd access via GetOpenFile COMMIT Merge branch 'jruby-capi-work' of http://github.com/timfel/rubyspec into timfel =================================================================== +++ 20101018T193913Z @@ 9651 @@ <elapsed> s: . OpenSSL::TestSSL#test_sslctx_set_params: /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/ssl-internal.rb:<line_a>: warning: using default DH parameters. <elapsed> s: . +OpenSSL::TestSSL#test_starttls: /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>: warning: SSL session is not started yet. /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_c>: warning: SSL session is not started yet. /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_c>: warning: SSL session is not started yet. /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>: warning: SSL session is not started yet. @@ 46342 @@ C-API Array function rb_ary_new2 - returns an empty array +C-API Array function rb_ary_new3 +- returns an array with the passed cardinality and varargs +C-API Array function rb_ary_new4 +- returns returns an array with the passed values C-API Array function rb_ary_push - adds an element to the array @@ 46413 @@ - removes an element from an array and returns it - returns nil if the element is not in the array +C-API Array function rb_ary_delete_at +- removes an element from an array at the specified index /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/bignum_spec.rb CApiBignumSpecs rb_big2long @@ 46458 @@ C-API Class function rb_class2name - returns the class name +C-API Class function rb_class_name - returns the class name +C-API Class function rb_path2class +- returns the class C-API Class function rb_cvar_defined - returns false when the class variable is not defined @@ 46615 @@ C-API Hash function rb_hash_foreach - iterates over the hash +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/io_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/ext/io_spec.c: In function 'io_spec_rb_io_wait_readable': +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/ext/io_spec.c:<line_a>: warning: implicit declaration of function 'read' C-API IO function rb_io_write - sends #write to the object passing the object to be written +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 +- allows access to the system fileno /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/kernel_spec.rb C-API Kernel function rb_block_given_p @@ 46673 @@ - returns the result from block evaluation - raises LocalJumpError when no block is given +C-API Kernel function rb_yield_splat +- yields with passed array's contents - returns the result from block evaluation - raises LocalJumpError when no block is given @@ 46774 @@ CApiModule rb_undef_method - undef'ines a method on a class +CApiModule rb_undef - undef'ines a method on a class CApiModule rb_class2name @@ 46865 @@ CApiObject rb_obj_freeze - freezes the object passed to it +CApiObject rb_obj_instance_eval +- evaluates the block in the object context, that includes private methods CApiObject rb_obj_taint - marks the object passed as tainted @@ 46890 @@ - raises a TypeError if called with false - raises a TypeError if called with a String +CApiObject instance variable access rb_iv_get +- returns the instance variable on an object +- returns nil if the instance variable has not been initialized +CApiObject instance variable access rb_iv_set +- sets and returns the instance variable on an object +CApiObject instance variable access rb_ivar_get +- returns the instance variable on an object +- returns nil if the instance variable has not been initialized +CApiObject instance variable access rb_ivar_set +- sets and returns the instance variable on an object +CApiObject instance variable access rb_ivar_defined +- returns true if the instance variable is defined +- returns false if the instance variable is not defined /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/proc_spec.rb CApiProc @@ 46919 @@ - 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 #<=> (FAILED - <n>) +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/regexp_spec.rb +C-API Regex functions +- allows matching in C, properly setting the back references +C-API Regex functions rb_reg_options +- returns the options used to create the regexp +C-API Regex functions rb_reg_regcomp +- creates a valid regexp from a string /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/safe_spec.rb CApiSafeSpecs @@ 46947 @@ C-API String function rb_str_new3 - returns a copy of the string +C-API String function rb_str_buf_new - returns an empty string C-API String function rb_str_dup @@ 47025 @@ - rb_struct_define defines a structure and returns members as symbol - rb_struct_define allows for anonymous structures +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/symbol_spec.rb /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/ext/symbol_spec.c: In function 'symbol_spec_rb_id2name': +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/ext/symbol_spec.c:<line_a>: warning: initialization discards qualifiers from pointer target type +C-API Symbol function rb_intern +- converts a string to a symbol, uniquely +C-API Symbol function rb_id2name +- converts a symbol to a C char array C-API Symbol function rb_is_const_id - returns true given a const-like symbol @@ 47074 @@ CApiTimeSpecs rb_time_new - creates a Time from the sec and usec (FAILED - <n>) +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<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 <n>) @@ 47418 @@ <n>) C-API String function rb_str_resize increases the size of the string FAILED +Expected "test\xC1" to equal "test\x00" +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/string_spec.rb:281:in `block (3 levels) in <top (required)>' /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/string_spec.rb:5:in `<top (required)>' <n>) @@ 47434 @@ Finished in <t> seconds +3286 files, 15410 examples, <num> expectations, 22 failures, 2 errors exit 1 failed(rubyspec) == end # <time> =================================================================== --- 20101017T193916Z @@ 9651 @@ <elapsed> s: . OpenSSL::TestSSL#test_sslctx_set_params: /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/ssl-internal.rb:<line_a>: warning: using default DH parameters. <elapsed> s: . -OpenSSL::TestSSL#test_starttls: /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_b>: warning: SSL session is not started yet. /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>: warning: SSL session is not started yet. /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_c>: warning: SSL session is not started yet. /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>: warning: SSL session is not started yet. @@ 46601 @@ C-API Hash function rb_hash_foreach - iterates over the hash -/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/io_spec.rb C-API IO function rb_io_write - sends #write to the object passing the object to be written @@ 46946 @@ - rb_struct_define defines a structure and returns members as symbol - rb_struct_define allows for anonymous structures -/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/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 @@ 47324 @@ <n>) C-API String function rb_str_resize increases the size of the string FAILED -Expected "test\xC3" to equal "test\x00" -/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/string_spec.rb:266:in `block (3 levels) in <top (required)>' /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.2/<buildtime>/rubyspec/optional/capi/string_spec.rb:5:in `<top (required)>' <n>) @@ 47340 @@ Finished in <t> seconds -3284 files, 15373 examples, <num> expectations, 22 failures, 2 errors exit 1 failed(rubyspec) == end # <time>
OlderDiff < 20101017T193916Z < ThisDiff > 20101018T193913Z > NewerDiff