annotate recipe.xml @ 122:0dafd12f6f5f

Only run unit tests for BDB XML backend if it's installed.
author cmlenz
date Mon, 08 Aug 2005 16:33:12 +0000
parents 5bf22bb87915
children affd91b4c6fb
rev   line source
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
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
07053ecfb124 Cleanup package namespace a bit.
cmlenz
parents: 4
diff changeset
3 xmlns:c="bitten:bitten.build.ctools"
07053ecfb124 Cleanup package namespace a bit.
cmlenz
parents: 4
diff changeset
4 xmlns:python="bitten:bitten.build.pythontools">
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
5
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
6 <step id="build" title="Let Distutils build the python code">
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
7 <python:distutils command="build"/>
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
8 </step>
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
9
3
9ac0ee86ec7c Some cleanup to the recipe commands and reporters.
cmlenz
parents: 0
diff changeset
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
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
12 <python:distutils command="unittest"/>
3
9ac0ee86ec7c Some cleanup to the recipe commands and reporters.
cmlenz
parents: 0
diff changeset
13 <reports>
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
14 <python:unittest file="build/test-results.xml"/>
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
15 <python:trace summary="build/test-coverage.txt"
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
16 coverdir="build/coverage" include="trac*" exclude="*.tests.*"/>
3
9ac0ee86ec7c Some cleanup to the recipe commands and reporters.
cmlenz
parents: 0
diff changeset
17 </reports>
9ac0ee86ec7c Some cleanup to the recipe commands and reporters.
cmlenz
parents: 0
diff changeset
18 </step>
9ac0ee86ec7c Some cleanup to the recipe commands and reporters.
cmlenz
parents: 0
diff changeset
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
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
21 description="Run Pylint to check for bad style and potential errors">
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
22 <c:make target="pylint"/>
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
23 <reports>
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
24 <python:pylint file="build/pylint-results.txt"/>
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
25 </reports>
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
26 </step>
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
27
3
9ac0ee86ec7c Some cleanup to the recipe commands and reporters.
cmlenz
parents: 0
diff changeset
28 <step id="dist" title="Package up distributions">
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
29 <python:distutils command="sdist"/>
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
30 </step>
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
31
52
82a9c225f073 Recipe root element is {{{<build>}}} instead of {{{recipe}}}.
cmlenz
parents: 21
diff changeset
32 </build>
Copyright (C) 2012-2017 Edgewall Software