From 345469de684fc4acdb8c46d714b625b3d49cc10e Mon Sep 17 00:00:00 2001 From: jichenjc Date: Sun, 21 Feb 2016 06:19:17 +0800 Subject: [PATCH] Deprecate run_test.sh per nova commint 2dc5d9f8632c83c9bc7ee6871c6631edf69a5570 indicated run_tests.sh should be deprecated to avoid confusion to people and encourage usage of tox. Change-Id: I23940b4da55226f6fa4504ed3839cc6620d0f579 --- run_tests.sh | 168 ++++++++------------------------------------------- 1 file changed, 25 insertions(+), 143 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index a7d66dd12..9cee6751b 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -2,163 +2,45 @@ set -eu -function usage { - echo "Usage: $0 [OPTION]..." - echo "Run python-novaclient test suite" - echo "" - echo " -V, --virtual-env Always use virtualenv. Install automatically if not present" - echo " -N, --no-virtual-env Don't use virtualenv. Run tests in local environment" - echo " -s, --no-site-packages Isolate the virtualenv from the global Python environment" - echo " -x, --stop Stop running tests after the first error or failure." - echo " -f, --force Force a clean re-build of the virtual environment. Useful when dependencies have been added." - echo " -p, --pep8 Just run pep8" - echo " -P, --no-pep8 Don't run pep8" - echo " -c, --coverage Generate coverage report" - echo " -h, --help Print this usage message" - echo " --hide-elapsed Don't print the elapsed time for each test along with slow test list" - 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 " - echo " prefer to run tests NOT in a virtual environment, simply pass the -N option." - exit -} +cat <