all repos — cgit @ 5e49023b01e5dfaacfc89199159e53c0c6e41331

a hyperfast web frontend for git written in c

tests: allow to skip git version tests

This allows to run tests non-tagged git checkout or when bisecting.

Signed-off-by: Christian Hesse <mail@eworm.de>
Christian Hesse mail@eworm.de
Mon, 13 Jan 2020 21:04:46 +0100
commit

5e49023b01e5dfaacfc89199159e53c0c6e41331

parent

fa146ccabdd0de746a7076f0630af550e43d9088

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M tests/t0001-validate-git-versions.shtests/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