summaryrefslogtreecommitdiff
path: root/test/end-to-end/with_serve_test_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/end-to-end/with_serve_test_runner.py')
-rwxr-xr-xtest/end-to-end/with_serve_test_runner.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/end-to-end/with_serve_test_runner.py b/test/end-to-end/with_serve_test_runner.py
index 25723a2c..b76aefd9 100755
--- a/test/end-to-end/with_serve_test_runner.py
+++ b/test/end-to-end/with_serve_test_runner.py
@@ -190,6 +190,11 @@ for repo in os.listdir("data"):
stdout=subprocess.PIPE,
stderr=subprocess.DEVNULL,
cwd=target).stdout.decode('utf-8').strip()
+ repos_env["TREE_%d" % count] = subprocess.run(
+ ["git", "log", "-n", "1", "--format=%T"],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.DEVNULL,
+ cwd=target).stdout.decode('utf-8').strip()
# increase counter
count += 1