OlderDiff < 20101018T012320Z < ThisDiff > 20101019T012220Z > 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 =================================================================== +++ 20101019T012220Z @@ 74907 @@ C-API Array function rb_ary_new2 - returns an empty array +- returns an array which can be assigned to from C +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 @@ 74987 @@ - 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 Finished in <t> seconds @@ 75047 @@ 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 @@ 75274 @@ == rubyspec/optional/capi/io_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/bin/ruby rubyspec/optional/capi/io_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/optional/capi/ext/io_spec.c: In function [e28098]io_spec_rb_io_wait_readable[e28099]: +/home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/optional/capi/ext/io_spec.c:<line_a>: warning: implicit declaration of function [e28098]read[e28099] /home/chkbuild/tmp/build/ruby-1.8.6-pth/<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 +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 Finished in <t> seconds @@ 75341 @@ - 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 @@ 75371 @@ Finished in <t> seconds +1 file, 31 examples, <num> expectations, 0 failures, 0 errors == rubyspec/optional/capi/module_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/bin/ruby rubyspec/optional/capi/module_spec.rb ruby <version> @@ 75450 @@ CApiModule rb_undef_method - undef'ines a method on a class +CApiModule rb_undef - undef'ines a method on a class CApiModule rb_class2name @@ 75459 @@ Finished in <t> seconds +1 file, 39 examples, <num> expectations, 0 failures, 0 errors == rubyspec/optional/capi/numeric_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/bin/ruby rubyspec/optional/capi/numeric_spec.rb ruby <version> @@ 75557 @@ 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 @@ 75582 @@ - 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 Finished in <t> seconds @@ 75631 @@ Finished in <t> seconds 1 file, 3 examples, <num> expectations, 0 failures, 0 errors +== rubyspec/optional/capi/regexp_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/bin/ruby rubyspec/optional/capi/regexp_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8.6-pth/<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 Finished in <t> seconds @@ 75678 @@ 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 +- returns a string which can be assigned to from C C-API String function rb_str_dup - returns a copy of the string @@ 75790 @@ ruby <version> /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/optional/capi/symbol_spec.rb +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 @@ 75858 @@ Finished in <t> seconds 1 file, 1 example, <num> expectation, 0 failures, 0 errors +== rubyspec/optional/capi/util_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/bin/ruby rubyspec/optional/capi/util_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8.6-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 =================================================================== --- 20101018T012320Z @@ 75108 @@ Finished in <t> seconds -1 file, 46 examples, <num> expectations, 0 failures, 0 errors == rubyspec/optional/capi/proc_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8.6-pth/<buildtime>/bin/ruby rubyspec/optional/capi/proc_spec.rb ruby <version>
OlderDiff < 20101018T012320Z < ThisDiff > 20101019T012220Z > NewerDiff