Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
b666680d
Commit
b666680d
authored
11 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
autotest: erase logs after downloading
parent
6121b9c5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tools/autotest/common.py
+3
-0
3 additions, 0 deletions
Tools/autotest/common.py
with
3 additions
and
0 deletions
Tools/autotest/common.py
+
3
−
0
View file @
b666680d
...
@@ -251,5 +251,8 @@ def log_download(mavproxy, mav, filename, timeout=60):
...
@@ -251,5 +251,8 @@ def log_download(mavproxy, mav, filename, timeout=60):
mav
.
wait_heartbeat
()
mav
.
wait_heartbeat
()
mavproxy
.
send
(
"
log download latest %s
\n
"
%
filename
)
mavproxy
.
send
(
"
log download latest %s
\n
"
%
filename
)
mavproxy
.
expect
(
"
Finished downloading
"
,
timeout
=
timeout
)
mavproxy
.
expect
(
"
Finished downloading
"
,
timeout
=
timeout
)
mavproxy
.
send
(
"
log erase
\n
"
)
mav
.
wait_heartbeat
()
mav
.
wait_heartbeat
()
return
True
return
True
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment