summaryrefslogtreecommitdiffstats
path: root/selftest/subunithelper.py
Commit message (Collapse)AuthorAgeFilesLines
* selftest/subunithelper.py: correctly pass testsuite-uxsuccess to end_testsuite()Stefan Metzmacher2014-03-131-1/+4
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Mar 13 23:49:36 CET 2014 on sn-devel-104
* selftest/subunithelper.py: correctly handle fail_immediately in ↵Stefan Metzmacher2014-03-131-0/+6
| | | | | | | | | end_testsuite of FilterOps This way --fail-immediately also works if a command segfaults. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* selftest/subunithelper.py: correctly handle unexpected success in FilterOpsStefan Metzmacher2014-03-131-1/+13
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* selftest: Place the test environment at the end of the failure linesAndrew Bartlett2012-04-271-4/+9
| | | | | | | This allows a knownfail entry to be added for only one environment, rather than all environments. Andrew Bartlett
* selftest: Display unexpected successes and expected failures.Jelmer Vernooij2011-12-051-13/+35
|
* selftest: Add --flapping argument to filter-subunit.Jelmer Vernooij2011-12-051-2/+26
|
* subunithelper: Exit with 1 if more than zero testsuites failed orJelmer Vernooij2010-11-211-5/+10
| | | | | | | errorred. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 21 21:13:00 CET 2010 on sn-devel-104
* filter-subunit: Add --fail-on-empty argument.Jelmer Vernooij2010-11-031-0/+3
|
* subunithelper: Don't access 'message' attribute directly as it deprecatedKamen Mazdrashki2010-10-101-1/+1
| | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 01:50:09 UTC 2010 on sn-devel-104
* subunithelper: Remove accidentally added line.Jelmer Vernooij2010-10-021-3/+0
|
* subunithelper: Fix format time.Jelmer Vernooij2010-10-021-1/+2
|
* subunithelper: Make filter options optional.Jelmer Vernooij2010-10-021-9/+9
|
* selftest: Move plain text formatter to subunithelper.Jelmer Vernooij2010-10-021-1/+203
|
* selftest: Avoid accessing deprecated BaseException.message.Jelmer Vernooij2010-09-301-1/+1
| | | | Thanks to Andreas for pointing this out.
* Add dedicated exception for immediate failure in filter-subunit, don't raise ↵Jelmer Vernooij2010-09-281-3/+10
| | | | it on known exceptions.
* filter-subunit: added a --fail-immediately optionAndrew Tridgell2010-09-281-1/+7
|
* subunithelper: Cope with errors outside of testsuites.Jelmer Vernooij2010-09-221-0/+1
|
* selftest: Let tests add prefix to tests by themselve.Jelmer Vernooij2010-09-221-1/+1
|
* subunit: Re-add outputmsg.Jelmer Vernooij2010-09-151-0/+3
|
* subunit: Use RemoteError when passing errors to upstream subunit.Jelmer Vernooij2010-09-141-16/+19
|
* subunit: Use standard subunit functions for reproducing subunit streams.Jelmer Vernooij2010-09-141-50/+23
|
* subunit: Remove unused methods.Jelmer Vernooij2010-09-141-14/+2
|
* subunit: Use standard functions for addSuccess, addExpectedFail,Jelmer Vernooij2010-09-141-27/+62
| | | | addFailure, addSkip.
* subunit: Use standard addError method implementation.Jelmer Vernooij2010-09-141-9/+11
|
* subunit: Pass TestCase objects to startTest rather than test name strings.Jelmer Vernooij2010-09-141-7/+4
|
* subunit: Use subunit standard functions for handling time and progress.Jelmer Vernooij2010-09-141-29/+9
|
* subunit: Use standard subunit test protocol client, use standard name for ↵Jelmer Vernooij2010-09-141-21/+23
| | | | startTest.
* subunit: Initial work on using the standard TestResult class.Jelmer Vernooij2010-09-141-1/+2
|
* selftest/subunit: Parse timestamps generated by upstream subunit.Jelmer Vernooij2010-09-051-2/+8
|
* subunit: Make sure "]" in failure reason ends up on its own line, so theJelmer Vernooij2010-08-261-2/+2
| | | | next subunit parser in the line parses it correctly.
* subunithelper: Pass along lines as normal output when ignoring them for not ↵Jelmer Vernooij2010-08-261-0/+4
| | | | containing commands.
* selftest: list.remove raises ValueError rather than KeyError.Jelmer Vernooij2010-05-301-4/+4
|
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-13/+19
| | | | | | Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
* selftest: Accept 'testing:' to introduce new tests.Jelmer Vernooij2010-04-111-1/+1
|
* subunit: Don't abort when receiving test results from tests that weren'tJelmer Vernooij2010-04-101-11/+32
| | | | announced.
* selftest: Remove python2.4-ismsJelmer Vernooij2010-04-061-3/+5
|
* selftest: Use standard subunit command for progress reporting.Jelmer Vernooij2010-03-311-8/+0
|
* selftest: Support parsing progress in format-subunit/filter-subunit.Jelmer Vernooij2010-03-311-0/+27
|
* selftest: Convert filter-subunit to Python so the subunit Python moduleJelmer Vernooij2010-03-311-4/+133
| | | | can be used later.
* format-subunit: Improve formatting, simplify code.Jelmer Vernooij2010-03-301-47/+45
|
* selftest: Replace perl subunit formatter with python subunit formatter,Jelmer Vernooij2010-03-301-10/+11
| | | | so we can leverage the work happening in python-subunit.
* selftest: Convert format-subunit to Python.Jelmer Vernooij2010-03-301-0/+170