Tools: don't upload failed log on ardupilot server by default

This commit is contained in:
Pierre Kancir 2019-02-28 11:51:43 +01:00 committed by Peter Barker
parent b45e2ed6ab
commit 4ac5fb42cd

View File

@ -455,7 +455,7 @@ class AutoTest(ABC):
self.mavproxy.expect("Finished downloading", timeout=timeout)
self.wait_heartbeat()
self.wait_heartbeat()
if upload_logs and not os.getenv("AUTOTEST_NO_UPLOAD"):
if upload_logs and os.getenv("AUTOTEST_UPLOAD"):
# optionally upload logs to server so we can see travis failure logs
import datetime
import glob