Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ruby/test-unit-ruby-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: silence-debugger-probes
Choose a base ref
...
head repository: ruby/test-unit-ruby-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 10 files changed
  • 6 contributors

Commits on Aug 1, 2026

  1. Merge pull request #25 from ruby/silence-debugger-probes

    Sync tool/lib changes from ruby/ruby
    hsbt authored Aug 1, 2026
    Configuration menu
    Copy the full SHA
    381769f View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2026

  1. Unset PAGER environment variables when reading the help message

    Workaround for jruby/jruby#9026.  JRuby attempts to call the entire
    `ENV[“PAGER”]` (or `ENV["RUBY_PAGER"]`) as the program name instead
    of splitting it into a program name and options, even if stdout and
    stderr are redirected to a non-tty.
    nobu committed Aug 10, 2026
    Configuration menu
    Copy the full SHA
    ccd86da View commit details
    Browse the repository at this point in the history
  2. Bump up to 1.0.15

    nobu committed Aug 10, 2026
    Configuration menu
    Copy the full SHA
    f992e1b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15d209a View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2026

  1. Merge pull request #27 from taketo1113/fix-syntax-error-ruby-2.4-25

    Fix SyntaxError: unexpected keyword_rescue, expecting keyword_end in Ruby 2.4 and earlier
    hsbt authored Aug 20, 2026
    Configuration menu
    Copy the full SHA
    7d0d6ee View commit details
    Browse the repository at this point in the history
  2. Add tests

    nobu committed Aug 20, 2026
    Configuration menu
    Copy the full SHA
    11ea26e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    434734d View commit details
    Browse the repository at this point in the history
  4. Use Regexp#=~ for ruby 2.3

    `Regexp#match?` was introduced at ruby 2.4.
    nobu committed Aug 20, 2026
    Configuration menu
    Copy the full SHA
    11c19e8 View commit details
    Browse the repository at this point in the history
  5. assert_separately: Suppress experimental warnings

    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.
    
    ruby/ruby@0ca3eed
    nobu committed Aug 20, 2026
    Configuration menu
    Copy the full SHA
    cf868e0 View commit details
    Browse the repository at this point in the history
  6. Fix for rubies older than 2.7

    nobu committed Aug 20, 2026
    Configuration menu
    Copy the full SHA
    c53ddda View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e04f0f5 View commit details
    Browse the repository at this point in the history
  8. Keep the original PATH in the EnvUtil.find_executable test

    Replacing PATH with only the build directory breaks the spawned
    ruby.exe on MSYS2 UCRT64, where the Windows DLL loader needs PATH to
    resolve libgmp-10.dll linked into the ruby DLL. Prepend the directory
    instead so the build ruby is still found first.
    
    ruby/ruby@9272524
    
    Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
    hsbt and claude committed Aug 20, 2026
    Configuration menu
    Copy the full SHA
    5ce9259 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2026

  1. v1.0.16

    hsbt committed Aug 21, 2026
    Configuration menu
    Copy the full SHA
    f7ee598 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2026

  1. Do not measure with a per-thread CPU clock under the M:N scheduler

    assert_linear_performance() picks CLOCK_THREAD_CPUTIME_ID when it is
    available.  That clock belongs to the native thread that reads it, and an
    M:N thread moves between native threads, so the two reads around one
    measurement can come from different native threads and the elapsed time
    comes out negative:
    
        Expected 0 to be <= -2.2150775009999997.
    
    Reproduced with RUBY_MN_THREADS=2, 1500 fork/waitpid pairs per run: the
    Ruby thread changed native thread 1, 9 and 10 times over three runs, and
    the clock went backwards 1, 5 and 6 times, by as much as 0.38s.  The
    default, =1 and =-1 never moved the main thread and never went backwards.
    CLOCK_PROCESS_CPUTIME_ID stayed monotonic across 15 such migrations.
    
    Prefer process CPU time when the M:N scheduler is on.  This only changes
    which clock the assertion uses; it does not relax the assertion.
    
    ruby/ruby carries the same change as 0e06087548.
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    ko1 and claude committed Sep 10, 2026
    Configuration menu
    Copy the full SHA
    5001c32 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2026

  1. rake sync_tool

    hsbt committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    418676f View commit details
    Browse the repository at this point in the history
Loading