[macruby-changes] [1219] MacRuby/branches/experimental/Rakefile

source_changes at macosforge.org source_changes at macosforge.org
Fri Mar 27 16:41:59 PDT 2009


Revision: 1219
          http://trac.macosforge.org/projects/ruby/changeset/1219
Author:   lsansonetti at apple.com
Date:     2009-03-27 16:41:58 -0700 (Fri, 27 Mar 2009)
Log Message:
-----------
commented the previous test tasks + added a test_vm task for test_roxor.rb

Modified Paths:
--------------
    MacRuby/branches/experimental/Rakefile

Modified: MacRuby/branches/experimental/Rakefile
===================================================================
--- MacRuby/branches/experimental/Rakefile	2009-03-27 23:34:45 UTC (rev 1218)
+++ MacRuby/branches/experimental/Rakefile	2009-03-27 23:41:58 UTC (rev 1219)
@@ -20,6 +20,14 @@
 desc "Same as macruby:build"
 task :macruby => 'macruby:build'
 
+# The old test tasks are now commented since we are switching to RubySpec
+# for regression testing. We still add a task to run the VM regression test
+# suite, though.
+desc "Run the VM regression test suite"
+task :test_vm do
+  sh "/usr/bin/ruby test_roxor.rb"
+end
+=begin
 desc "Run the sample tests"
 task :sample_test do
   sh "./miniruby rubytest.rb"
@@ -30,19 +38,20 @@
   sh "./miniruby test/macruby_runner.rb"
 end
 
+desc "Run all tests"
+task :test => [:sample_test, :unit_tests]
+=end
+
 desc "Clean local and extension build files"
 task :clean => ['clean:local', 'clean:ext']
 
 desc "Build MacRuby and extensions"
 task :all => [:macruby, :extensions]
 
-desc "Run all tests"
-task :test => [:sample_test, :unit_tests]
-
 desc "Create an archive (GIT only)"
 task :git_archive do
   sh "git archive --format=tar --prefix=MacRuby-HEAD/ HEAD | gzip >MacRuby-HEAD.tar.gz"
 end
 
 # desc "Run all 'known good' specs (task alias for spec:ci)"
-# task :spec => 'spec:ci'
\ No newline at end of file
+# task :spec => 'spec:ci'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090327/27e90c2e/attachment-0001.html>


More information about the macruby-changes mailing list