[macruby-changes] [2063] MacRuby/branches/experimental/spec/macruby.mspec

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 23 19:25:01 PDT 2009


Revision: 2063
          http://trac.macosforge.org/projects/ruby/changeset/2063
Author:   lsansonetti at apple.com
Date:     2009-07-23 19:25:01 -0700 (Thu, 23 Jul 2009)
Log Message:
-----------
BIG CHANGE we now use the macruby executable instead of miniruby, because C extensions cannot be loaded from miniruby, added :library mode which includes all the digest specs (they all pass), added :library to :full

Modified Paths:
--------------
    MacRuby/branches/experimental/spec/macruby.mspec

Modified: MacRuby/branches/experimental/spec/macruby.mspec
===================================================================
--- MacRuby/branches/experimental/spec/macruby.mspec	2009-07-24 02:23:43 UTC (rev 2062)
+++ MacRuby/branches/experimental/spec/macruby.mspec	2009-07-24 02:25:01 UTC (rev 2063)
@@ -21,9 +21,14 @@
     '^core/precision',
     '^core/proc',
   ]
+
+  # Library specs
+  set :library, [
+    'library/digest'
+  ]
   
   # Prepend the paths with the proper prefix
-  [:language, :core].each do |pseudo_dir|
+  [:language, :core, :library].each do |pseudo_dir|
     set(pseudo_dir, get(pseudo_dir).map do |path|
       if path[0,1] == '^'
         "^#{File.join(FROZEN_PREFIX, path[1..-1])}"
@@ -35,7 +40,7 @@
   
   set :macruby, ['spec/macruby']
   
-  set :full, get(:macruby) + get(:language) + get(:core)
+  set :full, get(:macruby) + get(:language) + get(:core) + get(:library)
   
   # Optional library specs
   set :ffi, File.join(FROZEN_PREFIX, 'optional/ffi')
@@ -44,7 +49,7 @@
   set :optional, [get(:ffi)]
   
   # The default implementation to run the specs.
-  set :target, File.expand_path('../../miniruby', __FILE__)
+  set :target, File.expand_path('../../macruby', __FILE__)
   
   set :tags_patterns, [
                         [%r(language/), 'tags/macruby/language/'],
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090723/e02a82bd/attachment-0001.html>


More information about the macruby-changes mailing list