From ebbc2c9c0d9536db6397c9fb1933b011df71bc14 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') --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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