summaryrefslogtreecommitdiff
path: root/tool/lib
AgeCommit message (Collapse)Author
2025-12-19Extract `Test::JobServer` moduleNobuyoshi Nakada
A placeholder to handle GNU make jobserver option. spec/default.mspec didn't handle the jobserver using a FIFO.
2025-11-19Revert "[Bug #21697] Keep revision.h outside VCS"Nobuyoshi Nakada
This reverts commit 8986115e0a2a989f2b2ea5945f02c7a13989d640. `RELEASE_DATE` including `YEAR`, `MONTH`, `DAY` are mandatory, while `REVISION` is not.
2025-11-19[Bug #21697] Keep revision.h outside VCSNobuyoshi Nakada
2025-11-17Fix EnvUtil.current_parser for modular GCPeter Zhu
The regexp used in EnvUtil.current_parser did not allow square brackets for feature names. Modular GC uses square brackets for the GC name (such as +GC[mmtk]).
2025-11-13Ractor support Windows platform. We need to skip only failing tests of RubyGemsHiroshi SHIBATA
2025-11-13Use omit instead of return in assertionHiroshi SHIBATA
2025-11-13Omit assert_ractor with Windows platformHiroshi SHIBATA
2025-11-12assert_separately: Suppress experimental warningsNobuyoshi Nakada
test-unit depends on power_assert that the recent versions require ruby 3.1 or later. While test-unit rescues syntax error at loading power_assert for old ruby versions, warnings for experimental features are not suppressed, and `assert_separately` fails because stderr is not empty, by default. Since adding `required_ruby_version` to power_assert causes the installation with old rubygems to fail, we just ignore warnings for experimental features totally.
2025-11-12Fix SyntaxError: unexpected keyword_rescue, expecting keyword_end in Ruby ↵Taketo Takashima
2.4 and earlier
2025-11-12Support multiple require in assert_ractorHiroshi SHIBATA
2025-10-25[DOC] Link github style references in ChangeLogNobuyoshi Nakada
2025-10-17Compatibility with test-unit-ruby-coreNobuyoshi Nakada
2025-10-17Skip low precision clocks to measure performancesNobuyoshi Nakada
2025-10-11Ignore thread not suspended warning messages in LSANPeter Zhu
When a process with multiple threads is forked, LSAN outputs warning messages to stderr like: ==276855==Running thread 276851 was not suspended. False leaks are possible. We should ignore messages like this in tests.
2025-10-09Rename Test::Sanitizers.enabled? to Test::Sanitizers.asan_enabled?Peter Zhu
2025-10-09Rename ext/-test-/asan to ext/-test-/sanitizersPeter Zhu
2025-10-07Always load -test-/asan in testsPeter Zhu
-test-/asan should always be available.
2025-10-07Verify that RubyGems is enabled by defaultNobuyoshi Nakada
2025-10-03Set Ruby parser if the given ruby accepts `--parser`Nobuyoshi Nakada
Now envutil.rb is a part of test-unit-ruby-core gem, which still supports old versions, 2.3 or later.
2025-10-03Windows: Fallback to powershell if fiddle is not loadableNobuyoshi Nakada
2025-09-18Pass -w to lsofJohn Hawthorn
2025-09-17vcs.rb: Drop support for ruby older than 2.6Nobuyoshi Nakada
2025-08-15Don't change Encoding.default_internal in assert_raise_with_messagePeter Zhu
For most tests (except two), we don't need to change Encoding.default_internal in assert_raise_with_message. We're trying to run the test suite across multiple Ractors and modifying Encoding.default_internal can cause other concurrently running tests to fail.
2025-08-05Added missing block argumentHiroshi SHIBATA
2025-08-05Sync https://github.com/ruby/test-unit-ruby-core/pull/8Hiroshi SHIBATA
2025-07-29Fix the current parser detectionNobuyoshi Nakada
Since `RUBY_DESCRIPTION` contains the branch name, `/prism/i` can match unexpectedly. Extract the feature lists between revision and platform infos.
2025-07-03Remove old `bundle.rb` script usageDavid Rodríguez
2025-06-28Remove `git`-related files in unpacked gemsNobuyoshi Nakada
These files, including `.github` directory, are useless unless the repository itself is contained as well.
2025-06-20Dump with debugger just onceNobuyoshi Nakada
2025-06-19Fix EnvUtil::Debugger#dumpNobuyoshi Nakada
- Send outputs from debugger to stderr - Use `%W` to interpolate the pid Notes: Merged: https://github.com/ruby/ruby/pull/13656
2025-06-18Fix minor typos in comments, specs, and docsTim Smith
Just a bit of minor cleanup Signed-off-by: Tim Smith <tsmith84@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/13636
2025-06-16Suppress stderr output in `TestRubyOptions#assert_segv`Nobuyoshi Nakada
It is checked against the given `list`, do not print the same output twice. Notes: Merged: https://github.com/ruby/ruby/pull/13624
2025-06-15Add `--keep-repeating` optionNobuyoshi Nakada
It directs the program to continue repeating the tests the specified number of times, even if any tests fail along the way.
2025-06-15Dump with debugger before killing stuck workerNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13618
2025-06-07Skip blame-ignored revisions [ci skip]Nobuyoshi Nakada
2025-06-07Add `skip` log-fix command to skip that commit totally [ci skip]Nobuyoshi Nakada
2025-06-07Revert "[Bug #21388] Make snapshots of gems"Nobuyoshi Nakada
This reverts commit e90282be7ba1bc8e3119f6e1a2c80356ceb3f80a, a commit miss.
2025-06-07[Bug #21388] Make snapshots of gemsNobuyoshi Nakada
If the revision of bundled gems is specified for ruby master (and `git` is usable), checkout that revision and build a snapshot gem, and use it for `test-spec` instead of the downloaded release version.
2025-06-04Support Ractor#value and Ractor#join for old versions of RubyHiroshi SHIBATA
https://github.com/ruby/test-unit-ruby-core/pull/9 https://github.com/ruby/test-unit-ruby-core/pull/10
2025-05-29Remove unnecessary `GEM_PATH` modificationDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/13461
2025-04-22Assign the result of `format_changelog` to the changelog writerNobuyoshi Nakada
Also, rename `format_changelog` to `changelog_formatter` since this method does not format the changelog when called, but rather returns a Proc that takes IO and writes the formatted changelog.
2025-04-19SVN repository is already retiredHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/13133
2025-03-17Fix `assert_warning` for `Proc`Nobuyoshi Nakada
`Proc` does not have `encoding` method. Also, make `assert_raise_with_message` accept a `Proc` as the expected pattern, as well. Notes: Merged: https://github.com/ruby/ruby/pull/12923
2025-03-06Show test task names longerNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12871
2025-02-27[Misc #20661] Stop retrying tests in `make test-all` command by default (#11271)Naoto Ono
[Misc #20661] Stop retrying tests in make test-all command by default Notes: Merged-By: ono-max <onoto1998@gmail.com>
2025-02-17Ignore broken git work directory at creating revision.h [ci skip]Nobuyoshi Nakada
2025-01-24Add `Test::Unit::CoreAssertions#assert_raise_kind_of`Nobuyoshi Nakada
Similar to `Test::Unit::assert_raise`, but allows sub classes too. Notes: Merged: https://github.com/ruby/ruby/pull/12625
2025-01-15Use rdoc provided by bundled gems for generating ruby documentationHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2025-01-10Extract Benchmark.measure on assert_cpu_usage_lowHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12544
2024-11-01Make gemspec files for default gems with extensionsNobuyoshi Nakada
So that rubygems can find them as gems. However, the `--install-dir` option of `gem install` seems to exclude prerelease gems, even already installed in that directory, from the dependencies for some reasons; use the `GEM_HOME` environment variable instead. Now net-imap 0.5.0 depends on json gem. Notes: Merged: https://github.com/ruby/ruby/pull/11969