diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-13 13:22:39 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-13 13:22:39 +0200 |
| commit | b3cbb52f00e000277c3c74e1e9eab230d8b2d843 (patch) | |
| tree | fb0c9f981d79a433d7d52dc0ed5377f5689c48ad /tests/run.sh | |
| parent | e188ca4040ba59b7e61402a3d48c888463b3a4bd (diff) | |
Update tests
Diffstat (limited to 'tests/run.sh')
| -rwxr-xr-x | tests/run.sh | 4 |
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 ] |
