diff options
| author | Dan Smith <danms@us.ibm.com> | 2012-10-11 10:11:24 -0700 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2012-10-12 07:10:39 -0700 |
| commit | bd30d411c4d17a4f37fe1e321d796f75e6e457c1 (patch) | |
| tree | 09e2e68d4aeef1322227302e34284fcd4ac355d2 /nova/openstack | |
| parent | ba585524e32965697c1a44c8fd743dea060bb1af (diff) | |
| download | nova-bd30d411c4d17a4f37fe1e321d796f75e6e457c1.tar.gz nova-bd30d411c4d17a4f37fe1e321d796f75e6e457c1.tar.xz nova-bd30d411c4d17a4f37fe1e321d796f75e6e457c1.zip | |
Make run_tests.sh fail if no tests are actually run
Right now, run_tests seems to report test success if there is a
catastrophic failure early in the process. This can happen if you
have a python file that fails to parse, or if something else in
the test environment setup fails to initialize (such as creating
the empty database for the test run). Nosetests will report
success, but indicate that zero tests were run.
This patch snatches the output of nosetests and, if zero tests
ran, reports to the user that something is broken and offers a few
suggestions.
Change-Id: Ide6fd8b212f0650cb227f60b25d4b4e62ee150ac
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
