Browse Source

autotest: fixed displayed git hash in autotest

master
Andrew Tridgell 13 years ago
parent
commit
d574c78c2c
  1. 2
      Tools/autotest/autotest.py

2
Tools/autotest/autotest.py

@ -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…
Cancel
Save