summaryrefslogtreecommitdiff
path: root/tool/lib
AgeCommit message (Collapse)Author
2021-03-13Revert "Extracted AtomicWrite"Nobuyoshi Nakada
This reverts commit 2148ee78a5bc5e679903f5839c66578bfcf94a39, mistakenly committed.
2021-03-13Extracted AtomicWriteNobuyoshi Nakada
2021-03-08[ruby/stringio] Include all modules included into Test::Unit::TestCaseNobuyoshi Nakada
Some methods are separated into modules in test-unit now. https://github.com/ruby/stringio/commit/d289848994
2021-03-08[ruby/stringio] Pass IOs as separate list for ruby 2.xNobuyoshi Nakada
https://github.com/ruby/stringio/commit/74e39858eb
2021-02-14Set verbose flag at retryingNobuyoshi Nakada
2021-02-08vcs.rb: update the given option to VCS.detect by keyword argumentsNobuyoshi Nakada
2021-02-08vcs.rb: added `base_url` keyword option to GIT#export_changelogNobuyoshi Nakada
2021-02-08vcs.rb: improved export_changelogNobuyoshi Nakada
* arguments are optional * `path` may be passed as a keyword argument * `nil` or `"-"` path means stdout
2021-01-26vcs.rb: fix for baseruby 2.2Nobuyoshi Nakada
2021-01-26vcs.rb: support `d` command in log-fixNobuyoshi Nakada
2021-01-26vcs.rb: allow log-fix to insert an empty lineNobuyoshi Nakada
2021-01-23vcs.rb: continue just with warning if failed to fetch notesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4109
2021-01-23vcs.rb: include commit info in ChangeLogNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4109
2021-01-21Support `i` command in log-fixNobuyoshi Nakada
2021-01-13Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun
because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
2021-01-09Get rid of defining methods for tests in core classesNobuyoshi Nakada
Not to interfere in other tests. Notes: Merged: https://github.com/ruby/ruby/pull/4043
2020-12-25Follow up on variations of the development start messages [ci skip]Nobuyoshi Nakada
2020-12-24Pass keyword options in assert_syntax_errorNobuyoshi Nakada
2020-12-23[ruby/date] Fix envutil for old RubyKenta Murata
https://github.com/ruby/date/commit/57e25c406a
2020-12-23[ruby/date] Workaround for non-ruby repository like ruby/date, flori/jsonHiroshi SHIBATA
https://github.com/ruby/date/commit/1ff7fa2d80
2020-12-23Guard < Ruby 3.0 for the repositories of default gems.Hiroshi SHIBATA
2020-12-20Add `require_relative` option to `assert_ractor`Marc-Andre Lafortune
2020-12-19`assert_ractor` tweak. Thanks NobuMarc-Andre Lafortune
2020-12-19Add `assert_ractor` [Feature #17367]Marc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3942
2020-12-18Use category: :deprecated in warnings that are related to deprecationJeremy Evans
Also document that both :deprecated and :experimental are supported :category option values. The locations where warnings were marked as deprecation warnings was previously reviewed by shyouhei. Comment a couple locations where deprecation warnings should probably be used but are not currently used because deprecation warning enablement has not occurred at the time they are called (RUBY_FREE_MIN, RUBY_HEAP_MIN_SLOTS, -K). Add assert_deprecated_warn to test assertions. Use this to simplify some tests, and fix failing tests after marking some warnings with deprecated category. Notes: Merged: https://github.com/ruby/ruby/pull/3917
2020-12-17test/ruby: Check warning messages at a finer granularityNobuyoshi Nakada
Instead of suppressing all warnings wholly in each test scripts by setting `$VERBOSE` to `nil` in `setup` methods. Notes: Merged: https://github.com/ruby/ruby/pull/3925 Merged-By: nobu <nobu@ruby-lang.org>
2020-12-13Debug the command used for gdb dumpTakashi Kokubun
It's not working http://ci.rvm.jp/results/trunk-mjit@phosphorus-docker/3288206. I'm debugging why.
2020-12-12Dump a backtrace with gdbTakashi Kokubun
Because Ruby often fails to dump a C backtrace.
2020-12-11Removed needless gemspec of webrickHiroshi SHIBATA
2020-12-11Bump webrick-1.7.0 for version management with ruby/webrick.Hiroshi SHIBATA
2020-12-10Move webrick library into internal test toolchainHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3729
2020-12-03Avoid leaving too many core files in /tmpTakashi Kokubun
for CIs like ci.rvm.jp.
2020-12-03Do not require time and fileutils by defaultTakashi Kokubun
I have no idea what I'm doing, but the previous commit caused lots of CI failures like https://github.com/ruby/ruby/runs/1496949568 and this place is the most suspicious.
2020-12-03Save a core file on a worker crashTakashi Kokubun
CI failures like http://ci.rvm.jp/results/trunk-mjit@phosphorus-docker/3280458 doesn't provide any useful information, and it doesn't leave a core file in a CI environment because a test like `Process.kill(:TRAP, $$)` overwrites in a next run very quickly. Thus I'd like to keep core files in /tmp.
2020-12-03Revert "Report a full_message on a worker crash"Takashi Kokubun
This reverts commit 00f046ef57f9da7f5248f9ef9d55702ddc407bf1. It was not helpful for an issue I was debugging.
2020-12-01tune parallel testKoichi Sasada
This patch contains the fowllowing hacks: (1) Add "--timetable-data=FILE" option for test-all This option enables to dump timeline event contains worker, suite, and start/end time. (2) remove TestJIT in test_jit_debug.rb on parallel test. it is duplicated test. (3) move test_jit.rb and test_jit_debug.rb at first because these two tests are bottleneck of parallel tests. On my environment, `make test-all TESTS=-j12` reduced the total time 190 seconds -> 140 seconds. Notes: Merged: https://github.com/ruby/ruby/pull/3826
2020-11-24Report a full_message on a worker crashTakashi Kokubun
A worker crash happens very often, but we're not sure why. I'd like to know a backtrace if it's available.
2020-10-27freeze dynamic regexp literalsKoichi Sasada
Regexp literals are frozen, and also dynamically comppiled Regexp literals (/#{expr}/) are frozen. Notes: Merged: https://github.com/ruby/ruby/pull/3676
2020-10-08Expose assert, assert_respond_to and assert_not_respond_to for 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-09-14Added just working Test::Unit::CoreAssertions#diffNobuyoshi Nakada
This is not "diff", but show expected and actual results both, just to get rid of `NoMethodError` when an assertion failed.
2020-09-09Revert the related commits about `Tempfile.open` change.Hiroshi SHIBATA
Start with https://github.com/ruby/ruby/commit/fa21985a7a2f8f52a8bd82bd12a724e9dca74934 to https://github.com/ruby/ruby/commit/d7492a0be885ea9f2b9f71e3e95582f9a859c439
2020-08-29Simplify Tempfile.open calls with a block as they now unlink the file ↵Benoit Daloze
automatically
2020-08-11Add default color for each instanceNobuyoshi Nakada
2020-07-28Use https instead of httpKazuhiro NISHIYAMA
2020-07-28Remove `EnvUtil.rubyexec`, because it is not used anywhere.Vít Ondruch
Notes: Merged: https://github.com/ruby/ruby/pull/3351
2020-07-15Check warning flags only if available to run with old versionsNobuyoshi Nakada
2020-07-10Show messages around the line when replacing failed in format_changelogKazuhiro NISHIYAMA
2020-07-02Expose `assert_pattern_list` for drb test with test-unit gem.Hiroshi SHIBATA