Revision
1252
Author
eloy.de.enige@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

Diff

Modified: MacRuby/branches/experimental/rakelib/spec.rake (1251 => 1252)


--- 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,