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

autotest: fixed check of return code for build_all.sh

parent aaab500f
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ def dump_logs(atype):
def build_all():
'''run the build_all.sh script'''
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")
return False
return True
......
......@@ -33,3 +33,5 @@ for d in $examples; do
make
popd
done
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