From b3cbb52f00e000277c3c74e1e9eab230d8b2d843 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 13 Sep 2022 13:22:39 +0200 Subject: Update tests --- tests/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/run.sh') 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 ] -- cgit v1.2.3