Installed nose-exclude, ./run_tests.sh --unittests-only add '--exclude-dir=tests/functional' to NOSEARGS

This commit is contained in:
Justin Shepherd 2011-07-30 00:12:44 -05:00
parent c21e554932
commit ae980abbb6
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ function usage {
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 " -f, --force Force a clean re-build of the virtual environment. Useful when dependencies have been added."
echo " --unittests-only Run unit tests only, exclude functional tests."
echo " -p, --pep8 Just run pep8"
echo " -h, --help Print this usage message"
echo ""
@ -23,6 +24,7 @@ function process_option {
-N|--no-virtual-env) let always_venv=0; let never_venv=1;;
-p|--pep8) let just_pep8=1;;
-f|--force) let force=1;;
--unittests-only) noseargs="$noseargs --exclude-dir=tests/functional";;
*) noseargs="$noseargs $1"
esac
}

View File

@ -9,6 +9,7 @@ routes
webob==1.0.8
wsgiref
nose
nose-exclude
sphinx
argparse
mox==0.5.0