[macruby-changes] [1048] MacRuby/branches/experimental

source_changes at macosforge.org source_changes at macosforge.org
Sat Mar 21 16:22:43 PDT 2009


Revision: 1048
          http://trac.macosforge.org/projects/ruby/changeset/1048
Author:   eloy.de.enige at gmail.com
Date:     2009-03-21 16:22:43 -0700 (Sat, 21 Mar 2009)
Log Message:
-----------
Moved current rake spec:language into spec:workaround:language and added a new spec:language which uses the spec/frozen/macruby.mspec script. This does not yet work, so use spec:workaround:language for now.

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

Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake	2009-03-21 23:11:15 UTC (rev 1047)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-03-21 23:22:43 UTC (rev 1048)
@@ -8,14 +8,20 @@
     # TODO: Still fails at another require statment.
     # It seems to spawns yet another process which also needs the proper laod path.
     # Anyways load paths are currently broken on roxor. Will find out a tmp workaround tonight.
-    sh "#{MSPEC}-ci -B spec/frozen/macruby.mspec"
+    sh "#{MSPEC} ci -B spec/frozen/macruby.mspec spec/frozen/language"
   end
   
   desc "Run language examples"
   task :language do
-    #sh "#{MSPEC} spec/frozen/language/**/*_spec.rb"
-    Dir.glob('spec/frozen/language/**/*_spec.rb').each do |spec|
-      sh "#{MSPEC}-run #{spec}"
+    sh "./mspec/bin/mspec ci -B spec/frozen/macruby.mspec spec/frozen/language"
+  end
+  
+  namespace :workaround do
+    desc "Run language examples with a workaround which uses mspec-run on each individual spec"
+    task :language do
+      Dir.glob('spec/frozen/language/**/*_spec.rb').each do |spec|
+        sh "#{MSPEC}-run #{spec}"
+      end
     end
   end
   

Modified: MacRuby/branches/experimental/roxor.cpp
===================================================================
--- MacRuby/branches/experimental/roxor.cpp	2009-03-21 23:11:15 UTC (rev 1047)
+++ MacRuby/branches/experimental/roxor.cpp	2009-03-21 23:22:43 UTC (rev 1048)
@@ -1,7 +1,7 @@
 /* ROXOR: the new MacRuby VM that rocks! */
 
 #define ROXOR_COMPILER_DEBUG	0
-#define ROXOR_VM_DEBUG		0
+#define ROXOR_VM_DEBUG		1
 
 #include <llvm/Module.h>
 #include <llvm/DerivedTypes.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090321/dc52a200/attachment.html>


More information about the macruby-changes mailing list