diff --git a/buildout/instance-profiles/testrunner.cfg b/buildout/instance-profiles/testrunner.cfg index 5de5629e9feb852a033a1f70ce7c2ef721150d30..88a413508b66b9f1670f373d9c32ba350679161c 100644 --- a/buildout/instance-profiles/testrunner.cfg +++ b/buildout/instance-profiles/testrunner.cfg @@ -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.