Граф коммитов

65 Коммитов

Автор SHA1 Сообщение Дата
Benoit Daloze 60d362b0bb Update to ruby/mspec@aa28e95 2019-12-01 14:11:40 +01:00
Benoit Daloze ab8345271e Update to ruby/mspec@a401f63 2019-11-30 21:26:49 +01:00
Nobuyoshi Nakada c6a52cffd1
Separated `@counter` and `@tally` so that "-ft" works with "-j" 2019-11-05 17:43:38 +09:00
Nobuyoshi Nakada fa52a924aa Enable "-f" option in multi_exec mode
Make `MultiFormatter` a module and extend the formatter specified
by "-f" option.
2019-11-05 17:42:35 +09:00
Nobuyoshi Nakada 19f91f7880 `DottedFormatter#finish` consistency
Rmoved optional parameter `printed_exceptions`, and clear
`exceptions` just after printing each exception, instead.
2019-11-05 17:42:35 +09:00
Nobuyoshi Nakada dfb3322d27 `DottedFormatter#state` consistency
Let the method of `DottedFormatter` subclasses have the same
arity.
2019-11-05 17:42:35 +09:00
Benoit Daloze 3eb0d50c0b Update to ruby/mspec@e171725 2019-10-26 20:52:59 +02:00
Benoit Daloze d51b4e34fb Update to ruby/mspec@5dda9fb 2019-09-29 19:13:35 +02:00
Benoit Daloze f9a9f3c7c6 Update to ruby/mspec@8cabcef 2019-09-29 18:01:30 +02:00
Benoit Daloze 31bb66a19d Update to ruby/mspec@8106083 2019-09-29 16:03:47 +02:00
Koichi Sasada a1a198d03a File.realpath can raise ENOTDIR 2019-07-31 21:16:20 +01:00
Benoit Daloze c940397116 Update to ruby/mspec@ca2bc42 2019-06-27 21:02:33 +02:00
Benoit Daloze f97979ce88 Update to ruby/mspec@a57a9af 2019-05-31 19:02:06 +02:00
Benoit Daloze e935a3227d Update to ruby/mspec@3cc36d0 2019-05-30 22:11:22 +02:00
Benoit Daloze 994833085a Update to ruby/mspec@c25d63d 2019-04-28 23:20:09 +02:00
Benoit Daloze 00c33d9c23 Update to ruby/mspec@18c5a7d 2019-04-27 18:53:20 +02:00
eregon 92d3a72624 Update to ruby/mspec@2ee5661
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-21 15:38:36 +00:00
eregon 820f99791e Update to ruby/mspec@231e2ce
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07 16:35:03 +00:00
eregon 58573c33e4 Update to ruby/mspec@e9a482d
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-20 20:38:27 +00:00
nobu 056c24d398 RbConfig::CONFIG never had "exeext"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-12 04:53:09 +00:00
eregon 548defb608 Update to ruby/mspec@2bd2ead
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-29 00:22:31 +00:00
nobu b65a43ca2f Cherry-picked spec/mspec/lib/mspec/helpers/fs.rb
From 316f60e3be

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03 03:15:42 +00:00
eregon eae7fbb682 Update to ruby/mspec@820486a
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 20:38:20 +00:00
eregon ecc707e233 Update to ruby/mspec@4729971
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-27 10:48:09 +00:00
nobu ac17835782 Expand spec files to realpaths
* 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-25 23:31:22 +00:00
eregon e2d74af38b Update to ruby/mspec@2bca8cb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-25 18:47:17 +00:00
eregon e59bf54b3a Update to ruby/mspec@3fb5112
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-25 10:40:39 +00:00
nobu 0d7facee42 get rid of newer syntax for old versions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-15 11:45:31 +00:00
nobu 958817d50d Expand spec files to realpaths
* 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-09-15 09:48:42 +00:00
eregon 2aefb19888 Update to ruby/mspec@269f9cd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-21 22:01:18 +00:00
eregon aeeaadaad0 Update to ruby/mspec@072849e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-03 16:19:10 +00:00
eregon 80fdfbf809 Update to ruby/mspec@7074b56
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-27 11:37:19 +00:00
normal 92f5653f45 process.c (waitpid_wait): do not set ECHILD prematurely
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-27 10:09:33 +00:00
normal 910418fca6 Revert "spec: skip Process wait specs on MJIT"
This reverts r63731 (commit 359dd59db2).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-27 03:16:59 +00:00
k0kubun 359dd59db2 spec: skip Process wait specs on MJIT
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-06-23 08:29:20 +00:00
eregon 702eb2c8bf Update to ruby/mspec@b5b13de
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-28 19:49:24 +00:00
eregon e389e2c5cd Update to ruby/mspec@8b54bf3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-26 20:48:01 +00:00
eregon edb46078ef Update to ruby/mspec@d287466
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-27 20:21:01 +00:00
eregon 6fd1a18f8a Update to ruby/mspec@5d49a6c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-29 16:07:35 +00:00
eregon 76402dfa06 Update to ruby/mspec@5f563e4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-27 16:12:18 +00:00
eregon 60e21a9e93 Update to ruby/mspec@19d929e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-15 17:44:15 +00:00
eregon 821d9a2d30 Update to ruby/mspec@b501ade
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-01 15:41:23 +00:00
eregon 974e862db9 Update to ruby/mspec@90925d6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-28 15:14:55 +00:00
nobu 82fb43153b Fix Mock.verify_call to mock_respond_to?
* 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-10-25 02:41:47 +00:00
eregon c555bd7f01 Update to ruby/mspec@c135328
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-28 09:19:19 +00:00
eregon 49a864ad90 Update to ruby/mspec@5bd9409
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-14 15:56:09 +00:00
nobu 45270d20ed script.rb: skip empty directories
* 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-08-13 13:43:36 +00:00
eregon c13aa27e52 Update to ruby/mspec@353605f
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-07-27 12:10:23 +00:00
eregon d55cd34ba8 Update to ruby/mspec@021a119
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-29 14:35:09 +00:00
nobu dc62793a91 mspec.rb: keep jobserver fds
* 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-24 01:44:49 +00:00