From: list at eworm.de (Christian Hesse)
Subject: [PATCH v2 1/1] tests: allow to skip git version tests
Date: Mon, 13 Jan 2020 21:04:46 +0100 [thread overview]
Message-ID: <20200113200446.33731-1-list@eworm.de> (raw)
In-Reply-To: <CAHmME9qbqDps9rKjqP+_3suBzFfK3cDeygGXeNhWLx9QR422jQ@mail.gmail.com>
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
next prev parent reply other threads:[~2020-01-13 20:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-13 9:38 [PATCH 1/1] " list
2020-01-13 19:52 ` Jason
2020-01-13 20:04 ` list [this message]
2020-01-13 20:13 ` [PATCH v2 1/1] tests: " Jason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200113200446.33731-1-list@eworm.de \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).