Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (15 sloc) 521 Bytes
# A simple bash script to make it easy to run a single test
# Note it defaults to QGIS in /usr/local
echo "To use:"
echo "$0 packagename.modulename [/path/to/qgis]"
echo "e.g."
echo "$0 safe_qgis.test_utilities /usr/local"
echo "Setting QGIS_PREFIX_PATH to $qgispath..."
export QGIS_PREFIX_PATH=$qgispath
export PYTHONPATH=$QGIS_PREFIX_PATH/share/qgis/python/:`pwd`:$PYTHONPATH
export QGIS_DEBUG=0;
export QGIS_LOG_FILE=/dev/null;
export QGIS_DEBUG_FILE=/dev/null;
nosetests -v $1