aboutsummaryrefslogtreecommitdiffstats
path: root/spec/default.mspec
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-04 11:44:41 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-04 11:44:41 +0000
commite3707541890c1d679b8bc8e319980667e6ed2bd6 (patch)
tree24a5bc95346529242e514e15408f499133d03cde /spec/default.mspec
parentb49106dfd76d9db5cf34f795f8c89639f40e9b2f (diff)
downloadruby-e3707541890c1d679b8bc8e319980667e6ed2bd6.tar.gz
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
Diffstat (limited to 'spec/default.mspec')
-rw-r--r--spec/default.mspec13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/default.mspec b/spec/default.mspec
new file mode 100644
index 0000000000..b429f6417c
--- /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