autotest: pass any supplied -j through to waf make

This commit is contained in:
Peter Barker 2016-06-05 09:45:58 +10:00
parent 3969bde84a
commit efef39732e

View File

@ -86,6 +86,8 @@ def build_SIL(build_target, j=None, debug=False, board='sitl'):
# then build
cmd_make = [relwaf(), "build", "--target", build_target]
if j is not None:
cmd_make.extend(['-j', str(j)])
run_cmd(cmd_make, dir=topdir(), checkfail=True, show=True)
return True