Mercurial > bitten > bitten-test
annotate recipe.xml @ 121:381233a91db6
Fix for the {{{unittest}}} command, which was raising an exception but swallowing the traceback.
author | cmlenz |
---|---|
date | Mon, 08 Aug 2005 15:42:03 +0000 |
parents | 5bf22bb87915 |
children | affd91b4c6fb |
rev | line source |
---|---|
0 | 1 <?xml version="1.0"?> |
52
82a9c225f073
Recipe root element is {{{<build>}}} instead of {{{recipe}}}.
cmlenz
parents:
21
diff
changeset
|
2 <build description="My project" |
21 | 3 xmlns:c="bitten:bitten.build.ctools" |
4 xmlns:python="bitten:bitten.build.pythontools"> | |
0 | 5 |
6 <step id="build" title="Let Distutils build the python code"> | |
4 | 7 <python:distutils command="build"/> |
0 | 8 </step> |
9 | |
3 | 10 <step id="test" title="Unit tests" |
109
5bf22bb87915
Transmit build log and generated data back to the build master in XML format. Closes #23.
cmlenz
parents:
72
diff
changeset
|
11 description="Run unit tests and record code coverage"> |
4 | 12 <python:distutils command="unittest"/> |
3 | 13 <reports> |
4 | 14 <python:unittest file="build/test-results.xml"/> |
15 <python:trace summary="build/test-coverage.txt" | |
16 coverdir="build/coverage" include="trac*" exclude="*.tests.*"/> | |
3 | 17 </reports> |
18 </step> | |
19 | |
72
b2d371dac270
Allow individual steps of a recipe to be marked as optional, i.e. that an error in such a step should not mean that the build failed.
cmlenz
parents:
52
diff
changeset
|
20 <step id="lint" title="Run Pylint" onerror="ignore" |
0 | 21 description="Run Pylint to check for bad style and potential errors"> |
4 | 22 <c:make target="pylint"/> |
0 | 23 <reports> |
4 | 24 <python:pylint file="build/pylint-results.txt"/> |
0 | 25 </reports> |
26 </step> | |
27 | |
3 | 28 <step id="dist" title="Package up distributions"> |
4 | 29 <python:distutils command="sdist"/> |
0 | 30 </step> |
31 | |
52
82a9c225f073
Recipe root element is {{{<build>}}} instead of {{{recipe}}}.
cmlenz
parents:
21
diff
changeset
|
32 </build> |