diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index 98b2989835..a5c48284b2 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -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 = []