From 8dd5ff380ac37db838ab38e56551dbd802693610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Mon, 13 Aug 2018 13:31:54 +0200 Subject: [PATCH] sitl_run.sh: use correct ROMFS path for tests --- Tools/sitl_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/sitl_run.sh b/Tools/sitl_run.sh index 0ae6187d7cc2..5a90cf949d28 100755 --- a/Tools/sitl_run.sh +++ b/Tools/sitl_run.sh @@ -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"