autotest: show log numbers while dumping

This commit is contained in:
Andrew Tridgell 2011-11-28 14:12:40 +11:00
parent 02ba05aa0f
commit ab3e933f11
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ def dump_logs(atype):
lognums.append(int(mavproxy.match.group(1))) lognums.append(int(mavproxy.match.group(1)))
mavproxy.expect("Log]") mavproxy.expect("Log]")
for i in range(numlogs): for i in range(numlogs):
print("Dumping log %u (i=%u)" % (lognums[i], i))
mavproxy.send("dump %u\n" % lognums[i]) mavproxy.send("dump %u\n" % lognums[i])
mavproxy.expect("logs enabled:", timeout=400) mavproxy.expect("logs enabled:", timeout=400)
mavproxy.expect("Log]") mavproxy.expect("Log]")