diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-01 06:42:51 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-01 06:42:51 +0000 |
commit | 2c8756f2c8512e763afea4b63462397a14f09ece (patch) | |
tree | eabc5f2ab65468cf0538612fbfd0dc8996920f1a /spec | |
parent | 8ed6868de020e00cc1d95618bf76eccd3462924f (diff) |
merges r21212 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@21231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
-rw-r--r-- | spec/README | 27 | ||||
-rw-r--r-- | spec/default.mspec | 1 |
2 files changed, 10 insertions, 18 deletions
diff --git a/spec/README b/spec/README index ea10bcf030..3ba87445e9 100644 --- a/spec/README +++ b/spec/README @@ -8,26 +8,15 @@ and put it into this directory. spec +-- mspec driver library for executing the specification. +-- rubyspec - +-- 1.8 specification for both Ruby 1.8 and 1.9 - | +-- core specification for core libraries - | | +-- array - | | +-- bignum - | | +-- ... - | | - | +-- fixtures example classes for writing specs - | +-- language specification for Ruby language itself - | +-- library specification for standard libraries - | +-- addrev - | +-- ... - | +-- core + +-- core specification for core libraries + | +-- array + | +-- bignum | +-- ... | - +-- 1.9 specification for new features and large changes in Ruby 1.9 - +-- core - +-- fixtures - +-- language - +-- library - +-- core + +-- fixtures example classes for writing specs + +-- language specification for Ruby language itself + +-- library specification for standard libraries + +-- addrev +-- ... == How to run @@ -36,4 +25,6 @@ and put it into this directory. $ make test-rubyspec :mspec command verifies the specified spec. + $ mspec {language|core|language} + or $ mspec spec/path/to/some_spec.rb diff --git a/spec/default.mspec b/spec/default.mspec index 402065b44e..b94807d6d5 100644 --- a/spec/default.mspec +++ b/spec/default.mspec @@ -8,6 +8,7 @@ class MSpecScript # The default implementation to run the specs. set :target, File.join(builddir, "miniruby#{config['exeext']}") + set :prefix, 'spec/rubyspec' set :flags, %W[ -I#{srcdir}/lib -I#{srcdir}/#{config['EXTOUT']}/common |