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

2274 Коммитов

Автор SHA1 Сообщение Дата
Hiroshi SHIBATA 6e7e9a80ad
Expose assert_all? for ruby/csv repo 2021-06-01 19:38:05 +09:00
Takashi Kokubun 0d32a18f5b
Make --without-mjit-tabs work again
vm_sync.{c,h} don't have tabs
2021-05-31 22:56:22 -07:00
Takashi Kokubun 2209e152c0
Decompose the captured_cc code for investigation
I'm investigating SEGVs like https://github.com/ruby/ruby/runs/2715166621?check_suite_focus=true.
Because a lot of things are going on on this line, it's hard to identify
the cause, especially because we can't get the core file of the failures.

Therefore I intentionally increased the number of lines for
investigation.
2021-05-31 21:57:57 -07:00
Jun Aruga ff6f4e631c tool/ci_functions.sh: Fix typos and improve the comment. [ci skip] 2021-05-31 16:24:16 +02:00
David Rodríguez 3954799071 Tweak skipped files in bundler gemspec
We won't be using the `extra_rdoc_files` field, because it's very slow
for markdown files.
2021-05-31 21:26:24 +09:00
Hiroshi SHIBATA ded7dd9ccc
Use require_relative to use Minitest library for testing.
There is no reason to care for minitest gem.
2021-05-28 11:38:37 +09:00
Hiroshi SHIBATA 029169bc5b
Fixed target directory when copying from upstream 2021-05-27 17:15:58 +09:00
Hiroshi SHIBATA c1c60a4498
Removed dbm from sync_default_gems 2021-05-27 17:14:31 +09:00
Hiroshi SHIBATA be2e2b4805 Promote net-smtp to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA aa9726f7b9 Promote net-pop to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA d5bc6b2337 Promote net-imap to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA e49c998d1e Promote net-ftp to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA 454a36794f Promote matrix to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA c9178c1127 Promote prime to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA edcc29dcff Removed gdbm from ruby repo 2021-05-25 20:04:54 +09:00
Jun Aruga 9d4266fd55 .travis.yml: Update to use arm64/ppc64le/s390x.
* Use only the free pipelines arm64/ppc64le/s390x without credits on Travis.
  See <https://docs.travis-ci.com/user/billing-overview/#partner-queue-solution>.
* Add ppc64le case.
* Update the gcc to gcc-11.
* Remove unused logic.
* Add the `tool/travis_wait.sh` to avoid a command timeout.
* Run the tests skipping some failing tests.
  * Set `TEST_ALL_SKIPPED_TESTS` env to skip the tests.
  * Run the tests separately returning ok status.
    The tests are executed if `TEST_ALL_SKIPPED_TESTS` env is set or
    `TEST_ALL_SEPARATED_TESTS` env is set.
  * Add `tool/ci_functions.sh` to manage the functions used in CI.
* Add arm64 to allow_failures due to the following issue.
  An arm64 job sometimes does not start right now.
  https://travis-ci.community/t/11629
2021-05-25 12:38:05 +02:00
Hiroshi SHIBATA 55cd3e4ebf Removed dbm from ruby repo 2021-05-25 15:18:31 +09:00
Hiroshi SHIBATA ab3266ea5c Removed tracer from ruby repo 2021-05-25 13:13:52 +09:00
Takashi Kokubun fb4195b969
Show a backtrace when tool/extlibs.rb fails
I'd like to retry this kind of error, but showing no backtrace is hard
to deal with.
https://github.com/ruby/ruby/runs/2644908002
2021-05-21 23:36:56 -07:00
Nobuyoshi Nakada 9edad0df74
Remove short options with argument [Bug #17870]
Remove GNU make `-O` and `-W` options which are short but followed
by an argument, so that `$mflags.set?(?n)` does not return `true`
wrongly.
2021-05-21 10:34:28 +09:00
Hiroshi SHIBATA adcbae8d49
Removed minitest/mock 2021-05-19 14:24:01 +09:00
Hiroshi SHIBATA 9bd79c2cef
Removed minitest/benchmark 2021-05-18 17:31:43 +09:00
Hiroshi SHIBATA 5a0b89de32
Removed minitest/autorun 2021-05-18 17:31:42 +09:00
Hiroshi SHIBATA 8ab2afb20b
Use Test::Unit instead of Minitest::Unit 2021-05-18 17:31:42 +09:00
Yusuke Endoh 5f8bca3257 tool/lib/minitest/mock.rb: define Object#stub only when not defined
Recently, lib/rubygems/test_case.rb also defines the method.
2021-05-14 18:10:07 +09:00
Takashi Kokubun cc1ea6e023
Run nmake check on Actions (#4487)
* Run nmake check on Actions

* Skip tests not working in mswin GitHub Actions

* Override TEMP

* Revert "Skip tests not working in mswin GitHub Actions"

This reverts commit 544d2575fcdf23ae63cd25aa03fce10c28b259f2.

* Revert "Revert "Skip tests not working in mswin GitHub Actions""

This reverts commit e1f8ad7862c9c4be52dc6e1031a004621eb07e6e.

* Fix timeouts

* Skip some more broken tests

* Update windows.yml

* Add a guard for rbasic_spec

* Revert "Update windows.yml"

This reverts commit bc9694b6b3b9594d406378d15ca11723fb052bc8.

* Skip the ensure clause

* Simplify the ensure
2021-05-11 15:18:44 -07:00
Hiroshi SHIBATA 010bb0883e
Workaround for make test-tool 2021-05-11 20:08:03 +09:00
Yusuke Endoh bb8a759f6b Fix a typo of c6a11b865e
It failed to define `refute_path_not_exist`
2021-05-11 19:46:15 +09:00
Hiroshi SHIBATA c6a11b865e
Alias assert/refute_path_exists for test-unit gem.
It's required at https://github.com/rubygems/rubygems/pull/3141
2021-05-11 19:32:35 +09:00
David Rodríguez 5b0abba931 Sync bundler & rubygems 2021-05-11 11:29:41 +09:00
David Rodríguez 15160e9b4f Sync bundler & rubygems at the same time 2021-05-11 11:29:41 +09:00
David Rodríguez 7dccc4ef8a Properly synchronize bundler gemspec too
By making the necessary modifications automatically.
2021-05-11 11:29:41 +09:00
David Rodríguez cc4d8d037c Simplify syncing bundler
These files no longer exist upstream, so they don't need to be synced.
2021-05-11 11:29:41 +09:00
Hiroshi SHIBATA 5de6f1ab47
Move net-imap.gemspec to under the lib/net/imap directory. 2021-05-06 15:20:35 +09:00
Benoit Daloze 68d6bd0873 Fix trivial -Wundef warnings
* See [Feature #17752]

Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
2021-05-04 14:56:55 +02:00
Hiroshi SHIBATA 537fc3ad5c
Ignore JRuby files on io-console 2021-04-22 11:51:37 +09:00
Hiroshi SHIBATA 347c3b3083
Fix the regexp list for ignore list 2021-04-21 20:34:46 +09:00
Hiroshi SHIBATA 7c0c1c3e46
This change broke the some files like date.gemspec and lib/logger.rb.
Revert "sync_default_gems.rb: merge only files named as each gem"

This reverts commit 37b96d6773.
2021-04-21 17:38:33 +09:00
Hiroshi SHIBATA 93420d34aa
Added the specific files to the default gems like net-http and optparse 2021-04-19 18:19:09 +09:00
Hiroshi SHIBATA 5d710d7e41
Fix the wrong file detection for net-*.gemspec
[Bug #17476][ruby-core:101724]
2021-04-19 13:44:38 +09:00
Nobuyoshi Nakada 1f56238032
Remove comments in tool/m4 from the generated configure 2021-04-17 19:14:21 +09:00
Nobuyoshi Nakada 26888d5e03
Workaround for installation failures on macOS 2021-04-15 18:07:23 +09:00
Hiroshi SHIBATA 7af7a539bc Also merge tool/bundler/*.rb for testing of Bundler 2021-04-15 15:36:15 +09:00
Hiroshi SHIBATA 0d9496f924 Restore bundler.gemspec from ruby/ruby repository with sync_default_gems.rb 2021-04-15 15:36:15 +09:00
Nobuyoshi Nakada fd978621cc
mkconfig.rb: Update around SDKROOT
c.f. https://opensource.apple.com/source/ruby/ruby-145.40.1/patches/tool_mkconfig.rb.diff

* moved to "includedir" from "oldincludedir".
* honor "$(prefix)/include" if exists, otherwise fallback to `xcrun`.
2021-04-15 14:55:22 +09:00
Nobuyoshi Nakada 37b96d6773
sync_default_gems.rb: merge only files named as each gem 2021-04-11 13:18:47 +09:00
Nobuyoshi Nakada dbdd8c2dfe
sync_default_gems.rb: ignore rakelib [ci skip] 2021-04-11 09:59:01 +09:00
Nobuyoshi Nakada 6c7d39aabe
rbinstall.rb: record default gem files 2021-04-10 12:41:36 +09:00
Nobuyoshi Nakada af8ac97fcc
rbinstall.rb: append "/" to directory names 2021-04-10 11:59:09 +09:00
Nobuyoshi Nakada 956056db37
sync_default_gems.rb: do not reset the whole directory [ci skip]
If no files to be ignored, resetting with no argument means
resetting the whole directory.
2021-04-08 12:04:25 +09:00