annotate bitten/build/tests/__init__.py @ 233:8f816147620f

* Moved SlaveConfiguration logic into new module ([source:/trunk/bitten/build/config.py bitten.build.config]). * The configuration properties can now be used by recipe commands. For example, the Python tools use the Python interpreter specified by the `python.path` property, if specified. * A build recipe can reference configuration in command attributes, using the notation `${property.name:default value}`.
author cmlenz
date Fri, 30 Sep 2005 15:42:50 +0000
parents 60af98d66f11
children e75816cb2f45
rev   line source
125
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
1 # -*- coding: iso8859-1 -*-
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
2 #
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
3 # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de>
163
634be6cbb808 Flip the switch: Bitten is now BSD-licensed.
cmlenz
parents: 125
diff changeset
4 # All rights reserved.
125
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
5 #
163
634be6cbb808 Flip the switch: Bitten is now BSD-licensed.
cmlenz
parents: 125
diff changeset
6 # This software is licensed as described in the file COPYING, which
634be6cbb808 Flip the switch: Bitten is now BSD-licensed.
cmlenz
parents: 125
diff changeset
7 # you should have received as part of this distribution. The terms
634be6cbb808 Flip the switch: Bitten is now BSD-licensed.
cmlenz
parents: 125
diff changeset
8 # are also available at http://bitten.cmlenz.net/wiki/License.
125
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
9
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
10 import unittest
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
11
233
8f816147620f * Moved SlaveConfiguration logic into new module ([source:/trunk/bitten/build/config.py bitten.build.config]).
cmlenz
parents: 166
diff changeset
12 from bitten.build.tests import api, config, pythontools
125
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
13
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
14 def suite():
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
15 suite = unittest.TestSuite()
166
60af98d66f11 * Move the `CommandLine` class from `bitten.util.cmdline` to `bitten.build.api`.
cmlenz
parents: 163
diff changeset
16 suite.addTest(api.suite())
233
8f816147620f * Moved SlaveConfiguration logic into new module ([source:/trunk/bitten/build/config.py bitten.build.config]).
cmlenz
parents: 166
diff changeset
17 suite.addTest(config.suite())
125
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
18 suite.addTest(pythontools.suite())
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
19 return suite
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
20
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
21 if __name__ == '__main__':
92e29e6b4c16 * The {{{python:trace>}}} recipe command now transmits coverage statistics to the build master. Closes #33.
cmlenz
parents:
diff changeset
22 unittest.main(defaultTest='suite')
Copyright (C) 2012-2017 Edgewall Software