aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2019-08-27 15:32:38 +0800
committerDavid Hu <david.hu@arm.com>2019-09-09 09:47:45 +0800
commitf2cfa12f2dd0066f6a277811eafaf74f90480d5c (patch)
tree05a76c7099ea7d4efe5050ebcd2b53261b841ee1 /configs
parent092fdd3a2e0496b705f695cb49b7d3198337642c (diff)
downloadtrusted-firmware-m-f2cfa12f2dd0066f6a277811eafaf74f90480d5c.tar.gz
Test: Decouple control logic between Core test, IPC test and Regression test
Decouple the control flag and logic between Core test, IPC test and Regression test. CORE_TEST, IPC_TEST, REGRESSION can control Core test, IPC test and Regression test respectively. Change-Id: I0952e7572abe0229b9a09022484573e8805b16b3 Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/ConfigCoreIPC.cmake5
-rw-r--r--configs/ConfigCoreIPCTfmLevel2.cmake5
-rw-r--r--configs/ConfigRegressionIPC.cmake5
-rw-r--r--configs/ConfigRegressionIPCTfmLevel2.cmake5
4 files changed, 16 insertions, 4 deletions
diff --git a/configs/ConfigCoreIPC.cmake b/configs/ConfigCoreIPC.cmake
index 87b0c67e85..16b032b9da 100644
--- a/configs/ConfigCoreIPC.cmake
+++ b/configs/ConfigCoreIPC.cmake
@@ -29,12 +29,15 @@ else()
message(FATAL_ERROR "ERROR: Target \"${TARGET_PLATFORM}\" is not supported.")
endif()
+# Select IPC model
+set (CORE_IPC True)
+
##These variables select how the projects are built. Each project will set
#various project specific settings (e.g. what files to build, macro
#definitions) based on these.
set (REGRESSION False)
set (CORE_TEST False)
-set (CORE_IPC True)
+set (IPC_TEST False)
set (PSA_API_TEST False)
# TF-M isolation level: 1, 2
diff --git a/configs/ConfigCoreIPCTfmLevel2.cmake b/configs/ConfigCoreIPCTfmLevel2.cmake
index 12eb09b0eb..11b316fb59 100644
--- a/configs/ConfigCoreIPCTfmLevel2.cmake
+++ b/configs/ConfigCoreIPCTfmLevel2.cmake
@@ -29,12 +29,15 @@ else()
message(FATAL_ERROR "ERROR: Target \"${TARGET_PLATFORM}\" is not supported.")
endif()
+# Select IPC model
+set (CORE_IPC True)
+
##These variables select how the projects are built. Each project will set
#various project specific settings (e.g. what files to build, macro
#definitions) based on these.
set (REGRESSION False)
set (CORE_TEST False)
-set (CORE_IPC True)
+set (IPC_TEST False)
set (PSA_API_TEST False)
# TF-M isolation level: 1, 2
diff --git a/configs/ConfigRegressionIPC.cmake b/configs/ConfigRegressionIPC.cmake
index 23b90c7e64..ed8c7abf13 100644
--- a/configs/ConfigRegressionIPC.cmake
+++ b/configs/ConfigRegressionIPC.cmake
@@ -29,12 +29,15 @@ else()
message(FATAL_ERROR "ERROR: Target \"${TARGET_PLATFORM}\" is not supported.")
endif()
+# Select IPC model
+set (CORE_IPC True)
+
##These variables select how the projects are built. Each project will set
#various project specific settings (e.g. what files to build, macro
#definitions) based on these.
set (REGRESSION True)
set (CORE_TEST True)
-set (CORE_IPC True)
+set (IPC_TEST True)
set (PSA_API_TEST False)
# TF-M isolation level: 1, 2
diff --git a/configs/ConfigRegressionIPCTfmLevel2.cmake b/configs/ConfigRegressionIPCTfmLevel2.cmake
index a83249fb03..992e6aef8b 100644
--- a/configs/ConfigRegressionIPCTfmLevel2.cmake
+++ b/configs/ConfigRegressionIPCTfmLevel2.cmake
@@ -29,12 +29,15 @@ else()
message(FATAL_ERROR "ERROR: Target \"${TARGET_PLATFORM}\" is not supported.")
endif()
+# Select IPC model
+set (CORE_IPC True)
+
##These variables select how the projects are built. Each project will set
#various project specific settings (e.g. what files to build, macro
#definitions) based on these.
set (REGRESSION True)
set (CORE_TEST True)
-set (CORE_IPC True)
+set (IPC_TEST True)
set (PSA_API_TEST False)
# TF-M isolation level: 1, 2