Build: Add option to enable or disable Audit Log

Adds a build option that makes it possible to enable or disable the
TF-M Audit Log partition. The option TFM_PARTITION_AUDIT_LOG can be
provided in the CMake configure command, and is enabled by default if
not supplied.

Change-Id: Ib60f22aeb62652e34a1ac43a61154288e6d989b3
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
diff --git a/test/framework/non_secure_suites.c b/test/framework/non_secure_suites.c
index ba37848..e0f9d13 100644
--- a/test/framework/non_secure_suites.c
+++ b/test/framework/non_secure_suites.c
@@ -55,8 +55,10 @@
      * FixMe: skip below test cases temporary since target service is not
      * IPC compatible yet.
      */
+#ifdef ENABLE_AUDIT_LOGGING_SERVICE_TESTS
     /* Non-secure Audit Logging test cases */
     {&register_testsuite_ns_audit_interface, 0, 0, 0},
+#endif
 
 #endif
 
diff --git a/test/framework/secure_suites.c b/test/framework/secure_suites.c
index 3c86fa2..8eda21f 100644
--- a/test/framework/secure_suites.c
+++ b/test/framework/secure_suites.c
@@ -46,8 +46,10 @@
      * FixMe: since the following partitions haven't implement the IPC model,
      * they will block the process. Skip them in IPC model.
      */
+#ifdef ENABLE_AUDIT_LOGGING_SERVICE_TESTS
     /* Secure Audit Logging test cases */
     {&register_testsuite_s_audit_interface, 0, 0, 0},
+#endif
 
 #endif