buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djspie...@apache.org
Subject svn commit: r776886 - in /buildr/trunk: lib/buildr/java/tests.rb lib/buildr/scala/bdd.rb spec/scala/bdd_spec.rb spec/scala/compiler_spec.rb spec/scala/tests_spec.rb
Date Wed, 20 May 2009 22:40:16 GMT
Author: djspiewak
Date: Wed May 20 22:40:16 2009
New Revision: 776886

URL: http://svn.apache.org/viewvc?rev=776886&view=rev
Log:
Updated Scala test support with my latest changes

Modified:
    buildr/trunk/lib/buildr/java/tests.rb
    buildr/trunk/lib/buildr/scala/bdd.rb
    buildr/trunk/spec/scala/bdd_spec.rb
    buildr/trunk/spec/scala/compiler_spec.rb
    buildr/trunk/spec/scala/tests_spec.rb

Modified: buildr/trunk/lib/buildr/java/tests.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/tests.rb?rev=776886&r1=776885&r2=776886&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/tests.rb (original)
+++ buildr/trunk/lib/buildr/java/tests.rb Wed May 20 22:40:16 2009
@@ -165,7 +165,7 @@
     end
 
     # JUnit version number.
-    VERSION = '4.4'
+    VERSION = '4.5'
 
     class << self
       # :call-seq:

Modified: buildr/trunk/lib/buildr/scala/bdd.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/scala/bdd.rb?rev=776886&r1=776885&r2=776886&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/scala/bdd.rb (original)
+++ buildr/trunk/lib/buildr/scala/bdd.rb Wed May 20 22:40:16 2009
@@ -32,7 +32,7 @@
     @lang = :scala
     @bdd_dir = :spec
 
-    VERSION = '1.4.3'
+    VERSION = '1.4.4'
     
     class << self
       def version
@@ -77,11 +77,16 @@
       cmd_options = { :properties => options[:properties],
                       :java_args => options[:java_args],
                       :classpath => dependencies}
-      
+                      
       specs.inject [] do |passed, spec|
         begin
           Java.load
-          Java::Commands.java(spec, cmd_options)
+          
+          unless Util.win_os?
+            Java::Commands.java(spec, '-c', cmd_options)
+          else
+            Java::Commands.java(spec, cmd_options)
+          end
         rescue => e
           passed
         else

Modified: buildr/trunk/spec/scala/bdd_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/scala/bdd_spec.rb?rev=776886&r1=776885&r2=776886&view=diff
==============================================================================
--- buildr/trunk/spec/scala/bdd_spec.rb (original)
+++ buildr/trunk/spec/scala/bdd_spec.rb Wed May 20 22:40:16 2009
@@ -15,6 +15,7 @@
 
 
 require File.join(File.dirname(__FILE__), '../spec_helpers')
+require 'buildr/scala'
 
 describe Buildr::Scala::Specs do
   it 'should be the default when tests in src/spec/scala' do

Modified: buildr/trunk/spec/scala/compiler_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/scala/compiler_spec.rb?rev=776886&r1=776885&r2=776886&view=diff
==============================================================================
--- buildr/trunk/spec/scala/compiler_spec.rb (original)
+++ buildr/trunk/spec/scala/compiler_spec.rb Wed May 20 22:40:16 2009
@@ -15,7 +15,7 @@
 
 
 require File.join(File.dirname(__FILE__), '../spec_helpers')
-
+require 'buildr/scala'
 
 describe 'scalac compiler' do
   it 'should identify itself from source directories' do

Modified: buildr/trunk/spec/scala/tests_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/scala/tests_spec.rb?rev=776886&r1=776885&r2=776886&view=diff
==============================================================================
--- buildr/trunk/spec/scala/tests_spec.rb (original)
+++ buildr/trunk/spec/scala/tests_spec.rb Wed May 20 22:40:16 2009
@@ -15,6 +15,7 @@
 
 
 require File.join(File.dirname(__FILE__), '../spec_helpers')
+require 'buildr/scala'
 
 # TODO's
 #  -test passing System props



Mime
View raw message