OlderDiff < 20110127T024204Z < ThisDiff > 20110308T013121Z > NewerDiff
OLDREV 30605 NEWREV 31013 CHG ChangeLog 30604->31013 CHG array.c 29815->31013 CHG enum.c 27059->31013 CHG error.c 25430->30903 CHG version.h 30605->31012 CHG lib/fileutils.rb 28436->30905 CHG test/ruby/test_exception.rb 11708->30903 COMMIT [Evan Phoenix] Add profile formatter COMMIT [Brian Ford] Change metaclass to singleton_class in MSpec. COMMIT [Brian Ford] Ignore ruby.1.[89].mspec in default.mspec spec. COMMIT [Brian Ford] Add ability to override the Ruby version for eg ruby_version_is guard. COMMIT [Brian Ford] Added string or symbol helper for MSpec. COMMIT [Brian Ford] Respect privacy of method_missing in Ruby. COMMIT [Brian Ford] Load ActionFilter before custom mspec scripts. COMMIT [Brian Ford] Added have_singleton_method matcher. COMMIT [Charles Oliver Nutter] Remove rogue command-line example comment from popen spec. COMMIT [Charles Oliver Nutter] Basic specs for special encoding names "external", "internal", "locale", and "filesystem". COMMIT [Charles Oliver Nutter] Add spec for String#rindex against multi-byte characters. COMMIT [Hiro Asari] No rounding should happen here. COMMIT [Hiro Asari] remove unnecessary comment COMMIT [Hiro Asari] JRuby supports only microseconds COMMIT [Hiro Asari] abort raises TypeError when arg cannot be converted to String COMMIT [Brian Ford] A bunch of BasicObject spec fixes. COMMIT [Charles Oliver Nutter] Add spec for marshaling a BasicObject subclass (1.9). COMMIT [NARUSE, Yui] Follow r30455: Error#to_s should ensure that the value returned is a string. COMMIT [NARUSE, Yui] Ruby doesn't have UNIXSocket#mode. COMMIT [NARUSE, Yui] Ruby 1.9's Time#inspect format is "YYYY-MM-DD hh:mm:dd +-ZZZZ". COMMIT [NARUSE, Yui] String#tr raises a ArgumentError from Ruby 1.9.2. COMMIT [NARUSE, Yui] Support Linux and FreeBSD. COMMIT [NARUSE, Yui] Follow 1.9's change. COMMIT [NARUSE, Yui] Specify hostname to TCPServer.new for IPv4/IPv6. COMMIT [David Calavera] Spec to ensure IO#readpartial works with multibyte characters. Closes #41. COMMIT [Dirkjan Bussink] Use RUBY_EXE instead of an environment variable COMMIT [NARUSE, Yui] Follow mspec's change 52edd74d311ccb499d47. COMMIT [Charles Oliver Nutter] system('@something') should run in shell on Windows, treating as comment. COMMIT [NARUSE, Yui] Explicitly specify hostname for TCPServer.new. COMMIT [Charles Oliver Nutter] Specs for source_location against define_method and define_singleton_method methods. COMMIT [Charles Oliver Nutter] Add spec for $! result after failed coercion by a core class against a method_missing-implementing class. COMMIT [Charles Oliver Nutter] Add spec for rb_call_super used through two levels of native code (JRUBY-5548) COMMIT [Charles Oliver Nutter] Add a dirt-simple spec for options argument to IO.foreach. COMMIT [Brian Ford] Fixed Array#inspect specs for tainted Array or elements. COMMIT [Brian Ford] Fixed order-dependent Hash#each spec. COMMIT [Evan Phoenix] Mild cleanup and clarify modification during iteration spec COMMIT [Brian Ford] Enhance spec for Array#inspect tainting result. COMMIT [Ivan Samsonov] Enhance spec for using in Hash#[]= already frozen keys. COMMIT [Dirkjan Bussink] Add spec for rb_str_buf_new2 COMMIT [Chuck Remes] improve string arg handling so numbers are always decimal COMMIT [Santiago Pastorino] String#strip should remove null bytes only if they are last and consecutives COMMIT [Evan Phoenix] Add spec for module_eval + lexical constant scope COMMIT [Evan Phoenix] Add spec for IO#expect COMMIT [Brian Ford] Fixed String#strip, #rstrip specs for 1.9. COMMIT [Evan Phoenix] Format fix some Time specs COMMIT [Evan Phoenix] Add a few more arg type check specs for Time COMMIT [Mikko Perttunen] Make sure TCPSocket.new (shared) spec cleans up properly after failing (fixes hang) COMMIT [Dirkjan Bussink] Add specs for defining attribute methods on immediates COMMIT [Evan Phoenix] Flesh out string coerce specs in StringScanner COMMIT [Dirkjan Bussink] Add specs that Kernel#object_id shouldn't collide COMMIT [Brian Ford] Rewrote Kernel#singleton_methods specs. COMMIT [Ivan Samsonov] Enhance Module#define_method spec COMMIT [Brian Ford] Spec for File.expand_path('~'). COMMIT [Brian Ford] Added Module#define_method with block specs for arity checking. COMMIT [Brian Ford] Quarantine #freeze specs temporarily. COMMIT [Brian Ford] More method reflection specs. COMMIT [Dirkjan Bussink] Add missing return in CAPI Array spec COMMIT [Evan Phoenix] Add spec for visibility+alias changes COMMIT [Evan Phoenix] Add spec for a directory with a glob COMMIT [Thiago Pradi] Specs for Hash[] method when passing an array COMMIT [Brian Ford] Fixed Hash.[] spec for 1.8.6. COMMIT [Brian Ford] Spec for eval locals at script scope. COMMIT [Evan Phoenix] Cleanup eval specs COMMIT [Aman Gupta] Handle ST_DELETE returns from the rb_hash_foreach callback COMMIT [Brian Ford] Language specs for break. COMMIT [Jari Bakken] Add spec for reuse of an Exception's backtrace. COMMIT [John Mair] Added new specs for Class#dup COMMIT [Brian Ford] Clarify language/break specs for non-compliant rbx behavior. COMMIT [Evan Phoenix] Add extra spec for magic + braces in one name =================================================================== +++ 20110308T013121Z @@ 5 @@ Release: 6.0 Codename: squeeze == start # <time> +option :autoconf_command => "autoconf" +option :cflags => [] +option :complete_options => ChkBuild::Ruby::CompleteOptions +option :configure_args => [] +option :configure_args_pthread => ["--enable-pthread"] +option :configure_args_valgrind => ["--with-valgrind"] +option :cppflags => ["-DRUBY_DEBUG_ENV"] +option :debugflags => ["-g"] +option :dldflags => [] +option :inplace_build => true +option :limit_as => 838860800 +option :limit_cpu => 14400 +option :limit_data => 838860800 +option :limit_stack => 41943040 +option :make_options => {} +option :num_oldbuilds => 3 +option :optflags => ["-O2"] +option :output_interval_timeout => "5min" +option :ruby_branch => "branches/ruby_1_8" +option :suffix_1 => "1.8" +option :suffix_2 => "pth" +option :timeout => "1h" +option :use_rubyspec => true +option :warnflags => ["-W", "-Wall", "-Wformat=2", "-Wundef", "-Wno-parentheses", "-Wno-unused-parameter", "-Wno-missing-field-initializers"] == svn/ruby # <time> ++ svn checkout http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 ruby CHECKOUT svn http://svn.ruby-lang.org/repos/ruby branches/ruby_1_8 VIEWER ViewVC http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?diff_format=u == svn-info/ruby # <time> @@ 59 @@ + git clone -q /home/chkbuild/tmp/build/git-repos/rubyspec rubyspec CHECKOUT git git://github.com/rubyspec/rubyspec.git rubyspec == configure # <time> ++ ./configure --prefix=/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime> CPPFLAGS=-DRUBY_DEBUG_ENV optflags=-O2 debugflags=-g 'warnflags=-W -Wall -Wformat=2 -Wundef -Wno-parentheses -Wno-unused-parameter -Wno-missing-field-initializers' --enable-pthread --with-valgrind configure: WARNING: unrecognized options: --with-valgrind checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu @@ 3427 @@ tcltklib.c: In function [e28098]tcltklib_compile_info[e28099]: tcltklib.c:<line_a>: warning: format not a string literal, argument types not checked gcc -I. -I../.. -I../../. -I../.././ext/tk -I/usr/include/tcl8.4 -DHAVE_RB_SAFE_LEVEL -DHAVE_RB_HASH_LOOKUP -DHAVE_RB_PROC_NEW -DHAVE_RB_OBJ_TAINT -DHAVE_STRUCT_RARRAY_PTR -DHAVE_ST_PTR -DHAVE_STRUCT_RARRAY_LEN -DHAVE_ST_LEN -DHAVE_TK_H -DRUBY_DEBUG_ENV -DWITH_TCL_ENABLE_THREAD=1 -DRUBY_VERSION=\"1.8.8\" -DRUBY_RELEASE_DATE=\"YYYY-MM-DD\" -fPIC -O2 -g -W -Wall -Wformat=2 -Wundef -Wno-parentheses -Wno-unused-parameter -Wno-missing-field-initializers -o stubs.o -c stubs.c +gcc -shared -o ../../.ext/x86_64-linux/tcltklib.so tcltklib.o stubs.o -L. -L../.. -L/opt/lib -Wl,-R/opt/lib -L/usr/local/share/lib -Wl,-R/usr/local/share/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/share/lib -Wl,-R/usr/share/lib -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic -ltk8.4 -ltcl8.4 -lX11 -lm -ldl -lpthread -lrt -ldl -lcrypt -lm -lc /bin/mkdir -p ../../.ext/common/tk /bin/mkdir -p ../../.ext/common/tkextlib /bin/mkdir -p ../../.ext/common/tkextlib/tkHTML @@ 6247 @@ test_nil_instance_eval_cvar(TestEval): . test_else(TestException): . test_exception(TestException): . +test_to_s_taintness_propagation(TestException): . test_each_byte_extended_file(TestFile): . test_eof_0(TestFile): . test_eof_0_rw(TestFile): . @@ 7515 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/ruby/test/net/http/test_connection.rb:20:in `test_connection_refused_in_request' --------------- +2716 tests, 1675910 assertions, 3 failures, 0 errors make: *** [test-all] [e382a8e383a9e383bc] 1 exit 2 failed(test-all) @@ 8356 @@ - returns a string - calls inspect on its elements - handles recursive arrays +- taints the result String if the Array is tainted +- taints the result String if an element is tainted +- does not taint the result String if the Array is empty /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/intersection_spec.rb Array#& @@ 10278 @@ - properly handles recursive arrays - accepts a block instead of an argument - ignore the block if there is an argument +- rechecks the array size during iteration Array#rindex given no argument and no block - produces an Enumerator @@ 10538 @@ - does not return subclass instance on Array subclasses /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/__send___spec.rb +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/ancestors_spec.rb +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basicobject_spec.rb (ERROR - <n>) +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/class_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/equal_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/equal_value_spec.rb +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/initialize_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/instance_eval_spec.rb +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/instance_exec_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/method_missing_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/new_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_equal_spec.rb @@ 10555 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/singleton_method_added_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/singleton_method_removed_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/singleton_method_undefined_spec.rb +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/superclass_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/bignum/abs_spec.rb Bignum#abs - returns the absolute value @@ 10877 @@ - returns a fully-formed instance of Module - does not call initialize on the new instance +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/class/dup_spec.rb +Class#dup +- duplicates both the class and the singleton class +- retains the correct ancestor chain for the singleton class /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/class/inherited_spec.rb Class.inherited @@ 11096 @@ - matches dotfiles with '.*<non-special characters>' - matches files with any ending with '<non-special characters>*' - matches files with any middle with '<non-special characters>*<non-special characters>' +- handles directories with globs - matches files with multiple '*' special characters - matches non-dotfiles in the current directory with '**' - matches dotfiles in the current directory with '.**' @@ 11109 @@ - matches any characters except those in a set with '[^<characters>]' - matches any characters except those in a range with '[^<character>-<character]' - matches any one of the strings in a set with '{<string>,<other>,...}' +- matches a set '{<string>,<other>,...}' which also uses a glob - accepts string sets with empty strings with {<string>,,<other>} - matches dot or non-dotfiles with '{,.}*' - respects the order of {} expressions, expanding left most first @@ 11161 @@ - matches dotfiles with '.*<non-special characters>' - matches files with any ending with '<non-special characters>*' - matches files with any middle with '<non-special characters>*<non-special characters>' +- handles directories with globs - matches files with multiple '*' special characters - matches non-dotfiles in the current directory with '**' - matches dotfiles in the current directory with '.**' @@ 11174 @@ - matches any characters except those in a set with '[^<characters>]' - matches any characters except those in a range with '[^<character>-<character]' - matches any one of the strings in a set with '{<string>,<other>,...}' +- matches a set '{<string>,<other>,...}' which also uses a glob - accepts string sets with empty strings with {<string>,,<other>} - matches dot or non-dotfiles with '{,.}*' - respects the order of {} expressions, expanding left most first @@ 12079 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/exception/set_backtrace_spec.rb Exception#set_backtrace - allows the user to set the backtrace to any array +- allows the user to set the backtrace from a rescued exception /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/exception/signm_spec.rb SignalException#signm @@ 12387 @@ - does not modify a HOME string argument - returns a String when passed a String subclass +File.expand_path when HOME is not set +- raises an ArgumentError when passed '~' if HOME is nil +- raises an ArgumentError when passed '~' if HOME == '' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/file/extname_spec.rb File.extname @@ 13742 @@ - creates a Hash; values can be provided as a list of value-pairs in an array - raises an ArgumentError when passed an odd number of arguments - calls to_hash +- returns an instance of a subclass when passed an Array - returns an instance of the class it's called on /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/hash/default_proc_spec.rb @@ 13837 @@ - duplicates string keys using dup semantics - stores unequal keys that hash to the same value - duplicates and freezes string keys +- doesn't duplicate and freeze already frozen string keys - raises a TypeError if called on a frozen instance - does not raise an exception if changing the value of an existing key during iteration @@ 14090 @@ - duplicates string keys using dup semantics - stores unequal keys that hash to the same value - duplicates and freezes string keys +- doesn't duplicate and freeze already frozen string keys - raises a TypeError if called on a frozen instance - does not raise an exception if changing the value of an existing key during iteration @@ 14830 @@ - raises IOError on closed stream - reads at most the specified number of bytes - reads after ungetc with data in the buffer +- reads after ungetc with multibyte characters in the buffer - reads after ungetc without data in the buffer - discards the existing buffer content upon successful read - raises EOFError on EOF @@ 15400 @@ - returns a different value for two Float literals - returns a different value for two String literals - returns a different value for an object and its dup +- returns a different value for two numbers near the 32 bit Fixnum limit +- returns a different value for two numbers near the 64 bit Fixnum limit Kernel#__id__ - needs to be reviewed for spec completeness @@ 15426 @@ - raises a SystemExit exception - sets the exception status code of of 1 - prints the specified message to STDERR +- raises TypeError when given a non-String object Kernel.abort - raises a SystemExit exception - sets the exception status code of of 1 - prints the specified message to STDERR +- raises TypeError when given a non-String object /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/at_exit_spec.rb Kernel.at_exit @@ 15665 @@ - updates a local in a surrounding block scope - updates a local in a scope above a surrounding block scope - updates a local in a scope above when modified in a nested block scope +- updates a local at script scope - accepts a Proc object as a binding - does not make Proc locals visible to evaluated code +- stores all locals of nested eval bindings in the first non-eval binding +- allows a Proc invocation to terminate the eval binding chain on local creation +- can access normal locals in nested closures - allows creating a new class in a binding - allows creating a new class in a binding created by #eval - includes file and line information in syntax error @@ 16064 @@ - does not return superclass methods undefined in a superclass - does not return included module methods undefined in the object's class +Kernel#methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/nil_spec.rb Kernel#nil? @@ 16093 @@ - returns a different value for two Float literals - returns a different value for two String literals - returns a different value for an object and its dup +- returns a different value for two numbers near the 32 bit Fixnum limit +- returns a different value for two numbers near the 64 bit Fixnum limit Kernel#object_id - needs to be reviewed for spec completeness @@ 16145 @@ - respects the class hierarchy when decided what is private - returns private methods mixed in to the metaclass +Kernel#private_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#private_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/proc_spec.rb Kernel.proc @@ 16172 @@ - returns a list of the names of protected methods accessible in the object and from its ancestors and mixed-in modules - returns protected methods mixed in to the metaclass +Kernel#protected_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#protected_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/public_method_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/public_methods_spec.rb @@ 16189 @@ - returns a list of the names of publicly accessible methods in the object and its ancestors and mixed-in modules - returns public methods mixed in to the metaclass +Kernel#public_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#public_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/public_send_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/putc_spec.rb @@ 16472 @@ - is a private method /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/singleton_methods_spec.rb +Kernel#singleton_methods when not passed an argument +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- returns the names of singleton methods for an object extented with a module +- returns a unique list for an object extended with a module +- returns the names of singleton methods for an object extented with two modules +- returns the names of singleton methods for an object extented with a module including a module +- returns the names of inherited singleton methods for a subclass +- returns a unique list for a subclass +- returns the names of inherited singleton methods for a subclass including a module +- returns a unique list for a subclass including a module +- returns the names of inherited singleton methods for a subclass of a class including a module +- returns the names of inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns the names of inherited singleton methods for a class extended with a module +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +Kernel#singleton_methods when passed true +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- returns the names of singleton methods for an object extented with a module +- returns a unique list for an object extended with a module +- returns the names of singleton methods for an object extented with two modules +- returns the names of singleton methods for an object extented with a module including a module +- returns the names of inherited singleton methods for a subclass +- returns a unique list for a subclass +- returns the names of inherited singleton methods for a subclass including a module +- returns a unique list for a subclass including a module +- returns the names of inherited singleton methods for a subclass of a class including a module +- returns the names of inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns the names of inherited singleton methods for a class extended with a module +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +Kernel#singleton_methods when passed false +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns an empty Array for an object extented with a module +- returns an empty Array for an object extented with two modules +- returns an empty Array for an object extended with a module including a module +- returns the names of singleton methods of the subclass +- does not return names of inherited singleton methods for a subclass +- does not return the names of inherited singleton methods for a class extended with a module /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/sleep_spec.rb Kernel#sleep @@ 16586 @@ - treats nil arguments as zeroes in %d slots - passes some tests for positive %x - passes some tests for negative %x +- passes some tests for negative % u - passes some tests for negative %u - passes some tests for positive %u - passes some tests for positive %f @@ 17363 @@ Module#alias_method - makes a copy of the method - retains method visibility +- handles aliasing a stub that changes visibility - fails if origin method not found +- converts the names using #to_str - raises a TypeError when the given name can't be converted using to_str - is a private method - works in module @@ 17391 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/attr_accessor_spec.rb Module#attr_accessor - creates a getter and setter for each given attribute name +- allows creating an attr_accessor on an immediate class - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str - applies current visibility to methods created @@ 17399 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/attr_reader_spec.rb Module#attr_reader - creates a getter for each given attribute name +- allows for adding an attr_reader to an immediate - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str - applies current visibility to methods created @@ 17416 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/attr_writer_spec.rb Module#attr_writer - creates a setter for each given attribute name +- allows for adding an attr_writer to an immediate - creates a setter for an attribute name given as a Fixnum - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str @@ 17481 @@ - raises an ArgumentError when no arguments and no block are given - raises an ArgumentError when more than 3 arguments are given - raises an ArgumentError when a block and normal arguments are given +- adds methods respecting the lexical constant scope /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/class_exec_spec.rb Module#class_exec @@ 17618 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/define_method_spec.rb Module#define_method when given an UnboundMethod +- passes the given arguments to the new method - adds the new method to the methods list +- defines a method on a singleton class Module#define_method - defines the given method as an instance method with the given name in self @@ 17634 @@ - is private - returns a Proc +Module#define_method passed { } creates a method that +- returns the value computed by the block when passed zero arguments +- returns the value computed by the block when passed one argument +- returns the value computed by the block when passed two arguments +Module#define_method passed { || } creates a method that +- returns the value computed by the block when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed two arguments +Module#define_method passed { |a| } creates a method that +- receives nil as the argument when passed zero arguments +- receives nil as the argument when passed zero arguments and a block +- returns the value computed by the block when passed two arguments +- receives the value passed as the argument when passed one argument +Module#define_method passed { |*a| } creates a method that +- receives an empty array as the argument when passed zero arguments +- receives the value in an array when passed one argument +- receives the values in an array when passed two arguments +Module#define_method passed { |a, *b| } creates a method that +- raises an ArgumentError when passed zero arguments +- returns the value computed by the block when passed one argument +- returns the value computed by the block when passed two arguments +Module#define_method passed { |a, b| } creates a method that +- returns the value computed by the block when passed two arguments +- raises an ArgumentError when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed one argument and a block +- raises an ArgumentError when passed three arguments +Module#define_method passed { |a, b, *c| } creates a method that +- raises an ArgumentError when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed one argument and a block +- receives an empty array as the third argument when passed two arguments +- receives the third argument in an array when passed three arguments /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/eql_spec.rb Module#eql? @@ 17826 @@ - raises an ArgumentError when no arguments and no block are given - raises an ArgumentError when more than 3 arguments are given - raises an ArgumentError when a block and normal arguments are given +- adds methods respecting the lexical constant scope /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/module_exec_spec.rb Module#module_exec @@ 17893 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#private_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#private_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/private_method_defined_spec.rb Module#private_method_defined? @@ 17926 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#protected_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#protected_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/protected_method_defined_spec.rb Module#protected_method_defined? @@ 17967 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#public_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#public_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/public_method_defined_spec.rb Module#public_method_defined? @@ 20216 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/rstrip_spec.rb String#rstrip - returns a copy of self with trailing whitespace removed +- returns a copy of self with trailing NULL bytes and whitespace after a NULL byte removed - taints the result when self is tainted String#rstrip! - modifies self in place and returns self +- modifies self removing trailing NULL bytes and whitespace after a NULL - returns nil if no modifications were made - raises a TypeError on a frozen instance that is modified - does not raise an exception on a frozen instance that would not be modified @@ 20445 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/strip_spec.rb String#strip - returns a new string with leading and trailing whitespace removed +- returns a copy of self with trailing NULL bytes and whitespace after a NULL byte removed - taints the result when self is tainted String#strip! - modifies self in place and returns self - returns nil if no modifications where made +- modifies self removing trailing NULL bytes and whitespace after a NULL byte - raises a TypeError on a frozen instance that is modified - does not raise an exception on a frozen instance that would not be modified @@ 22175 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values +- raises ArgumentError for invalid number of arguments +- accepts a String or Integer only for arguments +- does not accept nil for params /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/time/gmt_offset_spec.rb Time#gmt_offset @@ 22239 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values +- raises ArgumentError for invalid number of arguments +- accepts a String or Integer only for arguments +- does not accept nil for params /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/time/localtime_spec.rb Time#localtime @@ 22275 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values +- raises ArgumentError for invalid number of arguments +- accepts a String or Integer only for arguments +- does not accept nil for params /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/time/mon_spec.rb Time#mon @@ 22407 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values +- raises ArgumentError for invalid number of arguments +- accepts a String or Integer only for arguments +- does not accept nil for params Time#utc - returns the utc representation of time @@ 22606 @@ - calls method= /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/language/break_spec.rb +The break statement in a block +- returns nil to method invoking the method yielding to the block when not passed an argument +- returns a value to the method invoking the method yielding to the block +The break statement in a captured block when the invocation of the scope creating the block is still active +- raises a LocalJumpError when invoking the block from the scope creating the block +- raises a LocalJumpError when invoking the block from a method +- raises a LocalJumpError when yielding to the block +The break statement in a captured block from a scope that has returned +- raises a LocalJumpError when calling the block from a method +- raises a LocalJumpError when yielding to the block +The break statement in a lambda when the invocation of the scope creating the lambda is still active +- returns nil when not passed an argument +- returns a value to the scope creating and calling the lambda +- returns a value to the method scope below invoking the lambda +- returns a value to a block scope invoking the lambda in a method below +- raises a LocalJumpError when yielding to a lambda passed as a block argument +The break statement in a lambda created at the toplevel +- returns a value when invoking from the toplevel +- returns a value when invoking from a method +- returns a value when invoking from a block +The break statement in a lambda from a scope that has returned +- returns a value to the method scope invoking the lambda +- 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 Executing break from within a block - returns from the invoking singleton method @@ 23667 @@ - raises TypeError error if assigned to nil - raises TypeError error if assigned to object that doesn't respond to #write +Predefined global $! - needs to be reviewed for spec completeness Predefined global $_ @@ 27606 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/etc/passwd_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/etc/setgrent_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/etc/setpwent_spec.rb +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/expect/expect_spec.rb +IO#expect +- matches data against a Regexp +- matches data against a String +- returns any captures of the Regexp +- returns raises IOError if the IO is closed +- returns nil if eof is hit +- yields the result if a block is given /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/fiber/alive_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/fiber/current_spec.rb @@ 32421 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/socket/tcpserver/gets_spec.rb TCPServer#gets +- raises Errno::ENOTCONN on getstimeout: output interval exceeds 300.0 seconds. timeout: the process group <pgid> is alive. timeout: INT signal sent. +|output interval exceeds 300.0 seconds. (CommandTimeout) +| /home/chkbuild/timeoutcom.rb:165:in `timeout_command' +| /home/chkbuild/timeoutcom.rb:117:in `popen' +| /home/chkbuild/timeoutcom.rb:117:in `timeout_command' +| /home/chkbuild/chkbuild/build.rb:1274:in `run' +| /home/chkbuild/chkbuild/ruby.rb:352 +| /home/chkbuild/chkbuild/build.rb:495:in `catch_error' +| /home/chkbuild/chkbuild/ruby.rb:338 +| /home/chkbuild/chkbuild/build.rb:301:in `call' +| /home/chkbuild/chkbuild/build.rb:301:in `do_build' +| /home/chkbuild/chkbuild/build.rb:495:in `catch_error' +| /home/chkbuild/chkbuild/build.rb:300:in `do_build' +| /home/chkbuild/chkbuild/build.rb:479:in `with_procmemsize' +| /home/chkbuild/chkbuild/build.rb:299:in `do_build' +| /home/chkbuild/chkbuild/build.rb:274:in `child_build_target' +| /home/chkbuild/chkbuild/build.rb:256:in `child_build_wrapper' | /home/chkbuild/chkbuild/lock.rb:57:in `lock_puts' | /usr/lib/ruby/1.8/pathname.rb:812:in `open' | /usr/lib/ruby/1.8/pathname.rb:812:in `open' | /home/chkbuild/chkbuild/lock.rb:52:in `lock_puts' +| /home/chkbuild/chkbuild/build.rb:254:in `child_build_wrapper' +| /home/chkbuild/chkbuild/build.rb:214:in `internal_build' | /home/chkbuild/chkbuild/main.rb:106:in `main_internal_build' +| /home/chkbuild/chkbuild/main.rb:181:in `main' +| /home/chkbuild/sample/build-ruby:81 | /home/chkbuild/start-build:37:in `load' | /home/chkbuild/start-build:37 failed(rubyspec CommandTimeout) @@ 34014 @@ - returns a string - calls inspect on its elements - handles recursive arrays +- taints the result String if the Array is tainted +- taints the result String if an element is tainted +- does not taint the result String if the Array is empty Finished in <t> seconds @@ 36347 @@ - properly handles recursive arrays - accepts a block instead of an argument - ignore the block if there is an argument +- rechecks the array size during iteration Array#rindex given no argument and no block - produces an Enumerator @@ 36787 @@ Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors +== rubyspec/core/basicobject/ancestors_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/ancestors_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/ancestors_spec.rb Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors +== rubyspec/core/basicobject/basicobject_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/basicobject_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basicobject_spec.rb (ERROR - <n>) <n>) +An exception occurred during: loading /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basicobject_spec.rb ERROR +NameError: uninitialized constant BasicObjectSpecs::BasicObject +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/fixtures/common.rb:2 +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basicobject_spec.rb:2:in `require' +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basicobject_spec.rb:2 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 36824 @@ 1 file, 0 examples, <num> expectations, 0 failures, 1 error exit 1 +failed(rubyspec/core/basicobject/basicobject_spec.rb) +== rubyspec/core/basicobject/class_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/class_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/class_spec.rb Finished in <t> seconds @@ 36852 @@ Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors +== rubyspec/core/basicobject/initialize_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/initialize_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/initialize_spec.rb Finished in <t> seconds @@ 36870 @@ 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 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/instance_exec_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/instance_exec_spec.rb Finished in <t> seconds @@ 36901 @@ + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/not_equal_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_equal_spec.rb (ERROR - <n>) <n>) +An exception occurred during: loading /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_equal_spec.rb ERROR +SyntaxError: /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_equal_spec.rb:6: syntax error, unexpected tNEQ, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END + BasicObject.should have_public_instance_method(:!=) + ^ +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_equal_spec.rb:26: syntax error, unexpected $end, expecting kEND /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 36925 @@ 1 file, 0 examples, <num> expectations, 0 failures, 1 error exit 1 +failed(rubyspec/core/basicobject/not_equal_spec.rb) == rubyspec/core/basicobject/not_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/not_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_spec.rb (ERROR - <n>) <n>) +An exception occurred during: loading /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_spec.rb ERROR +SyntaxError: /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_spec.rb:6: syntax error, unexpected '!', expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END + BasicObject.should have_public_instance_method(:!) + ^ +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_spec.rb:13: syntax error, unexpected $end, expecting kEND /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 36954 @@ 1 file, 0 examples, <num> expectations, 0 failures, 1 error exit 1 +failed(rubyspec/core/basicobject/not_spec.rb) == rubyspec/core/basicobject/singleton_method_added_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/singleton_method_added_spec.rb ruby <version> @@ 36982 @@ Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors +== rubyspec/core/basicobject/superclass_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/superclass_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/superclass_spec.rb Finished in <t> seconds @@ 37741 @@ Finished in <t> seconds 1 file, 3 examples, <num> expectations, 0 failures, 0 errors +== rubyspec/core/class/dup_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/class/dup_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/class/dup_spec.rb +Class#dup +- duplicates both the class and the singleton class +- retains the correct ancestor chain for the singleton class Finished in <t> seconds @@ 38510 @@ - matches dotfiles with '.*<non-special characters>' - matches files with any ending with '<non-special characters>*' - matches files with any middle with '<non-special characters>*<non-special characters>' +- handles directories with globs - matches files with multiple '*' special characters - matches non-dotfiles in the current directory with '**' - matches dotfiles in the current directory with '.**' @@ 38523 @@ - matches any characters except those in a set with '[^<characters>]' - matches any characters except those in a range with '[^<character>-<character]' - matches any one of the strings in a set with '{<string>,<other>,...}' +- matches a set '{<string>,<other>,...}' which also uses a glob - accepts string sets with empty strings with {<string>,,<other>} - matches dot or non-dotfiles with '{,.}*' - respects the order of {} expressions, expanding left most first @@ 38623 @@ - matches dotfiles with '.*<non-special characters>' - matches files with any ending with '<non-special characters>*' - matches files with any middle with '<non-special characters>*<non-special characters>' +- handles directories with globs - matches files with multiple '*' special characters - matches non-dotfiles in the current directory with '**' - matches dotfiles in the current directory with '.**' @@ 38636 @@ - matches any characters except those in a set with '[^<characters>]' - matches any characters except those in a range with '[^<character>-<character]' - matches any one of the strings in a set with '{<string>,<other>,...}' +- matches a set '{<string>,<other>,...}' which also uses a glob - accepts string sets with empty strings with {<string>,,<other>} - matches dot or non-dotfiles with '{,.}*' - respects the order of {} expressions, expanding left most first @@ 41045 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/exception/set_backtrace_spec.rb Exception#set_backtrace - allows the user to set the backtrace to any array +- allows the user to set the backtrace from a rescued exception Finished in <t> seconds @@ 41641 @@ - does not modify a HOME string argument - returns a String when passed a String subclass +File.expand_path when HOME is not set +- raises an ArgumentError when passed '~' if HOME is nil +- raises an ArgumentError when passed '~' if HOME == '' Finished in <t> seconds @@ 44951 @@ - creates a Hash; values can be provided as a list of value-pairs in an array - raises an ArgumentError when passed an odd number of arguments - calls to_hash +- returns an instance of a subclass when passed an Array - returns an instance of the class it's called on @@ 45126 @@ - duplicates string keys using dup semantics - stores unequal keys that hash to the same value - duplicates and freezes string keys +- doesn't duplicate and freeze already frozen string keys - raises a TypeError if called on a frozen instance - does not raise an exception if changing the value of an existing key during iteration @@ 45638 @@ - duplicates string keys using dup semantics - stores unequal keys that hash to the same value - duplicates and freezes string keys +- doesn't duplicate and freeze already frozen string keys - raises a TypeError if called on a frozen instance - does not raise an exception if changing the value of an existing key during iteration @@ 47114 @@ - raises IOError on closed stream - reads at most the specified number of bytes - reads after ungetc with data in the buffer +- reads after ungetc with multibyte characters in the buffer - reads after ungetc without data in the buffer - discards the existing buffer content upon successful read - raises EOFError on EOF @@ 48007 @@ - returns a different value for two Float literals - returns a different value for two String literals - returns a different value for an object and its dup +- returns a different value for two numbers near the 32 bit Fixnum limit +- returns a different value for two numbers near the 64 bit Fixnum limit Kernel#__id__ - needs to be reviewed for spec completeness @@ 48057 @@ - raises a SystemExit exception - sets the exception status code of of 1 - prints the specified message to STDERR +- raises TypeError when given a non-String object Kernel.abort - raises a SystemExit exception - sets the exception status code of of 1 - prints the specified message to STDERR +- raises TypeError when given a non-String object Finished in <t> seconds @@ 48550 @@ - updates a local in a surrounding block scope - updates a local in a scope above a surrounding block scope - updates a local in a scope above when modified in a nested block scope +- updates a local at script scope - accepts a Proc object as a binding - does not make Proc locals visible to evaluated code +- stores all locals of nested eval bindings in the first non-eval binding +- allows a Proc invocation to terminate the eval binding chain on local creation +- can access normal locals in nested closures - allows creating a new class in a binding - allows creating a new class in a binding created by #eval - includes file and line information in syntax error @@ 49262 @@ - does not return superclass methods undefined in a superclass - does not return included module methods undefined in the object's class +Kernel#methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module Finished in <t> seconds @@ 49315 @@ - returns a different value for two Float literals - returns a different value for two String literals - returns a different value for an object and its dup +- returns a different value for two numbers near the 32 bit Fixnum limit +- returns a different value for two numbers near the 64 bit Fixnum limit Kernel#object_id - needs to be reviewed for spec completeness @@ 49407 @@ - respects the class hierarchy when decided what is private - returns private methods mixed in to the metaclass +Kernel#private_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#private_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module Finished in <t> seconds @@ 49450 @@ - returns a list of the names of protected methods accessible in the object and from its ancestors and mixed-in modules - returns protected methods mixed in to the metaclass +Kernel#protected_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#protected_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module Finished in <t> seconds @@ 49483 @@ - returns a list of the names of publicly accessible methods in the object and its ancestors and mixed-in modules - returns public methods mixed in to the metaclass +Kernel#public_methods when not passed an argument +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module +Kernel#public_methods when passed true +- returns a unique list for an object extended by a module +- returns a unique list for a class including a module +- returns a unique list for a subclass of a class that includes a module Finished in <t> seconds @@ 49934 @@ ruby <version> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/singleton_methods_spec.rb +Kernel#singleton_methods when not passed an argument +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- returns the names of singleton methods for an object extented with a module +- returns a unique list for an object extended with a module +- returns the names of singleton methods for an object extented with two modules +- returns the names of singleton methods for an object extented with a module including a module +- returns the names of inherited singleton methods for a subclass +- returns a unique list for a subclass +- returns the names of inherited singleton methods for a subclass including a module +- returns a unique list for a subclass including a module +- returns the names of inherited singleton methods for a subclass of a class including a module +- returns the names of inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns the names of inherited singleton methods for a class extended with a module +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +Kernel#singleton_methods when passed true +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- returns the names of singleton methods for an object extented with a module +- returns a unique list for an object extended with a module +- returns the names of singleton methods for an object extented with two modules +- returns the names of singleton methods for an object extented with a module including a module +- returns the names of inherited singleton methods for a subclass +- returns a unique list for a subclass +- returns the names of inherited singleton methods for a subclass including a module +- returns a unique list for a subclass including a module +- returns the names of inherited singleton methods for a subclass of a class including a module +- returns the names of inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns the names of inherited singleton methods for a class extended with a module +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +Kernel#singleton_methods when passed false +- returns an empty Array for an object with no singleton methods +- returns the names of module methods for a module +- does not return private module methods for a module +- returns the names of class methods for a class +- does not return private class methods for a class +- returns the names of singleton methods for an object +- does not return any included methods for a module including a module +- does not return any included methods for a class including a module +- does not return private singleton methods for an object extended with a module +- does not return private singleton methods for an object extended with two modules +- does not return private singleton methods for an object extented with a module including a module +- does not return private singleton methods for a class extended with a module +- does not return private inherited singleton methods for a module including a module +- does not return private inherited singleton methods for a class including a module +- does not return private inherited singleton methods for a subclass +- does not return private inherited singleton methods for a subclass including a module +- does not return private inherited singleton methods for a subclass of a class including a module +- does not return private inherited singleton methods for a subclass of a class that includes a module, where the subclass also includes a module +- returns an empty Array for an object extented with a module +- returns an empty Array for an object extented with two modules +- returns an empty Array for an object extended with a module including a module +- returns the names of singleton methods of the subclass +- does not return names of inherited singleton methods for a subclass +- does not return the names of inherited singleton methods for a class extended with a module Finished in <t> seconds +1 file, 82 examples, <num> expectations, 0 failures, 0 errors == rubyspec/core/kernel/sleep_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/kernel/sleep_spec.rb ruby <version> @@ 50080 @@ - treats nil arguments as zeroes in %d slots - passes some tests for positive %x - passes some tests for negative %x +- passes some tests for negative % u - passes some tests for negative %u - passes some tests for positive %u - passes some tests for positive %f @@ 51633 @@ Module#alias_method - makes a copy of the method - retains method visibility +- handles aliasing a stub that changes visibility - fails if origin method not found +- converts the names using #to_str - raises a TypeError when the given name can't be converted using to_str - is a private method - works in module @@ 51693 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/attr_accessor_spec.rb Module#attr_accessor - creates a getter and setter for each given attribute name +- allows creating an attr_accessor on an immediate class - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str - applies current visibility to methods created @@ 51709 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/attr_reader_spec.rb Module#attr_reader - creates a getter for each given attribute name +- allows for adding an attr_reader to an immediate - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str - applies current visibility to methods created @@ 51742 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/attr_writer_spec.rb Module#attr_writer - creates a setter for each given attribute name +- allows for adding an attr_writer to an immediate - creates a setter for an attribute name given as a Fixnum - converts non string/symbol/fixnum names to strings using to_str - raises a TypeError when the given names can't be converted to strings using to_str @@ 51864 @@ - raises an ArgumentError when no arguments and no block are given - raises an ArgumentError when more than 3 arguments are given - raises an ArgumentError when a block and normal arguments are given +- adds methods respecting the lexical constant scope Finished in <t> seconds @@ 52097 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/define_method_spec.rb Module#define_method when given an UnboundMethod +- passes the given arguments to the new method - adds the new method to the methods list +- defines a method on a singleton class Module#define_method - defines the given method as an instance method with the given name in self @@ 52113 @@ - is private - returns a Proc +Module#define_method passed { } creates a method that +- returns the value computed by the block when passed zero arguments +- returns the value computed by the block when passed one argument +- returns the value computed by the block when passed two arguments +Module#define_method passed { || } creates a method that +- returns the value computed by the block when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed two arguments +Module#define_method passed { |a| } creates a method that +- receives nil as the argument when passed zero arguments +- receives nil as the argument when passed zero arguments and a block +- returns the value computed by the block when passed two arguments +- receives the value passed as the argument when passed one argument +Module#define_method passed { |*a| } creates a method that +- receives an empty array as the argument when passed zero arguments +- receives the value in an array when passed one argument +- receives the values in an array when passed two arguments +Module#define_method passed { |a, *b| } creates a method that +- raises an ArgumentError when passed zero arguments +- returns the value computed by the block when passed one argument +- returns the value computed by the block when passed two arguments +Module#define_method passed { |a, b| } creates a method that +- returns the value computed by the block when passed two arguments +- raises an ArgumentError when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed one argument and a block +- raises an ArgumentError when passed three arguments +Module#define_method passed { |a, b, *c| } creates a method that +- raises an ArgumentError when passed zero arguments +- raises an ArgumentError when passed one argument +- raises an ArgumentError when passed one argument and a block +- receives an empty array as the third argument when passed two arguments +- receives the third argument in an array when passed three arguments Finished in <t> seconds @@ 52481 @@ - raises an ArgumentError when no arguments and no block are given - raises an ArgumentError when more than 3 arguments are given - raises an ArgumentError when a block and normal arguments are given +- adds methods respecting the lexical constant scope Finished in <t> seconds @@ 52604 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#private_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#private_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass Finished in <t> seconds @@ 52661 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#protected_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#protected_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass Finished in <t> seconds @@ 52742 @@ - when passed false as a parameter, should return only methods defined in that module - default list should be the same as passing true as an argument +Module#public_instance_methods when not passed an argument +- returns a unique list for a class including a module +- returns a unique list for a subclass +Module#public_instance_methods when passed true +- returns a unique list for a class including a module +- returns a unique list for a subclass Finished in <t> seconds @@ 58240 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/rstrip_spec.rb String#rstrip - returns a copy of self with trailing whitespace removed +- returns a copy of self with trailing NULL bytes and whitespace after a NULL byte removed - taints the result when self is tainted String#rstrip! - modifies self in place and returns self +- modifies self removing trailing NULL bytes and whitespace after a NULL - returns nil if no modifications were made - raises a TypeError on a frozen instance that is modified - does not raise an exception on a frozen instance that would not be modified @@ 58599 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/strip_spec.rb String#strip - returns a new string with leading and trailing whitespace removed +- returns a copy of self with trailing NULL bytes and whitespace after a NULL byte removed - taints the result when self is tainted String#strip! - modifies self in place and returns self - returns nil if no modifications where made +- modifies self removing trailing NULL bytes and whitespace after a NULL byte - raises a TypeError on a frozen instance that is modified - does not raise an exception on a frozen instance that would not be modified @@ 61847 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values +- raises ArgumentError for invalid number of arguments +- accepts a String or Integer only for arguments +- does not accept nil for params Finished in <t> seconds @@ 61999 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values +- raises ArgumentError for invalid number of arguments +- accepts a String or Integer only for arguments +- does not accept nil for params Finished in <t> seconds @@ 62075 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values +- raises ArgumentError for invalid number of arguments +- accepts a String or Integer only for arguments +- does not accept nil for params Finished in <t> seconds @@ 62423 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values +- raises ArgumentError for invalid number of arguments +- accepts a String or Integer only for arguments +- does not accept nil for params Time#utc - returns the utc representation of time @@ 62846 @@ ruby <version> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/language/break_spec.rb +The break statement in a block +- returns nil to method invoking the method yielding to the block when not passed an argument +- returns a value to the method invoking the method yielding to the block +The break statement in a captured block when the invocation of the scope creating the block is still active +- raises a LocalJumpError when invoking the block from the scope creating the block +- raises a LocalJumpError when invoking the block from a method +- raises a LocalJumpError when yielding to the block +The break statement in a captured block from a scope that has returned +- raises a LocalJumpError when calling the block from a method +- raises a LocalJumpError when yielding to the block +The break statement in a lambda when the invocation of the scope creating the lambda is still active +- returns nil when not passed an argument +- returns a value to the scope creating and calling the lambda +- returns a value to the method scope below invoking the lambda +- returns a value to a block scope invoking the lambda in a method below +- raises a LocalJumpError when yielding to a lambda passed as a block argument +The break statement in a lambda created at the toplevel +- returns a value when invoking from the toplevel +- returns a value when invoking from a method +- returns a value when invoking from a block +The break statement in a lambda from a scope that has returned +- returns a value to the method scope invoking the lambda +- 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 Executing break from within a block - returns from the invoking singleton method @@ 64139 @@ - raises TypeError error if assigned to nil - raises TypeError error if assigned to object that doesn't respond to #write +Predefined global $! - needs to be reviewed for spec completeness Predefined global $_ @@ 68435 @@ <n>) Complex#angle returns the argument -- i.e., the angle from (1, 0) in the complex plane ERROR +NoMethodError: undefined method `Complex' for #<Object:0x<address> @method=:angle, @object=nil> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/complex/arg.rb:4 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 68480 @@ <n>) Complex#arg returns the argument -- i.e., the angle from (1, 0) in the complex plane ERROR +NoMethodError: undefined method `Complex' for #<Object:0x<address> @method=:arg, @object=nil> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/complex/arg.rb:4 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 68553 @@ <n>) Complex#conj returns the complex conjugate: conj a + bi = a - bi ERROR +NoMethodError: undefined method `Complex' for #<Object:0x<address> @method=:conj, @object=nil> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/complex/conjugate.rb:3 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 68598 @@ <n>) Complex#conjugate returns the complex conjugate: conj a + bi = a - bi ERROR +NoMethodError: undefined method `Complex' for #<Object:0x<address> @method=:conjugate, @object=nil> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/complex/conjugate.rb:3 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 73249 @@ Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors +== rubyspec/library/expect/expect_spec.rb # <time> ++ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/library/expect/expect_spec.rb ruby <version> +/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/expect/expect_spec.rb +IO#expect +- matches data against a Regexp +- matches data against a String +- returns any captures of the Regexp +- returns raises IOError if the IO is closed +- returns nil if eof is hit +- yields the result if a block is given Finished in <t> seconds @@ 81356 @@ <n>) Rational() passed Integer, Integer returns a new Rational number ERROR +NoMethodError: undefined method `Rational' for #<Object:0x<address> @method=:Rational, @object=nil> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/rational/Rational.rb:50 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 81387 @@ <n>) Rational() passed Integer, Integer automatically reduces the Rational ERROR +NoMethodError: undefined method `Rational' for #<Object:0x<address> @method=:Rational, @object=nil> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/rational/Rational.rb:67 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 81418 @@ <n>) Rational() passed Integer returns a new Rational number with 1 as the denominator ERROR +NoMethodError: undefined method `Rational' for #<Object:0x<address> @method=:Rational, @object=nil> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/rational/Rational.rb:83 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 87449 @@ StringScanner#initialize - is a private method - returns an instance of StringScanner +- converts the argument into a string using #to_str Finished in <t> seconds @@ 87801 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/stringscanner/string_spec.rb StringScanner#string - returns the string being scanned +- returns the identical object passed in StringScanner#string= - changes the string being scanned to the argument and resets the scanner +- converts the argument into a string using #to_str Finished in <t> seconds @@ 90714 @@ C-API Class function rb_call_super - calls the method in the superclass +- calls the method in the superclass through two native levels C-API Class function rb_class2name - returns the class name @@ 90950 @@ C-API Hash function rb_hash_foreach - iterates over the hash +- stops via the callback +- deletes via the callback Finished in <t> seconds @@ 91455 @@ - returns a string which can be assigned to from C - returns a string that can be modified by rb_str_set_len +C-API String function rb_str_buf_new2 - returns a new string object calling strlen on the passed C string C-API String function rb_str_new @@ 91562 @@ Finished in <t> seconds +1 file, 60 examples, <num> expectations, 0 failures, 0 errors == rubyspec/optional/capi/struct_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/optional/capi/struct_spec.rb ruby <version> =================================================================== --- 20110127T024204Z @@ 6 @@ Codename: squeeze == start # <time> == svn/ruby # <time> -+ svn checkout -q http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 ruby CHECKOUT svn http://svn.ruby-lang.org/repos/ruby branches/ruby_1_8 VIEWER ViewVC http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?diff_format=u == svn-info/ruby # <time> @@ 35 @@ + git clone -q /home/chkbuild/tmp/build/git-repos/rubyspec rubyspec CHECKOUT git git://github.com/rubyspec/rubyspec.git rubyspec == configure # <time> -+ ./configure --prefix=/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime> CPPFLAGS=-DRUBY_DEBUG_ENV optflags=-O2 debugflags=-g 'warnflags=-W -Wall -Wformat=2 -Wundef -Wno-parentheses -Wno-unused-parameter -Wno-missing-field-initializers' --with-valgrind --enable-pthread configure: WARNING: unrecognized options: --with-valgrind checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu @@ 3403 @@ tcltklib.c: In function [e28098]tcltklib_compile_info[e28099]: tcltklib.c:<line_a>: warning: format not a string literal, argument types not checked gcc -I. -I../.. -I../../. -I../.././ext/tk -I/usr/include/tcl8.4 -DHAVE_RB_SAFE_LEVEL -DHAVE_RB_HASH_LOOKUP -DHAVE_RB_PROC_NEW -DHAVE_RB_OBJ_TAINT -DHAVE_STRUCT_RARRAY_PTR -DHAVE_ST_PTR -DHAVE_STRUCT_RARRAY_LEN -DHAVE_ST_LEN -DHAVE_TK_H -DRUBY_DEBUG_ENV -DWITH_TCL_ENABLE_THREAD=1 -DRUBY_VERSION=\"1.8.8\" -DRUBY_RELEASE_DATE=\"YYYY-MM-DD\" -fPIC -O2 -g -W -Wall -Wformat=2 -Wundef -Wno-parentheses -Wno-unused-parameter -Wno-missing-field-initializers -o stubs.o -c stubs.c -gcc -shared -o ../../.ext/x86_64-linux/tcltklib.so tcltklib.o stubs.o -L. -L../.. -L/opt/lib -Wl,-R/opt/lib -L/usr/local/share/lib -Wl,-R/usr/local/share/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/share/lib -Wl,-R/usr/share/lib -L/usr/share -Wl,-R/usr/share -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic -ltk8.4 -ltcl8.4 -lX11 -lm -ldl -lpthread -lrt -ldl -lcrypt -lm -lc /bin/mkdir -p ../../.ext/common/tk /bin/mkdir -p ../../.ext/common/tkextlib /bin/mkdir -p ../../.ext/common/tkextlib/tkHTML @@ 7490 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/ruby/test/net/http/test_connection.rb:20:in `test_connection_refused_in_request' --------------- -2715 tests, 1675905 assertions, 3 failures, 0 errors make: *** [test-all] [e382a8e383a9e383bc] 1 exit 2 failed(test-all) @@ 8331 @@ - returns a string - calls inspect on its elements - handles recursive arrays -- propagates taint from itself or elements /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/intersection_spec.rb Array#& @@ 10254 @@ Array#rindex given no argument and no block - produces an Enumerator -- raises StopIteration if the array is truncated before completion /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/rotate_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/array/sample_spec.rb @@ 10511 @@ - does not return subclass instance on Array subclasses /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/__send___spec.rb -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basic_object_class_spec.rb -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basic_object_spec.rb -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basic_object_subclass_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/equal_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/equal_value_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/instance_eval_spec.rb -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/metaclass_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/method_missing_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/new_spec.rb /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/not_equal_spec.rb @@ 12340 @@ - expands ~ENV['USER'] to the user's home directory - does not expand ~ENV['USER'] when it's not at the start - expands ../foo with ~/dir as base dir to /path/to/user/home/foo -- raises an ArgumentError if not passed one or two arguments - raises a TypeError if not passed a String type - expands /./dir to /dir - does not modify the string argument @@ 15610 @@ - evaluates such that consts are scoped to the class of the eval - finds a local in an enclosing scope - updates a local in an enclosing scope -- creates an eval-scope local - updates a local in a surrounding block scope - updates a local in a scope above a surrounding block scope - updates a local in a scope above when modified in a nested block scope - accepts a Proc object as a binding - does not make Proc locals visible to evaluated code -- allows a binding to be captured inside an eval -- allows Proc and binding to be nested in horrible ways - allows creating a new class in a binding - allows creating a new class in a binding created by #eval -- allows creating a new class in a binding returned by a method defined with #eval - includes file and line information in syntax error - should perform top level evaluations from inside a block - uses the filename of the binding if none is provided - should not alter the value of __FILE__ in the binding - uses the receiver as self inside the eval -Kernel.eval - does not pass the block to the method being eval'ed - needs to be reviewed for spec completeness @@ 15694 @@ - is accessible as a module function /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/freeze_spec.rb -Kernel#freeze -- prevents self from being further modified - returns the immediate when called on an immediate - has no effect on immediate values - causes mutative calls to raise TypeError @@ 16387 @@ - is a private method /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/singleton_methods_spec.rb -Kernel#singleton_methods -- returns a list of the names of singleton methods in the object -- returns a list of names of singleton methods in object and superclasses when passed true -- should handle singleton_methods call with and without argument -- returns a list of the names of singleton methods in the object and its ancestors and mixed-in modules -- includes public and protected methods defined through a mixin into the metaclass based on the flag -- does not include private methods defined through a mixin into the metaclass /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/sleep_spec.rb Kernel#sleep @@ 17447 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/define_method_spec.rb Module#define_method when given an UnboundMethod -- correctly passes given arguments to the new method - adds the new method to the methods list -- works for singleton classes too Module#define_method - defines the given method as an instance method with the given name in self -- supports being called with a splat - calls #method_added after the method is added to the Module - defines a new method with the given name and the given block as body in self - raises a TypeError when the given method is no Method/Proc @@ 21935 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values -- throws ArgumentError for invalid number of arguments /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/time/gmt_offset_spec.rb Time#gmt_offset @@ 21997 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values -- throws ArgumentError for invalid number of arguments /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/time/localtime_spec.rb Time#localtime @@ 22031 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values -- throws ArgumentError for invalid number of arguments /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/time/mon_spec.rb Time#mon @@ 22161 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values -- throws ArgumentError for invalid number of arguments Time#utc - returns the utc representation of time @@ 22359 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/language/break_spec.rb The break statement -- ends block execution if used whithin block -- causes block to return value passed to break -- causes block to return nil if an empty expression passed to break -- causes block to return nil if no value passed to break Executing break from within a block - returns from the invoking singleton method @@ 32137 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/socket/tcpserver/gets_spec.rb TCPServer#gets -- raises Errno::ENOTCONN on getstimeout: output interval exceeds 600.0 seconds. timeout: the process group <pgid> is alive. timeout: INT signal sent. -|output interval exceeds 600.0 seconds. (CommandTimeout) -| /home/chkbuild/timeoutcom.rb:164:in `timeout_command' -| /home/chkbuild/timeoutcom.rb:116:in `popen' -| /home/chkbuild/timeoutcom.rb:116:in `timeout_command' -| /home/chkbuild/chkbuild/build.rb:1259:in `run' -| /home/chkbuild/chkbuild/ruby.rb:277:in `def_target' -| /home/chkbuild/chkbuild/build.rb:480:in `catch_error' -| /home/chkbuild/chkbuild/ruby.rb:263:in `def_target' -| /home/chkbuild/chkbuild/build.rb:294:in `call' -| /home/chkbuild/chkbuild/build.rb:294:in `do_build' -| /home/chkbuild/chkbuild/build.rb:480:in `catch_error' -| /home/chkbuild/chkbuild/build.rb:294:in `do_build' -| /home/chkbuild/chkbuild/build.rb:468:in `with_procmemsize' -| /home/chkbuild/chkbuild/build.rb:293:in `do_build' -| /home/chkbuild/chkbuild/build.rb:266:in `child_build_target' -| /home/chkbuild/chkbuild/build.rb:252:in `child_build_wrapper' | /home/chkbuild/chkbuild/lock.rb:57:in `lock_puts' | /usr/lib/ruby/1.8/pathname.rb:812:in `open' | /usr/lib/ruby/1.8/pathname.rb:812:in `open' | /home/chkbuild/chkbuild/lock.rb:52:in `lock_puts' -| /home/chkbuild/chkbuild/build.rb:250:in `child_build_wrapper' -| /home/chkbuild/chkbuild/build.rb:210:in `build_and_exit' -| /home/chkbuild/chkbuild/build.rb:201:in `internal_build' | /home/chkbuild/chkbuild/main.rb:106:in `main_internal_build' -| /home/chkbuild/chkbuild/target.rb:155:in `each' -| /home/chkbuild/chkbuild/target.rb:155:in `each_build_obj' -| /home/chkbuild/chkbuild/main.rb:104:in `main_internal_build' -| /home/chkbuild/chkbuild/main.rb:103:in `each' -| /home/chkbuild/chkbuild/main.rb:103:in `main_internal_build' -| /home/chkbuild/chkbuild/main.rb:169:in `main' -| /home/chkbuild/sample/build-ruby:62 | /home/chkbuild/start-build:37:in `load' | /home/chkbuild/start-build:37 failed(rubyspec CommandTimeout) @@ 33736 @@ - returns a string - calls inspect on its elements - handles recursive arrays -- propagates taint from itself or elements Finished in <t> seconds @@ 36070 @@ Array#rindex given no argument and no block - produces an Enumerator -- raises StopIteration if the array is truncated before completion Finished in <t> seconds @@ 36507 @@ Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors -== rubyspec/core/basicobject/basic_object_class_spec.rb # <time> -+ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/basic_object_class_spec.rb ruby <version> -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basic_object_class_spec.rb Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors -== rubyspec/core/basicobject/basic_object_spec.rb # <time> -+ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/basic_object_spec.rb ruby <version> -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basic_object_spec.rb Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors -== rubyspec/core/basicobject/basic_object_subclass_spec.rb # <time> -+ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/basic_object_subclass_spec.rb ruby <version> -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/basic_object_subclass_spec.rb Finished in <t> seconds @@ 36561 @@ Finished in <t> seconds 1 file, 0 examples, <num> expectations, 0 failures, 0 errors -== rubyspec/core/basicobject/metaclass_spec.rb # <time> -+ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/basicobject/metaclass_spec.rb ruby <version> -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/basicobject/metaclass_spec.rb Finished in <t> seconds @@ 38285 @@ Finished in <t> seconds -1 file, 48 examples, <num> expectations, 0 failures, 0 errors == rubyspec/core/dir/home_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/core/dir/home_spec.rb ruby <version> @@ 41259 @@ - expands ~ENV['USER'] to the user's home directory - does not expand ~ENV['USER'] when it's not at the start - expands ../foo with ~/dir as base dir to /path/to/user/home/foo -- raises an ArgumentError if not passed one or two arguments - raises a TypeError if not passed a String type - expands /./dir to /dir - does not modify the string argument @@ 48160 @@ - evaluates such that consts are scoped to the class of the eval - finds a local in an enclosing scope - updates a local in an enclosing scope -- creates an eval-scope local - updates a local in a surrounding block scope - updates a local in a scope above a surrounding block scope - updates a local in a scope above when modified in a nested block scope - accepts a Proc object as a binding - does not make Proc locals visible to evaluated code -- allows a binding to be captured inside an eval -- allows Proc and binding to be nested in horrible ways - allows creating a new class in a binding - allows creating a new class in a binding created by #eval -- allows creating a new class in a binding returned by a method defined with #eval - includes file and line information in syntax error - should perform top level evaluations from inside a block - uses the filename of the binding if none is provided - should not alter the value of __FILE__ in the binding - uses the receiver as self inside the eval -Kernel.eval - does not pass the block to the method being eval'ed - needs to be reviewed for spec completeness @@ 48300 @@ ruby <version> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/freeze_spec.rb -Kernel#freeze -- prevents self from being further modified - returns the immediate when called on an immediate - has no effect on immediate values - causes mutative calls to raise TypeError @@ 49514 @@ ruby <version> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/kernel/singleton_methods_spec.rb -Kernel#singleton_methods -- returns a list of the names of singleton methods in the object -- returns a list of names of singleton methods in object and superclasses when passed true -- should handle singleton_methods call with and without argument -- returns a list of the names of singleton methods in the object and its ancestors and mixed-in modules -- includes public and protected methods defined through a mixin into the metaclass based on the flag -- does not include private methods defined through a mixin into the metaclass Finished in <t> seconds @@ 51591 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/module/define_method_spec.rb Module#define_method when given an UnboundMethod -- correctly passes given arguments to the new method - adds the new method to the methods list -- works for singleton classes too Module#define_method - defines the given method as an instance method with the given name in self -- supports being called with a splat - calls #method_added after the method is added to the Module - defines a new method with the given name and the given block as body in self - raises a TypeError when the given method is no Method/Proc @@ 61272 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values -- throws ArgumentError for invalid number of arguments Finished in <t> seconds @@ 61422 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values -- throws ArgumentError for invalid number of arguments Finished in <t> seconds @@ 61496 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values -- throws ArgumentError for invalid number of arguments Finished in <t> seconds @@ 61842 @@ - handles float arguments - should accept various year ranges - raises an ArgumentError for out of range values -- throws ArgumentError for invalid number of arguments Time#utc - returns the utc representation of time @@ 62264 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/language/break_spec.rb The break statement -- ends block execution if used whithin block -- causes block to return value passed to break -- causes block to return nil if an empty expression passed to break -- causes block to return nil if no value passed to break Executing break from within a block - returns from the invoking singleton method @@ 67825 @@ <n>) Complex#angle returns the argument -- i.e., the angle from (1, 0) in the complex plane ERROR -NoMethodError: undefined method `Complex' for #<Object:0x<address> @object=nil, @method=:angle> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/complex/arg.rb:4 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 67870 @@ <n>) Complex#arg returns the argument -- i.e., the angle from (1, 0) in the complex plane ERROR -NoMethodError: undefined method `Complex' for #<Object:0x<address> @object=nil, @method=:arg> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/complex/arg.rb:4 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 67943 @@ <n>) Complex#conj returns the complex conjugate: conj a + bi = a - bi ERROR -NoMethodError: undefined method `Complex' for #<Object:0x<address> @object=nil, @method=:conj> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/complex/conjugate.rb:3 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 67988 @@ <n>) Complex#conjugate returns the complex conjugate: conj a + bi = a - bi ERROR -NoMethodError: undefined method `Complex' for #<Object:0x<address> @object=nil, @method=:conjugate> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/complex/conjugate.rb:3 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 80729 @@ <n>) Rational() passed Integer, Integer returns a new Rational number ERROR -NoMethodError: undefined method `Rational' for #<Object:0x<address> @object=nil, @method=:Rational> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/rational/Rational.rb:50 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 80760 @@ <n>) Rational() passed Integer, Integer automatically reduces the Rational ERROR -NoMethodError: undefined method `Rational' for #<Object:0x<address> @object=nil, @method=:Rational> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/rational/Rational.rb:67 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 80791 @@ <n>) Rational() passed Integer returns a new Rational number with 1 as the denominator ERROR -NoMethodError: undefined method `Rational' for #<Object:0x<address> @object=nil, @method=:Rational> /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/shared/rational/Rational.rb:83 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' @@ 85437 @@ UNIXSocket#recv_io - reads an IO object across the socket - takes an optional class to use -- takes an optional mode to use (ERROR - <n>) <n>) -UNIXSocket#recv_io takes an optional mode to use ERROR -NoMethodError: undefined method `mode' for #<File:0x<address>> -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/socket/unixsocket/recv_io_spec.rb:48 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/socket/unixsocket/recv_io_spec.rb:2:in `all?' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `each' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `all?' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 85456 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/socket/unixsocket/recv_io_spec.rb:4 /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 85471 @@ Finished in <t> seconds -1 file, 3 examples, <num> expectations, 0 failures, 1 error exit 1 -failed(rubyspec/library/socket/unixsocket/recv_io_spec.rb) == rubyspec/library/socket/unixsocket/recvfrom_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/library/socket/unixsocket/recvfrom_spec.rb ruby <version> @@ 86731 @@ /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/stringscanner/dup_spec.rb StringScanner#dup -- returns a new StringScanner duplicated from the original Finished in <t> seconds @@ 86843 @@ Finished in <t> seconds 1 file, 5 examples, <num> expectations, 0 failures, 0 errors -== rubyspec/library/stringscanner/initialize_copy_spec.rb # <time> -+ bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/library/stringscanner/initialize_copy_spec.rb ruby <version> -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/library/stringscanner/initialize_copy_spec.rb -StringScanner#initialize_copy - is a private method - copies the passed StringScanner's content to self - copies the passed StringSCanner's position to self - copies previous match state -- does not taint self when the passed StringScanner is tainted - copies the passed StringScanner scan pointer to self @@ 89955 @@ == rubyspec/optional/capi/array_spec.rb # <time> + bin/ruby mspec/bin/mspec -V -f s -B /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/ruby.1.8.mspec -t /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/bin/ruby rubyspec/optional/capi/array_spec.rb ruby <version> -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/optional/capi/ext/array_spec.c: In function [e28098]sub_pair[e28099]: -/home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/optional/capi/ext/array_spec.c:<line_a>: warning: no return statement in function returning non-void /home/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/optional/capi/array_spec.rb C-API Array function rb_ary_new
OlderDiff < 20110127T024204Z < ThisDiff > 20110308T013121Z > NewerDiff