Remove already tested manifests from test-case-generators

and remove redundant skips from image_tests.sh
This commit is contained in:
Alexander Todorov 2024-03-04 18:01:07 +02:00 committed by Tomáš Hozza
parent eb5db0bd2c
commit d7388fdc66
473 changed files with 0 additions and 5665555 deletions

View file

@ -59,27 +59,6 @@ get_test_cases () {
SKIP_CASES=("${SKIP_OSTREE[@]}")
fi
# skip image types covered in azure.sh
SKIP_AZURE=$(grep vhd-boot <<< "$ALL_CASES" || echo -n)
SKIP_CASES=("${SKIP_CASES[@]}" "$SKIP_AZURE")
# skip image types covered in Edge CI
SKIP_EDGE=$(grep edge_ <<< "$ALL_CASES" || echo -n)
SKIP_CASES=("${SKIP_CASES[@]}" "${SKIP_EDGE[@]}")
# skip image types covered in gcp.sh
SKIP_GCE=$(grep gce-boot <<< "$ALL_CASES" || echo -n)
SKIP_CASES=("${SKIP_CASES[@]}" "$SKIP_GCE")
# skip image types covered in vmware.sh
SKIP_OVA=$(grep -E 'ova-boot|vmdk-boot' <<< "$ALL_CASES" || echo -n)
SKIP_CASES=("${SKIP_CASES[@]}" "${SKIP_OVA[@]}")
# skip image types already covered in osbuild/images repository
# see https://issues.redhat.com/browse/COMPOSER-2127
SKIP_AMI=$(grep -E 'ami-boot|edge_ami|ec2-boot|ec2_ha|ec2_sap' <<< "$ALL_CASES")
SKIP_CASES=("${SKIP_CASES[@]}" "${SKIP_AMI[@]}")
mapfile -t TEST_CASES < <(grep -vxFf <(printf '%s\n' "${SKIP_CASES[@]}") <(printf '%s\n' "${ALL_CASES[@]}"))
echo "${TEST_CASES[@]}"
popd > /dev/null