summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2019-07-03Just disable inlining with local varaible for nowTakashi Kokubun
This partially reverts commit 712a66b0741605f5b2db670a292b9bb352f8a716. The previous fix made CI strange like: http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2124178 Let me just downgrade the behavior for now and deal with it later. [Bug #15971]
2019-07-03Fix up [Feature #15974]Nobuyoshi Nakada
* Fixed warning condition * Fixed function signature * Use ident hash
2019-07-03Revert "Avoid corrupting VM stack on inlined setlocal"Koichi Sasada
This reverts commit ea30dd702512ff9df34fe8c71c825f8f901bf5b1. because it fails when VM_CHECK_MODE=1.
2019-07-02Check that String#scrub block does not modify receiverJeremy Evans
Similar to the check used for String#gsub. Can fix possible segfault. Fixes [Bug #15941]
2019-07-02Make String#-@ not freeze receiver if called on unfrozen subclass instanceJeremy Evans
rb_fstring behavior in this case is to freeze the receiver. I'm not sure if that should be changed, so this takes the conservative approach of duping the receiver in String#-@ before passing to rb_fstring. Fixes [Bug #15926]
2019-07-02Implement Array#minmaxJeremy Evans
Array#minmax was previous not implemented, so calling #minmax on array was actually calling Enumerable#minmax. This is a simple implementation of #minmax by just calling rb_ary_min and rb_ary_max, which improves performance significantly. Fixes [Bug #15929]
2019-07-02Fix timezone issue for logger period's testsYusuke Endoh
This is a retry of 181b966e7553ac53d034266a7cdc18664d080814. "Revert "Add a missing tests for Logger::Period module"" is also reverted.
2019-07-02Revert "Add a missing tests for Logger::Period module"Koichi Sasada
This reverts commit 181b966e7553ac53d034266a7cdc18664d080814.
2019-07-02Avoid corrupting VM stack on inlined setlocalTakashi Kokubun
setlocal relies on cfp->ep, and frame-omitted method inlining introduced in Ruby 2.7 kept it wrong. This change might slow down frame-omitted method inlining for cfp->ep manipulation, and it obviously complicates the implementaion more. By introducing an optimization that changes Ruby's local variable to C local variable, we could optimize it and simplify the cfp->ep manipulation later. [Bug #15971]
2019-07-02Add a missing tests for Logger::Period moduleAnton Davydov
Closes: https://github.com/ruby/ruby/pull/2266
2019-07-02The behavior of statx(2) depends on the filesystemNobuyoshi Nakada
birthtime may not be supported on some filesystems, and NotImplementedError can be raised. [Bug #15972]
2019-07-02Clean up temporary expired cert fileNobuyoshi Nakada
2019-07-02Clean up temporary directory for raccNobuyoshi Nakada
2019-07-02Adjust jit_support file path.Hiroshi SHIBATA
2019-07-02with_different_ofs.rb has been moved tooNobuyoshi Nakada
2019-07-02Renamed to get rid of name clashNobuyoshi Nakada
2019-07-02Fixed the wrong path for COVERAGE.Hiroshi SHIBATA
ref. c3c0e3f5c9444c197779cb242de46dfffda79dec
2019-07-02Split test files for test-framework that are test-unit and minitest to tool ↵Hiroshi SHIBATA
direcotry.
2019-07-02Move to tool/lib from test/lib.Hiroshi SHIBATA
2019-07-01Raise TypeError if calling ENV.freezeJeremy Evans
Previously, you could call ENV.freeze, but it would not have the desired effect, as you could still modify ENV. Fixes [Bug #15920]
2019-07-01marshal.c: check instance variable countNobuyoshi Nakada
* marshal.c (w_ivar_each): ensure that no instance variable was removed while dumping other instance variables. [Bug #15968]
2019-07-01marshal.c: check instance variable countNobuyoshi Nakada
* marshal.c (w_obj_each): ensure that no instance variable was added while dumping other instance variables. [Bug #15968]
2019-07-01Fixed inadvertent ID creation in rb_iv_getNobuyoshi Nakada
2019-07-01Assert obsolete method warnings in IPAddrNobuyoshi Nakada
2019-07-01Return the result of the block given to assert_warning/assert_no_warningNobuyoshi Nakada
2019-07-01Call deprecated method only inside assert_warning blockNobuyoshi Nakada
2019-07-01Suppress unused variable warningNobuyoshi Nakada
2019-06-30Added test for require-return hookNobuyoshi Nakada
2019-06-30TracePoint#__enable requires 3 arguments nowNobuyoshi Nakada
2019-06-30Allow dtrace without pty, i.e., with minirubyNobuyoshi Nakada
2019-06-30Check for the privileges by the current process groupsNobuyoshi Nakada
Group membership of login user is not activated until login after adding to the group.
2019-06-30dtrace: check for the command availablity with sudoNobuyoshi Nakada
2019-06-30Producer threads check is the primary conditionNobuyoshi Nakada
2019-06-30Suppress "statement not reached" warningNobuyoshi Nakada
2019-06-30Suppress method redefinition warningsNobuyoshi Nakada
2019-06-30Suppress "literal in condition" warningsNobuyoshi Nakada
2019-06-30Suppress unused literal warnings in verbose modeNobuyoshi Nakada
2019-06-30Suppress void context warnings in verbose modeNobuyoshi Nakada
2019-06-30Skip instead of returnNobuyoshi Nakada
2019-06-30Fixed non-working testNobuyoshi Nakada
2019-06-30Fixed ClosedQueueError by a timing issueNobuyoshi Nakada
2019-06-30Reset the result between assertionsNobuyoshi Nakada
2019-06-30Fixed an assertionNobuyoshi Nakada
2019-06-30Suppress unused variable warningsNobuyoshi Nakada
2019-06-30Wait for the helper thread to terminateNobuyoshi Nakada
2019-06-30Add parentheses to suppress warningsNobuyoshi Nakada
2019-06-30Removed unused variablesNobuyoshi Nakada
2019-06-29Escape control codes in regexp warning messageNobuyoshi Nakada
2019-06-29Should not warn massign parameters as unusedNobuyoshi Nakada
2019-06-29Rmove old TestTimeTZ::TZ#abbr attributeNobuyoshi Nakada