Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add timeout to compute tesh, as i386 debian is painfully slow with it and fails
authorAugustin Degomme <degomme@idpann.imag.fr>
Wed, 7 Nov 2012 10:44:26 +0000 (11:44 +0100)
committerAugustin Degomme <degomme@idpann.imag.fr>
Wed, 7 Nov 2012 10:44:26 +0000 (11:44 +0100)
teshsuite/smpi/compute.tesh

index 5bca9ee..37439ba 100644 (file)
@@ -1,6 +1,7 @@
 p Test compute
 ! setenv LD_LIBRARY_PATH=../../lib
 ! output sort
 p Test compute
 ! setenv LD_LIBRARY_PATH=../../lib
 ! output sort
+! timeout 5
 $ ../../bin/smpirun -platform ${srcdir:=.}/../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir:=.}/hostfile -np 2 ./compute 0
 > 0 2.000000
 > 0 2.000000
 $ ../../bin/smpirun -platform ${srcdir:=.}/../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir:=.}/hostfile -np 2 ./compute 0
 > 0 2.000000
 > 0 2.000000
@@ -12,6 +13,7 @@ $ ../../bin/smpirun -platform ${srcdir:=.}/../../examples/msg/small_platform_wit
 p Test compute and bench
 ! setenv LD_LIBRARY_PATH=../../lib
 ! output sort
 p Test compute and bench
 ! setenv LD_LIBRARY_PATH=../../lib
 ! output sort
+! timeout 45
 $ ../../bin/smpirun  -platform ${srcdir:=.}/../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir:=.}/hostfile -np 2 ./compute3
 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
 $ ../../bin/smpirun  -platform ${srcdir:=.}/../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir:=.}/hostfile -np 2 ./compute3
 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'