From e1b01b205af41828c1462aa1af3efd26a9b5d405 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Nov 2013 20:42:30 +1100 Subject: [PATCH] autotest: fixed clean build --- Tools/autotest/pysim/util.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/pysim/util.py b/Tools/autotest/pysim/util.py index 11c8ac8e73..0ac6887da3 100644 --- a/Tools/autotest/pysim/util.py +++ b/Tools/autotest/pysim/util.py @@ -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