~rconradharris/nova/cost-scheduler-first-cut

« back to all changes in this revision

Viewing changes to run_tests.sh

Since run_tests.sh utilizes nose to run its tests, the -x, --stop flag works correctly for halting tests on the first failed test. The usage information for run_tests.sh now includes the --stop flag.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  echo ""
7
7
  echo "  -V, --virtual-env        Always use virtualenv.  Install automatically if not present"
8
8
  echo "  -N, --no-virtual-env     Don't use virtualenv.  Run tests in local environment"
 
9
  echo "  -x, --stop               Stop running tests after the first error or failure."
9
10
  echo "  -f, --force              Force a clean re-build of the virtual environment. Useful when dependencies have been added."
10
11
  echo "  -p, --pep8               Just run pep8"
11
12
  echo "  -h, --help               Print this usage message"