Skip to content
Newer
Older
100755 24 lines (16 sloc) 621 Bytes
07ccf29 @labisso Cleaned up EC2 keypair situation
labisso authored
1 #!/bin/bash
2
3 if [ "X$NIMBUS_HOME" == "X" ]; then
4 echo "NIMBUS_HOME must be set to run this test"
5 exit 1
6 fi
7
8 PYTHON_EXE="/usr/bin/env python -Wignore::DeprecationWarning"
9
10 NIMBUS_WEBDIR="$NIMBUS_HOME/web"
11
12 NIMBUS_PYLIB="$NIMBUS_WEBDIR/lib/python"
13 NIMBUS_PYSRC="$NIMBUS_WEBDIR/src/python"
14
15 source $NIMBUS_HOME/cumulus/env.sh
16 PYTHONPATH="${PYTHONPATH}:$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH:$NIMBUS_HOME/sbin:$NIMBUS_HOME/libexec:${PYTHONPATH}"
17 export PYTHONPATH
18
19 DJANGO_SETTINGS_MODULE="nimbusweb.portal.settings"
20 export DJANGO_SETTINGS_MODULE
21
22 source $NIMBUS_HOME/ve/bin/activate
23 exec nosetests ec2_misc_tests.py
Something went wrong with that request. Please try again.