Ok, PQM is innocent, the bug comes from the bzr Makefile:
check-nodocs: extensions
# 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
The '|' makes the shell action succeeds because 'tee' succeeds, masking the error in the first command.
Ok, PQM is innocent, the bug comes from the bzr Makefile:
check-nodocs: extensions
# 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
The '|' makes the shell action succeeds because 'tee' succeeds, masking the error in the first command.
I'll submit a patch.