* [PATCH 1/1] allow to skip git version tests @ 2020-01-13 9:38 list 2020-01-13 19:52 ` Jason 0 siblings, 1 reply; 4+ messages in thread From: list @ 2020-01-13 9:38 UTC (permalink / raw) From: Christian Hesse <mail at eworm.de> Signed-off-by: Christian Hesse <mail at eworm.de> --- tests/t0001-validate-git-versions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/t0001-validate-git-versions.sh b/tests/t0001-validate-git-versions.sh index 3200f31..73bd32f 100755 --- a/tests/t0001-validate-git-versions.sh +++ b/tests/t0001-validate-git-versions.sh @@ -1,5 +1,9 @@ #!/bin/sh +if [ "${CGIT_TEST_NO_GIT_VERSION}" = "YesPlease" ]; then + exit 0 +fi + test_description='Check Git version is correct' CGIT_TEST_NO_CREATE_REPOS=YesPlease . ./setup.sh ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] allow to skip git version tests 2020-01-13 9:38 [PATCH 1/1] allow to skip git version tests list @ 2020-01-13 19:52 ` Jason 2020-01-13 20:04 ` [PATCH v2 1/1] tests: " list 0 siblings, 1 reply; 4+ messages in thread From: Jason @ 2020-01-13 19:52 UTC (permalink / raw) What's the purpose of this exactly? No justification in the commit message. Is this simply to make testing against different upstream gits simpler? Jason ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/1] tests: allow to skip git version tests 2020-01-13 19:52 ` Jason @ 2020-01-13 20:04 ` list 2020-01-13 20:13 ` Jason 0 siblings, 1 reply; 4+ messages in thread From: list @ 2020-01-13 20:04 UTC (permalink / raw) From: Christian Hesse <mail at eworm.de> This allows to run tests non-tagged git checkout or when bisecting. Signed-off-by: Christian Hesse <mail at eworm.de> --- tests/t0001-validate-git-versions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/t0001-validate-git-versions.sh b/tests/t0001-validate-git-versions.sh index 3200f31..73bd32f 100755 --- a/tests/t0001-validate-git-versions.sh +++ b/tests/t0001-validate-git-versions.sh @@ -1,5 +1,9 @@ #!/bin/sh +if [ "${CGIT_TEST_NO_GIT_VERSION}" = "YesPlease" ]; then + exit 0 +fi + test_description='Check Git version is correct' CGIT_TEST_NO_CREATE_REPOS=YesPlease . ./setup.sh ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/1] tests: allow to skip git version tests 2020-01-13 20:04 ` [PATCH v2 1/1] tests: " list @ 2020-01-13 20:13 ` Jason 0 siblings, 0 replies; 4+ messages in thread From: Jason @ 2020-01-13 20:13 UTC (permalink / raw) Applied, thanks. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-01-13 20:13 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-01-13 9:38 [PATCH 1/1] allow to skip git version tests list 2020-01-13 19:52 ` Jason 2020-01-13 20:04 ` [PATCH v2 1/1] tests: " list 2020-01-13 20:13 ` Jason
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).