aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* Promote net-pop to default gemsHiroshi SHIBATA2019-11-071-0/+5
|
* Promote benchmark to default gemsHiroshi SHIBATA2019-11-071-0/+2
|
* Promote delegate to default gemsHiroshi SHIBATA2019-11-071-0/+2
|
* Promote pstore to default gemsHiroshi SHIBATA2019-11-071-0/+2
|
* Fixed an Errno::ENOENT with non-test librariesHiroshi SHIBATA2019-11-071-1/+3
|
* Promote open3 to default gemsHiroshi SHIBATA2019-11-071-1/+3
|
* fallback standard structure library to sync_lib_gem methodHiroshi SHIBATA2019-11-071-2/+1
|
* Promote singleton to default gemsHiroshi SHIBATA2019-11-071-2/+4
|
* Do not occupy `ARGV` by XRUBY commandNobuyoshi Nakada2019-11-051-1/+2
| | | | | Instead run test-bundled-gems.rb by `ENV['RUBY']`, which should be set by runruby.rb.
* sync_default_gems.rb: Show the progress at fetchingNobuyoshi Nakada2019-11-041-1/+1
| | | | It looks like hanging up when fetching from a remote first time.
* Fixed the sync task for jsonHiroshi SHIBATA2019-10-311-3/+2
| | | | | * Ignode to change ext/json/depend * Fixed to ignore json_pure files
* Try to run assert_output_unchanged with racc testsHiroshi SHIBATA2019-10-311-0/+3
|
* Update the latest structure for racc upstreamHiroshi SHIBATA2019-10-301-1/+3
|
* tool/lib/minitest/unit.rb: add "omit" as an alias to "skip"Yusuke Endoh2019-10-291-0/+2
| | | | | | According to rdoc, test-unit provides omit instead of skip. This is a compatibility layer to make it work with both test-unit and tool/lib/minitest.
* test-bundled-gems.rb: fixed for out-of-place buildNobuyoshi Nakada2019-10-281-2/+3
|
* more on struct rb_call_data卜部昌平2019-10-251-3/+3
| | | | | Replacing adjacent struct rb_call_info and struct rb_call_cache into a struct rb_call_data.
* Combine call info and cache to speed up method invocationAlan Wu2019-10-248-22/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | To perform a regular method call, the VM needs two structs, `rb_call_info` and `rb_call_cache`. At the moment, we allocate these two structures in separate buffers. In the worst case, the CPU needs to read 4 cache lines to complete a method call. Putting the two structures together reduces the maximum number of cache line reads to 2. Combining the structures also saves 8 bytes per call site as the current layout uses separate two pointers for the call info and the call cache. This saves about 2 MiB on Discourse. This change improves the Optcarrot benchmark at least 3%. For more details, see attached bugs.ruby-lang.org ticket. Complications: - A new instruction attribute `comptime_sp_inc` is introduced to calculate SP increase at compile time without using call caches. At compile time, a `TS_CALLDATA` operand points to a call info struct, but at runtime, the same operand points to a call data struct. Instruction that explicitly define `sp_inc` also need to define `comptime_sp_inc`. - MJIT code for copying call cache becomes slightly more complicated. - This changes the bytecode format, which might break existing tools. [Misc #16258]
* Fixed sync path of e2mmap structure for gemspec.Hiroshi SHIBATA2019-10-241-1/+1
|
* Catch syntax error even if fatalNobuyoshi Nakada2019-10-231-0/+2
|
* tool/release.sh uses ruby-actions' resultNARUSE, Yui2019-10-221-33/+14
| | | | https://github.com/ruby/actions
* Move format-release to tool and fix bugsNARUSE, Yui2019-10-221-27/+19
|
* make-snapshot: Regexp#match raises on nil nowNobuyoshi Nakada2019-10-221-1/+1
|
* Revert "alias assert_raise_message for compatibility with test-unit"Nobuyoshi Nakada2019-10-161-1/+0
| | | | | | | | 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,
* alias assert_raise_message for compatibility with test-unitNobuyoshi Nakada2019-10-161-0/+1
|
* Fix typo [ci skip]Kazuhiro NISHIYAMA2019-10-081-2/+2
| | | | pointed out by ruby-trunk-changes
* Write yaml and json under destdir and print to stdoutKazuhiro NISHIYAMA2019-10-071-2/+10
|
* Create info.yml and info.jsonKazuhiro NISHIYAMA2019-10-071-1/+26
| | | | | - `info.yml` is for ruby/www.ruby-lang.org/_data/releases.yml - `info.json` is meta data for users of snapshot
* Remove `-s3` optionKazuhiro NISHIYAMA2019-10-071-7/+0
| | | | It will not use in `ruby/actions`, and `default=tmp` is not correct.
* make-snapshot: touch updated files after preparedNobuyoshi Nakada2019-10-031-2/+2
| | | | | Align mtime of files updated by `make prepare-package` to make packages reproducible.
* make-snapshot: suppress make error messages unless failedNobuyoshi Nakada2019-10-031-14/+30
|
* make-snapshot: copy cache files instead of linkingNobuyoshi Nakada2019-10-031-6/+1
| | | | To get rid of setting mode and mtime of the original cache files.
* vcs.rb: fix to export git-svn versionNobuyoshi Nakada2019-10-031-26/+32
| | | | | | * Use the given branch name instead of implicit 'HEAD". * Format like as git-svn when `from` or `to` is SVN revision number.
* [ruby/fileutils] improve the compatibility of minitestHiroshi SHIBATA2019-10-031-1/+2
| | | | https://github.com/ruby/fileutils/commit/f16f5a0dd6
* use bind_call for test-all --gc-stress卜部昌平2019-10-031-1/+1
| | | | | This one allocation of Method object is worth avoiding. We don't want to test UnboundMethod#bind right here. GC need not run.
* fix assertion number.Koichi Sasada2019-10-021-1/+1
| | | | | On parallel test, there are additional tests because of implicit checkers which are enabled on 84cbce3d88.
* Fixed failure message for `clean-cache`Nobuyoshi Nakada2019-10-021-1/+1
|
* Enable checkers on parallel test.Koichi Sasada2019-10-023-5/+14
| | | | | | | | | 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
* Fix the order of executing `after-update` taskNAKAMURA Usaku2019-10-021-3/+7
|
* Should fail if `system` failedNAKAMURA Usaku2019-10-021-3/+12
|
* expose assert_raise and assert_join_threadsHiroshi SHIBATA2019-10-012-116/+121
|
* Revert "introduce debug check."Koichi Sasada2019-09-301-11/+0
| | | | | | This reverts commit c3b84f2de83a27acc638f99743bfa2c44bac621c. Backtrace shows it is before running tests and debug check was nonsense.
* introduce debug check.Koichi Sasada2019-09-301-0/+11
| | | | | | | | | | 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.
* show RUBY_ISEQ_DUMP_DEBUG envval if given.Koichi Sasada2019-09-301-2/+4
|
* Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for ↵Benoit Daloze2019-09-291-1/+1
| | | | miniruby
* Move the logic to test bundled gems to Ruby codeBenoit Daloze2019-09-291-0/+26
| | | | | * Writing shell scripts in a Makefile is very error-prone. * TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before.
* assert_in_out_err should use FailDesc tooNobuyoshi Nakada2019-09-271-4/+2
|
* make-snapshot: store timestamps in UTC for zip which lacks timezoneNobuyoshi Nakada2019-09-231-0/+1
|
* Add `-mtc=off` to `7z` not to store NTFS timestampsKazuhiro NISHIYAMA2019-09-231-1/+1
| | | | https://sevenzip.osdn.jp/chm/cmdline/switches/method.htm
* make-snapshot: Added -no7z optionNobuyoshi Nakada2019-09-221-1/+1
| | | | | | 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.
* make-snapshot: Do not save extra file attributesNobuyoshi Nakada2019-09-221-1/+1
| | | | | Extra file attributes (uid/gid and atime) make the packaged zip file unstable.