mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-09 01:13:57 -04:00
autotest: allow run without $PATH setup
This commit is contained in:
parent
01eb27908f
commit
338ae68537
@ -21,6 +21,6 @@ else
|
|||||||
echo "Window access not found, logging to $filename"
|
echo "Window access not found, logging to $filename"
|
||||||
cmd="$1"
|
cmd="$1"
|
||||||
shift
|
shift
|
||||||
( run_cmd.sh $cmd $* &>$filename < /dev/null ) &
|
( $AUTOTEST/run_cmd.sh $cmd $* &>$filename < /dev/null ) &
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -285,6 +285,8 @@ pushd $autotest/../../$VEHICLE || {
|
|||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
AUTOTEST=$autotest
|
||||||
|
export AUTOTEST
|
||||||
VEHICLEDIR=$(pwd)
|
VEHICLEDIR=$(pwd)
|
||||||
|
|
||||||
if [ $NO_REBUILD == 0 ]; then
|
if [ $NO_REBUILD == 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user