diff options
author | 2017-03-14 15:23:18 -0700 | |
---|---|---|
committer | 2017-03-14 15:23:19 -0700 | |
commit | 228b78752de9d759839665764391262c0ec156cf (patch) | |
tree | f8387c0c8648602b17080811e60b35c8c3a71629 /t/perf/run | |
parent | Merge branch 'mm/fetch-show-error-message-on-unadvertised-object' (diff) | |
parent | t/perf: add fallback for pre-bin-wrappers versions of git (diff) | |
download | tgif-228b78752de9d759839665764391262c0ec156cf.tar.xz |
Merge branch 'jt/perf-updates'
The t/perf performance test suite was not prepared to test not so
old versions of Git, but now it covers versions of Git that are not
so ancient.
* jt/perf-updates:
t/perf: add fallback for pre-bin-wrappers versions of git
t/perf: use $MODERN_GIT for all repo-copying steps
t/perf: export variable used in other blocks
Diffstat (limited to 't/perf/run')
-rwxr-xr-x | t/perf/run | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/perf/run b/t/perf/run index e8adedadfd..c788d713ae 100755 --- a/t/perf/run +++ b/t/perf/run @@ -63,6 +63,9 @@ run_dirs_helper () { unset GIT_TEST_INSTALLED else GIT_TEST_INSTALLED="$mydir/bin-wrappers" + # Older versions of git lacked bin-wrappers; fallback to the + # files in the root. + test -d "$GIT_TEST_INSTALLED" || GIT_TEST_INSTALLED=$mydir export GIT_TEST_INSTALLED fi run_one_dir "$@" |