Rev 5052: * PQM will now run with subunit output. To analyze a PQM error use in http://bazaar.launchpad.net/~lifeless/bzr/subunit
Robert Collins
robertc at robertcollins.net
Sat Feb 20 09:29:29 GMT 2010
At http://bazaar.launchpad.net/~lifeless/bzr/subunit
------------------------------------------------------------
revno: 5052
revision-id: robertc at robertcollins.net-20100220092741-2rc06901y9obzpfq
parent: pqm at pqm.ubuntu.com-20100219043219-d7kxp38y7rew0b5z
committer: Robert Collins <robertc at robertcollins.net>
branch nick: subunit
timestamp: Sat 2010-02-20 20:27:41 +1100
message:
* PQM will now run with subunit output. To analyze a PQM error use
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
=== modified file 'Makefile'
--- a/Makefile 2010-02-18 02:11:03 +0000
+++ b/Makefile 2010-02-20 09:27:41 +0000
@@ -39,7 +39,10 @@
check: docs check-nodocs
check-nodocs: extensions
- $(PYTHON) -Werror -O ./bzr selftest -1 $(tests)
+ # Generate a stream for PQM to watch.
+ $(PYTHON) -Werror -O ./bzr selftest --subunit $(tests) | tee selftest.log
+ # Check that there were no errors reported.
+ subunit-stats < selftest.log
# Run Python style checker (apt-get install pyflakes)
#
=== modified file 'NEWS'
--- a/NEWS 2010-02-18 04:59:30 +0000
+++ b/NEWS 2010-02-20 09:27:41 +0000
@@ -105,6 +105,9 @@
dependency regressions.
(Martin Pool)
+* PQM will now run with subunit output. To analyze a PQM error use
+ tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
+
* Stop sending apport crash files to ``.cache`` in the directory from
which ``bzr selftest`` was run. (Martin Pool, #422350)
More information about the bazaar-commits
mailing list