File: run_tests

package info (click to toggle)
python-cogent 1.4.1-1.2
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 13,260 kB
  • ctags: 20,087
  • sloc: python: 116,163; ansic: 732; makefile: 74; sh: 9
file content (13 lines) | stat: -rwxr-xr-x 291 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# for automated testing - check if using alternate python install 
PYTHON_EXE=python
if [ $PYTHON_TEST_EXE ]; then
    PYTHON_EXE=$PYTHON_TEST_EXE; 
fi

set -e
$PYTHON_EXE setup.py build_ext --inplace
export PYTHONPATH=`pwd`:$PYTHONPATH
cd tests
nice $PYTHON_EXE alltests.py "$@"