From cc75bd98be54e565ca3c162923265dd11591dd32 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 26 Sep 2016 12:10:00 +0200 Subject: [PATCH] Add test-robot script. --- base.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/base.cfg b/base.cfg index 6e033997e..7ef8a76b3 100644 --- a/base.cfg +++ b/base.cfg @@ -4,6 +4,7 @@ parts += instance omelette test + test-robot coverage test-coverage code-analysis @@ -38,6 +39,14 @@ recipe = zc.recipe.testrunner eggs = ${instance:eggs} defaults = ['-s', 'collective.solr', '--auto-color', '--auto-progress'] +[test-robot] +recipe = collective.recipe.template +input = inline: + #!/bin/bash + export ROBOTSUITE_PREFIX=ONLYROBOT && ${buildout:directory}/bin/test -t ONLYROBOT --all + bin/coverage run --source=${buildout:directory}/src/collective/solr bin/test +output = ${buildout:directory}/bin/test-robot +mode = 755 [coverage] recipe = zc.recipe.egg