summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/subunitrun
AgeCommit message (Collapse)AuthorFilesLines
2013-03-02Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij1-1/+1
Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104
2012-09-25s4-python: Override SIGINT handler in scripts only.Jelmer Vernooij1-0/+6
Override the SIGINT handler in a few select cases only, rather than doing so in one of the samba Python modules. I've done this where it matters most; we can add this code to other scripts too if necessary. This means that importing the 'samba' module from a third party application does not have side-effects on the state of the signal handlers. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9068
2011-11-14Fix default value for subunitrun --list.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 14 17:27:03 CET 2011 on sn-devel-104
2011-11-14subunitrun: Don't load smb.conf when just listing tests.Jelmer Vernooij1-4/+5
2011-11-10subunitrun: Add notes about subunitrun being deprecated.Jelmer Vernooij1-0/+12
2011-11-10Revert "test: added -D option to subunitrun"Jelmer Vernooij1-5/+0
This reverts commit ac0bba2ea18e2e9ac578a333a3b260951e4c976e. "python -m subunit.run" is the preferred way of running tests to generate subunit. I also don't want to move too far away from the standard test running infrastructure for python so that other test runners (nosetests, trial, tribunal, ...) can be used with Samba code.
2011-11-10test: added -D option to subunitrunAndrew Tridgell1-0/+5
this allows for: subunitrun -D lib/ldb/tests/python api which makes this easier for developers
2011-10-20subunitrun: give more useful helpAndrew Tridgell1-2/+25
give some examples and more useful description for subunitrun command Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2010-12-10subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij1-11/+11
available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
2010-12-10s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij1-4/+2
package.
2010-12-10subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij1-0/+2
2010-12-10subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij1-1/+6
different location.
2010-12-10s4-python: Split up ensure_external_module.Jelmer Vernooij1-2/+1
2010-12-10subunitrun: Support --list.Jelmer Vernooij1-3/+8
2010-06-13s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij1-4/+1
command-line options. This is the first step towards supporting custom test runners.
2010-06-13Remove unused version options for subunitrun.Jelmer Vernooij1-1/+0
2010-04-01subunitrun: Find testtools and subunit when they're not provided by theJelmer Vernooij1-3/+5
system.
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell1-1/+1
this should be much more portable
2010-01-16Import testtools as well, required for subunit.Jelmer Vernooij1-2/+1
2008-10-24Remove use of global_loadparm in last Python script.Jelmer Vernooij1-2/+0
2008-10-08Fix subunit files location after cherrypicks.Jelmer Vernooij1-1/+1
2008-10-08Move all subunit files to lib directory.Jelmer Vernooij1-0/+1
2008-09-12Revert "Add option for generating coverage data from python tests."Jelmer Vernooij1-8/+0
This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef. (This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
2008-09-09Add option for generating coverage data from python tests.Jelmer Vernooij1-0/+8
(This used to be commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef)
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij1-1/+1
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-11Set sys.path for running inside source tree.Jelmer Vernooij1-1/+3
(This used to be commit b507109bb676715f7d9616e13b0e19305e9c2559)
2008-05-11Use system python rather than smbpython.Jelmer Vernooij1-1/+3
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-04-14Make sure credentials are specified when running the Python winreg RPC tests.Jelmer Vernooij1-2/+1
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
2008-04-14Allow command line options in the subunitrun script.Jelmer Vernooij1-1/+21
(This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)
2008-02-12Fix subunit runner exit codes.Jelmer Vernooij1-1/+2
(This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)
2008-02-12Correctly increment counters in Subunit test runner.Jelmer Vernooij1-3/+1
(This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
2007-12-26r26598: Simplify the way Python tests are run.Jelmer Vernooij1-1/+2
(This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)
2007-12-21r26191: Import custom test runner for subunit, rather than using trial, ↵Jelmer Vernooij1-0/+25
which is part of twisted. (This used to be commit b0f808345f948c49ad46f34ba306ca8354393850)