From b9f802122ae5a5a654a82445f2eff96f9fc539ef Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 10 Nov 2020 20:20:33 +0100 Subject: [PATCH] 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') (cherry picked from commit ebbc2c9c0d9536db6397c9fb1933b011df71bc14) --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 0d02d3ff52..e242c3d0d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5302,7 +5302,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