mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -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"
|
||||
cmd="$1"
|
||||
shift
|
||||
( run_cmd.sh $cmd $* &>$filename < /dev/null ) &
|
||||
( $AUTOTEST/run_cmd.sh $cmd $* &>$filename < /dev/null ) &
|
||||
fi
|
||||
exit 0
|
||||
|
@ -285,6 +285,8 @@ pushd $autotest/../../$VEHICLE || {
|
||||
usage
|
||||
exit 1
|
||||
}
|
||||
AUTOTEST=$autotest
|
||||
export AUTOTEST
|
||||
VEHICLEDIR=$(pwd)
|
||||
|
||||
if [ $NO_REBUILD == 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user