diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2013-02-22 15:36:04 -0800 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2013-02-23 15:02:26 -0800 |
commit | d923921d1277a21d2a80539a72dda4d56d4f36eb (patch) | |
tree | b21b26fbfde20e85290534785ca8384e9f558cb2 /nova/utils.py | |
parent | 5cb6f500d82dcd3a17e4b4ec78fcfc5f6a6e0327 (diff) | |
download | nova-d923921d1277a21d2a80539a72dda4d56d4f36eb.tar.gz nova-d923921d1277a21d2a80539a72dda4d56d4f36eb.tar.xz nova-d923921d1277a21d2a80539a72dda4d56d4f36eb.zip |
Readd run_tests.sh --debug option.
Testr doesn't directly support running tests with pdb so the --debug
option was pulled from run_tests.sh during the testr switch. Add the
flag back into run_tests.sh and have it run tests with testtools.run
which allows users to import pdb in tests then run them without
interference from testr.
Example usage:
# First edit test file to import pdb.
run_tests.sh -d path.to.test
If the test is not given on the command line all tests will be run.
Change-Id: I4afca9ca997ccb6c575b714b778a9db8306c7891
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions