#! @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.xml