| Age | Commit message (Collapse) | Author |
|
After editing a conflict, continue without removed files.
|
|
test/runner.rb and tool/lib/test/unit/parallel.rb must use the same
settings. However, some settings were copied and pasted, while some were
added only to test/runner.rb.
This changeset creates tool/test/init.rb for all settings of test-unit,
which is loaded not only by test/runner.rb but also
tool/lib/test/unit/parallel.rb.
Background: the GEM_HOME environment variable was removed in
test/runner.rb, which prohibit `require "rake"` (note that rake is a
bundled gem). However the parallel mode didn't refrect this setting,
i.e., `require "rake"` was allowed.
This leads to an inconsistency, which actually affected a test test
defines s test class *only when* `require "rake"` is successful.
(test/rubygems/test_gem_package_task.rb)
https://github.com/ruby/ruby/actions/runs/6807729617/job/18511055636#step:8:1714
```
/home/runner/work/ruby/ruby/src/tool/lib/test/unit.rb:729:in `const_get': uninitialized constant TestGemPackageTask (NameError)
suites.map! {|r| ::Object.const_get(r[:testcase])}
^^^^^^^^^^
```
|
|
|
|
|
|
to @__passed__, @@__current__.
@passed is redefined in a few test suites, and this could lead to bugs.
Also rename @options (Runner#options) to @__runner_options__, which is
only used in make test-tool anyway.
|
|
|
|
|
|
|
|
|
|
The case of 7fc73ab5f6fbe46655855079954b26dcc14576b3, which modified
`.gitignore` and `.github/workflows/main.yml`. Both files need to be
rejected and restored, but since the latter file was not there before,
`git checkout` failed and the former file could not be restored along
with it. To fix this failure, restore the ignored files one by one.
|
|
|
|
When multiple files changed in the same directory to be removed, the
first file only was removed from changed set.
|
|
|
|
Referencing always after conversion to a symbol, and yielded gem name
is always converted to a string.
|
|
Do not add directories which would let chkbuild fires accidentally, to
just under `test`. The "fixtures" directory is often used to place
test stuffs.
Notes:
Merged: https://github.com/ruby/ruby/pull/8214
|
|
|
|
As well as `GIT_CONFIG_GLOBAL`, which is supported since git 2.32.
|
|
This reverts commit b0f44cfa5da53b90817732cb25b4d3a1cddecb89.
|
|
With older git, as `GIT_CONFIG_GLOBAL` environment variable is not
supported, these tests clobber user's configurations.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7897
|
|
The -b flag is available since 2.28, but Ubuntu 20.04 uses 2.25.
Notes:
Merged: https://github.com/ruby/ruby/pull/7770
|
|
Get rid of accidents like 67feb782f947046f65951303893713052a19a546.
Notes:
Merged: https://github.com/ruby/ruby/pull/7601
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7462
|
|
When the test source directory path contains symbolic links, that
directory might be placed earlier in the result of
`IRB::InputCompletor.retrieve_gem_and_system_load_path`, than other
directories in the source tree that are expanded to the real path. In
that case, the test file in "csv" under the test directory of csv gem
instead of the library path will be the first candidate, in
`TestIRB::TestCompletion#test_complete_require_library_name_first`.
```
<"'csv"> expected but was
<"'csv/helper">.
```
Notes:
Merged: https://github.com/ruby/ruby/pull/7432
|
|
cf0b413ef8b794ef6e7436f22fd5a998050dada9
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6834
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6820
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6820
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6252
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5453
|
|
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4621
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4976
|
|
|
|
|
|
* Split the sorting types into classes.
* Apply the same sorting to method sorting under the parallel
test.
Notes:
Merged: https://github.com/ruby/ruby/pull/4862
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4854
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and Test::Unit::PendedError
Notes:
Merged: https://github.com/ruby/ruby/pull/4813
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4813
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4813
|