Thomi Richards [Mon, 25 Nov 2013 04:52:26 +0000 (17:52 +1300)]
Lots of fixes from code review.
Thomi Richards [Mon, 25 Nov 2013 01:42:09 +0000 (14:42 +1300)]
Make sure filter script is installed.
Thomi Richards [Sun, 24 Nov 2013 23:17:11 +0000 (12:17 +1300)]
Add a few more tests for error cases in option parser.
Thomi Richards [Sun, 24 Nov 2013 22:57:44 +0000 (11:57 +1300)]
Merge trunk.
Thomi Richards [Sun, 24 Nov 2013 22:46:12 +0000 (11:46 +1300)]
Python version compatibility fixes.
Thomi Richards [Sun, 24 Nov 2013 21:50:33 +0000 (10:50 +1300)]
Port code to use optparse, rather than argparse.
Robert Collins [Sat, 23 Nov 2013 23:01:37 +0000 (12:01 +1300)]
* Perl files should now honour perl system config.
(Benedikt Morbach, #
1233198)
With INSTALL_BASE, perl files are unconditionally installed to
${prefix}/lib/perl5/ instead of respecting the system-dependent perl
library path that is set when perl is installed. (sitelib/vendorlib) If
INSTALL_BASE is changed to PREFIX, it correctly finds the path where it
should install via perl's Config.pm
Robert Collins [Sat, 23 Nov 2013 22:59:39 +0000 (11:59 +1300)]
The test suite was failing 6 tests due to testtools changing it's output
formatting of exceptions. (Robert Collins)
Thomi Richards [Wed, 20 Nov 2013 01:37:53 +0000 (14:37 +1300)]
Fix indentation.
Thomi Richards [Wed, 20 Nov 2013 01:33:03 +0000 (14:33 +1300)]
PEP8 fixes.
Thomi Richards [Wed, 20 Nov 2013 01:28:49 +0000 (14:28 +1300)]
code cleanup, added a few more tests for the --file-name option.
Thomi Richards [Wed, 20 Nov 2013 01:17:36 +0000 (14:17 +1300)]
Fix docstring, code shuffle.
Thomi Richards [Wed, 20 Nov 2013 01:14:25 +0000 (14:14 +1300)]
Remove quotes around 'subunit contributors' in copyright headers.
Thomi Richards [Wed, 20 Nov 2013 01:09:48 +0000 (14:09 +1300)]
Switch to using command line options to specify status. Expand help output, and refactor several test cases.
Thomi Richards [Tue, 19 Nov 2013 22:06:07 +0000 (11:06 +1300)]
Lots of code cleanup, about to refactor argument parsing.
Thomi Richards [Tue, 19 Nov 2013 02:37:28 +0000 (15:37 +1300)]
Remove shebang from subunit._output module.
Thomi Richards [Tue, 19 Nov 2013 02:28:28 +0000 (15:28 +1300)]
Python 3 compatibility fixes.
Thomi Richards [Tue, 19 Nov 2013 01:56:14 +0000 (14:56 +1300)]
Fix things pyflakes complains about.
Thomi Richards [Tue, 19 Nov 2013 01:54:02 +0000 (14:54 +1300)]
PEP8 fixes.
Thomi Richards [Tue, 19 Nov 2013 01:45:03 +0000 (14:45 +1300)]
Made help/usage documentation much more useful.
Thomi Richards [Mon, 18 Nov 2013 23:53:56 +0000 (12:53 +1300)]
Reverted whitespace changes to NEWS file.
Thomi Richards [Mon, 18 Nov 2013 23:47:22 +0000 (12:47 +1300)]
Add support for expected fail and unexpected success test statuses.
Thomi Richards [Mon, 18 Nov 2013 23:34:53 +0000 (12:34 +1300)]
Add support for tags.
Thomi Richards [Mon, 18 Nov 2013 22:34:53 +0000 (11:34 +1300)]
Aded NEWS item, fixed some test code.
Thomi Richards [Mon, 18 Nov 2013 22:16:41 +0000 (11:16 +1300)]
Add support for passing mime-type on the command-line.
Thomi Richards [Mon, 18 Nov 2013 22:01:15 +0000 (11:01 +1300)]
Extend test to make sure that by default no mime-type is specified.
Thomi Richards [Mon, 18 Nov 2013 21:50:18 +0000 (10:50 +1300)]
Add support for attaching files.
Thomi Richards [Mon, 18 Nov 2013 20:55:44 +0000 (09:55 +1300)]
Allow customisation of argument parser class used, so we can write failing tests for command line arguments not yet supported. Have failing test for attaching files.
Thomi Richards [Mon, 18 Nov 2013 20:34:26 +0000 (09:34 +1300)]
Add tests for timestamps, and add support for 'exists'.
Thomi Richards [Mon, 18 Nov 2013 19:24:45 +0000 (08:24 +1300)]
Clean up tests: Don't use MatchesListwise for a single-length list.
Thomi Richards [Mon, 18 Nov 2013 19:22:46 +0000 (08:22 +1300)]
Generate a timestamp for all messages, and refactor argument parser to use common arguments.
Thomi Richards [Mon, 18 Nov 2013 03:47:36 +0000 (16:47 +1300)]
A better approach to testing the generate_bytestream function.
Thomi Richards [Mon, 18 Nov 2013 02:27:08 +0000 (15:27 +1300)]
First pass, missing some tests.
Thomi Richards [Sun, 17 Nov 2013 22:25:19 +0000 (11:25 +1300)]
Added empty test module to test suite.
Thomi Richards [Sun, 17 Nov 2013 22:20:48 +0000 (11:20 +1300)]
Added new script file, modified setup.py to install it, and added an empty implementation function.
Robert Collins [Sun, 25 Aug 2013 10:38:56 +0000 (22:38 +1200)]
* Most filters will now accept a file path argument instead of only reading
from stdin. (Robert Collins, #409206)
Robert Collins [Sun, 25 Aug 2013 10:11:34 +0000 (22:11 +1200)]
Retabbed subunit2gtk.
Robert Collins [Sun, 25 Aug 2013 10:08:21 +0000 (22:08 +1200)]
Better PEP8 in subunit-tags script.
Robert Collins [Sun, 25 Aug 2013 00:40:00 +0000 (12:40 +1200)]
* Python 3.1 and 3.2 have an inconsistent memoryview implementation which
required a workaround for NUL byte detection. (Robert Collins, #
1216246)
Robert Collins [Sat, 24 Aug 2013 23:53:12 +0000 (11:53 +1200)]
* V2 parser errors now set appropriate mime types for the encapsulated packet
data and the error message. (Robert Collins)
Robert Collins [Sat, 24 Aug 2013 14:10:07 +0000 (02:10 +1200)]
Release 0.0.15
Robert Collins [Sat, 24 Aug 2013 14:07:59 +0000 (02:07 +1200)]
* Memoryview and struct were mutually incompatible in 2.7.3 and 3.2.
(Robert Collins, #
1216163)
Robert Collins [Sat, 24 Aug 2013 13:51:28 +0000 (01:51 +1200)]
* Clients of subunit did not expect memoryview objects in StreamResult events.
(Robert Collins)
Robert Collins [Fri, 23 Aug 2013 22:06:15 +0000 (10:06 +1200)]
Release 0.0.14
Robert Collins [Fri, 23 Aug 2013 21:47:28 +0000 (09:47 +1200)]
* Memoryview detection was broken and thus it's use was never really tested.
(Robert Collins,
1216101)
Robert Collins [Fri, 23 Aug 2013 21:37:31 +0000 (09:37 +1200)]
* TestTestProtocols' test_*_details were dictionary sort order dependent.
(Robert Collins, #
1025392)
* TestSubUnitTags's test_add_tag was also se sort order dependent.
(Robert Collins, #
1025392)
Robert Collins [Fri, 23 Aug 2013 20:58:54 +0000 (08:58 +1200)]
* TestTestProtocols' test_tags_both was set sort order dependent.
(Robert Collins, #
1025392)
Robert Collins [Fri, 23 Aug 2013 20:53:03 +0000 (08:53 +1200)]
* TestProtocol2's tag tests were set sort order dependent.
(Robert Collins, #
1025392)
Robert Collins [Sun, 16 Jun 2013 20:02:46 +0000 (08:02 +1200)]
Release 0.0.13.
Robert Collins [Sun, 16 Jun 2013 19:55:18 +0000 (07:55 +1200)]
* `subunit-stats` no longer outputs encapsulated stdout as subunit.
(Robert Collins, #
1171987)
Robert Collins [Sun, 16 Jun 2013 19:25:50 +0000 (07:25 +1200)]
* The logic for `subunit.run` is now importable via python -
`subunit.run.main`. (Robert Collins, #606770)
Robert Collins [Sun, 16 Jun 2013 10:28:11 +0000 (22:28 +1200)]
BUG FIXES
~~~~~~~~~
* Removed GPL files that were (C) non Subunit Developers - they are
incompatible for binary distribution, which affects redistributors.
(Robert Collins, #
1185591)
Jelmer Vernooij [Sat, 25 May 2013 01:14:11 +0000 (02:14 +0100)]
Merge use of AM_PATH_AR in configure.ac, which fixes a warning from autoconf.
Robert Collins [Sat, 25 May 2013 01:05:32 +0000 (13:05 +1200)]
Release 0.12
Jelmer Vernooij [Fri, 24 May 2013 23:39:38 +0000 (00:39 +0100)]
Invoke AM_PATH_AR. Fixes a warning from autoreconf.
Robert Collins [Sun, 12 May 2013 22:46:55 +0000 (10:46 +1200)]
BUG FIXES
~~~~~~~~~
* Subunit v2 packets with both file content and route code were not being
parsed correctly - they would incorrectly emit a parser error, due to trying
to parse the route code length from the first byes of the file content.
(Robert Collins,
1172815)
Robert Collins [Mon, 8 Apr 2013 10:27:29 +0000 (22:27 +1200)]
Release 0.0.11, depending on the new testtools StreamResult API.
Robert Collins [Sun, 31 Mar 2013 05:45:01 +0000 (18:45 +1300)]
Switch to variable length encoded integers.
Robert Collins [Tue, 12 Mar 2013 15:30:06 +0000 (04:30 +1300)]
* ``subunit.run`` now replaces sys.stdout to ensure that stdout is unbuffered
- without this pdb output is not reliably visible when stdout is a pipe
as it usually is. (Robert Collins)
Robert Collins [Wed, 6 Mar 2013 10:16:03 +0000 (23:16 +1300)]
Fixes from getting testrepository running with v2.
Robert Collins [Mon, 4 Mar 2013 09:01:43 +0000 (22:01 +1300)]
Enumerate tests before running (permits progress bars).
Robert Collins [Sun, 3 Mar 2013 11:42:05 +0000 (00:42 +1300)]
Fix up buffering to make pdb usable.
Robert Collins [Sun, 3 Mar 2013 10:11:19 +0000 (23:11 +1300)]
Convert subunit.run to v2.
Robert Collins [Sun, 3 Mar 2013 09:28:51 +0000 (22:28 +1300)]
Port existing filters to v2.
Robert Collins [Wed, 27 Feb 2013 10:30:53 +0000 (23:30 +1300)]
Update subunit-ls.
Robert Collins [Tue, 26 Feb 2013 10:26:46 +0000 (23:26 +1300)]
Batch up input in ByteStreamToStreamResult.
Robert Collins [Tue, 26 Feb 2013 09:08:32 +0000 (22:08 +1300)]
Update subunit-filter to consume and emit v2.
Robert Collins [Mon, 25 Feb 2013 10:21:38 +0000 (23:21 +1300)]
Add basic 1to2 and 2to1 filters.
Robert Collins [Mon, 25 Feb 2013 10:11:04 +0000 (23:11 +1300)]
Make streams all binary and fix incorrect ordering of mime encoding.
Robert Collins [Mon, 25 Feb 2013 09:08:32 +0000 (22:08 +1300)]
More docs.
Robert Collins [Mon, 25 Feb 2013 09:03:59 +0000 (22:03 +1300)]
Add an implementation of parser and generator for v2 streams.
Robert Collins [Sun, 24 Feb 2013 10:22:05 +0000 (23:22 +1300)]
Missing word.
Robert Collins [Fri, 22 Feb 2013 05:09:06 +0000 (18:09 +1300)]
Start on an encoder.
Robert Collins [Fri, 22 Feb 2013 05:05:42 +0000 (18:05 +1300)]
Fix CRC32 in example.
Robert Collins [Fri, 22 Feb 2013 03:01:40 +0000 (16:01 +1300)]
Typo fix.
Robert Collins [Fri, 22 Feb 2013 01:11:59 +0000 (14:11 +1300)]
Document new wire protocol.
Robert Collins [Thu, 7 Feb 2013 11:33:11 +0000 (00:33 +1300)]
Release 0.0.10.
Robert Collins [Thu, 7 Feb 2013 07:36:46 +0000 (20:36 +1300)]
* make_stream_binary is now public for reuse. (Robert Collins)
* NAME was not defined in the protocol BNF. (Robert Collins)
Robert Collins [Sun, 27 Jan 2013 00:55:33 +0000 (13:55 +1300)]
Tweak Python3 support to help testrepository get 3-ready.
Robert Collins [Mon, 17 Dec 2012 08:32:04 +0000 (21:32 +1300)]
Actually document the version in NEWS.
Robert Collins [Mon, 17 Dec 2012 08:25:24 +0000 (21:25 +1300)]
Release 0.0.9.
Robert Collins [Mon, 17 Dec 2012 08:12:44 +0000 (21:12 +1300)]
Also include tests in PyPI tarball, for folk that want to run them to validate behaviour when installed.
Robert Collins [Mon, 17 Dec 2012 08:04:03 +0000 (21:04 +1300)]
Document subunit2csv's existence.
Robert Collins [Mon, 17 Dec 2012 07:58:13 +0000 (20:58 +1300)]
* Test ids which include non-ascii unicode characters are now supported.
(Robert Collins, #
1029866)
Robert Collins [Mon, 17 Dec 2012 07:32:51 +0000 (20:32 +1300)]
* All the source files are now included in the distribution tarball.
(Arfrever Frehtes Taifersar Arahesis, Robert Collins, #996275)
Robert Collins [Mon, 17 Dec 2012 07:24:28 +0000 (20:24 +1300)]
* The ``failfast`` option to ``subunit.run`` will now work. The dependency on
testtools has been raised to 0.9.23 to permit this.
(Robert Collins, #
1090582)
Robert Collins [Thu, 10 May 2012 06:09:22 +0000 (18:09 +1200)]
Fix distcheck (again).
Robert Collins [Wed, 9 May 2012 09:21:14 +0000 (21:21 +1200)]
Also dist ``python/subunit/filters.py``. (Robert Collins)
Robert Collins [Wed, 9 May 2012 09:16:21 +0000 (21:16 +1200)]
* ``python/subunit/tests/test_run.py`` was not included in the 0.0.8 tarball.
(Robert Collins)
Robert Collins [Mon, 7 May 2012 22:57:12 +0000 (10:57 +1200)]
Release 0.0.8.
Robert Collins [Mon, 7 May 2012 22:53:53 +0000 (10:53 +1200)]
* Python2.6 support was broken by the fixup feature.
(Arfrever Frehtes Taifersar Arahesis, #987490)
Robert Collins [Mon, 7 May 2012 22:19:16 +0000 (10:19 +1200)]
Python3.1 support from Arfrever Frehtes Taifersar Arahesis.
Robert Collins [Mon, 7 May 2012 20:27:36 +0000 (08:27 +1200)]
Handle text stdin and stdout streams.
Robert Collins [Mon, 7 May 2012 19:36:05 +0000 (07:36 +1200)]
* Python3 support regressed in trunk.
(Arfrever Frehtes Taifersar Arahesis, #987514)
Robert Collins [Mon, 7 May 2012 19:22:48 +0000 (07:22 +1200)]
Ignore __pycache__.
Robert Collins [Thu, 3 May 2012 08:18:01 +0000 (20:18 +1200)]
Make _make_tag_filter public.
Robert Collins [Wed, 2 May 2012 11:04:11 +0000 (23:04 +1200)]
Restore forwarding of all time calls through TestResultFilter.
Robert Collins [Wed, 2 May 2012 09:45:14 +0000 (21:45 +1200)]
* Tags can now be filtered. (Jonathan Lange, #664171)
Jonathan Lange [Thu, 26 Apr 2012 16:30:22 +0000 (17:30 +0100)]
Always forward time events from TestResultFilter.
Benji York [Thu, 26 Apr 2012 13:17:40 +0000 (09:17 -0400)]
make time pass through filtered tests