lib/audit_logging: Remove #ifdef HAVE_JANSSON from audit_logging_test binary
authorAndrew Bartlett <abartlet@samba.org>
Thu, 31 May 2018 18:42:24 +0000 (06:42 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Jun 2018 06:28:26 +0000 (08:28 +0200)
commit0f5f8f1312ee8c52d0a21f5435d92cc8543ef934
treec5ba9bb6dda19eb68ed865af6189a54255c77fb5
parent48ad90d93be8d863ce4c1be7cab6f1d60ed61257
lib/audit_logging: Remove #ifdef HAVE_JANSSON from audit_logging_test binary

Instead, we either build or do not build the entire binary.

This is much more likely to raise an error in make test if the build system
changes.  The concern is that HAVE_JANSSON can go away and the tests just vanish.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/audit_logging/tests/audit_logging_test.c
lib/audit_logging/wscript_build