autotest: fixed python path for mavtemplate

This commit is contained in:
Andrew Tridgell 2013-03-12 11:49:43 +11:00
parent ba8d830754
commit 5db1dbd8d1

View File

@ -7,6 +7,7 @@ import optparse, fnmatch, time, glob, traceback, signal
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), 'pysim'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', '..', 'mavlink', 'pymavlink'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', '..', 'mavlink', 'pymavlink', 'generator'))
import util
os.environ['PYTHONUNBUFFERED'] = '1'