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

38 Коммитов

Автор SHA1 Сообщение Дата
Hiroshi SHIBATA 545ade21a2 Enable code-coverage result for test-spec 2023-01-26 15:32:29 +09:00
Nobuyoshi Nakada ee86b57ee5
Revert jobserver handling in spec 2022-11-07 15:54:40 +09:00
Nobuyoshi Nakada b02b8e7756
Let other test runners follow the change of GNU make 4.4 jobserver 2022-11-07 10:08:30 +09:00
Nobuyoshi Nakada c757c4e054
sitelibdir makes no sense in ruby itself 2022-03-04 15:56:03 +09:00
Nobuyoshi Nakada 0bbfb6a37b
Fix error when srcdir not found
So that `spec/mspec/bin/mspec --help` works at least.
2021-10-18 11:44:20 +09:00
Nobuyoshi Nakada e1e3657746
Simplify srcdir fallback 2021-10-18 11:43:50 +09:00
eregon aaf07f7ad5 Adapt tools to follow spec/rubyspec => spec/ruby rename
* [Misc #13792] [ruby-core:82287]
* Prefer test-spec over test-rubyspec in spec/README.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-20 20:19:54 +00:00
nobu 442273fad3 default.mspec: suppress warnings
* spec/default.mspec: suppress tons of useless use of == in void
  context warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-03 00:32:27 +00:00
nobu 9bf9d0ef42 default.mspec: limit cores
* 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-16 23:59:33 +00:00
nobu f8fbb8bc11 default.mspec: remove useless flags
* spec/default.mspec: removed -I options for useless or non-
  existent paths from flags.  there is no library scripts and .ext
  directory in the source directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-29 05:19:51 +00:00
nobu 912fc58353 default.mspec: ignore unavailable FDs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-15 10:32:30 +00:00
eregon e9628d9770 * spec/default.mspec: only require rbconfig if is it not already.
Useful when running spec/mspec/bin/mspec directly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-07 12:00:58 +00:00
eregon c0fff4e0f6 Use require to load rbconfig in default.mspec
* Otherwise it would be loaded twice.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-25 19:34:07 +00:00
ko1 de1a9d6565 revert r58478 and r58479 because they do not support not in-place build
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-25 17:24:06 +00:00
eregon fc8a2c2f46 Use require_relative to load rbconfig in default.mspec
* Otherwise it would load it twice.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-25 12:45:36 +00:00
eregon 7a7744a42f Remove useless else which produced a warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-25 12:45:14 +00:00
nobu 07cfb683a4 default.mspec: defer job tokens
* spec/default.mspec (MSpecScript::JobServer#cores): defer getting
  job tokens until required.  when running only one spec file,
  `-j` option has no effect.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-09 01:23:02 +00:00
nobu 18f4cf13b5 default.mspec: job server
* spec/default.mspec: override MSpecScript#cores by the tokens
  from the parent make job server.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-05 01:36:21 +00:00
nobu e3fa4ec154 default.mspec: end of options
* spec/default.mspec (MSpecScript): add the end of options to
  runruby.rb, to fix failure at ruby/spec@a0e55db.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-09 02:42:30 +00:00
nobu 673e470d8b default.mspec: OBJDIR
* spec/default.mspec: set object directory for optional/capi, not
  to pollute the source directory.
  https://github.com/ruby/spec/pull/247

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-21 21:59:01 +00:00
nobu 27f74fe7d4 spec/default.mspec: reduce expand_path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-21 21:38:21 +00:00
hsbt a96c88eca1 * spec/default.mspec: use default configuration file name.
cc69f337b0

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 13:25:11 +00:00
hsbt 8e1839093e * spec/default.mspec: remove specific version number.
7a909e925c

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 13:22:17 +00:00
nobu 76c7c267a0 default.mspec: use RbConfig::CONFIG
* spec/default.mspec (config): use RbConfig::CONFIG directly,
  loading with fake.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-15 03:24:18 +00:00
nobu 42dee95b7e default.mspec: no -I- flag
* spec/default.mspec (flags): -I- has been no longer used since
  long ago, and "." has not been in the default load path list too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-15 03:24:11 +00:00
svn 52e0f11b35 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 23:04:23 +00:00
hsbt 70ea6d28c1 * spec/default.mspec: use 2.2 definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17 23:04:10 +00:00
naruse e0e479fbc5 * spec/default.mspec: expand relative path for ruby_exe which uses
them with Dir.chdir; it breaks relative paths, for example
  core/kernel/exec_spec.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-16 09:23:50 +00:00
naruse b5dc2576cc * ext/mkext.rb: remove purelib, fixes a bug in r28440, r28441.
* spec/default.mspec: ditto.

* template/Doxyfile.tmpl: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 05:48:05 +00:00
yugui 8f3e3995df * spec/default.mspec (config): . is no longer in $:.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 16:04:22 +00:00
yugui 7378c8fa61 * spec/default.mspec: follows runruby.rb's move at r23542.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 15:22:18 +00:00
akr d5bfa31f82 * runruby.rb: use RbConfig::CONFIG instead of Config::CONFIG.
* spec/default.mspec: ditto.

* yarvtest/yarvtest.rb: ditto.

* instruby.rb: ditto.

* benchmark/report.rb: ditto.

* benchmark/runc.rb: ditto.

* tool/eval.rb: ditto.

* test/rubygems/test_gem.rb: ditto.

* test/rubygems/test_config.rb: ditto.

* test/rubygems/test_gem_platform.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 12:25:23 +00:00
yugui 8d8d36c15c * spec/default.mspec: fix for builddir != srcdir
* Makefile.in: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-01 13:30:25 +00:00
yugui 2be0eea2e8 * spec/README: follows the change of directory structure in rubyspec.
* spec/default.mspec: ditto. Also follows change of mspec command.

* Makefile.in: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-31 10:38:39 +00:00
yugui 644d1e7a47 * spec/default.mspec: follows changes in rubyspec project.
inherits configurations from ruby.1.9.mspec.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 14:06:24 +00:00
yugui 30887efb8a * spec/default.mspec: supports that the build directory != srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 03:31:09 +00:00
yugui 7a4905583d * spec/default.mspec (config): added.
* spec/default.mspec (target): replaced the built ruby
  to runruby.rb.
  Improved $LOAD_PATH on running specs.

* spec/default.mspec (flags): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 08:31:38 +00:00
yugui e370754189 Improved compatibility for mspec.
* Makefile.in (update-rubyspec): renamed the rubyspec directory
  "spec". Changed directory structure.

* Makefile.in (test-rubyspec): ditto.

* spec/README: described the structure of "spec" directory.

* spec/default.mspec: configured for Matz's Ruby Implementation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-04 11:44:41 +00:00