Joe Guo
edfb6cb822
PY3: change shebang to python3 in misc dirs
...
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Dec 14 18:00:40 CET 2018 on sn-devel-144
2018-12-14 18:00:40 +01:00
Noel Power
2e59a3343f
PY3: make sure print stmt is enclosed by '(' & ')'
...
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-19 22:25:05 +02:00
Jelmer Vernooij
6363a2d8e9
format-subunit: Remove import of unnecessary third party modules testtools and subunit.
...
Change-Id: I3403ceacf8bbdf075c1c540081f7c3e82f4751bc
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-03-06 04:41:47 +01:00
Jelmer Vernooij
7dbc58f524
Reduce number of places where sys.path is (possibly) updated for external module paths.
...
Change-Id: I69d060f27ea090d14405e884d1ce271975358c56
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sun Nov 30 20:54:04 CET 2014 on sn-devel-104
2014-11-30 20:54:03 +01:00
Jelmer Vernooij
2c67d55614
Include mimeparse, which is used by subunit/testtools.
...
Change-Id: I984c82acc0bc82a165e8ea17d8948c465c786905
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sat Nov 22 04:44:11 CET 2014 on sn-devel-104
2014-11-22 04:44:11 +01:00
Jelmer Vernooij
393b04cd57
format-subunit: Remove remaining tabs.
...
Change-Id: I70eabda60e3d4eede874eb5e95bf455eddfb0992
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-19 02:46:04 +01:00
Jelmer Vernooij
d7edb40fca
format-subunit: Split out summary file writing.
2010-10-02 18:40:44 +02:00
Jelmer Vernooij
4ece674a99
selftest: Move plain text formatter to subunithelper.
2010-10-02 17:02:02 +02:00
Jelmer Vernooij
4190bd4e34
land: Move stage building into a separate class so we can have subclasses (e.g. subunit-specific).
2010-10-02 13:14:53 +02:00
Jelmer Vernooij
02f87d1c36
format-subunit: Display number of failed tests even if there are no
...
failed testsuites.
2010-09-28 09:12:39 +02:00
Jelmer Vernooij
dcadb90bd3
subunit: Use RemoteError when passing errors to upstream subunit.
2010-09-14 10:54:28 +02:00
Jelmer Vernooij
d3960f6b40
subunit.pm: Simplify subunit handling in perl.
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
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
e22722ae64
selftest: Cope with empty testsuite results in more places.
2010-05-18 01:40:20 +02:00
Jelmer Vernooij
11ec2916a7
selftest: Cope with testsuites without any output whatsoever (probably an error though).
2010-05-18 01:40:20 +02:00
Jelmer Vernooij
2cf3585e52
selftest: Display minutes and hours for duration.
2010-04-07 21:58:32 +02:00
Jelmer Vernooij
74f36df4b3
selftest: Update sys.path before attempting to import external modules.
2010-03-31 04:52:13 +02:00
Jelmer Vernooij
c6b1553a2b
selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.
2010-03-31 04:51:05 +02:00
Jelmer Vernooij
62ed8a68cd
format-subunit: Hide reason if it is None.
2010-03-31 03:34:50 +02:00
Jelmer Vernooij
49d82aa772
format-subunit: Don't show reason at all if it is None.
2010-03-31 03:32:23 +02:00
Jelmer Vernooij
9fe4b01ca6
selftest: Use boolean types in Python.
2010-03-31 02:20:09 +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
ae5381d34c
format-subunit: Avoid printing backtrace on Ctrl-C.
2010-03-31 02:20:07 +02:00
Andrew Tridgell
21499a148e
selftest: reason may be None
...
jelmer, please check
2010-03-30 16:41:54 +11: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
Jelmer Vernooij
235cd3e5c4
selftest: Remove html subunit formatter; it's too simple and really belongs in subunit or testrepository upstream.
2010-03-28 21:46:58 +02:00
Jelmer Vernooij
b607f99688
Remove extension from format-subunit.
2010-03-28 21:46:58 +02:00