info output about what's being run should go to stderr

Bug #1202012 reported by Monty Taylor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Testrepository
Triaged
Wishlist
Unassigned

Bug Description

(py27)mordred@camelot:~/src/storyboard$ .tox/py27/bin/python .tox/py27/bin/testr list-tests -q
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
DJANGO_SETTINGS_MODULE=storyboard.settings \
${PYTHON:-python} -m subunit.run discover -t ./ ./ --list
storyboard.stories.tests.SimpleTest.test_basic_addition

All of the output goes to stdout, which makes doing | wc -l kinda hard.

Also, -q does not work suppress it.

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

So I think this is reasonable (its the pattern we followed in bzr and it worked very well there). We may well want to update list-tests to have a --subunit option too, which would suite your case better (since you want to do programmatic introspection).

Changed in testrepository:
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.