Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove absolute paths from test scripts
[simgrid.git] / teshsuite / smpi / mpich-test / profile / runtests
index 57e8f59..051cf5f 100755 (executable)
@@ -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