mirror of https://github.com/ArduPilot/ardupilot
autotest: fixed check of return code for build_all.sh
This commit is contained in:
parent
aaab500fe3
commit
9f79455ecc
|
@ -71,7 +71,7 @@ def dump_logs(atype):
|
||||||
def build_all():
|
def build_all():
|
||||||
'''run the build_all.sh script'''
|
'''run the build_all.sh script'''
|
||||||
print("Running build_all.sh")
|
print("Running build_all.sh")
|
||||||
if not util.run_cmd(util.reltopdir('Tools/scripts/build_all.sh'), dir=util.reltopdir('.')):
|
if util.run_cmd(util.reltopdir('Tools/scripts/build_all.sh'), dir=util.reltopdir('.')) != 0:
|
||||||
print("Failed build_all.sh")
|
print("Failed build_all.sh")
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -33,3 +33,5 @@ for d in $examples; do
|
||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue