ci(tf-cov-make): remove redundant cloning of tf-m* repo
Optimize the tf-a-coverity job by eliminating redundant
cloning of the tf-m tests and extras repository.
This duplication has become unnecessary as the tf-a-coverity
job already handles the cloning of these repositories.
Additionally, recent TF-A modifications have shifted towards
utilizing the 'main' branches of these repositories, making
the extra cloning step obsolete.
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Change-Id: I42b8e0720cfd47b77fbd71f15adb81a183b1a2f9
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index 4005e2f..2c8ed85 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -34,23 +34,6 @@
git clone -q --depth 1 -b "$MBED_TLS_SOURCES_TAG" "$MBED_TLS_URL_REPO" "$MBED_TLS_DIR"
fi
-# Get TF-M tests and extras repo for TC build with tf-m test suite.
-if [ ! -d "$TF_M_TESTS_DIR" ]; then
- git clone "$TF_M_TESTS_URL_REPO" "$TF_M_TESTS_DIR"
- cd "$TF_M_TESTS_DIR"
- git checkout main
-fi
-
-cd "$TF_SOURCES"
-
-if [ ! -d "$TF_M_EXTRAS_DIR" ]; then
- git clone "$TF_M_EXTRAS_URL_REPO" "$TF_M_EXTRAS_DIR"
- cd "$TF_M_EXTRAS_DIR"
- git checkout main
-fi
-
-cd "$TF_SOURCES"
-
if [ ! -d "$QCBOR_LIB_DIR" ]; then
git clone "$QCBOR_URL_REPO" "$QCBOR_LIB_DIR"
cd "$QCBOR_LIB_DIR"
@@ -340,7 +323,7 @@
clean_build $(common_flags) PLAT=tc TARGET_PLATFORM=2 ${ARM_TBB_OPTIONS} PLATFORM_TEST=rss-rotpk
clean_build $(common_flags) PLAT=tc TARGET_PLATFORM=2 ${ARM_TBB_OPTIONS} PLATFORM_TEST=rss-nv-counters
clean_build $(common_flags) PLAT=tc TARGET_PLATFORM=2 ${ARM_TBB_OPTIONS} PLATFORM_TEST=tfm-testsuite \
- MEASURED_BOOT=1 TF_M_TESTS_PATH=$(pwd)/tf-m-tests TF_M_EXTRAS_PATH=$(pwd)/tf-m-extras
+ MEASURED_BOOT=1 TF_M_TESTS_PATH=$(pwd)/../tf-m-tests TF_M_EXTRAS_PATH=$(pwd)/../tf-m-extras
#
# Morello platform