From 7c40df5210312b35f39f8f7188871ed4ef917f4e Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 5 Dec 2023 17:12:57 +0100 Subject: test rule with_serve: Pass also the commit trees to the test script --- test/end-to-end/with_serve_test_runner.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/end-to-end/with_serve_test_runner.py') 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 -- cgit v1.2.3