You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2009/11/26 17:06:12 UTC

svn commit: r884617 - in /buildr/trunk: CHANGELOG lib/buildr/scala/tests.rb

Author: boisvert
Date: Thu Nov 26 16:06:12 2009
New Revision: 884617

URL: http://svn.apache.org/viewvc?rev=884617&view=rev
Log:
Failures not reported correctly for ScalaTest (Alex Eagle)

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

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=884617&r1=884616&r2=884617&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Thu Nov 26 16:06:12 2009
@@ -33,6 +33,7 @@
 * Fixed:  BUILDR-349 resources.filter should use defaults from profile.yaml
           even if mapping is provided
 * Fixed:  Fail-fast if package.with() or include() called with nil values
+* Fixed:  Failures not reported correctly for ScalaTest (Alex Eagle)
 
 1.3.5 (2009-10-05)
 * Added:  Interactive shell (REPL) support

Modified: buildr/trunk/lib/buildr/scala/tests.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/scala/tests.rb?rev=884617&r1=884616&r2=884617&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/scala/tests.rb (original)
+++ buildr/trunk/lib/buildr/scala/tests.rb Thu Nov 26 16:06:12 2009
@@ -126,7 +126,7 @@
         while (!completed) do
           File.open(reportFile, "r") do |input|
             while (line = input.gets) do
-              failed = (line =~ /(TESTS? FAILED -)|(RUN STOPPED)|(RUN ABORTED)/) unless failed
+              failed = (line =~ /(TESTS? FAILED)|(RUN STOPPED)|(RUN ABORTED)/) unless failed
               completed |= (line =~ /Run completed/)
               break if (failed)
             end