Mercurial > bitten > bitten-test
view recipe.xml @ 60:055a6c666fa8
* Pass a {{{Context}}} object to recipe commands as the first argument. Currently this only has the basedir, but will be extended to also provide output recording etc.
* Fixes and cleanup to the recipe functions.
* The build master now checks for failed build steps and sets the status of the build to ''failure'' if any step failed.
* The test runner distutils command now also records output to stderr and stdout by the tests.
* Upped version number to [milestone:0.2 0.2].
author | cmlenz |
---|---|
date | Mon, 27 Jun 2005 21:50:58 +0000 |
parents | 82a9c225f073 |
children | b2d371dac270 |
line wrap: on
line source
<?xml version="1.0"?> <build description="My project" xmlns:c="bitten:bitten.build.ctools" xmlns:python="bitten:bitten.build.pythontools"> <step id="build" title="Let Distutils build the python code"> <python:distutils command="build"/> </step> <step id="test" title="Unit tests" description="Run unit tests and trace code coverage"> <python:distutils command="unittest"/> <reports> <python:unittest file="build/test-results.xml"/> <python:trace summary="build/test-coverage.txt" coverdir="build/coverage" include="trac*" exclude="*.tests.*"/> </reports> </step> <step id="lint" title="Run Pylint" description="Run Pylint to check for bad style and potential errors"> <c:make target="pylint"/> <reports> <python:pylint file="build/pylint-results.txt"/> </reports> </step> <step id="dist" title="Package up distributions"> <python:distutils command="sdist"/> </step> </build>