From: mquinson Date: Mon, 2 Jul 2007 13:59:14 +0000 (+0000) Subject: Make sure that the tests can be run directly with tesh without relying on the Makefil... X-Git-Tag: v3.3~1725 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/74e61eaf8bac72214053f04e98a81bbddbaf70ed?ds=sidebyside Make sure that the tests can be run directly with tesh without relying on the Makefile for strange variable settings (but it only works with bash) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3635 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/ping/test_sg_32 b/examples/gras/ping/test_sg_32 index b36c92c203..0fbe2e51d0 100755 --- a/examples/gras/ping/test_sg_32 +++ b/examples/gras/ping/test_sg_32 @@ -1,6 +1,6 @@ p Runs the 'ping' test within the simulator (simulation times valid for 32bits architectures) -$ ./ping_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/ping.xml +$ ./ping_simulator${EXEEXT:=} ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/ping.xml > [Tremblay:server:(1) 0.000000] [Ping/INFO] Launch server (port=4000) > [Tremblay:server:(1) 0.000000] [Ping/INFO] Messages registered > [Tremblay:server:(1) 0.000000] [Ping/INFO] Messages registered diff --git a/examples/gras/ping/test_sg_64 b/examples/gras/ping/test_sg_64 index 71b325731b..414d24ae87 100755 --- a/examples/gras/ping/test_sg_64 +++ b/examples/gras/ping/test_sg_64 @@ -1,6 +1,6 @@ p Runs the 'ping' test within the simulator (simulation times valid for 32bits architectures) -$ ./ping_simulator$EXEEXT $srcdir/../../msg/small_platform.xml $srcdir/ping.xml +$ ./ping_simulator${EXEEXT:=} ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/ping.xml > [Tremblay:server:(1) 0.000000] [Ping/INFO] Launch server (port=4000) > [Tremblay:server:(1) 0.000000] [Ping/INFO] Messages registered > [Tremblay:server:(1) 0.000000] [Ping/INFO] Messages registered