Browse Source

LogAnalyzer: if no GPS, try GPS2

master
Peter Barker 10 years ago committed by Andrew Tridgell
parent
commit
1dba943a10
  1. 4
      Tools/LogAnalyzer/LogAnalyzer.py

4
Tools/LogAnalyzer/LogAnalyzer.py

@ -77,6 +77,10 @@ class TestSuite(object): @@ -77,6 +77,10 @@ class TestSuite(object):
def run(self, logdata, verbose):
'''run all registered tests in a single call, gathering execution timing info'''
self.logdata = logdata
if 'GPS' not in self.logdata.channels and 'GPS2' in self.logdata.channels:
# *cough*
self.logdata.channels['GPS'] = self.logdata.channels['GPS2']
self.logfile = logdata.filename
for test in self.tests:
# run each test in turn, gathering timing info

Loading…
Cancel
Save