OlderDiff < 20190221T133818Z(failure) < ThisDiff > 20190221T163742Z(failure)
COMMIT rubyspec [eregon] Fix specs for yield in singleton class being deprecated COMMIT rubyspec [eregon] Accept a third value for NaNs, as produced by the Sun Studio C Compiler COMMIT rubyspec [ko1] fix rubyspec test to pass tests. please revisit it @nobu? COMMIT rubyspec [nobu] Revise the example on OpenBSD COMMIT rubyspec [Chris Seaton] Spec the whitelist of lazy methods in Enumerator COMMIT rubyspec [Chris Seaton] More explicit specs that methods on lazy enumerators really work COMMIT rubyspec [Benoit Daloze] Improve spec for mathn on Ruby 2.5+ COMMIT rubyspec [Benoit Daloze] Add specs for exceptions in Enumerator::Lazy#reject COMMIT rubyspec [Benoit Daloze] Add spec for where the class name is shown in Exception#full_message COMMIT rubyspec [Benoit Daloze] Add a spec when there is no backtrace for Exception#full_message COMMIT rubyspec [Benoit Daloze] Add specs for some RbConfig::CONFIG values COMMIT rubyspec [Kevin Menard] Add `Numeric#step` specs for default arguments. COMMIT rubyspec [Kevin Menard] Remove the message from exceptions raised by bare `raise` to better match MRI. COMMIT rubyspec [Kevin Menard] Update heredoc specs to verify string encoding. COMMIT rubyspec [Benoit Daloze] Add specs for Thread releasing Mutexes when they end COMMIT rubyspec [Benoit Daloze] Support IO#ioctl and fix spec guard COMMIT rubyspec [Micha?? Zaj??c] Add failing spec COMMIT rubyspec [Micha?? Zaj??c] Add spec for - COMMIT rubyspec [Benoit Daloze] Improve specs regarding division and negation of fixnum_min COMMIT rubyspec [Benoit Daloze] Add specs for Exception#cause of an internal exception COMMIT rubyspec [Benoit Daloze] Copy the cause in Exception#initialize_copy and add spec COMMIT rubyspec [Benoit Daloze] Add spec for Marshalling an Exception cause COMMIT rubyspec [Benoit Daloze] Improve TracePoint#inspect specs COMMIT rubyspec [Benoit Daloze] Add spec for TracePoint#self with a :class event COMMIT rubyspec [Benoit Daloze] Improve TracePoint#enable and TracePoint#disable specs COMMIT rubyspec [Benoit Daloze] Add an extra spec for TracePoint#inspect COMMIT rubyspec [Benoit Daloze] Make sure rb_str_resize() changes bytesize too in specs COMMIT rubyspec [Benoit Daloze] Add spec for rb_str_modify_expand() COMMIT rubyspec [Benoit Daloze] Improve clarity of TracePoint#inspect spec COMMIT rubyspec [Duncan MacGregor] Add a spec for `BigDecimal` not being defined if not required. COMMIT rubyspec [Duncan MacGregor] Handle array mutation inside the block passed to `Array#each`. COMMIT rubyspec [Duncan MacGregor] Tighten up `Array#each` specs for mutation. COMMIT rubyspec [Duncan MacGregor] Fix `StringIO#puts` behaviour to match `IO#puts`. COMMIT rubyspec [Duncan MacGregor] Changes based on review. COMMIT rubyspec [Kevin Menard] Add `Range#step` specs that verify behavior when one part of the range is `Float::INFINITY`. COMMIT rubyspec [Benoit Daloze] Fix spec on Ruby 2.3 COMMIT rubyspec [Thomas E. Enebo] Kernel#warn should call #to_s() in case where argument is not already a String. COMMIT rubyspec [Benoit Daloze] Improve Kernel#warn spec COMMIT rubyspec [Benoit Daloze] Fix RuboCop warnings =================================================================== +++ 20190221T163742Z @@ 945 @@ ruby <version> == btest # <time> + make 'OPTS=-v -q' btest +rebuilding objects which were modified by "dtrace -G" compiling array.c compiling eval.c compiling gc.c @@ 9452 @@ <build-dir>/ruby/test/net/ftp/test_ftp.rb:<line_c>: warning: assigned but unused variable - host <build-dir>/ruby/test/net/ftp/test_ftp.rb:<line_c>: warning: assigned but unused variable - port <build-dir>/ruby/test/net/smtp/test_smtp.rb:<line_a>: warning: assigned but unused variable - addr +<build-dir>/ruby/test/optparse/test_bash_completion.rb:<line_a>: warning: method redefined; discarding old setup +<build-dir>/ruby/test/optparse/test_zsh_completion.rb:<line_a>: warning: previous definition of setup was here <build-dir>/ruby/test/rexml/parser/test_ultra_light.rb:<line_a>: warning: assigned but unused variable - parent <build-dir>/ruby/test/rubygems/test_gem_package_tar_header.rb:<line_a>: warning: assigned but unused variable - new_header Gem::Indexer tests are being skipped. Install builder gem. @@ 27646 @@ <n>) Failure: TestIO#test_select_leak [<build-dir>/ruby/test/ruby/test_io.rb:3554]: +rss: 8220672 => 21594112. +Expected 2.626806178375685 to be < 2.0. Finished tests in <n>s, <n> tests/s, <n> assertions/s. <num> tests, <num> assertions, <num> failures, <num> errors, <num> skips @@ 28584 @@ Array#each - yields each element to the block - yields each element to a block that takes multiple arguments +- yields elements added to the end of the array by the block +- does not yield elements deleted from the end of the array - returns an Enumerator if no block given Array#each when no block is given returned Enumerator @@ 34601 @@ - sets #size to nil - returns an Enumerator if called without a block - calls the block with gathered values when yield with multiple arguments +- works with an infinite enumerable Enumerator::Lazy#chunk when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34612 @@ Enumerator::Lazy#chunk on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times +<build-dir>/rubyspec/core/enumerator/lazy/chunk_while_spec.rb +Enumerator::Lazy#chunk_while +- works with an infinite enumerable <build-dir>/rubyspec/core/enumerator/lazy/collect_concat_spec.rb Enumerator::Lazy#collect_concat @@ 34622 @@ - sets #size to nil - calls the block with initial values when yield with multiple arguments - raises an ArgumentError when not given a block +- works with an infinite enumerable Enumerator::Lazy#collect_concat when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34640 @@ - returns a new instance of Enumerator::Lazy - keeps size - calls the block with initial values when yield with multiple arguments +- works with an infinite enumerable Enumerator::Lazy#collect when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34655 @@ Enumerator::Lazy#drop - returns a new instance of Enumerator::Lazy - sets difference of given count with old size to new size +- works with an infinite enumerable Enumerator::Lazy#drop when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34672 @@ - sets #size to nil - calls the block with initial values when yield with multiple arguments - raises an ArgumentError when not given a block +- works with an infinite enumerable Enumerator::Lazy#drop_while when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34692 @@ - generates a lazy enumerator from the given name - passes given arguments to wrapped method - used by some parent's methods though returning Lazy +- works with an infinite enumerable <build-dir>/rubyspec/core/enumerator/lazy/filter_spec.rb <build-dir>/rubyspec/core/enumerator/lazy/find_all_spec.rb @@ 34701 @@ - sets #size to nil - calls the block with a gathered array when yield with multiple arguments - raises an ArgumentError when not given a block +- works with an infinite enumerable Enumerator::Lazy#find_all when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34718 @@ - sets #size to nil - calls the block with initial values when yield with multiple arguments - raises an ArgumentError when not given a block +- works with an infinite enumerable Enumerator::Lazy#flat_map when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34734 @@ <build-dir>/rubyspec/core/enumerator/lazy/force_spec.rb Enumerator::Lazy#force - passes given arguments to receiver.each +- works with an infinite enumerable Enumerator::Lazy#force on a nested Lazy - calls all block and returns an Array @@ 34745 @@ - returns a new instance of Enumerator::Lazy - sets #size to nil - calls the block with a gathered array when yield with multiple arguments +- works with an infinite enumerable Enumerator::Lazy#grep when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times when not given a block @@ 34764 @@ - returns a new instance of Enumerator::Lazy - sets #size to nil - calls the block with a gathered array when yield with multiple arguments +- works with an infinite enumerable Enumerator::Lazy#grep_v when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times when not given a block @@ 34797 @@ <build-dir>/rubyspec/core/enumerator/lazy/lazy_spec.rb Enumerator::Lazy - is a subclass of Enumerator +- defines lazy versions of a whitelist of Enumerator methods Enumerator::Lazy#lazy - returns self @@ 34807 @@ - returns a new instance of Enumerator::Lazy - keeps size - calls the block with initial values when yield with multiple arguments +- works with an infinite enumerable - doesn't unwrap Arrays Enumerator::Lazy#map when the returned lazy enumerator is evaluated by Enumerable#first @@ 34823 @@ Enumerator::Lazy#reject - returns a new instance of Enumerator::Lazy - sets #size to nil +- lets exceptions raised in the block go through - calls the block with a gathered array when yield with multiple arguments - raises an ArgumentError when not given a block +- works with an infinite enumerable Enumerator::Lazy#reject when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34843 @@ - sets #size to nil - calls the block with a gathered array when yield with multiple arguments - raises an ArgumentError when not given a block +- works with an infinite enumerable Enumerator::Lazy#select when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 34854 @@ Enumerator::Lazy#select on a nested Lazy when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times +<build-dir>/rubyspec/core/enumerator/lazy/slice_after_spec.rb +Enumerator::Lazy#slice_after +- works with an infinite enumerable +<build-dir>/rubyspec/core/enumerator/lazy/slice_before_spec.rb +Enumerator::Lazy#slice_before +- works with an infinite enumerable +<build-dir>/rubyspec/core/enumerator/lazy/slice_when_spec.rb +Enumerator::Lazy#slice_when +- works with an infinite enumerable <build-dir>/rubyspec/core/enumerator/lazy/take_spec.rb Enumerator::Lazy#take @@ 34908 @@ - generates a lazy enumerator from the given name - passes given arguments to wrapped method - used by some parent's methods though returning Lazy +- works with an infinite enumerable <build-dir>/rubyspec/core/enumerator/lazy/uniq_spec.rb +Enumerator::Lazy#uniq +- works with an infinite enumerable Enumerator::Lazy#uniq without block - returns a lazy enumerator @@ 34932 @@ - calls the block with a gathered array when yield with multiple arguments - returns a Lazy when no arguments given - raises a TypeError if arguments contain non-list object +- works with an infinite enumerable and an array +- works with two infinite enumerables Enumerator::Lazy#zip when the returned lazy enumerator is evaluated by Enumerable#first - stops after specified times @@ 35398 @@ <build-dir>/rubyspec/core/exception/cause_spec.rb Exception#cause - returns the active exception when an exception is raised +- is set for user errors caused by internal errors +- is set for internal errors caused by user errors <build-dir>/rubyspec/core/exception/destination_encoding_name_spec.rb Encoding::UndefinedConversionError#destination_encoding_name @@ 35424 @@ - does not copy constants defined in the singleton class - does copy the message - does copy the backtrace +- does copy the cause <build-dir>/rubyspec/core/exception/equal_value_spec.rb Exception#== @@ 38889 @@ Integer#div bignum - returns self divided by other +- handles fixnum_min / -1 - calls #coerce and #div if argument responds to #coerce - means (x / y).floor - looses precision if passed Float argument @@ 44719 @@ - writes each array element on a line when passes an array - does not write strings when passed no arguments - writes the default record separator and NOT $/ to $stderr after the warning message +- writes to_s representation if passed a non-string <build-dir>/rubyspec/core/kernel/yield_self_spec.rb <build-dir>/rubyspec/core/main/define_method_spec.rb @@ 44937 @@ - dumps an empty Exception - dumps the message for the exception - contains the filename in the backtrace +- dumps the cause for the exception Marshal.dump when passed an IO - writes the serialized data to the IO-Object @@ 47853 @@ - raises an ArgumentError when step is 0 - raises an ArgumentError when step is 0.0 - defaults to step = 1 +- defaults to an infinite limit with a step size of 1 for Integers +- defaults to an infinite limit with a step size of 1.0 for Floats - does not rescue ArgumentError exceptions - does not rescue TypeError exceptions @@ 47976 @@ Numeric#step with positional args when no block is given returned Enumerator size - raises an ArgumentError when step is 0 - raises an ArgumentError when step is 0.0 +- defaults to an infinite size Numeric#step with positional args when no block is given returned Enumerator type - returns an instance of Enumerator @@ 47986 @@ - doesn't raise an error when step is 0.0 - should loop over self when step is 0 or 0.0 - defaults to step = 1 +- defaults to an infinite limit with a step size of 1 for Integers +- defaults to an infinite limit with a step size of 1.0 for Floats - does not rescue ArgumentError exceptions - does not rescue TypeError exceptions @@ 48118 @@ - raises a ArgumentError when step and by are defined - should loop over self when step is 0 or 0.0 - defaults to step = 1 +- defaults to an infinite limit with a step size of 1 for Integers +- defaults to an infinite limit with a step size of 1.0 for Floats - does not rescue ArgumentError exceptions - does not rescue TypeError exceptions @@ 50118 @@ - yields Float values incremented by an Integer step - yields Float values incremented by a Float step - returns Float values of 'step * n + begin <= end' +- handles infinite values at either end Range#step with inclusive end and Integer, Float values - yields Float values incremented by 1 and less than or equal to end when not passed a step @@ 50146 @@ - yields Float values incremented by an Integer step - yields Float values incremented by a Float step - returns Float values of 'step * n + begin < end' +- handles infinite values at either end Range#step with exclusive end and Integer, Float values - yields Float values incremented by 1 and less than end when not passed a step @@ 57083 @@ - creates a subclass of thread calls super with a block in initialize - calls #initialize and raises an error if super not used - calls and respects #initialize for the block to use +- releases Mutexes held by the Thread when the Thread finishes +- releases Mutexes held by the Thread when the Thread finishes, also with Mutex#synchronize <build-dir>/rubyspec/core/thread/pass_spec.rb Thread.pass @@ 58169 @@ - returns true if trace was enabled - returns false if trace was disabled - is disabled within a block & is enabled outside the block +- returns the return value of the block <build-dir>/rubyspec/core/tracepoint/enable_spec.rb TracePoint#enable without a block @@ 58179 @@ TracePoint#enable with a block - enables the trace object within a block - enables trace object on calling with a block if it was already enabled +- returns the return value of the block - disables the trace object outside the block <build-dir>/rubyspec/core/tracepoint/enabled_spec.rb @@ 58195 @@ <build-dir>/rubyspec/core/tracepoint/inspect_spec.rb TracePoint#inspect - returns a string containing a human-readable TracePoint status +- returns a String showing the event, path and line +- returns a String showing the event, path and line for a :class event <build-dir>/rubyspec/core/tracepoint/instruction_sequence_spec.rb <build-dir>/rubyspec/core/tracepoint/lineno_spec.rb @@ 58214 @@ - converts given event name as string into symbol using to_sym - includes multiple events when multiple event names are passed as params - raises a TypeError when the given object is not a string/symbol +- raises a Argument error when the given argument doesn't match an event name <build-dir>/rubyspec/core/tracepoint/parameters_spec.rb <build-dir>/rubyspec/core/tracepoint/path_spec.rb @@ 58233 @@ <build-dir>/rubyspec/core/tracepoint/self_spec.rb TracePoint#self - return the trace object from event +- return the class object from a class event <build-dir>/rubyspec/core/tracepoint/trace_spec.rb TracePoint.trace @@ 61767 @@ - makes padding optional <build-dir>/rubyspec/library/bigdecimal/BigDecimal_spec.rb +BigDecimal +- is not defined unless it is required Kernel#BigDecimal - creates a new object of class BigDecimal @@ 62008 @@ - returns NaN both operands are infinite with the same sign - returns Infinity or -Infinity if these are involved +BigDecimal#- with Object +- tries to coerce the other operand to self <build-dir>/rubyspec/library/bigdecimal/mode_spec.rb BigDecimal.mode @@ 62075 @@ - returns Infinity or -Infinity if these are involved - returns NaN if Infinity + (- Infinity) +BigDecimal#+ with Object +- tries to coerce the other operand to self <build-dir>/rubyspec/library/bigdecimal/power_spec.rb BigDecimal#power @@ 68512 @@ - returns the element at the current position and moves forward <build-dir>/rubyspec/library/rbconfig/rbconfig_spec.rb +RbConfig::CONFIG +- values are all strings +- ['rubylibdir'] returns the directory containing Ruby standard libraries +- ['archdir'] returns the directory containing standard libraries C extensions <build-dir>/rubyspec/library/rbconfig/sizeof/sizeof_spec.rb RbConfig::SIZEOF @@ 77383 @@ - calls #to_str on non-String objects - does not call #to_s on non-String objects +rb_str_modify_expand +- grows the capacity to bytesize + expand, not changing the bytesize rb_str_resize - reduces the size of the string =================================================================== --- 20190221T133818Z @@ 9355 @@ Thread model: posix InstalledDir: /usr/bin <build-dir>/ruby/test/test_open3.rb:<line_a>: warning: assigned but unused variable - result -<build-dir>/ruby/test/optparse/test_zsh_completion.rb:<line_a>: warning: method redefined; discarding old setup -<build-dir>/ruby/test/optparse/test_bash_completion.rb:<line_a>: warning: previous definition of setup was here <build-dir>/ruby/test/rubygems/test_gem_package_tar_header.rb:<line_a>: warning: assigned but unused variable - new_header Gem::Indexer tests are being skipped. Install builder gem. <build-dir>/ruby/test/-ext-/tracepoint/test_tracepoint.rb:<line_a>: warning: unused literal ignored @@ 18720 @@ [n/n] TestIO#test_copy_stream_strio_to_io = <elapsed> s [n/n] TestIO#test_copy_stream_strio_to_tempfile = <elapsed> s [n/n] TestIO#test_copy_stream_to_duplex_io = <elapsed> s -Leaked thread: TestIO#test_copy_stream_to_duplex_io: #<Thread:<address>@<build-dir>/ruby/test/ruby/test_io.rb:1159 <status>> [n/n] TestIO#test_copy_stream_write_in_binmode = <elapsed> s -Finished thread: <test-method>: <thread> [n/n] TestIO#test_copy_stream_write_pipe = <elapsed> s [n/n] TestIO#test_cross_thread_close_fd = <elapsed> s [n/n] TestIO#test_cross_thread_close_stdio = <elapsed> s @@ 27635 @@ <n>) Failure: TestIO#test_select_leak [<build-dir>/ruby/test/ruby/test_io.rb:3554]: -rss: 8220672 => 21655552. -Expected 2.634280019930244 to be < 2.0. Finished tests in <n>s, <n> tests/s, <n> assertions/s. <num> tests, <num> assertions, <num> failures, <num> errors, <num> skips @@ 58101 @@ - returns true if trace was enabled - returns false if trace was disabled - is disabled within a block & is enabled outside the block -- is disabled within a block & also returns false when its called with a block <build-dir>/rubyspec/core/tracepoint/enable_spec.rb TracePoint#enable without a block @@ 58111 @@ TracePoint#enable with a block - enables the trace object within a block - enables trace object on calling with a block if it was already enabled -- returns value returned by the block - disables the trace object outside the block <build-dir>/rubyspec/core/tracepoint/enabled_spec.rb @@ 58144 @@ - converts given event name as string into symbol using to_sym - includes multiple events when multiple event names are passed as params - raises a TypeError when the given object is not a string/symbol -- raises a Argument error when the give argument doesn't match an event name <build-dir>/rubyspec/core/tracepoint/parameters_spec.rb <build-dir>/rubyspec/core/tracepoint/path_spec.rb @@ 68432 @@ - returns the element at the current position and moves forward <build-dir>/rubyspec/library/rbconfig/rbconfig_spec.rb -RbConfig::CONFIG values -- are all strings <build-dir>/rubyspec/library/rbconfig/sizeof/sizeof_spec.rb RbConfig::SIZEOF
OlderDiff < 20190221T133818Z(failure) < ThisDiff > 20190221T163742Z(failure)