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

source_changes at macosforge.org source_changes at macosforge.org
Sun Mar 29 03:11:29 PDT 2009


Revision: 1252
          http://trac.macosforge.org/projects/ruby/changeset/1252
Author:   eloy.de.enige at gmail.com
Date:     2009-03-29 03:11:29 -0700 (Sun, 29 Mar 2009)
Log Message:
-----------
Added spec:list:unloadable which prints a list of the language spec files that do not load yet.

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

Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake	2009-03-29 04:38:54 UTC (rev 1251)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-03-29 10:11:29 UTC (rev 1252)
@@ -71,6 +71,13 @@
     sh "./mspec/bin/mspec run -g fails -B ./spec/frozen/macruby.mspec #{KNOWN_GOOD_AND_PARTIALLY_GOOD_FILES.join(' ')}"
   end
   
+  namespace :list do
+    desc "List all spec language spec files which do not load yet"
+    task :unloadable do
+      puts((Dir['spec/frozen/language/*_spec.rb'] - KNOWN_GOOD_AND_PARTIALLY_GOOD_FILES).join("\n"))
+    end
+  end
+  
   %w{ fails critical }.each do |tag|
     namespace :list do
       # We cheat by using the fact that currently the ruby.1.9.mspec script uses the macruby tags,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090329/2c76d0a5/attachment-0001.html>


More information about the macruby-changes mailing list