summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-11-10 20:20:33 +0100
committerThomas Haller <thaller@redhat.com>2020-11-10 20:21:03 +0100
commitebbc2c9c0d9536db6397c9fb1933b011df71bc14 (patch)
treedccf3aca8006361028e255f6f7ad02c4af823906
parent71eeec8c78b176b890d99f7e6c4d95f9ac65e8ab (diff)
downloadNetworkManager-ebbc2c9c0d9536db6397c9fb1933b011df71bc14.tar.gz
build: fix handling NMTST_SKIP_PYTHON_BLACK for skipping `make check-python-black` test
Fixes: c537852231a6 ('build: optionally skip python black check by setting NMTST_SKIP_PYTHON_BLACK=1')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index dce16fe8c8..e05f759bbc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5329,7 +5329,7 @@ include Makefile.examples
if WITH_PYTHON_BLACK
check-python-black:
- test "$$NMTST_SKIP_PYTHON_BLACK" != 1 && $(BLACK) --check $(top_srcdir) $(top_srcdir)/examples/python/gi/nm-wg-set
+ test "$$NMTST_SKIP_PYTHON_BLACK" == 1 || $(BLACK) --check $(top_srcdir) $(top_srcdir)/examples/python/gi/nm-wg-set
check_local += check-python-black
endif