summaryrefslogtreecommitdiff
path: root/tool/lib
Commit message (Collapse)AuthorAgeFilesLines
* Allow to use development version of bundled gems for packagingHiroshi SHIBATA2023-05-091-0/+6
|
* We should not validate development version of bundled gems with fetch timing.Hiroshi SHIBATA2023-05-091-3/+0
| | | | We want to notify above situation when release time. So, I move this check into ruby/actions.
* core_assertions.rb: Support old rubiesNobuyoshi Nakada2023-04-291-2/+1
| | | | Some symbol argument might not be accepted by Process.clock_gettime.
* Copy also helper.rb [ci skip]Nobuyoshi Nakada2023-04-281-0/+4
|
* core_assertions.rb: Prefer CPU time clocksNobuyoshi Nakada2023-04-061-2/+20
| | | | To prevent influence from other processes.
* core_assertions.rb: Extract common code blockNobuyoshi Nakada2023-04-061-8/+9
|
* core_assertions.rb: Tweak timeout limitNobuyoshi Nakada2023-04-061-4/+4
| | | | Increase the timeout limit when variance at rehearsal is small.
* Skip assert_linear_performance for RJITTakashi Kokubun2023-04-021-2/+5
|
* Check if `Bundler::EnvironmentPreserver` is definedNobuyoshi Nakada2023-03-311-1/+4
| | | | | Only `Bundler` might be defined. `EnvironmentPreserver` and its `BUNDLER_PREFIX` would be defined together in the same file.
* Check if Bundler is definedNobuyoshi Nakada2023-03-281-1/+1
|
* core_assertions.rb: Raise `Timeout::Error` explicitlyNobuyoshi Nakada2023-03-231-1/+1
| | | | So that `assert_raise` inside the block works.
* core_assertions.rb: Fix backward compatibility with pre 2.7Nobuyoshi Nakada2023-03-221-1/+1
|
* [DOC] Update comment of assert_pattern_listNobuyoshi Nakada2023-03-221-2/+2
| | | | `pattern_list` may contain string since d903e7672637.
* core_assertions.rb: Refine `assert_linear_performance`Nobuyoshi Nakada2023-03-221-1/+1
| | | | | * Calculate each timeout from the ratio of each factor to the first factor.
* core_assertions.rb: Relax `assert_linear_performance`Nobuyoshi Nakada2023-03-181-14/+25
| | | | | | | | * Use an `Enumerable` as factors, instead of three arguments. * Include `assert_operator` time in rehearsal time. * Round up max expected time.
* Revert "core_assertions.rb: Refine `assert_linear_performance`"Takashi Kokubun2023-03-161-16/+11
| | | | | | | This reverts commit cae4342dd559e34c1ce6219593f77f0ad80286da. This is failing a lot of CIs and nobody is actively looking into fixing it. Let me revert this until we have a solution to it.
* core_assertions.rb: Refine `assert_linear_performance`Nobuyoshi Nakada2023-03-161-11/+16
| | | | * Use an `Enumerable` as factors, instead of three arguments.
* core_assertions.rb: Refine `assert_linear_performance`Nobuyoshi Nakada2023-03-151-4/+3
| | | | | * Add `rehearsal` keyword argument * Stop repeating with the same factor
* Add test for linear performanceNobuyoshi Nakada2023-03-121-0/+23
|
* core_assertions.rb: Consider backward compatibilitiesNobuyoshi Nakada2023-03-121-1/+3
| | | | | This file is copied to default gems, which might support older versions.
* code styleHiroshi SHIBATA2023-03-081-1/+3
|
* Added debug info to gemspec version checkHiroshi SHIBATA2023-03-081-1/+1
|
* s/mjit/rjit/Takashi Kokubun2023-03-061-2/+2
|
* s/MJIT/RJIT/Takashi Kokubun2023-03-062-7/+7
|
* fix test/rubygems/test_gem_package_task.rb when in -j modelukeg2023-02-281-0/+4
| | | | | | | | | This test skipped sometimes due to failure to load 'rake/packagetask'. This is due to manipulation of $LOAD_PATH by other rubygems tests. If rake is loaded before any rubygems tests run, then it works fine. To reproduce the skipping behavior: $ make test-all TESTOPTS="-j6 --test-order=sorted test/rubygems/test_*.rb"
* Prefer to use File.foreach instead of IO.foreachHiroshi SHIBATA2023-02-271-1/+1
|
* Refine exception messages when git failedNobuyoshi Nakada2023-02-221-4/+7
|
* Use `Gem::Package#build` instead of the class method for old baserubyNobuyoshi Nakada2023-02-221-1/+3
|
* Clone and create dummy gemspec in sequential buildNobuyoshi Nakada2023-02-221-0/+11
|
* Move dummy gemspec file creation for extract-gems-sequentialNobuyoshi Nakada2023-02-221-25/+18
|
* Create a dummy minitest.gemspec for a bundled gemYusuke Endoh2023-02-191-0/+25
| | | | | | | | To use the repository version of bundled gems, we need to build a gem by "gem build", but the repository of minitest does not include minitest.gemspec because it uses hoe. This change creats a dummy minitest.gemspec to pass the CI.
* Apply zone offset to the last modified timeNobuyoshi Nakada2023-02-131-0/+1
|
* [Bug #19340] Fix bundle gems with test revisionNobuyoshi Nakada2023-01-261-0/+13
| | | | | Build temporary gem package from cloned repository if test revision is set.
* Supressing warnings messages like:Hiroshi SHIBATA2023-01-181-2/+0
| | | | | | | | Ignoring debug-1.7.1 because its extensions are not built. Try: gem pristine debug --version 1.7. Revert "Clear gem paths for each test" This reverts commit 6698b580ddad8cfa8c5c86df9328472820d3ee6a.
* Clear gem paths for each testNobuyoshi Nakada2023-01-151-0/+2
| | | | So that rubygems can find the bundled rake.
* Skip Test::Unit::AutoRunner logic in ruby/ruby repositoryHiroshi SHIBATA2023-01-051-2/+5
|
* [ruby/openssl] Stop AutoRunner with test-unitHiroshi SHIBATA2023-01-051-0/+1
| | | | https://github.com/ruby/openssl/commit/0d4cd8b9ca
* check `NO_COLOR` envvalKoichi Sasada2022-12-261-1/+3
| | | | Support `NO_COLOR` (https://no-color.org/) to make parsing output easy.
* Support new style diagnostic reportsNobuyoshi Nakada2022-12-251-5/+13
|
* Remove `require 'io/wait'` where it's no longer necessary. (#6932)Samuel Williams2022-12-151-1/+0
| | | | | | | * Remove `require 'io/wait'` as it's part of core now. * Update ruby specs using version gates. * Add note about why it's conditional.
* Skip calling f.read for `overwrite: true`-only casesTakashi Kokubun2022-12-131-2/+4
| | | | We only need to set outpath for that case.
* Make sure f.read is not called twiceTakashi Kokubun2022-12-131-2/+5
| | | | | | | --revision.h and --if-change are not used simultaneously, but they might be in the future. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Avoid overwriting revision.h when .git doesn't exist (#6915)Takashi Kokubun2022-12-121-3/+3
| | | | | * Avoid overwriting revision.h when .git doesn't exist * Overwrite revision.h if it's blank
* Fix positional argument color [ci skip]Nobuyoshi Nakada2022-12-121-1/+1
|
* Use class methods of `File` over `Kernel.open` and `IO.read`Nobuyoshi Nakada2022-12-012-2/+2
|
* Try to overwrite the file in VPATH if possibleNobuyoshi Nakada2022-11-131-1/+2
|
* jobserver option may not be at the lastNobuyoshi Nakada2022-11-071-1/+2
|
* Set `autoclose:` for inherited FDs only [ci skip]Nobuyoshi Nakada2022-11-071-2/+2
|
* GNU make 4.4 now uses a fifo for the jobserverNobuyoshi Nakada2022-11-061-3/+8
|
* Don't report changed ENV caused by BundlerPeter Zhu2022-11-041-0/+3
| | | | | | Bundler's backups changes environment variables starting with BUNDLER_ORIG_. This causes a lot of noise in tests as the leakchecker reports them as changed.