From: Augustin Degomme Date: Mon, 29 Oct 2012 09:23:34 +0000 (+0100) Subject: remove absolute paths from test scripts X-Git-Tag: v3_9_rc1~91^2~156^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/56b1fc16ccdc0546167930af80d7ccf3516feebb remove absolute paths from test scripts --- diff --git a/teshsuite/smpi/mpich-test/coll/runtests b/teshsuite/smpi/mpich-test/coll/runtests index fe5080e3a7..65c4908f02 100755 --- a/teshsuite/smpi/mpich-test/coll/runtests +++ b/teshsuite/smpi/mpich-test/coll/runtests @@ -3,8 +3,6 @@ # -mvhome is needed for the ANL SP, and is ignored by others args= device= -#top_srcdir=/home/degomme/Downloads/mpich-test -#srcdir=/home/degomme/Downloads/mpich-test/coll MPICH_VERSION= STOPFILE=${MPITEST_STOPTEST:-"$HOME/.stopmpichtests"} diff --git a/teshsuite/smpi/mpich-test/profile/ptest.std b/teshsuite/smpi/mpich-test/profile/ptest.std index 70c49f8e69..1c13f913b8 100644 --- a/teshsuite/smpi/mpich-test/profile/ptest.std +++ b/teshsuite/smpi/mpich-test/profile/ptest.std @@ -1,3 +1 @@ -**** Testing MPI_Pcontrol **** Pcontrol test passed -**** Testing MPI_Pcontrol **** diff --git a/teshsuite/smpi/mpich-test/profile/runtests b/teshsuite/smpi/mpich-test/profile/runtests index 57e8f59903..051cf5f155 100755 --- a/teshsuite/smpi/mpich-test/profile/runtests +++ b/teshsuite/smpi/mpich-test/profile/runtests @@ -6,16 +6,13 @@ # -mvhome is needed for the ANL SP, and is ignored by others args= device= -top_srcdir=/home/degomme/Downloads/mpich-test -srcdir=/home/degomme/Downloads/mpich-test/profile MPICH_VERSION= STOPFILE=${MPITEST_STOPTEST:-"$HOME/.stopmpichtests"} MAKE="make --no-print-directory" MPIRUNMVBACK="" # -# Load basic procedures -. ${top_srcdir}/runbase + # # Set mpirun to the name/path of the mpirun program #FindMPIRUN @@ -46,7 +43,7 @@ for arg in "$@" ; do -checkonly) runtests=0 ;; - -margs=*) + -margs=*) margs=`echo $arg | sed 's/-margs=//'` args="$args $margs" ;; @@ -85,11 +82,16 @@ for arg in "$@" ; do ;; esac done + + +# Load basic procedures +. ${srcdir}/../runbase + mpirun=" ${basedir}/bin/smpirun -platform ${srcdir}/../../../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir}/../../hostfile --log=root.thres:critical" # If the programs are not available, run make. -if [ ! -x sendrecv -a $makeeach = 0 -a $runtests = 1 ] ; then - $MAKE default -fi +#if [ ! -x sendrecv -a $makeeach = 0 -a $runtests = 1 ] ; then +# $MAKE default +#fi testfiles="" if [ $runtests = 1 ] ; then diff --git a/teshsuite/smpi/mpich-test/pt2pt/runtests b/teshsuite/smpi/mpich-test/pt2pt/runtests index 4d6de4ce0a..c1eaf5f948 100755 --- a/teshsuite/smpi/mpich-test/pt2pt/runtests +++ b/teshsuite/smpi/mpich-test/pt2pt/runtests @@ -134,9 +134,9 @@ EOF fi # If the programs are not available, run make. -if [ ! -x sendrecv_mpich -a $makeeach = 0 -a $runtests = 1 ] ; then - $MAKE -fi +#if [ ! -x sendrecv_mpich -a $makeeach = 0 -a $runtests = 1 ] ; then +# $MAKE +#fi testfiles="" if [ $runtests = 1 ] ; then