Skip to content
Snippets Groups Projects
Commit 891f3583 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

Tools: added build_all_px4.sh

this brings px4 into autotest
parent 2f677acf
No related branches found
No related tags found
No related merge requests found
......@@ -43,4 +43,9 @@ for d in $examples; do
popd
done
. config.mk
test -n "$PX4_ROOT" && test -d "$PX4_ROOT" && {
./Tools/scripts/build_all_px4.sh
}
exit 0
#!/bin/bash
# build all targets for PX4
# This helps when doing large merges
# Andrew Tridgell, February 2013
set -e
set -x
. config.mk
echo "Testing ArduPlane build"
pushd ArduPlane
make px4-clean
make px4
popd
echo "Testing ArduCopter build"
pushd ArduCopter
make px4-clean
make px4
popd
echo "Testing APMrover2 build"
pushd APMrover2
make px4-clean
make px4
popd
echo "Testing PX4IO build"
pushd "$PX4_ROOT"
make clean
make configure_px4io
make
make clean
make configure_px4fmu
popd
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment