Merge lp:~mordred/testrepository/quiet-list-tests into lp:~testrepository/testrepository/trunk

Proposed by Monty Taylor
Status: Needs review
Proposed branch: lp:~mordred/testrepository/quiet-list-tests
Merge into: lp:~testrepository/testrepository/trunk
Diff against target: 13 lines (+2/-1)
1 file modified
testrepository/testcommand.py (+2/-1)
To merge this branch: bzr merge lp:~mordred/testrepository/quiet-list-tests
Reviewer Review Type Date Requested Status
testrepository committers Pending
Review via email: mp+175171@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Robert Collins (lifeless) wrote :

Please add a NEWS entry.

Revision history for this message
Robert Collins (lifeless) wrote :

Hi! Could you repropose this to master - https://github.com/testing-cabal/testrepository? Thanks!

Unmerged revisions

232. By Monty Taylor

Suppress command listing with -q on list-tests.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'testrepository/testcommand.py'
2--- testrepository/testcommand.py 2013-07-15 12:18:48 +0000
3+++ testrepository/testcommand.py 2013-07-17 01:17:27 +0000
4@@ -289,7 +289,8 @@
5 raise ValueError("LISTOPT not configured in .testr.conf")
6 instance, list_cmd = self._per_instance_command(self.list_cmd)
7 try:
8- self.ui.output_values([('running', list_cmd)])
9+ if self.ui.options.quiet:
10+ self.ui.output_values([('running', list_cmd)])
11 run_proc = self.ui.subprocess_Popen(list_cmd, shell=True,
12 stdout=subprocess.PIPE, stdin=subprocess.PIPE)
13 out, err = run_proc.communicate()

Subscribers

People subscribed via source and target branches