#! @BASH@ -e
if [ x@EXEEXT@ = x ] ; then
- wine=
+ exenv=$SG_TEST_EXENV
else
- wine=wine
+ exenv=wine
fi
-exec $wine ./chrono_multiplier@EXEEXT@ $@
+exec $exenv ./chrono_multiplier@EXEEXT@ $@
#! @BASH@
-if test -x ./chrono_simulator ; then
- exec ./chrono_simulator @top_srcdir@/examples/msg/small_platform.xml @srcdir@/chrono_deployment.xml
+if [ x@EXEEXT@ = x ] ; then
+ exenv=$SG_TEST_EXENV
+else
+ exenv=wine
fi
-exit 77
+
+exec $exenv ./chrono_simulator@EXEEXT@ @top_srcdir@/examples/msg/small_platform.xml @srcdir@/chrono_deployment.xml
#! @BASH@
if [ x@EXEEXT@ = x ] ; then
- exenv=
+ exenv=$SG_TEST_EXENV
else
exenv=wine
fi
#! @BASH@ -e
if [ x@EXEEXT@ = x ] ; then
- wine=
+ exenv=$SG_TEST_EXENV
else
- wine=wine
+ exenv=wine
fi
-exec $wine ./timer_client@EXEEXT@
+exec $exenv ./timer_client@EXEEXT@
#! @BASH@
-if test -x ./timer_simulator ; then
- exec ./timer_simulator @top_srcdir@/examples/msg/small_platform.xml @srcdir@/timer_deployment.xml $@
+if [ x@EXEEXT@ = x ] ; then
+ exenv=$SG_TEST_EXENV
+else
+ exenv=wine
fi
-exit 77
+
+exec $exenv ./timer_simulator@EXEEXT@ @top_srcdir@/examples/msg/small_platform.xml @srcdir@/timer_deployment.xml $@
if [ x@EXEEXT@ = x ] ; then
# exenv="libtool --mode=execute valgrind --db-attach=yes --run-libc-freeres=no "
# exenv="libtool --mode=execute valgrind --run-libc-freeres=no "
- exenv=
+ exenv=$SG_TEST_EXENV
else
exenv=wine
fi
#! @BASH@
if [ x@EXEEXT@ = x ] ; then
# exenv="libtool --mode=execute valgrind --run-libc-freeres=no --show-reachable=yes "
- exenv=
+ exenv=$SG_TEST_EXENV
else
exenv=wine
fi
#! @BASH@ -e
if [ x@EXEEXT@ = x ] ; then
- wine=
+ exenv=$SG_TEST_EXENV
else
- wine=wine
+ exenv=wine
fi
-$wine ./msg_test@EXEEXT@ @srcdir@/msg_platform.xml @srcdir@/msg_deployment.xml $@
-$wine ./msg_test@EXEEXT@ @srcdir@/small_platform.xml @srcdir@/small_deployment.xml $@
+$exenv ./msg_test@EXEEXT@ @srcdir@/msg_platform.xml @srcdir@/msg_deployment.xml $@
+$exenv ./msg_test@EXEEXT@ @srcdir@/small_platform.xml @srcdir@/small_deployment.xml $@