Update tests

This commit is contained in:
Loic Guegan 2022-09-13 13:22:39 +02:00
parent e188ca4040
commit b3cbb52f00
5 changed files with 40 additions and 8 deletions

View file

@ -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 ]