mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 01:03:33 +08:00
Add unit test for dynamically loading modules on posix.
This commit is contained in:
@@ -8,6 +8,7 @@ program="$3"
|
||||
model="$4"
|
||||
src_path="$5"
|
||||
build_path="$6"
|
||||
# The rest of the arguments are files to copy into the working dir.
|
||||
|
||||
echo SITL ARGS
|
||||
|
||||
@@ -58,6 +59,11 @@ pkill -x px4_$model || true
|
||||
cp $src_path/Tools/posix_lldbinit $rootfs/.lldbinit
|
||||
cp $src_path/Tools/posix.gdbinit $rootfs/.gdbinit
|
||||
|
||||
shift 6
|
||||
for file in "$@"; do
|
||||
cp "$file" $rootfs/
|
||||
done
|
||||
|
||||
SIM_PID=0
|
||||
|
||||
if [ "$program" == "jmavsim" ] && [ ! -n "$no_sim" ]
|
||||
|
||||
Reference in New Issue
Block a user