summaryrefslogtreecommitdiff
path: root/tests/run.sh
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-09-13 13:22:39 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-09-13 13:22:39 +0200
commitb3cbb52f00e000277c3c74e1e9eab230d8b2d843 (patch)
treefb0c9f981d79a433d7d52dc0ed5377f5689c48ad /tests/run.sh
parente188ca4040ba59b7e61402a3d48c888463b3a4bd (diff)
Update tests
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 ]