Skip to content

Instantly share code, notes, and snippets.

@x746e
Created October 2, 2012 09:39
Show Gist options
  • Save x746e/3817868 to your computer and use it in GitHub Desktop.
Save x746e/3817868 to your computer and use it in GitHub Desktop.
#!/bin/sh
WEB2PY_DIR=$HOME/work/web2py.dev
VENV=$HOME/work/venv
EMEDIATE_GLOBAL_CONF=$HOME/work/testing_global.conf
CODEDIR=$HOME/work/eas-hgsvn
CODEDIR_GUI=$CODEDIR/booking/gui
TESTS="$CODEDIR_GUI/applications/api $CODEDIR_GUI/applications/booking $CODEDIR_GUI/lib/w2p $CODEDIR/systest/support/tests.py"
. $VENV/bin/activate
export EMEDIATE_GLOBAL_CONF
export PYTHONPATH=$CODEDIR/common_libs/pythonlibs:$CODEDIR/booking/gui/lib:$WEB2PY_DIR
export DONT_POLLUTE_SYS_PATH=true
echo "==> testing $CODEDIR"
nosetests -s --nologcapture $@ $TESTS
#nosetests -s --nologcapture $@ $CODEDIR_GUI/lib/w2p/tests/objects/testcontentunits.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment