On Wed, Feb 23, 2022 at 2:27 AM Christian Göttsche <cgzones@xxxxxxxxxxxxxx> wrote: > > Add a Makefile target which build newrole with all combinations of > supported build options. > > Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> Acked-by: James Carter <jwcart2@xxxxxxxxx> > --- > policycoreutils/newrole/Makefile | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/policycoreutils/newrole/Makefile b/policycoreutils/newrole/Makefile > index 4dedb7dd..b3ccf671 100644 > --- a/policycoreutils/newrole/Makefile > +++ b/policycoreutils/newrole/Makefile > @@ -91,3 +91,16 @@ indent: > > relabel: install > /sbin/restorecon $(DESTDIR)$(BINDIR)/newrole > + > +test-build-options: > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=y clean newrole > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=y clean newrole > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=y clean newrole > + $(MAKE) PAMH=y AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=y clean newrole > + $(MAKE) PAMH=y AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=n AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=n AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=n AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > + $(MAKE) clean > -- > 2.35.1 >