Jelmer Vernooij
10441ed83d
subunitrun: Use unittest.TestProgram if subunit.TestProgram is not
...
available.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
2010-12-10 03:49:03 +01:00
Jelmer Vernooij
636d8cfb42
s4-python: Add convenience function for forcibly importing bundled
...
package.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
bdf5a49cec
subunitrun: Extend hack to cope with older system subunit run installs.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
b1daa50293
subunitrun: Remove global subunit module when reimporting from a
...
different location.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
4571b94e7b
s4-python: Split up ensure_external_module.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
069ff146cb
subunitrun: Support --list.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
51058213cb
s4-test: Use smb.conf path set in environment rather than using
...
command-line options.
This is the first step towards supporting custom test runners.
2010-06-13 18:19:03 +02:00
Jelmer Vernooij
46037a8160
Remove unused version options for subunitrun.
2010-06-13 18:19:03 +02:00
Jelmer Vernooij
132e505d1e
subunitrun: Find testtools and subunit when they're not provided by the
...
system.
2010-04-01 14:47:54 +02:00
Andrew Tridgell
088096d1ba
python: use '#!/usr/bin/env python' to cope with varying install locations
...
this should be much more portable
2010-03-25 14:37:19 +11:00
Jelmer Vernooij
28577aae92
Import testtools as well, required for subunit.
2010-01-16 19:53:49 +13:00
Jelmer Vernooij
264277b555
Remove use of global_loadparm in last Python script.
2008-10-24 15:45:13 +02:00
Jelmer Vernooij
f8a02a1a80
Fix subunit files location after cherrypicks.
2008-10-08 03:33:38 +02:00
Jelmer Vernooij
f9facb5120
Move all subunit files to lib directory.
2008-10-08 02:22:39 +02:00
Jelmer Vernooij
fc23663f4b
Revert "Add option for generating coverage data from python tests."
...
This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef.
(This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
2008-09-12 21:28:48 +02:00
Jelmer Vernooij
faf83916ee
Add option for generating coverage data from python tests.
...
(This used to be commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef)
2008-09-09 15:55:10 +02:00
Jelmer Vernooij
49706ab19b
Move more modules inside of the samba package.
...
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
47d2218922
Set sys.path for running inside source tree.
...
(This used to be commit b507109bb676715f7d9616e13b0e19305e9c2559)
2008-05-11 05:45:49 +02:00
Jelmer Vernooij
babdcc6135
Use system python rather than smbpython.
...
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-05-11 05:29:20 +02:00
Jelmer Vernooij
2cdfaedee2
Make sure credentials are specified when running the Python winreg RPC tests.
...
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
1bcbc4afcf
Allow command line options in the subunitrun script.
...
(This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)
2008-04-14 19:13:41 +02:00
Jelmer Vernooij
04aef38453
Fix subunit runner exit codes.
...
(This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)
2008-02-12 22:10:25 +01:00
Jelmer Vernooij
fdd75e135a
Correctly increment counters in Subunit test runner.
...
(This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
2008-02-12 21:59:23 +01:00
Jelmer Vernooij
43a03b0fb4
r26598: Simplify the way Python tests are run.
...
(This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
26ae331f75
r26191: Import custom test runner for subunit, rather than using trial, which is part of twisted.
...
(This used to be commit b0f808345f948c49ad46f34ba306ca8354393850)
2007-12-21 05:46:43 +01:00