From f442a0a1b71118686d75f515f4baf2e781b5f9aa Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 11 Dec 2018 10:32:28 +1100 Subject: [PATCH] Tools: autotest: remove bad calls to progress --- Tools/autotest/arducopter.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index d7d51ee347..f202f121b7 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -624,7 +624,6 @@ class AutoTestCopter(AutoTest): self.wait_mode('LAND') self.mavproxy.send('switch 6\n') # stabilize mode self.wait_mode('STABILIZE') - self.progress() raise AutoTestTimeoutException( ("Fence test failed to reach home - " "timed out after %u seconds" % timeout)) @@ -761,7 +760,6 @@ class AutoTestCopter(AutoTest): moved_distance = self.get_distance(curr_pos, start_pos) self.progress("Alt: %u Moved: %.0f" % (alt, moved_distance)) if moved_distance > max_distance: - self.progress() raise NotAchievedException( "Moved over %u meters, Failed!" % max_distance) @@ -1089,7 +1087,6 @@ class AutoTestCopter(AutoTest): # near enough for now: return - self.progress() raise NotAchievedException("AUTOTUNE failed (%u seconds)" % (self.get_sim_time() - tstart))