Modified: MacRuby/branches/experimental/rakelib/spec.rake (1047 => 1048)
--- 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 (1047 => 1048)
--- 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>