From 3db369cc6df77493496e9ea9e736b2ac8d8d2f5b Mon Sep 17 00:00:00 2001 From: yugui Date: Mon, 4 Aug 2008 11:44:41 +0000 Subject: 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: http://svn.ruby-lang.org/repos/ruby/trunk@18359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/README | 24 ++++++++++++++++++++++++ spec/default.mspec | 13 +++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 spec/README create mode 100644 spec/default.mspec (limited to 'spec') diff --git a/spec/README b/spec/README new file mode 100644 index 000000000..6daafe247 --- /dev/null +++ b/spec/README @@ -0,0 +1,24 @@ += RubySpec + +RubySpec (http://rubyspec.org) provides the Ruby langauge specification in an +executable format. The make task `update-rubyspec' retrieves the specification +and put it into this directory. + + spec + +-- mspec driver library for executing the specification. + +-- rubyspec + +-- 1.8 + | +-- core + | +-- ... + | + +-- 1.9 + +-- core specification for core libraries + | +-- array + | +-- bignum + | +-- ... + | + +-- fixtures + +-- language specification for Ruby language itself + +-- library specification for standard libraries. + +-- addrev + +-- ... diff --git a/spec/default.mspec b/spec/default.mspec new file mode 100644 index 000000000..b429f6417 --- /dev/null +++ b/spec/default.mspec @@ -0,0 +1,13 @@ +class MSpecScript + # An ordered list of the directories containing specs to run + # as the CI process. + set :ci_files, %w[ + spec/rubyspec/1.9/core + spec/rubyspec/1.9/language + spec/rubyspec/1.9/library + ] + + srcdir = File.expand_path(File.join(File.dirname(__FILE__), '..')) + # The default implementation to run the specs. + set :target, File.join(srcdir, `#{srcdir}/miniruby -I#{srcdir} -rrbconfig -e 'print Config::CONFIG["RUBY_INSTALL_NAME"]'`) +end -- cgit