Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure that the tests can be run directly with tesh without relying on the Makefil...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 2 Jul 2007 14:04:36 +0000 (14:04 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 2 Jul 2007 14:04:36 +0000 (14:04 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3636 48e7efb5-ca39-0410-a469-dd3cf9ba447f

14 files changed:
examples/gras/all2all/test_sg_32
examples/gras/all2all/test_sg_64
examples/gras/chrono/test_sg_32
examples/gras/chrono/test_sg_64
examples/gras/mmrpc/test_sg_32
examples/gras/mmrpc/test_sg_64
examples/gras/mutual_exclusion/simple_token/test_sg_32
examples/gras/mutual_exclusion/simple_token/test_sg_64
examples/gras/pmm/test_sg_32
examples/gras/pmm/test_sg_64
examples/gras/rpc/test_sg_32
examples/gras/rpc/test_sg_64
examples/gras/timer/test_sg_32
examples/gras/timer/test_sg_64

index a8af3a8..9535efa 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./all2all_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/all2all.xml
+$ $SG_TEST_EXENV ./all2all_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/all2all.xml
 > [Tremblay:sender:(1) 0.000000] [all2all/INFO] Launch current node
 > [Tremblay:receiver:(2) 0.000000] [all2all/INFO] Listening on port 4000 (expecting 4 messages)
 > [Jupiter:sender:(3) 0.000000] [all2all/INFO] Launch current node
index 5487230..1fea215 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./all2all_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/all2all.xml
+$ $SG_TEST_EXENV ./all2all_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/all2all.xml
 > [Tremblay:sender:(1) 0.000000] [all2all/INFO] Launch current node
 > [Tremblay:receiver:(2) 0.000000] [all2all/INFO] Listening on port 4000 (expecting 4 messages)
 > [Jupiter:sender:(3) 0.000000] [all2all/INFO] Launch current node
index 849f8c3..3e0f53b 100755 (executable)
@@ -1,3 +1,3 @@
 
 ! output display
-$ $SG_TEST_EXENV ./chrono_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/chrono.xml
+$ $SG_TEST_EXENV ./chrono_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/chrono.xml
index 849f8c3..3e0f53b 100755 (executable)
@@ -1,3 +1,3 @@
 
 ! output display
-$ $SG_TEST_EXENV ./chrono_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/chrono.xml
+$ $SG_TEST_EXENV ./chrono_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/chrono.xml
index 761a670..97347a8 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./mmrpc_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/mmrpc.xml
+$ $SG_TEST_EXENV ./mmrpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/mmrpc.xml
 > [Tremblay:server:(1) 0.000000] [MatMult/INFO] Launch server (port=4000)
 > [Fafard:client:(2) 0.000000] [MatMult/INFO] Launch client (server on Tremblay:4000)
 > [Fafard:client:(2) 1.000000] [MatMult/INFO] Connected to Tremblay:4000.
index ff9a3c3..4b7154a 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./mmrpc_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/mmrpc.xml
+$ $SG_TEST_EXENV ./mmrpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/mmrpc.xml
 > [Tremblay:server:(1) 0.000000] [MatMult/INFO] Launch server (port=4000)
 > [Fafard:client:(2) 0.000000] [MatMult/INFO] Launch client (server on Tremblay:4000)
 > [Fafard:client:(2) 1.000000] [MatMult/INFO] Connected to Tremblay:4000.
index f5802e2..752400c 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./simple_token_simulator$EXEEXT $srcdir/../../../msg/small_platform.xml $srcdir/simple_token.xml 
+$ $SG_TEST_EXENV ./simple_token_simulator$EXEEXT ${srcdir:=.}/../../../msg/small_platform.xml ${srcdir:=.}/simple_token.xml 
 > [Tremblay:node:(1) 0.000000] [SimpleToken/INFO] Create the token (with value 0) and send it to Fafard:4000
 > [Tremblay:node:(1) 0.011346] [SimpleToken/INFO] Begin a new loop. Still to do: 2
 > [Tremblay:node:(1) 0.022693] [SimpleToken/INFO] Begin a new loop. Still to do: 1
index 2f85a82..9a01787 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./simple_token_simulator$EXEEXT $srcdir/../../../msg/small_platform.xml $srcdir/simple_token.xml 
+$ $SG_TEST_EXENV ./simple_token_simulator$EXEEXT ${srcdir:=.}/../../../msg/small_platform.xml ${srcdir:=.}/simple_token.xml 
 > [Tremblay:node:(1) 0.000000] [SimpleToken/INFO] Create the token (with value 0) and send it to Fafard:4000
 > [Tremblay:node:(1) 0.011346] [SimpleToken/INFO] Begin a new loop. Still to do: 2
 > [Tremblay:node:(1) 0.022693] [SimpleToken/INFO] Begin a new loop. Still to do: 1
index 4cbf337..f2a2057 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./pmm_simulator$EXEEXT $srcdir/../../msg/msg_platform.xml $srcdir/pmm.xml
+$ $SG_TEST_EXENV ./pmm_simulator$EXEEXT ${srcdir:=.}/../../msg/msg_platform.xml ${srcdir:=.}/pmm.xml
 > [Jacquelin:master:(1) 0.000000] [pmm/INFO] Wait for peers for 5 sec
 > [Boivin:slave:(2) 1.000000] [pmm/INFO] Sensor starting (on port 3000)
 > [Jean_Yves:slave:(3) 1.000000] [pmm/INFO] Sensor starting (on port 3000)
index c345670..9d0ff26 100755 (executable)
@@ -1,5 +1,5 @@
 ! timeout 30
-$ $SG_TEST_EXENV ./pmm_simulator$EXEEXT $srcdir/../../msg/msg_platform.xml $srcdir/pmm.xml
+$ $SG_TEST_EXENV ./pmm_simulator$EXEEXT ${srcdir:=.}/../../msg/msg_platform.xml ${srcdir:=.}/pmm.xml
 > [Jacquelin:master:(1) 0.000000] [pmm/INFO] Wait for peers for 5 sec
 > [Boivin:slave:(2) 1.000000] [pmm/INFO] Sensor starting (on port 3000)
 > [Jean_Yves:slave:(3) 1.000000] [pmm/INFO] Sensor starting (on port 3000)
index dc52ac1..ce0b2fd 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./rpc_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/rpc.xml --log=root.fmt:"'[%h:%t:(%i) %.2r] [%c/%p] %m%n'"
+$ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml --log=root.fmt:"'[%h:%t:(%i) %.2r] [%c/%p] %m%n'"
 > [Tremblay:server:(1) 0.00] [Rpc/INFO] Launch server (port=4000)
 > [Tremblay:server:(1) 0.00] [Rpc/INFO] Listening on port 4000
 > [Ginette:forwarder:(2) 0.00] [Rpc/INFO] Launch forwarder (port=4000)
index 39a2a49..dc1aacb 100755 (executable)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ./rpc_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/rpc.xml --log=root.fmt:"'[%h:%t:(%i) %.2r] [%c/%p] %m%n'"
+$ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml --log=root.fmt:"'[%h:%t:(%i) %.2r] [%c/%p] %m%n'"
 > [Tremblay:server:(1) 0.00] [Rpc/INFO] Launch server (port=4000)
 > [Tremblay:server:(1) 0.00] [Rpc/INFO] Listening on port 4000
 > [Ginette:forwarder:(2) 0.00] [Rpc/INFO] Launch forwarder (port=4000)
index b9596f4..c3785a6 100755 (executable)
@@ -1,5 +1,5 @@
 
-$ $SG_TEST_EXENV ./timer_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/timer.xml
+$ $SG_TEST_EXENV ./timer_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/timer.xml
 > [Fafard:client:(1) 0.000000] [test/INFO] Programming the repetitive_action with a frequency of 1.000000 sec
 > [Fafard:client:(1) 0.000000] [test/INFO] Programming the delayed_action for after 2.000000 sec
 > [Fafard:client:(1) 0.000000] [test/INFO] Have a rest
index b9596f4..c3785a6 100755 (executable)
@@ -1,5 +1,5 @@
 
-$ $SG_TEST_EXENV ./timer_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/timer.xml
+$ $SG_TEST_EXENV ./timer_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/timer.xml
 > [Fafard:client:(1) 0.000000] [test/INFO] Programming the repetitive_action with a frequency of 1.000000 sec
 > [Fafard:client:(1) 0.000000] [test/INFO] Programming the delayed_action for after 2.000000 sec
 > [Fafard:client:(1) 0.000000] [test/INFO] Have a rest