summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Import six from the right placeColin Watson2021-07-271-1/+1
|/ / / / / | | | | | | | | | | | | | | | We shouldn't rely on testtools.testcase importing it.
* | | | | Merge pull request #47 from mhuin/testtools.compatMatthew Treinish2021-06-158-8/+39
|\ \ \ \ \ | |_|_|_|/ |/| | | | Fix imports from testtools.compat
| * | | | Merge branch 'master' into testtools.compatMatthew Treinish2021-06-153-36/+36
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #46 from stephenfin/python310Matthew Treinish2021-06-151-4/+4
|\ \ \ \ \ | | | | | | | | | | | | python: Mark rawstrings as such
| * \ \ \ \ Merge branch 'master' into python310Matthew Treinish2021-06-152-32/+32
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #50 from testing-cabal/gha-ciMatthew Treinish2021-06-152-32/+32
|\ \ \ \ \ \ | | | | | | | | | | | | | | Pivot CI to github actions
| * | | | | | Pivot CI to github actionsMatthew Treinish2021-06-152-32/+32
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the tight travis quotas for open source projects now it is not a viable provider for running CI on this project anymore. While this project is relatively low activity the quota seems to be preventing jobs from reliably triggering. This commit switches CI to use github actions which doesn't have this limitation.
| * | | | | Merge branch 'master' into python310Matthew Treinish2021-06-153-92/+1
| |\ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | python: Mark rawstrings as suchStephen Finucane2021-04-201-4/+4
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolves the following warnings in Python 3.6+: DeprecationWarning: invalid escape sequence \! match = re.match("Bail out\!(?:\s*(.*))?\n", line) Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
| | * | | Merge branch 'master' into testtools.compatMatthew Treinish2021-06-153-92/+1
| | |\ \ \ | |_|/ / / |/| | | |
* | | | | Merge pull request #48 from mtreinish/revert-brokenMatthew Treinish2021-06-153-92/+1
|\ \ \ \ \ | |/ / / / |/| | | | Revert "Merge pull request #17 from mtreinish/timestamp-output"
| * | | | Revert "Merge pull request #17 from mtreinish/timestamp-output"Matthew Treinish2021-06-153-92/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1dafb884e47f5fc26232672b01c2a9574577e7be, reversing changes made to 7583ce28db20a0b2ad229a69175949e5a30586fe. This PR had completely broken tests, while I think the feature works it's blocking CI and preventing any merges. I'll rework the PR and resubmit after I get the unittests working.
| * | | fix trailing commaMatthieu Huin2021-06-151-1/+1
| | | |
| * | | Fix imports from testtools.compatMatthieu Huin2021-06-158-8/+39
|/ / / | | | | | | | | | | | | | | | The future release of testtools will drop StringIO and BytesIO. Try to import them from testtools.compat, or from the io module if they're not available.
* | | Merge pull request #17 from mtreinish/timestamp-outputJelmer Vernooij2021-03-093-1/+92
|\ \ \ | | | | | | | | Add options to output filter to set timestamps
| * | | Fix timestamp test copy paste errorMatthew Treinish2020-03-141-1/+1
| | | |
| * | | Add options to output filter to set timestampsMatthew Treinish2020-03-143-1/+92
| | |/ | |/| | | | | | | | | | | | | This commit adds 2 new options to subunit-output, --start-time and --stop-time, to specify a timestamp for the start and end of a test in the output.
* | | Merge pull request #45 from graingert/drop-unsupportable-pythonsJelmer Vernooij2021-03-043-6/+10
|\ \ \ | | | | | | | | fix CI
| * | | run everything on focal, except pypy3.5 which only runs on xenialThomas Grainger2021-03-041-7/+5
| | | |
| * | | add missing referenceThomas Grainger2021-03-041-0/+2
| | | |
| * | | add current pythonsThomas Grainger2021-03-042-0/+4
| | | |
| * | | drop Python 3.4 supportThomas Grainger2021-03-042-1/+1
|/ / / | | | | | | | | | we cannot test with in on Travis anymore
* | | Merge pull request #32 from mcepl/kill_unittest2Jelmer Vernooij2021-03-041-15/+27
|\ \ \ | | | | | | | | Remove dependency on unittest2
| * | | Unittest from testtools doesn't work, use the one from stdlib.Matěj Cepl2020-06-051-3/+3
| | | |
| * | | Acommodate review requests.Matěj Cepl2020-06-051-5/+5
| | | |
| * | | Remove dependency on unittest2Matěj Cepl2018-09-131-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | It is questionable whether it is actually the right way how to do it. I would need a review from somebody who actually understands API and the protocol, whether I am not unintentionally changing API.
* | | | Release 1.4.0.1.4.0Jelmer Vernooij2020-03-143-2/+32
| |/ / |/| | | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
* | | Correctly handle py3 RawIOBase read()Stephen Finucane2020-03-141-17/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python3's RawIOBase guarantees only one syscall per read() requiring a loop to accumulate the desired number of bytes or actually reach EOF. TextIOBase.read does issue multiple syscalls (it must to correctly decode partial unicode characters), but subunit unwraps that to get a binary stream, and at least some of the time the layering is io.TextIOBase(_io.FileIO), where _io.FileIO is a RawIOBase subclass rather than BufferedIOBase. Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Partial-bug: #1813147
* | | trivial: Fix indentationStephen Finucane2020-03-101-88/+104
| | | | | | | | | | | | Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | | Add license to setup.pySergiu2020-02-111-0/+1
| | |
* | | Merge pull request #39 from mtreinish/add-new-python-versionsJelmer Vernooij2019-12-182-1/+13
|\ \ \ | |_|/ |/| | Add support for new python versions and update pkg metadata
| * | Update setup.pyMatthew Treinish2019-12-131-1/+0
| | |
| * | Add support for new python versions and update pkg metadataMatthew Treinish2019-12-092-0/+13
|/ / | | | | | | | | | | | | | | This commit updates the supported python versions for subunit to include support for newer versions of the language 3.7 and 3.8 which have been released since the last python-subunit release. At the same time it takes the opportunity to update the package metadata to add more details including the new python versions.
* | Merge pull request #37 from ↵Matthew Treinish2019-12-091-0/+2
|\ \ | | | | | | | | | | | | FedericoRessi/fix-StreamResultToBytes-chunked-writing Check written bytes are not None before summing them to offset
| * \ Merge branch 'master' of https://github.com/testing-cabal/subunit into ↵Federico Ressi2019-09-271-1/+0
| |\ \ | |/ / |/| | | | | fix-StreamResultToBytes-chunked-writing
* | | Merge pull request #38 from FedericoRessi/remove-travis-ci-py26-jobMatthew Treinish2019-09-271-1/+0
|\ \ \ | | | | | | | | Remove broken Python 2.6 travis CI job
| * | | Remove broken Python 2.6 travis CI jobFederico Ressi2019-09-271-1/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Travis is not able to download a file required to run tests with Python 2.6 ``` Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/16.04/x86_64/python-2.6.tar.bz2 0.12s$ curl -sSf -o python-2.6.tar.bz2 ${archive_url} curl: (22) The requested URL returned error: 404 Not Found Unable to download 2.6 archive. The archive may not exist. Please consider a different version. ```
| * | Check written bytes are not None before summing them to offsetFederico Ressi2019-09-271-0/+2
|/ / | | | | | | | | | | | | | | Because purely written streams could return None instead of written bytes, we cannot sum them to offset integer. On such case let assume data has been written all at once. This fixes LaunchPad [#1845631](https://bugs.launchpad.net/subunit/+bug/1845631)
* | Merge pull request #36 from qinqon/fix_python3_reportsJelmer Vernooij2018-12-271-2/+2
|\ \ | | | | | | Fix file open for python3
| * | Fix file open for python3Quique Llorente2018-12-261-2/+2
|/ / | | | | | | | | At python3 there is no "file" the "open" function has to be use to open a file.
* | Merge pull request #34 from hguemar/migrate-gtk3Jelmer Vernooij2018-12-012-45/+45
|\ \ | | | | | | Migrate Gtk interface to GObject introspection.
| * | Migrate Gtk interface to GObject introspectionHaikel Guemar2018-11-302-45/+45
| |/ | | | | | | | | Filters subunit2gtk and subunit-notify now uses GObject introspection Both are compatible with python2 and python3
* | Merge pull request #35 from jelmer/masterJelmer Vernooij2018-12-011-1/+0
|\ \ | |/ |/| Stop running with Python 3.3 on Travis.
| * Stop running 3.3 on travis.Jelmer Vernooij2018-11-301-1/+0
|/
* Bump pypy3 to version 3.5; also test on cpython 3.5 and 3.6.Jelmer Vernooij2018-06-171-1/+3
|
* Rely on file.__iter__ rather than file.readlines.Jelmer Vernooij2018-06-161-2/+2
|
* Merge pull request #18 from ligurio/patch-1Jelmer Vernooij2018-06-151-17/+29
|\ | | | | Improve readability of SubUnit v2 spec
| * Improve readability of SubUnit v2 specSergey Bronnikov2016-03-271-17/+29
| |
* | Merge pull request #29 from jelmer/rename-test-ids1.3.0Jelmer Vernooij2018-03-244-2/+51
|\ \ | | | | | | Add support for passing in a regex to rename test ids.
| * | Add support for parsing in a regex to apply to test ids.Jelmer Vernooij2018-03-244-2/+51
|/ / | | | | | | Bug: pad.lv/1758522