mirror of https://github.com/ArduPilot/ardupilot
autotest: re-adding KMZ track
This commit is contained in:
parent
2112f74324
commit
d4aa61e97e
|
@ -60,6 +60,7 @@ def convert_gpx():
|
||||||
gpx = m + '.gpx'
|
gpx = m + '.gpx'
|
||||||
kml = m + '.kml'
|
kml = m + '.kml'
|
||||||
util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1,extrude=1 -F %s' % (gpx, kml), checkfail=False)
|
util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1,extrude=1 -F %s' % (gpx, kml), checkfail=False)
|
||||||
|
util.run_cmd('zip %s.kmz %s.kml' % (m, m), checkfail=False)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
@ -250,7 +251,7 @@ def run_tests(steps):
|
||||||
results.addglob('DataFlash Log', '*.flashlog')
|
results.addglob('DataFlash Log', '*.flashlog')
|
||||||
results.addglob("MAVLink log", '*.mavlog')
|
results.addglob("MAVLink log", '*.mavlog')
|
||||||
results.addglob("GPX track", '*.gpx')
|
results.addglob("GPX track", '*.gpx')
|
||||||
results.addglob("KML track", '*.kml')
|
results.addglob("KMZ track", '*.kmz')
|
||||||
results.addfile('ArduPlane build log', 'ArduPlane.txt')
|
results.addfile('ArduPlane build log', 'ArduPlane.txt')
|
||||||
results.addfile('ArduPlane code size', 'ArduPlane.sizes.txt')
|
results.addfile('ArduPlane code size', 'ArduPlane.sizes.txt')
|
||||||
results.addfile('ArduPlane stack sizes', 'ArduPlane.framesizes.txt')
|
results.addfile('ArduPlane stack sizes', 'ArduPlane.framesizes.txt')
|
||||||
|
|
Loading…
Reference in New Issue