X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6511b78ff810ead55a110d42b01a08255a55b56d..990b4c331449051f8476377ac6e67a02f639be5a:/testsuite/gras/trp_tcp_usage.in diff --git a/testsuite/gras/trp_tcp_usage.in b/testsuite/gras/trp_tcp_usage.in index af417ae6b2..089c427dc7 100644 --- a/testsuite/gras/trp_tcp_usage.in +++ b/testsuite/gras/trp_tcp_usage.in @@ -1,6 +1,18 @@ #! @BASH@ -e -./trp_tcp_server $@ & +if test -e gras/trp_tcp_server@EXEEXT@ ; then + base=gras +else + base=. +fi + +if [ x@EXEEXT@ = x ] ; then + wine= +else + wine=wine +fi + +$wine $base/trp_tcp_server@EXEEXT@ $@ & sleep 1 -./trp_tcp_client $@ +$wine $base/trp_tcp_client@EXEEXT@ $@