From d39598de6a3f869c34d27474be4dd6041b0b56cc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Nov 2013 21:03:31 +1100 Subject: [PATCH] autotest: use mavflightview.py from $PATH --- Tools/autotest/autotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index 3dda001933..9ca9bca2c0 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -121,7 +121,7 @@ def convert_gpx(): 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('zip %s.kmz %s.kml' % (m, m), checkfail=False) - util.run_cmd(util.reltopdir("../MAVProxy/tools/mavflightview.py") + " --imagefile=%s.png %s" % (m,m)) + util.run_cmd("mavflightview.py --imagefile=%s.png %s" % (m,m)) return True