From efef39732eab85d962a1a11f3a23b85dff38926d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 5 Jun 2016 09:45:58 +1000 Subject: [PATCH] autotest: pass any supplied -j through to waf make --- Tools/autotest/pysim/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/autotest/pysim/util.py b/Tools/autotest/pysim/util.py index 13c092e7fb..07e3d1158f 100644 --- a/Tools/autotest/pysim/util.py +++ b/Tools/autotest/pysim/util.py @@ -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