mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 02:48:28 -04:00
autotest: fixed the directory that the git hash is fetched in
This commit is contained in:
parent
df2ef6ff47
commit
2f1f5f14f5
@ -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).strip()
|
self.githash = util.run_cmd('git rev-parse HEAD', output=True, dir=util.reltopdir('.')).strip()
|
||||||
self.tests = []
|
self.tests = []
|
||||||
self.files = []
|
self.files = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user