| # Copyright 2024 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| load("@fuchsia_sdk//fuchsia:defs.bzl", "fuchsia_prebuilt_test_package") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| # Try tests up to 3 times to acocunt for flakes. |
| ADDITIONAL_INFRA_TEST_RETRIES = 2 |
| |
| fuchsia_prebuilt_test_package( |
| name = "arm64_no_args", |
| archive = "@vulkan_cts_arm64_no_args//:vulkan-cts-no-args.far", |
| test_components = ["meta/vulkan-cts-no-args.cm"], |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "arm64_split_1", |
| archive = "@vulkan_cts_arm64_split//:vulkan-cts-split.far", |
| disable_retries_on_failure = True, |
| # For manual sharding. |
| # Since the test components in this package have the form `vulkan-cts-NNNN`, |
| # this allows us to test just over one third of the test suite. |
| enumerated_component_filter = "^.*([012][0-9]|9[0123])$", |
| retries = ADDITIONAL_INFRA_TEST_RETRIES, |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "arm64_split_2", |
| archive = "@vulkan_cts_arm64_split//:vulkan-cts-split.far", |
| disable_retries_on_failure = True, |
| # For manual sharding. |
| # Since the test components in this package have the form `vulkan-cts-NNNN`, |
| # this allows us to test just over one third of the test suite. |
| enumerated_component_filter = "^.*([345][0-9]|9[4567])$", |
| retries = ADDITIONAL_INFRA_TEST_RETRIES, |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "arm64_split_3", |
| archive = "@vulkan_cts_arm64_split//:vulkan-cts-split.far", |
| disable_retries_on_failure = True, |
| # For manual sharding. |
| # Since the test components in this package have the form `vulkan-cts-NNNN`, |
| # this allows us to test just under one third of the test suite. |
| enumerated_component_filter = "^.*([678][0-9]|9[89])$", |
| retries = ADDITIONAL_INFRA_TEST_RETRIES, |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "arm64_unified", |
| archive = "@vulkan_cts_arm64_unified//:vulkan-cts-unified.far", |
| test_components = ["meta/vulkan-cts.cm"], |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "arm64_zircon", |
| archive = "@vulkan_cts_arm64_zircon//:vulkan-cts-zircon.far", |
| disable_retries_on_failure = True, |
| retries = ADDITIONAL_INFRA_TEST_RETRIES, |
| test_components = ["meta/vulkan-cts-zircon.cm"], |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "x64_no_args", |
| archive = "@vulkan_cts_x64_no_args//:vulkan-cts-no-args.far", |
| test_components = ["meta/vulkan-cts-no-args.cm"], |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "x64_split", |
| archive = "@vulkan_cts_x64_split//:vulkan-cts-split.far", |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "x64_unified", |
| archive = "@vulkan_cts_x64_unified//:vulkan-cts-unified.far", |
| test_components = ["meta/vulkan-cts.cm"], |
| test_realm = "/core/testing:vulkan-tests", |
| ) |
| |
| fuchsia_prebuilt_test_package( |
| name = "x64_zircon", |
| archive = "@vulkan_cts_x64_zircon//:vulkan-cts-zircon.far", |
| test_components = ["meta/vulkan-cts-zircon.cm"], |
| test_realm = "/core/testing:vulkan-tests", |
| ) |