autotest: fixed check of return code for build_all.sh

This commit is contained in:
Andrew Tridgell 2012-02-20 09:16:57 +11:00
parent aaab500fe3
commit 9f79455ecc
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -33,3 +33,5 @@ for d in $examples; do
make make
popd popd
done done
exit 0