# Variables set:
# - TAGS - Array of processed tag boolean expressions.
- # TODO: Empty exclude_nics (with failing grep) is expected,
- # but others possible errors coule be checked explicitly.
# NIC SELECTION
# All topologies NICs
available=$(grep -hoPR "model: \K.*" "${TOPOLOGIES_DIR}"/* | sort -u)
# in Robot Framework.
test_tag_array=("mrrANDnic_intel-x710AND1cAND64bANDip4base"
"mrrANDnic_intel-x710AND1cAND78bANDip6base"
- "mrrANDnic_intel-x710AND1cAND64bANDl2bdbase"
+ "mrrANDnic_intel-x710AND1cAND64bANDl2bdbaseANDbase"
"mrrANDnic_intel-x710AND1cAND64bANDl2xcbase")
else
# If trigger contains tags, split them into array.
;;
esac
+ # Blacklisting certain tags per topology.
+ case "${TEST_CODE}" in
+ *"3n-hsw"*)
+ test_tag_array+=("!drv_avf")
+ ;;
+ *"2n-skx"*)
+ test_tag_array+=("!ipsechw")
+ ;;
+ *"3n-skx"*)
+ test_tag_array+=("!ipsechw")
+ ;;
+ *)
+ # Default to 3n-hsw due to compatibility.
+ test_tag_array+=("!drv_avf")
+ ;;
+ esac
+
# We will add excluded NICs.
test_tag_array+=("${exclude_nics[@]/#/!NIC_}")
"${TOPOLOGIES_DIR}/lf_3n_hsw_testbed2.yaml"
"${TOPOLOGIES_DIR}/lf_3n_hsw_testbed3.yaml"
)
- TOPOLOGIES_TAGS="3_node_*_link_topo"
+ TOPOLOGIES_TAGS="3_node_single_link_topo"
;;
"2n_skx")
TOPOLOGIES=(