mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 11:19:16 +02:00
contrib/rh-bkr: add a warning
This commit is contained in:
parent
834c331f68
commit
f4505bd88a
1 changed files with 2 additions and 0 deletions
|
|
@ -849,6 +849,8 @@ class CmdSubmit(CmdBase):
|
||||||
|
|
||||||
def _get_var_for_VALGRIND(self, key):
|
def _get_var_for_VALGRIND(self, key):
|
||||||
if self._get_var('VALGRIND') is not None or self.options.valgrind:
|
if self._get_var('VALGRIND') is not None or self.options.valgrind:
|
||||||
|
if self._get_var_for_SELINUX_DISABLED('SELINUX_DISABLED') == '':
|
||||||
|
raise Exception("Valgrind wrapping won't work with SELinux enabled")
|
||||||
return 'valgrind'
|
return 'valgrind'
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue