summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin/subunitrun
Commit message (Collapse)AuthorAgeFilesLines
* subunitrun: Update instructions for running subunit tests.Jelmer Vernooij2015-03-061-1/+1
| | | | | | Change-Id: Icaf472198e93e283db2ae6ed99fd7ceae037af87 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Add separate command line for listing tests, allowing us of ↵Jelmer Vernooij2014-11-301-0/+2
| | | | | | | | subunit-filter (which doesn't support subunit v2). Change-Id: Icb877214a422c63fd38ef92425c7b4fe7ee19ad5 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Move option handling into samba.tests.subunitrun.Jelmer Vernooij2014-11-221-8/+6
| | | | | | Change-Id: I65a73b74854af636413f4f284147f3bcf28b6f82 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Move option parsing to samba.tests.subunitrun.Jelmer Vernooij2014-11-221-1/+3
| | | | | | Change-Id: I2939c1b6ebb9739530efa9bc4667668cff7a7aeb Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* subunitrun: Use new samba.tests.subunitrun module.Jelmer Vernooij2014-11-221-13/+3
| | | | | | Change-Id: Ie32f16d72c80c831adfd9a8d32735fa348962123 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij2013-03-021-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
* s4-python: Override SIGINT handler in scripts only.Jelmer Vernooij2012-09-251-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
* Fix default value for subunitrun --list.Jelmer Vernooij2011-11-141-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 14 17:27:03 CET 2011 on sn-devel-104
* subunitrun: Don't load smb.conf when just listing tests.Jelmer Vernooij2011-11-141-4/+5
|
* subunitrun: Add notes about subunitrun being deprecated.Jelmer Vernooij2011-11-101-0/+12
|
* Revert "test: added -D option to subunitrun"Jelmer Vernooij2011-11-101-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.
* test: added -D option to subunitrunAndrew Tridgell2011-11-101-0/+5
| | | | | | | | this allows for: subunitrun -D lib/ldb/tests/python api which makes this easier for developers
* subunitrun: give more useful helpAndrew Tridgell2011-10-201-2/+25
| | | | | | give some examples and more useful description for subunitrun command Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij2010-12-101-11/+11
| | | | | | | available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
* s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij2010-12-101-4/+2
| | | | package.
* subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij2010-12-101-0/+2
|
* subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij2010-12-101-1/+6
| | | | different location.
* s4-python: Split up ensure_external_module.Jelmer Vernooij2010-12-101-2/+1
|
* subunitrun: Support --list.Jelmer Vernooij2010-12-101-3/+8
|
* s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij2010-06-131-4/+1
| | | | | | command-line options. This is the first step towards supporting custom test runners.
* Remove unused version options for subunitrun.Jelmer Vernooij2010-06-131-1/+0
|
* subunitrun: Find testtools and subunit when they're not provided by theJelmer Vernooij2010-04-011-3/+5
| | | | system.
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-251-1/+1
| | | | this should be much more portable
* Import testtools as well, required for subunit.Jelmer Vernooij2010-01-161-2/+1
|
* Remove use of global_loadparm in last Python script.Jelmer Vernooij2008-10-241-2/+0
|
* Fix subunit files location after cherrypicks.Jelmer Vernooij2008-10-081-1/+1
|
* Move all subunit files to lib directory.Jelmer Vernooij2008-10-081-0/+1
|
* Revert "Add option for generating coverage data from python tests."Jelmer Vernooij2008-09-121-8/+0
| | | | | This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef. (This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
* Add option for generating coverage data from python tests.Jelmer Vernooij2008-09-091-0/+8
| | | | (This used to be commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef)
* Move more modules inside of the samba package.Jelmer Vernooij2008-05-211-1/+1
| | | | (This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
* Set sys.path for running inside source tree.Jelmer Vernooij2008-05-111-1/+3
| | | | (This used to be commit b507109bb676715f7d9616e13b0e19305e9c2559)
* Use system python rather than smbpython.Jelmer Vernooij2008-05-111-1/+3
| | | | (This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
* Make sure credentials are specified when running the Python winreg RPC tests.Jelmer Vernooij2008-04-141-2/+1
| | | | (This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
* Allow command line options in the subunitrun script.Jelmer Vernooij2008-04-141-1/+21
| | | | (This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)
* Fix subunit runner exit codes.Jelmer Vernooij2008-02-121-1/+2
| | | | (This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)
* Correctly increment counters in Subunit test runner.Jelmer Vernooij2008-02-121-3/+1
| | | | (This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
* r26598: Simplify the way Python tests are run.Jelmer Vernooij2007-12-261-1/+2
| | | | (This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)
* r26191: Import custom test runner for subunit, rather than using trial, ↵Jelmer Vernooij2007-12-211-0/+25
which is part of twisted. (This used to be commit b0f808345f948c49ad46f34ba306ca8354393850)