buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1451459 - in /buildr/trunk: CHANGELOG lib/buildr/java/tests.rb
Date Fri, 01 Mar 2013 02:29:48 GMT
Author: donaldp
Date: Fri Mar  1 02:29:47 2013
New Revision: 1451459

URL: http://svn.apache.org/r1451459
Log:
Multiple tests in TestNG 6.x versions were being correctly passed to the command line application.

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/java/tests.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=1451459&r1=1451458&r2=1451459&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Fri Mar  1 02:29:47 2013
@@ -1,4 +1,6 @@
 1.4.11 (Pending)
+* Fixed:  Multiple tests in TestNG 6.x versions were being correctly passed to
+          the command line application.
 
 1.4.10 (2013-02-10)
 * Added:  Support a single intermediate directory for each project hierarchy

Modified: buildr/trunk/lib/buildr/java/tests.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/tests.rb?rev=1451459&r1=1451458&r2=1451459&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/tests.rb (original)
+++ buildr/trunk/lib/buildr/java/tests.rb Fri Mar  1 02:29:47 2013
@@ -337,7 +337,7 @@ module Buildr
         cmd_args << '-groups' << groups_args.join(",")
       end
       # run all tests in the same suite
-      cmd_args << '-testclass' << tests
+      cmd_args << '-testclass' << (TestNG.version < "6.0" ? test : tests.join(','))
 
       cmd_args += options[:args] if options[:args]
 



Mime
View raw message