summaryrefslogtreecommitdiff
path: root/tool/lib
AgeCommit message (Collapse)Author
2019-08-28Ensure the last and changed revisions as IntegersNobuyoshi Nakada
2019-08-27Short revision of SVN should be an IntegerNobuyoshi Nakada
2019-08-26Limit ChangeLog entriesNobuyoshi Nakada
Since the previous release date, when the starting message is not found.
2019-08-25`local_path?` is a class method [ci skip]Nobuyoshi Nakada
2019-08-25tool/lib/vcs.rb: explicitly fail when notes/commits is not availableYusuke Endoh
2019-08-25Revert workaroundKazuhiro NISHIYAMA
2019-08-25Simplified f13a00f5b4 [ci skip]Nobuyoshi Nakada
2019-08-25Export all commits as ChangeLog when no starting commit is found [ci skip]Nobuyoshi Nakada
2019-08-25Add workaround (2nd try)Kazuhiro NISHIYAMA
https://rubyci.org/logs/rubyci.s3.amazonaws.com/gentoo/ruby-master/log/20190824T153002Z.fail.html.gz ``` /home/gentoo/chkbuild/tmp/build/20190824T153002Z/ruby/tool/lib/vcs.rb:577:in `export_changelog': cannot find the beginning revision of the branch (RuntimeError) from ./tool/make-snapshot:353:in `block in package' from ./tool/make-snapshot:351:in `chdir' from ./tool/make-snapshot:351:in `package' from ./tool/make-snapshot:523:in `block in <main>' from ./tool/make-snapshot:523:in `collect' from ./tool/make-snapshot:523:in `<main>' ```
2019-08-24Add workaround for some CIsKazuhiro NISHIYAMA
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-master/log/20190824T093005Z.fail.html.gz ``` branches: * trunk remotes/origin/trunk ``` and ``` fatal: Remote branch master not found in upstream origin ```
2019-08-24Add debug printKazuhiro NISHIYAMA
matser branch not found on some CIs https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190824T063005Z.fail.html.gz ``` fatal: Remote branch master not found in upstream origin ```
2019-08-18Gem::ConfigMap is deprecated nowHiroshi SHIBATA
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-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-05Moved FailDesc to EnvUtil.failure_descriptionNobuyoshi Nakada
So EnvUtil does not depends on test/unit.
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-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-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-24@@project_dir in Gem::TestCase is no longer usedNobuyoshi Nakada
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-15Move vpath.rb into tool library direcotry.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-14complement '.rb' on `test-all TESTS=test_xxx`Koichi Sasada
for test-all rule, we can specify a file with TESTS option like `TESTS=test_xxx.rb`. However, we can eliminate last '.rb' suffix so this patch try with '.rb' suffix if the given path is not available.
2019-07-09Restore support library for only test files that are digest and csv.Hiroshi SHIBATA
2019-07-09Restore support library for only test files.Hiroshi SHIBATA
2019-07-02Move to tool/lib from test/lib.Hiroshi SHIBATA