Add Config Group for Coverage
Code coverage tool only needs bins on AN519&AN521 with GCC.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I71874d9bf815604e8a445d9d93caa0c8a848684f
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index 9af1cfd..48c0689 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -892,6 +892,42 @@
"invalid": _common_tfm_invalid_configs + []
}
+config_cov_an519 = {"seed_params": {
+ "tfm_platform": ["arm/mps2/an519"],
+ "toolchain_file": ["toolchain_GNUARM.cmake"],
+ "psa_api": [True, False],
+ "isolation_level": ["1", "2", "3"],
+ "test_regression": [True, False],
+ "test_psa_api": ["OFF"],
+ "cmake_build_type": ["Debug", "Release"],
+ "with_otp": ["off"],
+ "with_bl2": [True],
+ "with_ns": [True],
+ "profile": ["", "profile_small", "profile_medium"],
+ "partition_ps": ["ON", "OFF"],
+ },
+ "common_params": _common_tfm_builder_cfg,
+ "invalid": _common_tfm_invalid_configs + []
+ }
+
+config_cov_an521 = {"seed_params": {
+ "tfm_platform": ["arm/mps2/an521"],
+ "toolchain_file": ["toolchain_GNUARM.cmake"],
+ "psa_api": [True, False],
+ "isolation_level": ["1", "2", "3"],
+ "test_regression": [True, False],
+ "test_psa_api": ["OFF"],
+ "cmake_build_type": ["Debug", "Release", "Minsizerel"],
+ "with_otp": ["off"],
+ "with_bl2": [True],
+ "with_ns": [True],
+ "profile": ["", "profile_small", "profile_medium", "profile_large"],
+ "partition_ps": ["ON", "OFF"],
+ },
+ "common_params": _common_tfm_builder_cfg,
+ "invalid": _common_tfm_invalid_configs + []
+ }
+
# Configruation used for document building
config_doxygen = {"common_params": {
"config_type": "tf-m_documents",
@@ -998,6 +1034,10 @@
"pp_PSA_API": config_pp_PSA_API,
"pp_psoc64": config_pp_PSoC64,
+ #code coverage test group
+ "coverage_an519": config_cov_an519,
+ "coverage_an521": config_cov_an521,
+
#full test group in the old CI
"full": config_full,