Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
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
Baitboat
Commits
0c7e20fe
Commit
0c7e20fe
authored
13 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
autotest: show logs on timeout
parent
860c88c7
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/autotest.py
+8
-0
8 additions, 0 deletions
Tools/autotest/autotest.py
with
8 additions
and
0 deletions
Tools/autotest/autotest.py
+
8
−
0
View file @
0c7e20fe
...
...
@@ -101,6 +101,14 @@ def alarm_handler(signum, frame):
global
results
,
opts
try
:
results
.
add
(
'
TIMEOUT
'
,
'
<span class=
"
failed-text
"
>FAILED</span>
'
,
opts
.
timeout
)
util
.
pexpect_close_all
()
results
.
addfile
(
'
Full Logs
'
,
'
autotest-output.txt
'
)
results
.
addglob
(
'
DataFlash Log
'
,
'
*.flashlog
'
)
results
.
addglob
(
"
MAVLink log
"
,
'
*.mavlog
'
)
results
.
addfile
(
'
ArduPlane build log
'
,
'
ArduPlane.txt
'
)
results
.
addfile
(
'
ArduPlane defaults
'
,
'
ArduPlane.defaults.txt
'
)
results
.
addfile
(
'
ArduCopter build log
'
,
'
ArduCopter.txt
'
)
results
.
addfile
(
'
ArduCopter defaults
'
,
'
ArduCopter.defaults.txt
'
)
write_webresults
(
results
)
os
.
killpg
(
0
,
signal
.
SIGKILL
)
except
Exception
:
...
...
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