Skip to content
Snippets Groups Projects
Commit d2aa68f6 authored by Beat Küng's avatar Beat Küng Committed by Daniel Agar
Browse files

sitl_run.sh: use correct ROMFS path for tests

parent 83ea7fa4
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ pushd "$rootfs" >/dev/null
# Do not exit on failure now from here on because we want the complete cleanup
set +e
if [[ ${model} == tests* ]]; then
if [[ ${model} == tests* ]] || [[ ${model} == *_generated ]]; then
sitl_command="$sitl_bin $no_pxh $src_path/ROMFS/px4fmu_test -s ${src_path}/${rcS_path}/${model} -t $src_path/test_data"
else
sitl_command="$sitl_bin $no_pxh $src_path/ROMFS/px4fmu_common -s etc/init.d-posix/rcS -t $src_path/test_data"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment