mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
build: fix handling NMTST_SKIP_PYTHON_BLACK for skipping make check-python-black
test
Fixes: c537852231
('build: optionally skip python black check by setting NMTST_SKIP_PYTHON_BLACK=1')
This commit is contained in:
parent
71eeec8c78
commit
ebbc2c9c0d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue