summaryrefslogtreecommitdiff
path: root/t/perf/perf-lib.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2019-05-07 10:54:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-08 02:00:28 (GMT)
commitc43b7e6089629b05d5af6995e99d5149ae5c3621 (patch)
treed227b3a20583ba69ad6cf538507aef272272d125 /t/perf/perf-lib.sh
parent9bb81452ffce9481f7613868ab9c8be998529bd6 (diff)
downloadgit-c43b7e6089629b05d5af6995e99d5149ae5c3621.zip
git-c43b7e6089629b05d5af6995e99d5149ae5c3621.tar.gz
git-c43b7e6089629b05d5af6995e99d5149ae5c3621.tar.bz2
perf aggregate: remove GIT_TEST_INSTALLED from --codespeed
Remove the setting of the "environment" from the --codespeed output. I don't think this is useful, and it helps with a later refactoring where we GIT_TEST_INSTALLED stop munging/reading GIT_TEST_INSTALLED in the perf tests in so many places. This was added in 05eb1c37ed ("perf/aggregate: implement codespeed JSON output", 2018-01-05), but since the "run" scripts uses "GIT_TEST_INSTALLED" internally this was only ever useful for one-off runs of a single revision as all the "environment" values would be ones for whatever directory the "run" script ran last. Let's instead fall back on the "uname -r" case, which is the sort of thing the environment should be set to, not something that duplicates other parts of the codpseed output. For setting the "environment" to something custom the perf.repoName variable can be used. See 19cf57a92e ("perf/run: read GIT_PERF_REPO_NAME from perf.repoName", 2018-01-05). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Diffstat (limited to 't/perf/perf-lib.sh')
0 files changed, 0 insertions, 0 deletions