summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2023-12-12Allow syncing tool/bundlerTakashi Kokubun
2023-12-12fix regexp pattern of diffNARUSE, Yui
2023-12-12Unlock tilt since we no longer support Ruby 2.6David Rodríguez
2023-12-12Fix NoMethodError on failKazuhiro NISHIYAMA
``` .../tool/lib/colorize.rb:56:in `resolve_color': undefined method `gsub' for an instance of Symbol (NoMethodError) color.gsub(/\b[a-z][\w ]+/) do |n| ^^^^^ from .../tool/lib/colorize.rb:47:in `decorate' from .../tool/lib/test/unit.rb:1012:in `block in failed' ```
2023-12-10Add bright colors and multiple attributes [ci skip]Nobuyoshi Nakada
Not only: ``` $ ruby colorize.rb fail foo ``` Also: ``` $ ruby colorize.rb 'bright_blue;bold' foo ```
2023-12-10Extract configuration and lookup methods [ci skip]Nobuyoshi Nakada
2023-12-08Pick commit from https://github.com/rubygems/rubygems/pull/7085Hiroshi SHIBATA
Co-authored-by: Samuel Giddins <segiddins@segiddins.me>
2023-12-08Pick commit from https://github.com/rubygems/rubygems/pull/7227Hiroshi SHIBATA
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
2023-12-07Lrama v0.5.12yui-knk
2023-12-05VERSION file of JSON is removed from upstreamHiroshi SHIBATA
2023-12-02Lrama v0.5.11yui-knk
2023-11-29Support RUNRUBY_USE_RR for rr debuggerPeter Zhu
2023-11-29debugger can never be nilPeter Zhu
2023-11-27Fix compaction during ary_make_partialPeter Zhu
The ary_make_shared call may allocate, which can trigger a GC compaction. This can cause the array to be embedded because it has a length of 0.
2023-11-21Bundle rbs-3.3.1 (#8921)Soutaro Matsumoto
* bundle rbs-3.3.1 * Restore diff/subtract tests
2023-11-20RubyVM::InstructionSequence.compile_file_prismKevin Newton
* Provide a new API compile_file_prism which mirrors compile_file but uses prism to parse/compile. * Provide the ability to run test-all with RUBY_ISEQ_DUMP_DEBUG set to "prism". If it is, we'll use the new compile_file_prism API to load iseqs during the test run.
2023-11-18Lrama v0.5.10yui-knk
2023-11-15Refactor the settings of test-all outYusuke Endoh
test/runner.rb and tool/lib/test/unit/parallel.rb must use the same settings. However, some settings were copied and pasted, while some were added only to test/runner.rb. This changeset creates tool/test/init.rb for all settings of test-unit, which is loaded not only by test/runner.rb but also tool/lib/test/unit/parallel.rb. Background: the GEM_HOME environment variable was removed in test/runner.rb, which prohibit `require "rake"` (note that rake is a bundled gem). However the parallel mode didn't refrect this setting, i.e., `require "rake"` was allowed. This leads to an inconsistency, which actually affected a test test defines s test class *only when* `require "rake"` is successful. (test/rubygems/test_gem_package_task.rb) https://github.com/ruby/ruby/actions/runs/6807729617/job/18511055636#step:8:1714 ``` /home/runner/work/ruby/ruby/src/tool/lib/test/unit.rb:729:in `const_get': uninitialized constant TestGemPackageTask (NameError) suites.map! {|r| ::Object.const_get(r[:testcase])} ^^^^^^^^^^ ```
2023-11-14Skip TOPDIR testSoutaro Matsumoto
2023-11-14Skip test_diff_* from rbs tests. It used bundle commandHiroshi SHIBATA
2023-11-13Revert "Revert "Remove SHAPE_CAPACITY_CHANGE shapes""Peter Zhu
This reverts commit 5f3fb4f4e397735783743fe52a7899b614bece20.
2023-11-13make-snapshot: update RUBY_PATCHLEVEL_STR regexpSorah Fukumori
the regexp to replace RUBY_PATCHLEVEL_STR for prerelease snapshots doesn't match since GH-8578. follow-up: https://github.com/ruby/ruby/pull/8578 follow-up: 68df43788dc237a1071f02b2d82768f844696315
2023-11-10Revert "Remove SHAPE_CAPACITY_CHANGE shapes"Peter Zhu
This reverts commit f6910a61122931e4193bcc0fad18d839c319b720. We're seeing crashes in the test suite of Shopify's core monolith after this change.
2023-11-09Remove SHAPE_CAPACITY_CHANGE shapesPeter Zhu
We don't need to create a shape to transition capacity as we can transition the capacity when the capacity of the SHAPE_IVAR changes.
2023-11-07Ignore warnings about currently unsupported .debug_macinfoNobuyoshi Nakada
2023-11-07Ignore duplicate libraries warnings from gcc 13Nobuyoshi Nakada
2023-11-07Remove files which are newly added but to be ignoredNobuyoshi Nakada
2023-11-05Lrama v0.5.9yui-knk
2023-11-04Update newer version gems onlyNobuyoshi Nakada
2023-11-02Make every initial size pool shape a root shapePeter Zhu
This commit makes every initial size pool shape a root shape and assigns it a capacity of 0.
2023-10-30rm prism type templatesKevin Newton
2023-10-28Print the date to STDERR if STDIN is a part of input [ci skip]Nobuyoshi Nakada
2023-10-27.travis.yml: Simplify Travis CI.Jun Aruga
* Remove CI functions for make test-all. I want to simplify the `.travis.yml` for us to maintain it easily. When we need to skip a test, we can fix the test file directly. I removed the `tool/ci_functions.sh` too. I confirmed the file is not used in any other files. * .travis.yml: Remove a notification for IRC channel. GitHub Actions don't use this notification. The setting is outdated. * Fix to skip the commit including the document keyword. There were 2 `if` syntax lines in the file. * Remove ccache.
2023-10-27Select the destination for the latest date by whether inplace modeNobuyoshi Nakada
2023-10-26Remove JavaScript templatesKevin Newton
2023-10-26Lrama v0.5.8yui-knk
2023-10-26Fix test failure with __runner_options__ renamingHiroshi SHIBATA
2023-10-26tool test/unit/testcase: rename vars @passed, @@currentlukeg
to @__passed__, @@__current__. @passed is redefined in a few test suites, and this could lead to bugs. Also rename @options (Runner#options) to @__runner_options__, which is only used in make test-tool anyway.
2023-10-25Do not append latest_date to gems/bundled_gems [ci skip]Kazuhiro NISHIYAMA
2023-10-24[Bug #19968] Revert RBS revision to testNobuyoshi Nakada
This reverts the commits for the master branch of RBS: - commit f717faac632dd8664d0967f8e639b84d5d032854: "Update rbs revision to test" The target revision to test is in master branch, not for 3.2.x. - commit 9e93af5329f35092c3de3ea37d4e9e181b800bb2: "Skip RBS `RbConfig::TOPDIR` test that is `nil` before installation" RbConfig_test.rb is not updated in 3.2.x branch.
2023-10-23Set date in message to the latest gem date [ci skip]Nobuyoshi Nakada
2023-10-23Removed unnecessary libraries of sync_toolHiroshi SHIBATA
2023-10-23sync_tool is unnecessary now.Hiroshi SHIBATA
We can use https://github.com/ruby/test-unit-ruby-core for testing the default gems.
2023-10-23Lrama v0.5.7yui-knk
2023-10-22Skip RBS `RbConfig::TOPDIR` test that is `nil` before installationNobuyoshi Nakada
2023-10-22RBS no longer has test/stdlib/Prime_test.rbNobuyoshi Nakada
2023-10-21[Bug #19967] Ignore library before buildNobuyoshi Nakada
2023-10-21Fallback job status to normal if no ttyNobuyoshi Nakada
2023-10-21[Bug #19967] Delete real pathNobuyoshi Nakada
2023-10-21Strip universal_archnamesNobuyoshi Nakada