Regression tests

This commit is contained in:
o9000 2017-08-30 15:50:31 +02:00
parent b003a2b1e3
commit 016958cb41

View file

@ -196,7 +196,7 @@ def test(tint2path, config):
def main(): def main():
utc_datetime = datetime.datetime.utcnow() utc_datetime = datetime.datetime.utcnow()
print("Last updated:", utc_datetime.strftime("%Y-%m-%d %H:%M UTC")) print("Last updated:", utc_datetime.strftime("%Y-%m-%d %H:%M UTC"))
out, _ = run("git show -s '--format=%H %s'", True).communicate() out, _ = run("git show -s '--format=%h %s'", True).communicate()
print("Last commit:", out.strip()) print("Last commit:", out.strip())
diff, _ = run("git diff", True).communicate() diff, _ = run("git diff", True).communicate()
diff = diff.strip() diff = diff.strip()