Andrew Bartlett
0cb0427f13
selftest: Place the test environment at the end of the failure lines
...
This allows a knownfail entry to be added for only one environment, rather than
all environments.
Andrew Bartlett
2012-04-27 14:51:05 +02:00
Jelmer Vernooij
0fee2c01b8
selftest: Display unexpected successes and expected failures.
2011-12-05 23:11:04 +01:00
Jelmer Vernooij
e62654578b
selftest: Add --flapping argument to filter-subunit.
2011-12-05 23:11:04 +01:00
Jelmer Vernooij
bbd77cbbac
subunithelper: Exit with 1 if more than zero testsuites failed or
...
errorred.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 21:13:00 CET 2010 on sn-devel-104
2010-11-21 21:13:00 +01:00
Jelmer Vernooij
4f87f8f33e
filter-subunit: Add --fail-on-empty argument.
2010-11-03 17:05:19 +00:00
Kamen Mazdrashki
27f72fb19b
subunithelper: Don't access 'message' attribute directly as it deprecated
...
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
2010-10-10 01:50:09 +00:00
Jelmer Vernooij
5cdef70823
subunithelper: Remove accidentally added line.
2010-10-02 23:32:12 +02:00
Jelmer Vernooij
14efa95593
subunithelper: Fix format time.
2010-10-02 22:31:31 +02:00
Jelmer Vernooij
72119de02b
subunithelper: Make filter options optional.
2010-10-02 18:41:14 +02:00
Jelmer Vernooij
4ece674a99
selftest: Move plain text formatter to subunithelper.
2010-10-02 17:02:02 +02:00
Jelmer Vernooij
124d9fc4d1
selftest: Avoid accessing deprecated BaseException.message.
...
Thanks to Andreas for pointing this out.
2010-09-30 10:31:03 +02:00
Jelmer Vernooij
7ac4a71072
Add dedicated exception for immediate failure in filter-subunit, don't raise it on known exceptions.
2010-09-28 09:12:39 +02:00
Andrew Tridgell
71f88c45a7
filter-subunit: added a --fail-immediately option
2010-09-28 09:12:38 +02:00
Jelmer Vernooij
6abe823ce6
subunithelper: Cope with errors outside of testsuites.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
31d5ac0540
selftest: Let tests add prefix to tests by themselve.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
adf8ca6ff8
subunit: Re-add outputmsg.
2010-09-15 20:09:25 +02:00
Jelmer Vernooij
dcadb90bd3
subunit: Use RemoteError when passing errors to upstream subunit.
2010-09-14 10:54:28 +02:00
Jelmer Vernooij
d67eeafc4d
subunit: Use standard subunit functions for reproducing subunit streams.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
d2fb9ce472
subunit: Remove unused methods.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
b61cc18972
subunit: Use standard functions for addSuccess, addExpectedFail,
...
addFailure, addSkip.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
c1fe7b498a
subunit: Use standard addError method implementation.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
881f610f06
subunit: Pass TestCase objects to startTest rather than test name strings.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
1626dc2bc9
subunit: Use subunit standard functions for handling time and progress.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
fb1c966652
subunit: Use standard subunit test protocol client, use standard name for startTest.
2010-09-14 10:54:27 +02:00
Jelmer Vernooij
8530d5afde
subunit: Initial work on using the standard TestResult class.
2010-09-14 10:54:26 +02:00
Jelmer Vernooij
474c98fe26
selftest/subunit: Parse timestamps generated by upstream subunit.
2010-09-05 03:14:44 +02:00
Jelmer Vernooij
3c7a7bbb9a
subunit: Make sure "]" in failure reason ends up on its own line, so the
...
next subunit parser in the line parses it correctly.
2010-08-26 04:04:37 +02:00
Jelmer Vernooij
64564f7338
subunithelper: Pass along lines as normal output when ignoring them for not containing commands.
2010-08-26 04:04:37 +02:00
Jelmer Vernooij
598656985a
selftest: list.remove raises ValueError rather than KeyError.
2010-05-30 17:05:49 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
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.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
d0ab7440ac
selftest: Accept 'testing:' to introduce new tests.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
664eacc53a
subunit: Don't abort when receiving test results from tests that weren't
...
announced.
2010-04-10 22:38:33 +02:00
Jelmer Vernooij
e39ed552b6
selftest: Remove python2.4-isms
2010-04-06 04:01:54 +02:00
Jelmer Vernooij
6c299d28b5
selftest: Use standard subunit command for progress reporting.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
7f1360db51
selftest: Support parsing progress in format-subunit/filter-subunit.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
08161e093d
selftest: Convert filter-subunit to Python so the subunit Python module
...
can be used later.
2010-03-31 02:20:07 +02:00
Jelmer Vernooij
c108a2e74e
format-subunit: Improve formatting, simplify code.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
ef3fb75261
selftest: Replace perl subunit formatter with python subunit formatter,
...
so we can leverage the work happening in python-subunit.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
0c78368a31
selftest: Convert format-subunit to Python.
2010-03-30 01:08:20 +02:00