author | Thomas Rast <trast@student.ethz.ch> | |
Sun, 25 Jul 2010 14:55:46 +0000 (16:55 +0200) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:10:05 +0000 (07:10 +0000) | ||
commit | 3f4c2c0d435a4d61beed1fb0065a23cc093a4e20 | |
tree | a697c6987e3b1d9a4184a4977859e85414701f8c | tree | snapshot |
parent | 44405738a05267a479f01f3b29a0a3b33cb15053 | commit | diff |
gettext tests: locate i18n lib&data correctly under --valgrind
The new t020[01] for gettext support did not find git-sh-i18n and the
translation data when run under --valgrind: lib-gettext.sh tried to
locate them under $GIT_EXEC_PATH, which normally is the git build
directory, but is changed by --valgrind to point to the wrappers.
Introduce a new variable $GIT_BUILD_DIR which can be used to locate
data that resides under the build directory, and use that instead.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
The new t020[01] for gettext support did not find git-sh-i18n and the
translation data when run under --valgrind: lib-gettext.sh tried to
locate them under $GIT_EXEC_PATH, which normally is the git build
directory, but is changed by --valgrind to point to the wrappers.
Introduce a new variable $GIT_BUILD_DIR which can be used to locate
data that resides under the build directory, and use that instead.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
t/lib-gettext.sh | diff | blob | history |