Граф коммитов

3181 Коммитов

Автор SHA1 Сообщение Дата
yui-knk 9f6c6f88c3 Lrama v0.5.11 2023-12-02 08:58:32 +09:00
Peter Zhu 128837e4a2 Support RUNRUBY_USE_RR for rr debugger 2023-11-29 17:54:58 -05:00
Peter Zhu aee275165b debugger can never be nil 2023-11-29 17:54:58 -05:00
Peter Zhu 150ed44d87 Fix compaction during ary_make_partial
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-27 12:40:26 -05:00
Soutaro Matsumoto 1886ee190a
Bundle rbs-3.3.1 (#8921)
* bundle rbs-3.3.1
* Restore diff/subtract tests
2023-11-21 09:21:24 +00:00
Kevin Newton 323bec6295 RubyVM::InstructionSequence.compile_file_prism
* 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-20 12:45:29 -08:00
yui-knk c56dd94db0 Lrama v0.5.10 2023-11-18 19:38:55 +09:00
Yusuke Endoh 5bf75c20a2 Refactor the settings of test-all out
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-15 19:27:10 +09:00
Soutaro Matsumoto 6fb030e6f1 Skip TOPDIR test 2023-11-14 22:08:32 +09:00
Hiroshi SHIBATA e6b2cd15e3
Skip test_diff_* from rbs tests. It used bundle command 2023-11-14 20:35:56 +09:00
Peter Zhu 68869e9bd9 Revert "Revert "Remove SHAPE_CAPACITY_CHANGE shapes""
This reverts commit 5f3fb4f4e3.
2023-11-13 18:26:36 -05:00
Sorah Fukumori 952de171c0 make-snapshot: update RUBY_PATCHLEVEL_STR regexp
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: 68df43788d
2023-11-13 11:28:48 +09:00
Peter Zhu 5f3fb4f4e3 Revert "Remove SHAPE_CAPACITY_CHANGE shapes"
This reverts commit f6910a6112.

We're seeing crashes in the test suite of Shopify's core monolith after
this change.
2023-11-10 11:27:49 -05:00
Peter Zhu f6910a6112 Remove SHAPE_CAPACITY_CHANGE shapes
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-09 09:25:02 -05:00
Nobuyoshi Nakada f2d6b41c8e
Ignore warnings about currently unsupported .debug_macinfo 2023-11-07 23:19:51 +09:00
Nobuyoshi Nakada f8456b650b
Ignore duplicate libraries warnings from gcc 13 2023-11-07 23:19:50 +09:00
Nobuyoshi Nakada 304194d73e Remove files which are newly added but to be ignored 2023-11-07 10:45:02 +09:00
yui-knk a15aa259db Lrama v0.5.9 2023-11-05 12:04:52 +09:00
Nobuyoshi Nakada 6b2a3c84a5
Update newer version gems only 2023-11-04 11:29:42 +09:00
Peter Zhu 38ba040d8b Make every initial size pool shape a root shape
This commit makes every initial size pool shape a root shape and assigns
it a capacity of 0.
2023-11-02 13:42:11 -04:00
Kevin Newton a7a70bce82
rm prism type templates 2023-10-30 12:27:03 -04:00
Nobuyoshi Nakada 6589af52d2
Print the date to STDERR if STDIN is a part of input [ci skip] 2023-10-28 14:12:10 +09:00
Jun Aruga a0b7574e59 .travis.yml: Simplify Travis CI.
* 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-27 19:16:13 +02:00
Nobuyoshi Nakada 934beac118
Select the destination for the latest date by whether inplace mode 2023-10-27 16:57:21 +09:00
Kevin Newton 3ed317a441
Remove JavaScript templates 2023-10-26 09:50:40 -04:00
yui-knk 7d159a8787 Lrama v0.5.8 2023-10-26 17:15:38 +09:00
Hiroshi SHIBATA 634e0ac140 Fix test failure with __runner_options__ renaming 2023-10-26 12:39:13 +09:00
lukeg 7717684d16 tool test/unit/testcase: rename vars @passed, @@current
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-26 12:39:13 +09:00
Kazuhiro NISHIYAMA a6a67b0524
Do not append latest_date to gems/bundled_gems [ci skip] 2023-10-25 13:10:28 +09:00
Nobuyoshi Nakada c86c6a84f5 [Bug #19968] Revert RBS revision to test
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-24 22:59:09 +09:00
Nobuyoshi Nakada bf93ceb26b
Set date in message to the latest gem date [ci skip] 2023-10-23 23:13:55 +09:00
Hiroshi SHIBATA df5bf5bb59
Removed unnecessary libraries of sync_tool 2023-10-23 17:28:50 +09:00
Hiroshi SHIBATA 9844371c6f
sync_tool is unnecessary now.
We can use https://github.com/ruby/test-unit-ruby-core for testing the default gems.
2023-10-23 17:22:27 +09:00
yui-knk 2d468358a5 Lrama v0.5.7 2023-10-23 13:14:15 +09:00
Nobuyoshi Nakada 9e93af5329 Skip RBS `RbConfig::TOPDIR` test that is `nil` before installation 2023-10-22 08:44:52 +09:00
Nobuyoshi Nakada 0ca5182ae5 RBS no longer has test/stdlib/Prime_test.rb 2023-10-22 08:44:52 +09:00
Nobuyoshi Nakada 361bce8d2c
[Bug #19967] Ignore library before build 2023-10-21 23:47:29 +09:00
Nobuyoshi Nakada 38b79b05fd
Fallback job status to normal if no tty 2023-10-21 19:47:05 +09:00
Nobuyoshi Nakada 54b9b80b84
[Bug #19967] Delete real path 2023-10-21 16:45:03 +09:00
Nobuyoshi Nakada 5e24a4e392
Strip universal_archnames 2023-10-21 15:42:41 +09:00
Nobuyoshi Nakada 665b4c5b2a
[Bug #19967] Reset `LIBPATHENV` env after started
Not to affect other tools invoked as child processes.
2023-10-21 14:05:20 +09:00
Hiroshi SHIBATA bb849ffdb1
Added explicitly begin-end block for Ruby 2.4.
strscan, ipaddr and some default gems still support Ruby 2.4.

  After this, I extract this CoreAssertions to their repositories.
2023-10-20 14:34:08 +09:00
Takashi Kokubun bd2aee67c1 [DOC] "is now bundled" is ambiguous
I think it meant it's now a bundled "gem", but "is now bundled" implies
it's a new gem that was neither default nor bundled gems. So I changed
wording.

I also want to change the subjects and reorder them so that it will read:
"The following default gem" (new) -> "The following default gem" (updated) ->
"The following bundled gem" (new) -> "The following bundled gem" (updated).
2023-10-19 16:37:11 -07:00
Takashi Kokubun c221af2c3d [DOC] Prism is a new default gem 2023-10-19 16:25:33 -07:00
Takashi Kokubun 6d42f4dd2d Avoid using a system Ruby if possible
in tool/update-NEWS-gemlist.rb
2023-10-19 16:10:14 -07:00
Nobuyoshi Nakada 4f4016497e
Handle `Timeout::Error` reported from workers 2023-10-18 23:41:23 +09:00
Nobuyoshi Nakada ff4c98f125
Fix total count when filters given 2023-10-18 12:19:52 +09:00
Nobuyoshi Nakada f13068afaa
Escape method names containing control characters 2023-10-18 10:36:42 +09:00
Takashi Kokubun 6c46ccf226
Prefer RbConfig.ruby over the 3.times fallback (#8691)
It seems saner to use RbConfig.ruby than using ruby in a random ancestor
directory.
2023-10-17 17:57:39 -07:00
Nobuyoshi Nakada 776d4dec69 Manage parallel test workers after timeout 2023-10-18 02:55:42 +09:00