Browse Source

autotest: fixed clean build

mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
e1b01b205a
  1. 5
      Tools/autotest/pysim/util.py

5
Tools/autotest/pysim/util.py

@ -60,7 +60,10 @@ def deltree(path): @@ -60,7 +60,10 @@ def deltree(path):
def build_SIL(atype, target='sitl'):
'''build desktop SIL'''
run_cmd("make clean %s" % target,
run_cmd("make clean",
dir=reltopdir(atype),
checkfail=True)
run_cmd("make %s" % target,
dir=reltopdir(atype),
checkfail=True)
return True

Loading…
Cancel
Save