mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
autotest: avoid a px4-clean for each vehicle type
This commit is contained in:
parent
58a1ead765
commit
1cdaacdaa1
@ -148,7 +148,6 @@ build_arduplane() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
skip_build $tag $ddir || {
|
skip_build $tag $ddir || {
|
||||||
make px4-clean &&
|
|
||||||
make px4 || {
|
make px4 || {
|
||||||
echo "Failed build of ArduPlane PX4 $tag"
|
echo "Failed build of ArduPlane PX4 $tag"
|
||||||
error_count=$((error_count+1))
|
error_count=$((error_count+1))
|
||||||
@ -184,7 +183,6 @@ build_arducopter() {
|
|||||||
popd
|
popd
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
make px4-clean || return
|
|
||||||
rm -rf ../Build.ArduCopter
|
rm -rf ../Build.ArduCopter
|
||||||
for f in $frames; do
|
for f in $frames; do
|
||||||
echo "Building ArduCopter PX4-$f binaries"
|
echo "Building ArduCopter PX4-$f binaries"
|
||||||
@ -231,7 +229,6 @@ build_rover() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
skip_build $tag $ddir || {
|
skip_build $tag $ddir || {
|
||||||
make px4-clean &&
|
|
||||||
make px4 || {
|
make px4 || {
|
||||||
echo "Failed build of APMrover2 PX4 $tag"
|
echo "Failed build of APMrover2 PX4 $tag"
|
||||||
error_count=$((error_count+1))
|
error_count=$((error_count+1))
|
||||||
@ -275,7 +272,6 @@ build_antennatracker() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
skip_build $tag $ddir || {
|
skip_build $tag $ddir || {
|
||||||
make px4-clean &&
|
|
||||||
make px4 || {
|
make px4 || {
|
||||||
echo "Failed build of AntennaTracker PX4 $tag"
|
echo "Failed build of AntennaTracker PX4 $tag"
|
||||||
error_count=$((error_count+1))
|
error_count=$((error_count+1))
|
||||||
@ -291,6 +287,11 @@ build_antennatracker() {
|
|||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# make sure PX4 is rebuilt from scratch
|
||||||
|
pushd ArduPlane
|
||||||
|
make px4-clean || exit 1
|
||||||
|
popd
|
||||||
|
|
||||||
for build in stable beta latest; do
|
for build in stable beta latest; do
|
||||||
build_arduplane $build
|
build_arduplane $build
|
||||||
build_arducopter $build
|
build_arducopter $build
|
||||||
|
Loading…
Reference in New Issue
Block a user