Skip to content

Commit

Permalink
Add test-robot script.
Browse files Browse the repository at this point in the history
  • Loading branch information
tisto committed Sep 26, 2016
1 parent 319b19c commit cc75bd9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions base.cfg
Expand Up @@ -4,6 +4,7 @@ parts +=
instance
omelette
test
test-robot
coverage
test-coverage
code-analysis
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cc75bd9

Please sign in to comment.