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/12/04 21:22:57 UTC

svn commit: r887343 - in /buildr/trunk: CHANGELOG lib/buildr/core/test.rb

Author: boisvert
Date: Fri Dec  4 20:22:57 2009
New Revision: 887343

URL: http://svn.apache.org/viewvc?rev=887343&view=rev
Log:
Test dependencies should include test compile dependencies

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/core/test.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=887343&r1=887342&r2=887343&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Fri Dec  4 20:22:57 2009
@@ -34,6 +34,7 @@
           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)
+* Fixed:  Test dependencies should include test compile dependencies
 
 1.3.5 (2009-10-05)
 * Added:  Interactive shell (REPL) support

Modified: buildr/trunk/lib/buildr/core/test.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/test.rb?rev=887343&r1=887342&r2=887343&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/test.rb (original)
+++ buildr/trunk/lib/buildr/core/test.rb Fri Dec  4 20:22:57 2009
@@ -596,6 +596,7 @@
       test = project.test
       # Dependency on compiled tests and resources.  Dependencies added using with.
       test.dependencies.concat [test.compile.target, test.resources.target].compact
+      test.dependencies.concat test.compile.dependencies
       # Dependency on compiled code, its dependencies and resources.
       test.with [project.compile.target, project.resources.target].compact
       test.with project.compile.dependencies