From a87a3af1ec187ba31a382b86b3c94a330240d50f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Nov 2011 20:05:39 +1100 Subject: [PATCH] create a kmz file thanks to Michael for the tip --- Tools/autotest/autotest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index 3a374843f7..d76b078932 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -59,6 +59,7 @@ def convert_gpx(): gpx = m + '.gpx' kml = m + '.kml' util.run_cmd('gpsbabel -i gpx -f %s -o kml,units=m,floating=1 -F %s' % (gpx, kml), checkfail=False) + util.run_cmd('zip %s.kmz %s.kml' % (m, m), checkfail=False) return True @@ -241,7 +242,7 @@ def run_tests(steps): results.addglob('DataFlash Log', '*.flashlog') results.addglob("MAVLink log", '*.mavlog') 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 code size', 'ArduPlane.sizes.txt') results.addfile('ArduPlane stack sizes', 'ArduPlane.framesizes.txt')