]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Show progress output while running unit tests
authorRussell Bryant <rbryant@redhat.com>
Thu, 20 Nov 2014 21:01:14 +0000 (21:01 +0000)
committerRussell Bryant <rbryant@redhat.com>
Thu, 20 Nov 2014 21:05:32 +0000 (21:05 +0000)
commit0d5a11d9c722870f9c5e31a993219c7e240b4e19
tree8ca20d30126dc1f59c836c2223e516b423db23d0
parent49fee853ad25cd582b118b45bcb8d8cde54d2e90
Show progress output while running unit tests

This patch imports some magic to enable showing test output as the
tests run.  Seeing output showing tests as they execute is reassuring
that the test run is continuing to make progress.  This originated in
tempest and was then brought over to Nova in this commit:

  https://review.openstack.org/#/c/121914/

Note the justification in that commit to just copy it instead of move
it to a shared repo.

To get the old behavior where you only get output when something
fails, you can set the TRACE_FAILONLY env var.  That originated in
this commit in Nova:

  https://review.openstack.org/#/c/123801/

Change-Id: I6a079ad5f630383650c0f9dee09e04250d0e2c5a
tools/pretty_tox.sh [new file with mode: 0755]
tools/subunit-trace.py [new file with mode: 0755]
tox.ini