summaryrefslogtreecommitdiff
path: root/spec/mspec/lib
AgeCommit message (Collapse)Author
2019-12-20Fixed misspellingsNobuyoshi Nakada
Fixed misspellings reported at [Bug #16437], for default gems.
2019-11-30Update to ruby/mspec@a401f63Benoit Daloze
2019-11-05Separated `@counter` and `@tally` so that "-ft" works with "-j"Nobuyoshi Nakada
2019-11-05Enable "-f" option in multi_exec modeNobuyoshi Nakada
Make `MultiFormatter` a module and extend the formatter specified by "-f" option. Notes: Merged: https://github.com/ruby/ruby/pull/2649
2019-11-05`DottedFormatter#finish` consistencyNobuyoshi Nakada
Rmoved optional parameter `printed_exceptions`, and clear `exceptions` just after printing each exception, instead. Notes: Merged: https://github.com/ruby/ruby/pull/2649
2019-11-05`DottedFormatter#state` consistencyNobuyoshi Nakada
Let the method of `DottedFormatter` subclasses have the same arity. Notes: Merged: https://github.com/ruby/ruby/pull/2649
2019-10-26Update to ruby/mspec@e171725Benoit Daloze
2019-09-29Update to ruby/mspec@5dda9fbBenoit Daloze
2019-09-29Update to ruby/mspec@8106083Benoit Daloze
2019-07-31File.realpath can raise ENOTDIRKoichi Sasada
2019-06-27Update to ruby/mspec@ca2bc42Benoit Daloze
2019-05-31Update to ruby/mspec@a57a9afBenoit Daloze
2019-04-28Update to ruby/mspec@c25d63dBenoit Daloze
2019-04-27Update to ruby/mspec@18c5a7dBenoit Daloze
2019-02-21Update to ruby/mspec@2ee5661eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07Update to ruby/mspec@231e2ceeregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-20Update to ruby/mspec@e9a482deregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-12RbConfig::CONFIG never had "exeext"nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29Update to ruby/mspec@2bd2eaderegon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03Cherry-picked spec/mspec/lib/mspec/helpers/fs.rbnobu
From https://github.com/MSP-Greg/ruby/commit/316f60e3befa312320b2cc600d7b59ba64f12329 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27Update to ruby/mspec@820486aeregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-25Expand spec files to realpathsnobu
* spec/mspec/lib/mspec/utils/script.rb (MSpecScript#entries): expand the given spec path to the realpath, not to require a library by realpath and symbolic link path from the spec file. reapply r64749 and r64751 overridden by r64830. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-25Update to ruby/mspec@2bca8cberegon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-25Update to ruby/mspec@3fb5112eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-15get rid of newer syntax for old versionsnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-15Expand spec files to realpathsnobu
* spec/mspec/lib/mspec/utils/script.rb (MSpecScript#entries): expand the given spec path to the realpath, not to require a library by realpath and symbolic link path from the spec file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-03Update to ruby/mspec@072849eeregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-27Update to ruby/mspec@7074b56eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-27process.c (waitpid_wait): do not set ECHILD prematurelynormal
It is possible to have both MJIT and normal child processes alive, so we cannot set ECHILD based on such a guess. We can still elide waitpid(PID <= 0) calls if we have callers in vm->waiting_pids, however. For specs, ensure Process.waitall does not leak MJIT PIDs to Rubyspace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-27Revert "spec: skip Process wait specs on MJIT"normal
This reverts r63731 (commit 359dd59db2512d801bb983f98bede4fc598f139a). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-23spec: skip Process wait specs on MJITk0kubun
until [Bug #14867] is fixed. I want to start running CI with MJIT enabled before fixing the problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-28Update to ruby/mspec@b5b13deeregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-26Update to ruby/mspec@8b54bf3eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-29Update to ruby/mspec@5d49a6ceregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-27Update to ruby/mspec@5f563e4eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-15Update to ruby/mspec@19d929eeregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-01Update to ruby/mspec@b501adeeregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-28Update to ruby/mspec@90925d6eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-25Fix Mock.verify_call to mock_respond_to?nobu
* spec/mspec/lib/mspec/mocks/mock.rb (Mock.verify_call): should pass arguments to as given, not packed in an array. mock_respond_to? expects 2 or 3 arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-14Update to ruby/mspec@5bd9409eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-08-13script.rb: skip empty directoriesnobu
* spec/mspec/lib/mspec/utils/script.rb (entries): skip empty directories so that at least one file would run. Merged https://github.com/ruby/spec/issues/459 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-07-27Update to ruby/mspec@353605feregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-29Update to ruby/mspec@021a119eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-24mspec.rb: keep jobserver fdsnobu
* spec/mspec/lib/mspec/commands/mspec.rb (MSpecMain#run): do not close jobserver FDs for mspec-run. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-17capi/spec_helper.rb: pass jobserver fdsnobu
* spec/mspec/lib/mspec/commands/mspec.rb (MSpecMain#multi_exec): do not close GNU make jobserver auth fds. * spec/rubyspec/optional/capi/spec_helper.rb (compile_extension): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-16default.mspec: limit coresnobu
* spec/default.mspec (MSpecScript::JobServer#cores): limit max number of processors, not to acquire tokens more than necessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-15Update to ruby/mspec@d900a49eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-01Open files in binary modes for copying in MSpec's #cperegon
* See https://bugs.ruby-lang.org/issues/13570. * Found by MSP-Greg (Greg L). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-29Simplify, avoid extra exceptions and add test for concurrent mspec mkdir_peregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-29fix up r58952nobu
* spec/mspec/lib/mspec/helpers/fs.rb (Object#mkdir_p): rescue File.stat when the target does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e