summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
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-04Use bundler/inline to download diffy gemHiroshi SHIBATA
2024-09-02Revert "Experiment with removing --profile ruby for now"Takashi Kokubun
This reverts commit 6986536488ba23c033c043ef8765438f22df7bf5. We were just missing the secrets.
2024-09-02Experiment with removing --profile ruby for nowTakashi Kokubun
2024-09-02Try to fix AWS_CLI_OPTS with AWS_ACCESS_KEY_IDTakashi Kokubun
2024-09-02Drop `--profile ruby` on the release workflowTakashi Kokubun
2024-09-03Fix `gem exec rails new foo` failing on Ruby 3.2David Rodríguez
The default version of securerandom (0.2.2) gets activated by RubyGems, but does not match Rails requirements (>= 0.3), leading to an error like this: ``` $ gem exec rails new repro /Users/deivid/Code/rubygems/rubygems/lib/rubygems/specification.rb:2246:in `raise_if_conflicts': Unable to activate activesupport-7.2.1, because securerandom-0.2.2 conflicts with securerandom (>= 0.3) (Gem::ConflictError) from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/specification.rb:1383:in `activate' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/specification.rb:1421:in `block in activate_dependencies' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/specification.rb:1403:in `each' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/specification.rb:1403:in `activate_dependencies' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/specification.rb:1385:in `activate' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/core_ext/kernel_gem.rb:62:in `block in gem' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/core_ext/kernel_gem.rb:62:in `synchronize' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/core_ext/kernel_gem.rb:62:in `gem' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/commands/exec_command.rb:193:in `activate!' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/commands/exec_command.rb:73:in `execute' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/command.rb:326:in `invoke_with_build_args' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/command_manager.rb:255:in `invoke_command' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/command_manager.rb:194:in `process_args' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/command_manager.rb:152:in `run' from /Users/deivid/Code/rubygems/rubygems/lib/rubygems/gem_runner.rb:56:in `run' from /Users/deivid/code/rubygems/rubygems/exe/gem:12:in `<main>' ``` Vendoring our own securerandom fixes the issue since that way we avoid activating the gem internally.
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-09-02redmine-backporter: Support matching multiple revsTakashi Kokubun
with `done` command
2024-09-02redmine-backporter: Clarify the actual control flowTakashi Kokubun
The `rev && has_commit(rev, "ruby_#{TARGET_VERSION.tr('.','_')}")` case seems to be used if and only if it's manually specified in the argument to the done command. It was hard to notice it with the previous code.
2024-08-31* remove trailing spaces. [ci skip]git
2024-08-31Added check method with released version of rubygems.orgHiroshi SHIBATA
2024-08-23`load_relative` is always falsy hereDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/11435
2024-08-23Reuse `load_relative` localDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/11435
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-21[Bug #20687] Check if base ruby provides necessary librariesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11419
2024-08-21Skip failing tempfile library testsSoutaro Matsumoto
Notes: Merged: https://github.com/ruby/ruby/pull/11417
2024-08-20Remove dependency on Tempfile::Remover in leakchecker.rbPeter Zhu
2024-08-20Remove extraneous lock filesNobuyoshi Nakada
See https://github.com/rubygems/rubygems/pull/7939
2024-08-18Make Range#step to consistently use + for iteration (#7444)Victor Shepelev
Make Range#step to consistently use + for iteration [Feature #18368] Previously, non-numerics expected step to be integer, and iterated with begin#succ, skipping over step value steps. Since this commit, numeric and non-numeric iteration behaves the same way, by using + operator. Notes: Merged-By: zverok <zverok.offline@gmail.com>
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 <kou@clear-code.com>
2024-08-08Added test scenario for https://github.com/ruby/ruby/pull/11322Hiroshi SHIBATA
2024-08-07tool/test-annocheck.sh: Refactor with double-quotes.Jun Aruga
2024-08-07CI: Run annocheck for libruby.soJun Aruga
When building with the `--shared` option, most functionality is kept in `libruby.so`. Therefore also run annocheck for `libruby.so`. Use `ARG IN_DIR` to propagate multiple files into the container instead of `ARG FILES` in the `Dockerfile-copy`. Because the `COPY` syntax in Dockerfile doesn't support copying the multiple files. https://stackoverflow.com/questions/61599384/specify-multiple-files-in-arg-to-copy-in-dockerfile Co-authored-by: Vít Ondruch <vondruch@redhat.com>
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-08-05Clean up empty directoryHiroshi SHIBATA
2024-08-05Make sure to always use the right `warn`David Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/11296
2024-07-26Error when --with-shared-gc doesn't specify a directoryPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/11248
2024-07-18Write rbinc files at onceNobuyoshi Nakada
Unexpected error can make empty files which result in unclear compilation errors. Notes: Merged: https://github.com/ruby/ruby/pull/11194
2024-07-16Follow-up resolv and win32 integrationHiroshi SHIBATA
https://github.com/ruby/resolv/pull/54
2024-07-11[PRISM] Revert incorrectly merged gemfileKevin Newton
2024-07-11[ruby/prism] Various cleanup for initializers and typechecksKevin Newton
https://github.com/ruby/prism/commit/86cf82794a
2024-07-11Removed WEBrick and that testsHiroshi SHIBATA
We can handle uri, time and others without `make test-all` dependencies now.
2024-07-09Fix grammar of ruby_shared_gc.m4Peter Zhu
2024-07-08Add make target shared-gcPeter Zhu
Allows building shared GC using `make shared-gc SHARED_GC=gc_impl`
2024-07-08Move the file location of launchable.rbNaoto Ono
2024-07-08Integrate Launchable into make btestNaoto Ono
2024-07-05Change external GC to use directory at configurePeter Zhu
This commit changes the external GC API to use `--with-shared-gc=DIR` at configure time with a directory of the external GC and uses `RUBY_GC_LIBRARY` environment variable to load the external GC at runtime.
2024-07-01Skip to copy .so/.bundle files generated by rake-compilerHiroshi SHIBATA
2024-06-24Use gperf 3.1 to generate ANSI-C codeNobuyoshi Nakada
2024-06-24No longer needs `sigsetjmp`Nobuyoshi Nakada
Since signal handlers just set flag and return now, `sigsetjmp` and `siglongjmp` will not be needed.
2024-06-21Support LCOV 2.0Yusuke Endoh
LCOV 2.0, a GCOV frontend, seems to have stricter error checking