Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (17 sloc) 0.643 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/bin/bash

if [ "X$NIMBUS_HOME" == "X" ]; then
    echo "NIMBUS_HOME must be set to run this test"
    exit 1
fi

PYTHON_EXE="/usr/bin/env python -Wignore::DeprecationWarning"

NIMBUS_WEBDIR="$NIMBUS_HOME/web"

NIMBUS_PYLIB="$NIMBUS_WEBDIR/lib/python"
NIMBUS_PYSRC="$NIMBUS_WEBDIR/src/python"

source $NIMBUS_HOME/cumulus/env.sh
PYTHONPATH="${PYTHONPATH}:$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH:$NIMBUS_HOME/sbin:$NIMBUS_HOME/libexec:${PYTHONPATH}"
export PYTHONPATH

DJANGO_SETTINGS_MODULE="nimbusweb.portal.settings"
export DJANGO_SETTINGS_MODULE

source $NIMBUS_HOME/ve/bin/activate

nosetests ec2_common_image_nose_tests.py "$@"
exit $?
Something went wrong with that request. Please try again.