Bug fix for local CI runs
There are three possible runtime enviroments supported by CI scripts:
1. Arm Jenkins
2. OpenCI
3. Local CI
Local CI, in many cases, resembles Arm Jenkins enviroment. This patch
fixes various conditions that effect choice of resources such as paths
of FVP Models etc.
For example, local CI run is picking up the Base_AEM model path as
/opt/model/Base_RevC_AEMv8A_pkg/models/Linux64_GCC-6.4
instead of
/arm/warehouse/SysGen/Models/11.12/38/models/Linux64_GCC-6.4/
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: Ic1a51ad15868ff9023144ff393e6f964151fcea0
diff --git a/fvp_utils.sh b/fvp_utils.sh
index 79a7286..dc785aa 100644
--- a/fvp_utils.sh
+++ b/fvp_utils.sh
@@ -328,7 +328,7 @@
# feature, so for the moment avoid creating any LAVA test job definition
# for this model until a solution is found.
# [1] https://tf.validation.linaro.org/scheduler/job/33871
- if ! is_arm_jenkins_env; then
+ if ! is_arm_jenkins_env && not_upon "$local_ci"; then
if [ "${model}" = "foundationv8" ]; then
return
fi