summaryrefslogtreecommitdiff
path: root/tool/lib
AgeCommit message (Collapse)Author
10 hoursFix minor typos in comments, specs, and docsTim Smith
Just a bit of minor cleanup Signed-off-by: Tim Smith <[email protected]> Notes: Merged: https://github.com/ruby/ruby/pull/13636
46 hoursSuppress 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
3 daysAdd `--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.
3 daysDump with debugger before killing stuck workerNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13618
11 daysSkip blame-ignored revisions [ci skip]Nobuyoshi Nakada
11 daysAdd `skip` log-fix command to skip that commit totally [ci skip]Nobuyoshi Nakada
11 daysRevert "[Bug #21388] Make snapshots of gems"Nobuyoshi Nakada
This reverts commit e90282be7ba1bc8e3119f6e1a2c80356ceb3f80a, a commit miss.
11 days[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 <[email protected]>
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
2024-10-11Don't enable GC.auto_compact in EnvUtil.under_gc_compact_stress when not ↵Peter Zhu
supported Notes: Merged: https://github.com/ruby/ruby/pull/11887
2024-10-01Fix compile issue with a short-circuited if/unless condition and `defined?`Luke Gruber
This caused an issue when `defined?` was in the `if` condition. Its instructions weren't appended to the instruction sequence even though it was compiled if a compile-time known logical short-circuit happened before the `defined?`. The catch table entry (`defined?` compilation produces a catch table entry) was still on the iseq even though the instructions weren't there. This caused faulty exception handling in the method. The solution is to no add the catch table entry for `defined?` after a compile-time known logical short circuit. This shouldn't touch much code, it's only for cases like the following, which can occur during debugging: if false && defined?(Some::CONSTANT) "more code..." end Fixes [Bug #20501] Notes: Merged: https://github.com/ruby/ruby/pull/11554
2024-09-13Try to find bundled gem version from lib/*/version.rbYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/11612
2024-09-12Accept version rangeNobuyoshi Nakada
Single `Integer` argument means an exact match to the major version. Notes: Merged: https://github.com/ruby/ruby/pull/11604
2024-09-10Remove an unnecessary blank line added by mistake [ci skip]Nobuyoshi Nakada
2024-09-10Add predicates for platformsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11583
2024-09-05Fix check_tempfile_leak in leakchecker.rbPeter Zhu
The instance variable @tmpfile was removed in ddcfc9f so check_tempfile_leak did not work. Notes: Merged: https://github.com/ruby/ruby/pull/11498
2024-09-04Ignore blocks to `Test::Unit::Assertions#pend` silentlyNobuyoshi Nakada
Although `pend` in test-unit gem expects the block does not pass if it is given, our `pend` should ignore the block silently as same as it just skips the test with no message by default. Add an unused parameter, to suppress the warning for the block to be ignored. Notes: Merged: https://github.com/ruby/ruby/pull/11538
2024-09-03Fix runnable symlinksNobuyoshi Nakada
Fix symlinks to executable as relative paths from `bin` directory. Notes: Merged: https://github.com/ruby/ruby/pull/11532
2024-08-22`make test-tool` with Windows is broken. We should use :KILL with that platform.Hiroshi SHIBATA
``` [ 14/191] TestParallel::TestParallel#test_hungup = 11.02 s 1) Failure: TestParallel::TestParallel#test_hungup [C:/Users/hsbt/DevDrive/github.com/ruby/ruby/tool/test/testunit/test_parallel.rb:211]: Expected /^Retrying hung up testcases\.+$/ to match "Run options: \n" + " --seed=35582\n" + " --ruby\n" + " \".\\\\ruby.exe -I../../ruby/lib -I.ext/x64-mswin64_140 -I. ../../ruby/tool/runruby.rb --extout=.ext -- --disable-gems\"\n" + " -j\n" + " t1\n" + " --worker-timeout=1\n" + "\n" + "# Running tests:\n" + "\n" + "[1/1] 50340=test4test_hungup.\n" + "C:/Users/hsbt/DevDrive/github.com/ruby/ruby/tool/lib/test/unit.rb:418:in 'Process.kill': Invalid argument (Errno::EINVAL)\n" + ``` Notes: Merged: https://github.com/ruby/ruby/pull/11430
2024-08-20Remove dependency on Tempfile::Remover in leakchecker.rbPeter Zhu
2024-08-15Improve base time of assert_linear_performance (#11369)tomoya ishida
Remove `.ceil` from base time calculation that makes 10x gap. This will make the assertion more strict and also less flaky. Notes: Merged-By: kou <[email protected]>
2024-08-07Use 20min for parallel test worker timeoutYusuke Endoh
2024-08-07Use SIGSEGV to kill a parallel test worker (to dump backtrace)Yusuke Endoh
2024-08-07Wait a bit longer for worker quitYusuke Endoh
2024-08-07Add a log when SIGKILL is sent to a test parallel workerYusuke Endoh
2024-08-07Fix a typoYusuke Endoh
2024-08-06Use 3min for test parallel worker timeout againYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/11315
2024-08-06Dump all-thread backtraces when test parallel worker exceeds time limitYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/11315
2024-08-06Extend the default timeout of parallel testing to one hourYusuke Endoh
2024-08-06Extend the default timeout of parallel testingYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/11311
2024-07-11Removed WEBrick and that testsHiroshi SHIBATA
We can handle uri, time and others without `make test-all` dependencies now.
2024-07-08Move the file location of launchable.rbNaoto Ono
2024-07-08Integrate Launchable into make btestNaoto Ono
2024-06-14Enable LeakChecker for RJIT previously disabled for MJIT (#10998)Alan Wu
RJIT doesn't spawn subprocesses so there should now be no need to special case it.
2024-05-20Re-use strscan with ruby repoHiroshi SHIBATA
2024-05-09Revert "Update revision.h if branch unmatch not only revision"Nobuyoshi Nakada
This reverts commit 5a332940ed2f809cb17af7e4d068089b6e1fa6ca. Something does not work well on Github Actions.
2024-05-08Update revision.h if branch unmatch not only revision [ci skip]Nobuyoshi Nakada
2024-05-08Show the caller location of assertion methodsNobuyoshi Nakada
Not only defined in `Test::Unit` or `CoreAssertions`, also show the caller location of assertion methods defined in the current class or ancestors.
2024-05-07[PRISM] Enable test_methoddef_endless_commandKevin Newton