mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
sitl_run.sh: use correct ROMFS path for tests
This commit is contained in:
@@ -98,7 +98,7 @@ pushd "$rootfs" >/dev/null
|
|||||||
# Do not exit on failure now from here on because we want the complete cleanup
|
# Do not exit on failure now from here on because we want the complete cleanup
|
||||||
set +e
|
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"
|
sitl_command="$sitl_bin $no_pxh $src_path/ROMFS/px4fmu_test -s ${src_path}/${rcS_path}/${model} -t $src_path/test_data"
|
||||||
else
|
else
|
||||||
sitl_command="$sitl_bin $no_pxh $src_path/ROMFS/px4fmu_common -s etc/init.d-posix/rcS -t $src_path/test_data"
|
sitl_command="$sitl_bin $no_pxh $src_path/ROMFS/px4fmu_common -s etc/init.d-posix/rcS -t $src_path/test_data"
|
||||||
|
|||||||
Reference in New Issue
Block a user