nobu
1a7ed01d6c
fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-14 14:27:07 +00:00
eregon
a5b83b03ad
Update to ruby/spec@032022ca
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-14 14:09:56 +00:00
eregon
6dd3ff482f
Update to ruby/mspec@4b980493
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-14 14:09:29 +00:00
naruse
7334e2f836
Don't read non .rb file as a spec
...
To avoid reading `core` file on reading core/ specs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-14 11:36:01 +00:00
nobu
0e2e2cf4a1
suppress warning
...
* spec/rubyspec/optional/capi/ext/fixnum_spec.c: suppress
unused-but-set-variable warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-14 03:53:59 +00:00
usa
8675dd7b53
The exception raised when exec/spawn unexecutable file on Windows is various
...
It seems that depend on OS version or filesystem
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-13 15:23:38 +00:00
nobu
eafeb506cd
remove wrong expectation
...
* spec/rubyspec/core/kernel/itself_spec.rb: `object_id` may return
different objects for each calls, and the expectation of object
identity is done by `equal` matcher which uses `equal?` method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-13 13:54:52 +00:00
usa
98746acff3
`notepad.exe` does not always exist in `C:\Windows`
...
Use `%WINDIR%\system32\drivers\etc\services` instead of `notepad.exe`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 20:10:16 +00:00
usa
512db21900
Windows does not know Unix style timezone
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 10:37:41 +00:00
usa
0558ba4e7b
On LLP64 platform (mswin64), the return value of String#hash is fixnum.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 10:23:53 +00:00
usa
1f136bffe6
Skip specs which make non-socket fd nonblocking on Windows
...
because Windows does not support nonblocking mode except sockets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 10:10:15 +00:00
usa
683b89070e
Support bulding the extension on Windows
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 10:05:48 +00:00
usa
952fa45645
unistd.h is only available when HAVE_UNISTD_H is 1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 09:36:57 +00:00
usa
6e4d65cdc6
Skip the spec which uses `fork` on Windows
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 09:17:10 +00:00
usa
f4fffbfe70
The title of "Desktop" may be localized
...
* spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb: the title of
"Desktop" may be localized. then, use "System32" because it seems not to be
localized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 08:45:20 +00:00
usa
877d1dd1e7
Skip on Windows because it always fails
...
On Windows, when invoking ruby via runruby.rb, the pid of invoker and of invokee
are diffrent. Therefore, this spec always fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 08:11:35 +00:00
nobu
1cff8c824a
remove code old versions
...
* spec/rubyspec/optional/capi/spec_helper.rb (compile_extension):
remove code old versions. `RbConfig::CONFIG["rubyhdrdir"]` is
since 1.9, and `RbConfig::CONFIG["rubyarchhdrdir"]` is since
2.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 08:10:36 +00:00
usa
ae623435e0
Support building exts of spec on mswin
...
* spec/rubyspec/optional/capi/spec_helper.rb: building command of extensions on
mswin differs from Unixen's one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-12 06:39:43 +00:00
eregon
d81b7cd54c
Use environment values to find ruby and flags instead of an argument
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-10 14:35:38 +00:00
eregon
d655f8c592
Use ruby_cmd instead of the RUBY_EXE constant in specs
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-10 14:35:24 +00:00
eregon
525844f257
Use the Mutex to know whether we entered the signal handler in Process#kill specs
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-10 14:18:23 +00:00
eregon
c66852b812
Process.getpgrp and Process.setsid must be available for Process#kill group specs
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-10 14:18:10 +00:00
eregon
0dc32472d7
Use #system directly with multiple arguments in Process#kill specs
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-10 14:17:58 +00:00
eregon
a319225b4a
Update specs to follow newlines added by r58596
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-07 12:26:25 +00:00
eregon
e7ec88a41a
Rename spec/README to spec/README.md
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-07 12:17:21 +00:00
svn
6bc742bc6d
* remove trailing spaces, append newline at EOF.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-07 12:05:36 +00:00
eregon
95e8c48dd3
Add in-tree mspec and ruby/spec
...
* For easier modifications of ruby/spec by MRI developers.
* .gitignore: track changes under spec.
* spec/mspec, spec/rubyspec: add in-tree mspec and ruby/spec.
These files can therefore be updated like any other file in MRI.
Instructions are provided in spec/README.
[Feature #13156 ] [ruby-core:79246]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-07 12:04:49 +00:00
eregon
538dcb3044
Update README about ruby/spec
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-07 12:01:12 +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
kazu
232d4828fc
* spec/README: update URL. [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-24 05:26:42 +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
nobu
6cbe0e0fd6
* spec/README: update the description.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:13:14 +00:00
naruse
5c9c28b3a0
* spec/README: fix typo.
...
patched by bowsersenior. https://github.com/ruby/ruby/pull/24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 08:31:30 +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
0ed8771a44
* Makefile.in(test-rubyspec): explicitly executes run subcommand of
...
mspec.
* spec/README: typo fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-26 13:42:56 +00:00
yugui
762f9b28c6
* .gitignore: synchronized with svn:ignore.
...
* spec/.gitignore: merged into /.gitignore
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13 09:12:02 +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
yugui
9d0add09cf
* spec/.gitignore: ignores rubyspec/ and mspec/.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20 11:55:39 +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
c4f8143b64
* spec/README: directory structrue changed
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-14 05:32:35 +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
11d35f6723
* spec/README (How to run): added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 08:31:46 +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