summaryrefslogtreecommitdiff
path: root/tests/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh
index c92187c..676d7c7 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -11,7 +11,9 @@ for test in ${tests}
do
printf "%-50s%s %s" "- $(basename $test)" "=>"
cd $test
- timeout $test_timeout ${pythonexec} simulator.py &> "$out"
+ testcmd="${pythonexec} simulator.py"
+ [ -e "platform.yaml" ] && testcmd="esds run platform.yaml"
+ timeout $test_timeout ${testcmd} &> "$out"
# Ensure timeout
if [ $? -eq 124 ]