mirror of https://github.com/ArduPilot/ardupilot
autotest: fixed displayed git hash in autotest
This commit is contained in:
parent
6b8b3e2287
commit
d4572e841c
|
@ -193,7 +193,7 @@ class TestResults(object):
|
||||||
'''test results class'''
|
'''test results class'''
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.date = time.asctime()
|
self.date = time.asctime()
|
||||||
self.githash = util.run_cmd('git rev-parse HEAD', output=True)
|
self.githash = util.run_cmd('git rev-parse HEAD', output=True).strip()
|
||||||
self.tests = []
|
self.tests = []
|
||||||
self.files = []
|
self.files = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue