Browse Source

autotest: fixed git hash parsing

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

2
Tools/autotest/autotest.py

@ -193,7 +193,7 @@ class TestResults(object): @@ -193,7 +193,7 @@ class TestResults(object):
'''test results class'''
def __init__(self):
self.date = time.asctime()
self.githash = util.loadfile(util.reltopdir('.git/refs/heads/master'))
self.githash = util.run_cmd('git rev-parse HEAD', output=True)
self.tests = []
self.files = []

Loading…
Cancel
Save