summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2019-10-16Revert "alias assert_raise_message for compatibility with test-unit"Nobuyoshi Nakada
This reverts commit 43015275b9a7f2833c93ad11ea96ae4cb3b7acd7. `assert_raise_message` in test-unit is different from `assert_raise_with_message`. It checks the exception message only, but not the exception class,
2019-10-16alias assert_raise_message for compatibility with test-unitNobuyoshi Nakada
2019-10-08Fix typo [ci skip]Kazuhiro NISHIYAMA
pointed out by ruby-trunk-changes
2019-10-07Write yaml and json under destdir and print to stdoutKazuhiro NISHIYAMA
2019-10-07Create info.yml and info.jsonKazuhiro NISHIYAMA
- `info.yml` is for ruby/www.ruby-lang.org/_data/releases.yml - `info.json` is meta data for users of snapshot
2019-10-07Remove `-s3` optionKazuhiro NISHIYAMA
It will not use in `ruby/actions`, and `default=tmp` is not correct.
2019-10-03make-snapshot: touch updated files after preparedNobuyoshi Nakada
Align mtime of files updated by `make prepare-package` to make packages reproducible.
2019-10-03make-snapshot: suppress make error messages unless failedNobuyoshi Nakada
2019-10-03make-snapshot: copy cache files instead of linkingNobuyoshi Nakada
To get rid of setting mode and mtime of the original cache files.
2019-10-03vcs.rb: fix to export git-svn versionNobuyoshi Nakada
* Use the given branch name instead of implicit 'HEAD". * Format like as git-svn when `from` or `to` is SVN revision number.
2019-10-03[ruby/fileutils] improve the compatibility of minitestHiroshi SHIBATA
https://github.com/ruby/fileutils/commit/f16f5a0dd6
2019-10-03use bind_call for test-all --gc-stress卜部昌平
This one allocation of Method object is worth avoiding. We don't want to test UnboundMethod#bind right here. GC need not run.
2019-10-02fix assertion number.Koichi Sasada
On parallel test, there are additional tests because of implicit checkers which are enabled on 84cbce3d88.
2019-10-02Fixed failure message for `clean-cache`Nobuyoshi Nakada
2019-10-02Enable checkers on parallel test.Koichi Sasada
parallel test (`make test-all TESTS=-j8`) runs tests on specified number of processes. However, some test checkers written in `runner.rb` are not loaded. This fix enable these checkers on parallel tests. See also: https://github.com/ruby/ruby/pull/2508
2019-10-02Fix the order of executing `after-update` taskNAKAMURA Usaku
2019-10-02Should fail if `system` failedNAKAMURA Usaku
2019-10-01expose assert_raise and assert_join_threadsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2516
2019-09-30Revert "introduce debug check."Koichi Sasada
This reverts commit c3b84f2de83a27acc638f99743bfa2c44bac621c. Backtrace shows it is before running tests and debug check was nonsense.
2019-09-30introduce debug check.Koichi Sasada
There are random failures: > lib/rubygems/core_ext/kernel_require.rb:61:in `require': > wrong number of arguments (given 1, expected 0) (ArgumentError) http://ci.rvm.jp/results/trunk-jemalloc@silicon-docker/2275159 To check this failure, I added a small check code.
2019-09-30show RUBY_ISEQ_DUMP_DEBUG envval if given.Koichi Sasada
2019-09-29Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for ↵Benoit Daloze
miniruby Notes: Merged: https://github.com/ruby/ruby/pull/2503
2019-09-29Move the logic to test bundled gems to Ruby codeBenoit Daloze
* Writing shell scripts in a Makefile is very error-prone. * TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before. Notes: Merged: https://github.com/ruby/ruby/pull/2503
2019-09-27assert_in_out_err should use FailDesc tooNobuyoshi Nakada
2019-09-23make-snapshot: store timestamps in UTC for zip which lacks timezoneNobuyoshi Nakada
2019-09-23Add `-mtc=off` to `7z` not to store NTFS timestampsKazuhiro NISHIYAMA
https://sevenzip.osdn.jp/chm/cmdline/switches/method.htm
2019-09-22make-snapshot: Added -no7z optionNobuyoshi Nakada
It disables 7z, which seems not to have an option to stop saving extra file attributes (uid/gid and atime), in order to make zip packages stable.
2019-09-22make-snapshot: Do not save extra file attributesNobuyoshi Nakada
Extra file attributes (uid/gid and atime) make the packaged zip file unstable.
2019-09-22st.c: Use rb_st_* prefix instead of st_* (#2479)Yusuke Endoh
The original st.c was public domain hash table implementation, but Ruby's st.c is highly modified, and its data structure is not compatiblie with the original one. Therefore, when creating an extension library to wrap C code that uses the original st.c, the symbols conflict, which leads to segfault. This changes the prefix `st_*` of st.c functions to `rb_st_*` for reflecting that they are specific to Ruby's, and avoid symbol conflicts. Notes: Merged-By: mame <mame@ruby-lang.org>
2019-09-21typedef rb_jmpbuf_t to void *[5] if __builtin_setjmp is usedFangrui Song
The built-in version operates on a buffer of 5 words, much smaller than the size of jmp_buf defined in libc. Note, powerpc requires 5 words, while arm and x86_64 just require 3. Notes: Merged: https://github.com/ruby/ruby/pull/2471
2019-09-20Fixed up 37c083942509dd7e0d8b7ccd3575936a2017c400Hiroshi SHIBATA
2019-09-20Removed ThreadsWait from the ruby repositoryHiroshi SHIBATA
2019-09-20Removed Synchronizer from the ruby repository.Hiroshi SHIBATA
2019-09-20Removed Shell from the ruby repository.Hiroshi SHIBATA
2019-09-20Removed Scanf from the ruby repository.Hiroshi SHIBATA
2019-09-20Removed CMath from the ruby repository.Hiroshi SHIBATA
2019-09-15Try to fetch commits notes to the source tree automaticallyNobuyoshi Nakada
[Bug #16167]
2019-09-15make-snapshot: no merge commits in ChangeLogNobuyoshi Nakada
Parents commit hashs in logs of merge commits are abbreviated to necessary length depending on the repositories. Exclude merge commits from ChangeLog to make it stable.
2019-09-15make-snapshot: export ChangeLog from srcdirNobuyoshi Nakada
2019-09-15make-snapshot: deprecated -exported option [Bug #16167]Nobuyoshi Nakada
2019-09-14Continue to export even if no notes/commitsNobuyoshi Nakada
Just exporting may not imply exporting ChangeLog which needs notes/commits. [Bug #16167]
2019-09-08make-snapshot: -git option is no longer provided [ci skip]Nobuyoshi Nakada
2019-09-08make-snapshot: default to the toplevel directoryNobuyoshi Nakada
As this tool has been intended to use in a working directory, assume that the toplevel directory is under the VCS, and SVN will no longer be canonical.
2019-09-08Touch copied cache files to make tarballs stableNobuyoshi Nakada
2019-09-08Suppress detached head warningNobuyoshi Nakada
2019-09-07Exit gently if no VCS found but --suppress_not_found is givenNobuyoshi Nakada
2019-09-07Removed no longer used variableNobuyoshi Nakada
2019-09-07Assign to vcs in new_vcs block not to use rescue resultNobuyoshi Nakada
2019-09-07Fixed wrong method at 71f7b0421acNobuyoshi Nakada
2019-09-07Fix error when checking file modified with git-svnNobuyoshi Nakada