Core: Support regression test for IPC model

Regression tests contain library model test cases, which is not
working while TF-M runs under IPC model. Fix this problem by:
1.Make secure client service IPC compatible
2.Disable library model test cases in IPC model
3.Comment non-secure core test cases in IPC level 2 model

Change-Id: Ic7c3a336b4efe888625f904ef44cbbadc3a8d987
Signed-off-by: Summer Qin <summer.qin@arm.com>
diff --git a/test/framework/secure_suites.c b/test/framework/secure_suites.c
index 0b4c918..b7426ec 100644
--- a/test/framework/secure_suites.c
+++ b/test/framework/secure_suites.c
@@ -35,6 +35,11 @@
     {&register_testsuite_s_rollback_protection, 0, 0, 0},
 #endif
 
+#ifndef TFM_PSA_API
+    /*
+     * FixMe: since the following partitions haven't implement the IPC model,
+     * they will block the process. Skip them in IPC model.
+     */
     /* Secure Audit Logging test cases */
     {&register_testsuite_s_audit_interface, 0, 0, 0},
 
@@ -43,6 +48,7 @@
 
     /* Secure initial attestation service test cases */
     {&register_testsuite_s_attestation_interface, 0, 0, 0},
+#endif
 
 #ifdef TFM_PARTITION_TEST_CORE
     /* Secure invert test cases */