clone.sh: Parse tf-m-tests version from TF-M commit msg
With TF-M split build feature, tf-m-tests version is no more specified
in TF-M CMake settings. To support CI per-patch job to fetch the correct
tf-m-tests version to be tested together with TF-M patch, developers can
specify the tf-m-tests version to be used by adding a new line in TF-M
commit message in format:
Depend on tf-m-tests <commit ID>
With this patch, TF-M per-patch test will try to parse TF-M commit
message first. If there is tf-m-tests version specified in TF-M commit
message, CI will fetch the specified tf-m-tests version. Otherwise, if
no tf-m-tests version specified, CI will fetch the latest
"feature-build-split-v2" branch by default.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: Ib742849aec9d250bc37f56de3f7d1e001acbd7fb
1 file changed