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/10/01 02:07:37 UTC
svn commit: r820500 - /buildr/trunk/lib/buildr/core/test.rb
Author: boisvert
Date: Thu Oct 1 00:07:36 2009
New Revision: 820500
URL: http://svn.apache.org/viewvc?rev=820500&view=rev
Log:
Cosmetic
Modified:
buildr/trunk/lib/buildr/core/test.rb
Modified: buildr/trunk/lib/buildr/core/test.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/test.rb?rev=820500&r1=820499&r2=820500&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/test.rb (original)
+++ buildr/trunk/lib/buildr/core/test.rb Thu Oct 1 00:07:36 2009
@@ -444,8 +444,7 @@
info "Running tests in #{@project.name}"
begin
# set the baseDir system property if not set
- target = @project.test.compile.target.to_s
- @framework.options[:properties] = { 'baseDir' => target }.merge(@framework.options[:properties] || {})
+ @framework.options[:properties] = { 'baseDir' => @project.test.compile.target.to_s }.merge(@framework.options[:properties] || {})
@passed_tests = @framework.run(@tests, dependencies)
rescue Exception=>ex
error "Test framework error: #{ex.message}"