[Erp5-report] r38516 luke - /erp5/trunk/buildout/instance-profiles/testrunner.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 21 14:25:26 CEST 2010


Author: luke
Date: Tue Sep 21 14:25:25 2010
New Revision: 38516

URL: http://svn.erp5.org?rev=38516&view=rev
Log:
 - create location for test runner

Modified:
    erp5/trunk/buildout/instance-profiles/testrunner.cfg

Modified: erp5/trunk/buildout/instance-profiles/testrunner.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/instance-profiles/testrunner.cfg?rev=38516&r1=38515&r2=38516&view=diff
==============================================================================
--- erp5/trunk/buildout/instance-profiles/testrunner.cfg [utf8] (original)
+++ erp5/trunk/buildout/instance-profiles/testrunner.cfg [utf8] Tue Sep 21 14:25:25 2010
@@ -1,12 +1,19 @@
 # This configuration only contains a template part which should
 # be instaciated by another recipe.
 
+[create-test-runner-place]
+recipe = plone.recipe.command
+command =
+  mkdir -p ${:test_runner_location}
+update-command = ${:command}
+test_runner_location = ${buildout:parts-directory}/test-runner
+
 [test-runner-template]
 recipe = erp5.recipe.testrunner
 zope2-location = ${software_definition:zope_software}
 
 # For now it is required define location like this.
-location = ${buildout:parts-directory}/test-runner
+location = ${create-test-runner-place:test_runner_location}
 
 # Extend products, bt5_path should be always defined
 # when this template be used.




More information about the Erp5-report mailing list