[macruby-changes] [1119] MacRuby/branches/experimental/rakelib/spec.rake

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 23 20:14:17 PDT 2009


Revision: 1119
          http://trac.macosforge.org/projects/ruby/changeset/1119
Author:   lsansonetti at apple.com
Date:     2009-03-23 20:14:17 -0700 (Mon, 23 Mar 2009)
Log Message:
-----------
added array_spec.rb to the green list + temporarily disable the GC to avoid the LoadError problem

Modified Paths:
--------------
    MacRuby/branches/experimental/rakelib/spec.rake

Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake	2009-03-24 03:13:21 UTC (rev 1118)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-03-24 03:14:17 UTC (rev 1119)
@@ -1,11 +1,27 @@
 namespace :spec do
   MSPEC_RUN = "./miniruby -v -I./mspec/lib -I./lib ./mspec/bin/mspec-run"
   
-  KNOWN_GOOD = %w{ and case execution hash if module numbers or order unless until while }
+  KNOWN_GOOD = %w{
+    and
+    array
+    case
+    execution
+    hash
+    if
+    module
+    numbers
+    or
+    order
+    unless
+    until
+    while
+  }
   
   desc "Run continuous integration language examples (known good)"
   task :ci do
+    ENV['GC_DISABLE'] = '1'
     sh "#{MSPEC_RUN} #{FileList["spec/frozen/language/{#{KNOWN_GOOD.join(',')}}_spec.rb"].join(' ')}"
+    ENV['GC_DISABLE'] = nil
   end
   
   desc "Run language examples that are known to fail"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090323/a0ffa194/attachment.html>


More information about the macruby-changes mailing list