summaryrefslogtreecommitdiff
path: root/tool/lib/envutil.rb
AgeCommit message (Collapse)Author
2024-05-29Skip under_gc_compact_stress on s390x (#10073)Takashi Kokubun
2024-01-30merge revision(s) e12d4c654e3cb7a4473014610bc3bae41aaf811e: [Backport #20104]NARUSE, Yui
Don't create T_MATCH object if /regexp/.match(string) doesn't match Fixes [Bug #20104] --- re.c | 9 ++++++--- test/ruby/test_regexp.rb | 12 ++++++++++++ tool/lib/envutil.rb | 8 ++++++++ 3 files changed, 26 insertions(+), 3 deletions(-)
2023-12-19Support `GC.auto_compact = :empty` on debug buildsPeter Zhu
This commit adds `GC.auto_compact = :empty` which will run auto-compaction sorting pages by empty slots so the most amount of objects will be moved. This will make it easier to write tests for auto-compaction.
2023-11-27Fix compaction during ary_make_partialPeter Zhu
The ary_make_shared call may allocate, which can trigger a GC compaction. This can cause the array to be embedded because it has a length of 0.
2023-10-17Prefer RbConfig.ruby over the 3.times fallback (#8691)Takashi Kokubun
It seems saner to use RbConfig.ruby than using ruby in a random ancestor directory.
2023-08-02Fix wrong assignmentNobuyoshi Nakada
2023-08-02Allow to override environment variables for debugNobuyoshi Nakada
2022-12-25Support new style diagnostic reportsNobuyoshi Nakada
2022-01-19remain `RUBY_ON_BUG` for child processes.Koichi Sasada
`RUBY_ON_BUG` is useful for child processes created by the test process. Notes: Merged: https://github.com/ruby/ruby/pull/5466
2021-03-08[ruby/stringio] Pass IOs as separate list for ruby 2.xNobuyoshi Nakada
https://github.com/ruby/stringio/commit/74e39858eb
2020-12-23[ruby/date] Fix envutil for old RubyKenta Murata
https://github.com/ruby/date/commit/57e25c406a
2020-12-23Guard < Ruby 3.0 for the repositories of default gems.Hiroshi SHIBATA
2020-09-28Pass ASAN options to child environmentsAaron Patterson
I want to work with ASAN, but some child environments are not inheriting the ASAN options I'm using. This commit passes them to child environments if specified
2020-09-25Disable deprecation warning by the default [Feature #16345]Nobuyoshi Nakada
And `-w` option turns it on. Notes: Merged: https://github.com/ruby/ruby/pull/3481
2020-07-28Remove `EnvUtil.rubyexec`, because it is not used anywhere.Vít Ondruch
Notes: Merged: https://github.com/ruby/ruby/pull/3351
2020-06-03Fixed up 56ca006784dNobuyoshi Nakada
Run lldb just before sending ABRT or KILL signal. Some tests terminate child processes by TERM signal intentionally.
2020-06-02run lldb to investigate the stuck process.Koichi Sasada
Before sending signals (ABRT, KILL), use lldb to show the backtrace of a stuck process. This commit also reverts recent changes for terminate().
2020-06-01add more 2 sec.Koichi Sasada
After sending SEGV signal, but no response. Try to add 2 more seconds. If we can not have a detailed log, we need to use gdb/lldb to show the backtrace.
2020-06-01send SEGV to show backtrace.Koichi Sasada
send SEGV to terminate the remaining process before sending ABRT and KILL to show the backtrace.
2020-05-05envutil.rb: Also alias to #nameNobuyoshi Nakada
2020-04-17envutil.rb: not try to close pipes twiceNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3039
2019-09-06Revert "Add a temporal stack dumper for debugging on trunk-mjit"Yusuke Endoh
This reverts commit 433c9c00d96124e3b416d0a20ff795b0ad4273fa. Successfully captured some traces, and 3b60e5e6bc2c84b971bea9c8312eb5d33ada2ff5 seems to fix the issue.
2019-09-05Add a temporal stack dumper for debugging on trunk-mjitYusuke Endoh
This must be definitely removed after we collect the stack traces :-) http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2245710
2019-08-18Gem::ConfigMap is deprecated nowHiroshi SHIBATA
2019-08-05Moved FailDesc to EnvUtil.failure_descriptionNobuyoshi Nakada
So EnvUtil does not depends on test/unit.
2019-07-02Move to tool/lib from test/lib.Hiroshi SHIBATA