mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
sitl_run.sh: use correct ROMFS path for tests
This commit is contained in:
parent
83ea7fa45e
commit
d2aa68f62c
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user