summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2019-08-14Move some assertions to CoreAssertions. (#2354)SHIBATA Hiroshi
They are used by default gems like forwardable. * assert_raise_with_message * assert_warning * assert_warn Notes: Merged-By: hsbt <hsbt@ruby-lang.org>
2019-08-13Detect VCS from the current directory by default [ci skip]Nobuyoshi Nakada
2019-08-13Push commits notes too [ci skip]Nobuyoshi Nakada
2019-08-12Include commits notes in ChangeLogNobuyoshi Nakada
2019-08-12We did not have tool/ before checkoutTakashi Kokubun
anyway we don't need authorization here. Also retry does not seem to work in the original version, so let's extend this with retries as a separate github action later.
2019-08-12Stop relying on actions/checkoutTakashi Kokubun
because it randomly fails on authorization like: https://github.com/ruby/ruby/runs/190887455 Also the backoff seems too short. Maybe we need tool/travis_retry.sh for this too. Cloning ruby/ruby does not need authorization. We don't need to use actions/checkout.
2019-08-11Use `end_with?` instead of Regexp with missing escapeKazuhiro NISHIYAMA
2019-08-09complement `test_` prefix.Koichi Sasada
`make test-all TESTS=name` can specify running test files by name. name can be dirname ('dir/') or a file ('.../test_foo.rb'). This patch complement `test_` prefix for a test. So we only need to specify `TESTS=ruby/hash` which means `TESTS=ruby/test_hash.rb`.
2019-08-08Aliases capture_output to capture_io for test-unit compatiblity.Hiroshi SHIBATA
2019-08-07Added separator for failing commits from default gems.Hiroshi SHIBATA
2019-08-07Skip merge commit created by bundlerbot.Hiroshi SHIBATA
2019-08-07Refactor .travis.yml by introducing travis_retry.shTakashi Kokubun
Not using official travis_retry.bash, because it's not supporting to modify backoff seconds. https://github.com/travis-ci/travis-build/blob/0ad8f1886b2c31994d847e126dc5842b7b3513e3/lib/travis/build/bash/travis_retry.bash Not using official `travis_apt_get_update` function because it does not propagate exit status to be used by retries. https://github.com/travis-ci/travis-build/blob/0ad8f1886b2c31994d847e126dc5842b7b3513e3/lib/travis/build/bash/travis_apt_get_update.bash Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-08-05Moved FailDesc to EnvUtil.failure_descriptionNobuyoshi Nakada
So EnvUtil does not depends on test/unit.
2019-08-04Fix release post output for tool/format-releaseMarcus Stollsteimer
Different entries should be separated by an empty line. Closes: https://github.com/ruby/ruby/pull/2137
2019-08-03Move assert_ruby_status and assert_throw to CoreAssertions for default gems.Hiroshi SHIBATA
2019-08-03Added more attributes [ci skip]Nobuyoshi Nakada
2019-08-03Refine error messageNobuyoshi Nakada
Highlight failed command and suggest installing the command. [Bug #16042]
2019-08-02It can be share to use CoreAssertions for default gems.Hiroshi SHIBATA
ref. https://github.com/ruby/logger/pull/35
2019-07-31backtrace can be nil.Koichi Sasada
Surprisingly, on SystemStackError#backtrace can return nil.
2019-07-31Revert "add debug code"Koichi Sasada
This reverts commit e83ec207cd5fda973c41d6629d8504b515522b12.
2019-07-31add debug codeKoichi Sasada
2019-07-30Separate VCS::GIT#upstreamNobuyoshi Nakada
2019-07-27tool/merger.rb: execute 'svn update' after 'svn ci' to update revision info ↵nagachika
on working copy.
2019-07-27Skip the some of commits when sync default gems from upstream.Hiroshi SHIBATA
* Skip failed to sync commits because it needs to pick manually. * Skip empty commit.
2019-07-27Added ignore files to sync_default_gems_with_commits and make constant them.Hiroshi SHIBATA
2019-07-26Ignore Merge commit and insufficiency commit for ruby core repository.Hiroshi SHIBATA
2019-07-26Improve the commits list for cherry-picking from default gems.Hiroshi SHIBATA
* Ignore Merge commit from the commit lists before trying to pick commit. * Show the commits list at first.
2019-07-26Escape parentheses for syntax hilighting for VScode.Hiroshi SHIBATA
2019-07-26Adjust the test direcotry structure of rdoc.Hiroshi SHIBATA
2019-07-25Get rid of failures about coverageNobuyoshi Nakada
Run test suites explicitly instead of auto-running, to get rid of failures when simplecov is not installed but COVERAGE is set.
2019-07-25Separated tool/test/runner.rb and test/runner.rbNobuyoshi Nakada
As `make test-tool` does not use gems, and no Rubygems stuffs is needed, so moved such things to test/runner.rb. Also no longer nees `--test-target-dir` option.
2019-07-25Use libraries in the base directory if givenNobuyoshi Nakada
2019-07-25Added --base-directory optionNobuyoshi Nakada
2019-07-25Moved NoMemoryError hookNobuyoshi Nakada
Moved NoMemoryError hook from AutoRunner.run to Runner#run, so it will work even in non-autorunning mode.
2019-07-25Moved NoMemoryError hook to Test::Unit::AutoRunnerNobuyoshi Nakada
2019-07-25Do not fetch remote tagsNobuyoshi Nakada
2019-07-24@@project_dir in Gem::TestCase is no longer usedNobuyoshi Nakada
2019-07-22Allways fetch the latest commit from default gems repository.Hiroshi SHIBATA
2019-07-22Fixed exception messageNobuyoshi Nakada
2019-07-22Only the first argument can be --test-target-dir optionNobuyoshi Nakada
Raise the proper exception when that option is not given but non-option argument is.
2019-07-21tool/test/runner.rb: support --test-target-dir optionYusuke Endoh
tool/test/runner.rb had been copied from test/runner.rb. test/runner.rb was for `make test-all`, and tool/test/runner.rb was for `make test-testframework` and `make test-tool`. But I want to avoid the code clones. This change makes tool/test/runner.rb support --test-target-dir option which allows tool/test/runner.rb to run `make test-all`. Now we can remove test/runner.rb.
2019-07-15Removed needless LOAD_PATH modification.Hiroshi SHIBATA
We can use require_relative now.
2019-07-15Move vpath.rb into tool library direcotry.Hiroshi SHIBATA
2019-07-15Added test-tool target for the test suite of tool/test files.Hiroshi SHIBATA
2019-07-15Put jisx0208.rb to under the library directory.Hiroshi SHIBATA
2019-07-15Separate the assertions of ruby core tests from test/unit/assertions.Hiroshi SHIBATA
2019-07-15Put colorize to library directory.Hiroshi SHIBATA
Same as 66299e7ca83d379d13abaa5411f3e0419334cabb
2019-07-15Put vcs .rb to under the lib direcotory.Hiroshi SHIBATA
Because it's the common library for tool files.
2019-07-15Insert a newline before `=end`Nobuyoshi Nakada
For a certain editor which cannot handle here-document properly.
2019-07-15Drop `make change` and tool/change_maker.rbTakashi Kokubun
because we're not writing ChangeLog anymore.