# 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)
;;
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_}")