diff options
author | Jenkins <jenkins@review.openstack.org> | 2012-09-28 21:33:32 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2012-09-28 21:33:32 +0000 |
commit | 433edcfbf72602ec4e7bf0ad996cdb2fb31305ba (patch) | |
tree | ed55c3b288e2867ec839d5f46e12e382e3957ddc /run_tests.sh | |
parent | 9a6bf46e955407d561f5a378afb94996c97a83e9 (diff) | |
parent | 49487a6ac63ae32b61687d9e8aeb0956590445d7 (diff) | |
download | keystone-433edcfbf72602ec4e7bf0ad996cdb2fb31305ba.tar.gz keystone-433edcfbf72602ec4e7bf0ad996cdb2fb31305ba.tar.xz keystone-433edcfbf72602ec4e7bf0ad996cdb2fb31305ba.zip |
Merge "Remove run_test.py in favor of stock nose."
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh index a225d78d..2e21e24f 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -32,6 +32,7 @@ function usage { echo " -h, --help Print this usage message" echo " -xintegration Ignore all keystoneclient test cases (integration tests)" echo " --hide-elapsed Don't print the elapsed time for each test along with slow test list" + echo " --standard-threads Don't do the eventlet threading monkeypatch." echo "" echo "Note: with no options specified, the script will try to run the tests in a virtual environment," echo " If no virtualenv is found, the script will ask if you would like to create one. If you " @@ -51,6 +52,9 @@ function process_option { -P|--no-pep8) no_pep8=1;; -c|--coverage) coverage=1;; -xintegration) nokeystoneclient=1;; + --standard-threads) + export STANDARD_THREADS=1 + ;; -*) noseopts="$noseopts $1";; *) noseargs="$noseargs $1" esac @@ -114,7 +118,7 @@ function run_pep8 { --exclude=vcsversion.py ${srcfiles} | tee pep8.txt } -NOSETESTS="python run_tests.py $noseopts $noseargs" +NOSETESTS="nosetests $noseopts $noseargs" if [ $never_venv -eq 0 ] then |