view recipe.xml @ 1:32e9f0e94c69

Fix running the unit tests from distutils.
author cmlenz
date Sun, 22 May 2005 16:19:04 +0000
parents 0b2a3581c48d
children 9ac0ee86ec7c
line wrap: on
line source
<?xml version="1.0"?>
<recipe description="My project">

    <step id="build" title="Let Distutils build the python code">
        <distutils command="build"/>
    </step>

    <step id="lint" title="Run Pylint"
          description="Run Pylint to check for bad style and potential errors">
        <make target="pylint"/>
        <reports>
            <pylint file="build/pylint.txt"/>
        </reports>
    </step>

    <step id="test" title="Unit tests"
          description="Run unit tests and trace code coverage">
        <make target="test"/>
        <reports>
            <unittest file="build/test-results.xml"/>
            <trace.py dir="build/coverage" include="trac*" exclude="*.tests.*"/>
        </reports>
    </step>

</recipe>
Copyright (C) 2012-2017 Edgewall Software