Initial commit for TF-A CI scripts
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
diff --git a/run_config/coverity-misra.diff b/run_config/coverity-misra.diff
new file mode 100644
index 0000000..d053250
--- /dev/null
+++ b/run_config/coverity-misra.diff
@@ -0,0 +1,25 @@
+#!/bin/bash
+#
+# Copyright (c) 2019, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tf_build() {
+ echo "Configure coverity to compare with trustedfirmware.org for MISRA defects."
+
+ append_hook_var "cov_options" " ${coverity_default_checkers[*]}"
+ append_hook_var "cov_options" \
+ " --coding-standard-config $ci_root/coverity/MISRA_c2012_1_ARM_TF.config"
+
+ # Branch description
+ set_hook_var "cov_checker" "misra"
+
+ set_hook_var "cov_golden_url" \
+ "${cov_golden_url-https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git}"
+
+ set_hook_var "cov_golden_ref" "${cov_golden_ref-integration}"
+
+ # Print comparison report
+ set_hook_var "cov_run_type" "branch-report-compare"
+}