TESTDIR=dijitso-test

apt-get source --download-only dijitso
dpkg-source -x dijitso*.dsc ${TESTDIR}

cd ${TESTDIR}

# single process
python3 -m pytest test

# MPI test
N_MPI=`nproc`
export OMPI_MCA_rmaps_base_oversubscribe=1
mpirun -n ${N_MPI} python3 -m pytest test
