[apparmor] [PATCH] tests: Make the regression tests easier to debug
Steve Beattie
steve at nxnw.org
Tue Jun 10 17:46:24 UTC 2014
On Tue, Jun 10, 2014 at 12:09:02PM -0500, Tyler Hicks wrote:
> Add debugging info to test binaries and disable optimizations.
>
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
Acked-by: Steve Beattie <steve at nxnw.org>
> ---
> tests/regression/apparmor/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/regression/apparmor/Makefile b/tests/regression/apparmor/Makefile
> index 55f59a3..2a420b8 100644
> --- a/tests/regression/apparmor/Makefile
> +++ b/tests/regression/apparmor/Makefile
> @@ -46,7 +46,7 @@ libapparmor by adding USE_SYSTEM=1 to your make command.${nl}\
> LDLIBS += -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread
> endif # USE_SYSTEM
>
> -CFLAGS += -Wall -Wstrict-prototypes
> +CFLAGS += -g -O0 -Wall -Wstrict-prototypes
>
> SRC=access.c \
> introspect.c \
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140610/f12cea56/attachment.pgp>
More information about the AppArmor
mailing list