autotest: fixed clean build

This commit is contained in:
Andrew Tridgell 2013-11-04 20:42:30 +11:00
parent 231b5ab793
commit e1b01b205a

View File

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