Fix for tf-m-nightly-performance
This patch fixes the building for certain jobs which were failing when
designated as PROF (for profiling).
Signed-off-by: Matthew Dalzell <matthew.dalzell@arm.com>
Change-Id: I875db0ea984835d5b6599397f01578cb357e7697
diff --git a/tfm_ci_pylib/tfm_build_manager.py b/tfm_ci_pylib/tfm_build_manager.py
index 3eaffc7..1c59d95 100644
--- a/tfm_ci_pylib/tfm_build_manager.py
+++ b/tfm_ci_pylib/tfm_build_manager.py
@@ -415,8 +415,8 @@
overwrite_params["spe_root_dir"] = build_cfg["codebase_root_dir"] + "/../tf-m-tests/tests_psa_arch/spe"
overwrite_params["nspe_root_dir"] = build_cfg["codebase_root_dir"] + "/../tf-m-tests/tests_psa_arch"
elif "PROF" in i.extra_params:
- overwrite_params["spe_root_dir"] = build_cfg["codebase_root_dir"]
- overwrite_params["nspe_root_dir"] = build_cfg["codebase_root_dir"] + "/../tf-m-tools/profiling/profiling_cases/tfm_profiling"
+ overwrite_params["spe_root_dir"] = build_cfg["codebase_root_dir"] + "/../tf-m-tests/tests_reg/spe"
+ overwrite_params["nspe_root_dir"] = build_cfg["codebase_root_dir"] + "/../tf-m-tests/tests_reg"
# Overwrite commands for building TF-M image
build_cfg["spe_config_template"] %= overwrite_params