panko/wrap_nosetests.sh
Sandy Walsh 008e8e4daf Rename run_tests.sh to wrap_nosetests.sh
run_tests.sh has a different purpose in CM than
run_tests.sh in Nova, which causes confusion. Renamed the file
to better reflect its true intent.

Change-Id: I206fdeab8b052f85e1485164f019979ebbff4fbb
2013-01-23 10:34:43 -04:00

14 lines
265 B
Bash
Executable File

#!/bin/sh
# Wrap nosetests to force it to enable global site-packages until
# https://bitbucket.org/hpk42/tox/issue/32 is released.
set -x
rm -rf cover
if [ ! -z "$VIRTUAL_ENV" ]
then
rm -f $VIRTUAL_ENV/lib/python*/no-global-site-packages.txt
fi
nosetests "$@"