diff options
author | Thomas Haller <thaller@redhat.com> | 2020-12-11 16:04:15 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-12-11 16:08:46 +0100 |
commit | 76f3cf41ac7c7bb488a8cce6feb673eba861ad8f (patch) | |
tree | fff93c257808ae13a6e974f52213d46d45a6b587 /tools | |
parent | e5699dbcb7aa56b49b9fae442e61fc254249b595 (diff) | |
download | NetworkManager-76f3cf41ac7c7bb488a8cce6feb673eba861ad8f.tar.gz |
tests: allow to skip check-local-gitlab-ci via "$NMTST_SKIP_CHECK_GITLAB_CI"
This will be used on our gitlab-ci tests. We do have a separate,
dedicated test on gitlab-ci for checking that "gitlab-ci.yml" is
correct.
We may intentionally want to violate that condition, but then our
`make check` should not fail.
Add a way to skip that test.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/check-gitlab-ci.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/check-gitlab-ci.sh b/tools/check-gitlab-ci.sh index da5fcc597b..30e64a99fa 100755 --- a/tools/check-gitlab-ci.sh +++ b/tools/check-gitlab-ci.sh @@ -2,6 +2,10 @@ set -e +if [ "$NMTST_SKIP_CHECK_GITLAB_CI" = 1 ]; then + exit 0 +fi + if [ $# -eq 0 ] ; then BASEDIR="$(dirname "$(readlink -f "$0")")/.." elif [ $# -eq 1 ] ; then |