aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* Push commits notes too [ci skip]Nobuyoshi Nakada2019-08-131-3/+8
|
* Include commits notes in ChangeLogNobuyoshi Nakada2019-08-121-1/+1
|
* We did not have tool/ before checkoutTakashi Kokubun2019-08-121-2/+0
| | | | | | 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.
* Stop relying on actions/checkoutTakashi Kokubun2019-08-121-0/+2
| | | | | | | | | | 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.
* Use `end_with?` instead of Regexp with missing escapeKazuhiro NISHIYAMA2019-08-111-1/+1
|
* complement `test_` prefix.Koichi Sasada2019-08-091-5/+14
| | | | | | | `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`.
* Aliases capture_output to capture_io for test-unit compatiblity.Hiroshi SHIBATA2019-08-081-0/+1
|
* Added separator for failing commits from default gems.Hiroshi SHIBATA2019-08-071-0/+1
|
* Skip merge commit created by bundlerbot.Hiroshi SHIBATA2019-08-071-1/+1
|
* Refactor .travis.yml by introducing travis_retry.shTakashi Kokubun2019-08-071-0/+13
| | | | | | | | | | | | 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>
* Moved FailDesc to EnvUtil.failure_descriptionNobuyoshi Nakada2019-08-052-31/+35
| | | | So EnvUtil does not depends on test/unit.
* Fix release post output for tool/format-releaseMarcus Stollsteimer2019-08-041-0/+1
| | | | | | Different entries should be separated by an empty line. Closes: https://github.com/ruby/ruby/pull/2137
* Move assert_ruby_status and assert_throw to CoreAssertions for default gems.Hiroshi SHIBATA2019-08-032-37/+37
|
* Added more attributes [ci skip]Nobuyoshi Nakada2019-08-031-0/+1
|
* Refine error messageNobuyoshi Nakada2019-08-031-1/+6
| | | | | Highlight failed command and suggest installing the command. [Bug #16042]
* It can be share to use CoreAssertions for default gems.Hiroshi SHIBATA2019-08-021-4/+29
| | | | ref. https://github.com/ruby/logger/pull/35
* backtrace can be nil.Koichi Sasada2019-07-311-0/+3
| | | | Surprisingly, on SystemStackError#backtrace can return nil.
* Revert "add debug code"Koichi Sasada2019-07-311-9/+0
| | | | This reverts commit e83ec207cd5fda973c41d6629d8504b515522b12.
* add debug codeKoichi Sasada2019-07-311-0/+9
|
* Separate VCS::GIT#upstreamNobuyoshi Nakada2019-07-301-4/+9
|
* tool/merger.rb: execute 'svn update' after 'svn ci' to update revision info ↵nagachika2019-07-271-0/+1
| | | | on working copy.
* Skip the some of commits when sync default gems from upstream.Hiroshi SHIBATA2019-07-271-3/+21
| | | | | * Skip failed to sync commits because it needs to pick manually. * Skip empty commit.
* Added ignore files to sync_default_gems_with_commits and make constant them.Hiroshi SHIBATA2019-07-271-1/+3
|
* Ignore Merge commit and insufficiency commit for ruby core repository.Hiroshi SHIBATA2019-07-261-19/+27
|
* Improve the commits list for cherry-picking from default gems.Hiroshi SHIBATA2019-07-261-4/+7
| | | | | | * Ignore Merge commit from the commit lists before trying to pick commit. * Show the commits list at first.
* Escape parentheses for syntax hilighting for VScode.Hiroshi SHIBATA2019-07-261-1/+1
|
* Adjust the test direcotry structure of rdoc.Hiroshi SHIBATA2019-07-261-1/+1
|
* Get rid of failures about coverageNobuyoshi Nakada2019-07-251-1/+1
| | | | | Run test suites explicitly instead of auto-running, to get rid of failures when simplecov is not installed but COVERAGE is set.
* Separated tool/test/runner.rb and test/runner.rbNobuyoshi Nakada2019-07-251-32/+16
| | | | | | 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.
* Use libraries in the base directory if givenNobuyoshi Nakada2019-07-251-1/+2
|
* Added --base-directory optionNobuyoshi Nakada2019-07-251-0/+4
|
* Moved NoMemoryError hookNobuyoshi Nakada2019-07-251-4/+8
| | | | | Moved NoMemoryError hook from AutoRunner.run to Runner#run, so it will work even in non-autorunning mode.
* Moved NoMemoryError hook to Test::Unit::AutoRunnerNobuyoshi Nakada2019-07-252-7/+5
|
* Do not fetch remote tagsNobuyoshi Nakada2019-07-251-2/+2
|
* @@project_dir in Gem::TestCase is no longer usedNobuyoshi Nakada2019-07-242-12/+0
|
* Allways fetch the latest commit from default gems repository.Hiroshi SHIBATA2019-07-221-1/+1
|
* Fixed exception messageNobuyoshi Nakada2019-07-221-1/+1
|
* Only the first argument can be --test-target-dir optionNobuyoshi Nakada2019-07-221-8/+6
| | | | | Raise the proper exception when that option is not given but non-option argument is.
* tool/test/runner.rb: support --test-target-dir optionYusuke Endoh2019-07-212-5/+15
| | | | | | | | | | | 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.
* Removed needless LOAD_PATH modification.Hiroshi SHIBATA2019-07-152-2/+0
| | | | We can use require_relative now.
* Move vpath.rb into tool library direcotry.Hiroshi SHIBATA2019-07-154-3/+3
|
* Added test-tool target for the test suite of tool/test files.Hiroshi SHIBATA2019-07-151-0/+39
|
* Put jisx0208.rb to under the library directory.Hiroshi SHIBATA2019-07-153-2/+2
|
* Separate the assertions of ruby core tests from test/unit/assertions.Hiroshi SHIBATA2019-07-152-205/+218
|
* Put colorize to library directory.Hiroshi SHIBATA2019-07-157-6/+6
| | | | Same as 66299e7ca83d379d13abaa5411f3e0419334cabb
* Put vcs .rb to under the lib direcotory.Hiroshi SHIBATA2019-07-153-2/+2
| | | | Because it's the common library for tool files.
* Insert a newline before `=end`Nobuyoshi Nakada2019-07-151-1/+2
| | | | For a certain editor which cannot handle here-document properly.
* Drop `make change` and tool/change_maker.rbTakashi Kokubun2019-07-151-47/+0
| | | | because we're not writing ChangeLog anymore.
* Tweak upstream information of upstream commit.Hiroshi SHIBATA2019-07-141-1/+3
|
* abort sync commit history when it failed to modify commit message.Hiroshi SHIBATA2019-07-141-0/+4
|