append current working directory to path to find nose_mpi.py

This commit is contained in:
Bryan Herman 2013-08-29 09:40:36 -04:00
parent 3180c67231
commit 61f730449b

View file

@ -7,6 +7,10 @@ import nose
import glob
from subprocess import call
# get current working directory
pwd = os.getcwd()
sys.path.append(pwd)
# setup color printing codes
OK = '\033[92m'
FAIL = '\033[91m'
@ -25,9 +29,6 @@ run_gfortran_petsc = True
run_gfortran_phdf5_petsc = True
run_gfortran_phdf5_petsc_opt = True
# get current working directory
pwd = os.getcwd()
# check for extra command line options
opts = ['all'] # default is run everything
if len(sys.argv) > 1: