Skip to content

Commit

Permalink
sitl_run.sh: use correct ROMFS path for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng committed Aug 13, 2018
1 parent 765433b commit 8dd5ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/sitl_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8dd5ff3

Please sign in to comment.