1f6603c60Sopenharmony_ci# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 2f6603c60Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3f6603c60Sopenharmony_ci# you may not use this file except in compliance with the License. 4f6603c60Sopenharmony_ci# You may obtain a copy of the License at 5f6603c60Sopenharmony_ci# 6f6603c60Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7f6603c60Sopenharmony_ci# 8f6603c60Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9f6603c60Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10f6603c60Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11f6603c60Sopenharmony_ci# See the License for the specific language governing permissions and 12f6603c60Sopenharmony_ci# limitations under the License. 13f6603c60Sopenharmony_ci 14f6603c60Sopenharmony_ciimport("//test/xts/tools/build/suite.gni") 15f6603c60Sopenharmony_ci 16f6603c60Sopenharmony_ciimport("//test/xts/acts/graphic/vktest/comm.gni") 17f6603c60Sopenharmony_ci 18f6603c60Sopenharmony_ciohos_moduletest_suite("ActsVulkanTests") { 19f6603c60Sopenharmony_ci part_name = "graphic_2d" 20f6603c60Sopenharmony_ci sources = [ 21f6603c60Sopenharmony_ci "src/ActsVulkanApiTest.cpp", 22f6603c60Sopenharmony_ci "src/ActsVulkanBinding_modelTest.cpp", 23f6603c60Sopenharmony_ci "src/ActsVulkanClippingTest.cpp", 24f6603c60Sopenharmony_ci "src/ActsVulkanComputeTest.cpp", 25f6603c60Sopenharmony_ci "src/ActsVulkanConditional_renderingTest.cpp", 26f6603c60Sopenharmony_ci "src/ActsVulkanDescriptor_indexingTest.cpp", 27f6603c60Sopenharmony_ci "src/ActsVulkanDevice_groupTest.cpp", 28f6603c60Sopenharmony_ci "src/ActsVulkanDrawTest.cpp", 29f6603c60Sopenharmony_ci "src/ActsVulkanDrm_format_modifiersTest.cpp", 30f6603c60Sopenharmony_ci "src/ActsVulkanDynamic_renderingTest.cpp", 31f6603c60Sopenharmony_ci "src/ActsVulkanDynamic_stateTest.cpp", 32f6603c60Sopenharmony_ci "src/ActsVulkanFragment_operationsTest.cpp", 33f6603c60Sopenharmony_ci "src/ActsVulkanFragment_shader_interlockTest.cpp", 34f6603c60Sopenharmony_ci "src/ActsVulkanFragment_shading_rateTest.cpp", 35f6603c60Sopenharmony_ci "src/ActsVulkanGeometryTest.cpp", 36f6603c60Sopenharmony_ci "src/ActsVulkanGlslTest.cpp", 37f6603c60Sopenharmony_ci "src/ActsVulkanGraphicsfuzzTest.cpp", 38f6603c60Sopenharmony_ci "src/ActsVulkanImageTest.cpp", 39f6603c60Sopenharmony_ci "src/ActsVulkanImageless_framebufferTest.cpp", 40f6603c60Sopenharmony_ci "src/ActsVulkanInfoTest.cpp", 41f6603c60Sopenharmony_ci "src/ActsVulkanMemoryTest.cpp", 42f6603c60Sopenharmony_ci "src/ActsVulkanMemory_modelTest.cpp", 43f6603c60Sopenharmony_ci "src/ActsVulkanMesh_shaderTest.cpp", 44f6603c60Sopenharmony_ci "src/ActsVulkanMultiviewTest.cpp", 45f6603c60Sopenharmony_ci "src/ActsVulkanPipelineTest.cpp", 46f6603c60Sopenharmony_ci "src/ActsVulkanProtected_memoryTest.cpp", 47f6603c60Sopenharmony_ci "src/ActsVulkanQuery_poolTest.cpp", 48f6603c60Sopenharmony_ci "src/ActsVulkanRasterizationTest.cpp", 49f6603c60Sopenharmony_ci "src/ActsVulkanRay_queryTest.cpp", 50f6603c60Sopenharmony_ci "src/ActsVulkanRay_tracing_pipelineTest.cpp", 51f6603c60Sopenharmony_ci "src/ActsVulkanReconvergenceTest.cpp", 52f6603c60Sopenharmony_ci "src/ActsVulkanRenderpass2Test.cpp", 53f6603c60Sopenharmony_ci "src/ActsVulkanRenderpassTest.cpp", 54f6603c60Sopenharmony_ci "src/ActsVulkanRobustnessTest.cpp", 55f6603c60Sopenharmony_ci "src/ActsVulkanSparse_resourcesTest.cpp", 56f6603c60Sopenharmony_ci "src/ActsVulkanSpirv_assemblyTest.cpp", 57f6603c60Sopenharmony_ci "src/ActsVulkanSsboTest.cpp", 58f6603c60Sopenharmony_ci "src/ActsVulkanSubgroupsTest.cpp", 59f6603c60Sopenharmony_ci "src/ActsVulkanSynchronization2Test.cpp", 60f6603c60Sopenharmony_ci "src/ActsVulkanSynchronizationTest.cpp", 61f6603c60Sopenharmony_ci "src/ActsVulkanTessellationTest.cpp", 62f6603c60Sopenharmony_ci "src/ActsVulkanTest_issuesTest.cpp", 63f6603c60Sopenharmony_ci "src/ActsVulkanTextureTest.cpp", 64f6603c60Sopenharmony_ci "src/ActsVulkanTransform_feedbackTest.cpp", 65f6603c60Sopenharmony_ci "src/ActsVulkanUboTest.cpp", 66f6603c60Sopenharmony_ci "src/ActsVulkanWsiTest.cpp", 67f6603c60Sopenharmony_ci "src/ActsVulkanYcbcrTest.cpp", 68f6603c60Sopenharmony_ci ] 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_ci include_dirs = [ "src" ] 71f6603c60Sopenharmony_ci deps = [ 72f6603c60Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:deqp_vk_execute", 73f6603c60Sopenharmony_ci ] 74f6603c60Sopenharmony_ci cflags = [ "-Wno-error" ] 75f6603c60Sopenharmony_ci} 76f6603c60Sopenharmony_ci 77f6603c60Sopenharmony_ciohos_sh_assist_suite("cpVulkan") { 78f6603c60Sopenharmony_ci testonly = true 79f6603c60Sopenharmony_ci script = "cpVulkan.sh" 80f6603c60Sopenharmony_ci outputs = [ "${target_out_dir}/cpVulkan.log" ] 81f6603c60Sopenharmony_ci root_vkgl_path = rebase_path("//") 82f6603c60Sopenharmony_ci args = [ "$root_vkgl_path" ] 83f6603c60Sopenharmony_ci deps = [ 84f6603c60Sopenharmony_ci ":vulkanTest", 85f6603c60Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:deqp_vk_execute", 86f6603c60Sopenharmony_ci ] 87f6603c60Sopenharmony_ci part_name = "graphic_2d" 88f6603c60Sopenharmony_ci} 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cigroup("vulkanTest") { 91f6603c60Sopenharmony_ci testonly = true 92f6603c60Sopenharmony_ci if (is_standard_system) { 93f6603c60Sopenharmony_ci deps = [ 94f6603c60Sopenharmony_ci "src/apitest:ActsVulkanApiTest", 95f6603c60Sopenharmony_ci "src/bindingmodeltest:ActsVulkanBindingmodelTest", 96f6603c60Sopenharmony_ci "src/clippingtest:ActsVulkanClippingTest", 97f6603c60Sopenharmony_ci "src/computetest:ActsVulkanComputeTest", 98f6603c60Sopenharmony_ci "src/conditionalrenderingtest:ActsVulkanConditionalrenderingTest", 99f6603c60Sopenharmony_ci "src/descriptorindexingtest:ActsVulkanDescriptorindexingTest", 100f6603c60Sopenharmony_ci "src/devicegrouptest:ActsVulkanDevicegroupTest", 101f6603c60Sopenharmony_ci "src/drawtest:ActsVulkanDrawTest", 102f6603c60Sopenharmony_ci "src/drmformatmodifierstest:ActsVulkanDrmformatmodifiersTest", 103f6603c60Sopenharmony_ci "src/dynamicrenderingtest:ActsVulkanDynamicrenderingTest", 104f6603c60Sopenharmony_ci "src/dynamicstatetest:ActsVulkanDynamicstateTest", 105f6603c60Sopenharmony_ci "src/fastlinkedlibrary:ActsVulkanFastlinkedLibraryTest", 106f6603c60Sopenharmony_ci "src/fragmentoperationstest:ActsVulkanFragmentoperationsTest", 107f6603c60Sopenharmony_ci "src/fragmentshaderinterlocktest:ActsVulkanFragmentshaderinterlockTest", 108f6603c60Sopenharmony_ci "src/fragmentshadingratetest:ActsVulkanFragmentshadingrateTest", 109f6603c60Sopenharmony_ci "src/geometrytest:ActsVulkanGeometryTest", 110f6603c60Sopenharmony_ci "src/glsltest:ActsVulkanGlslTest", 111f6603c60Sopenharmony_ci "src/graphicsfuzztest:ActsVulkanGraphicsfuzzTest", 112f6603c60Sopenharmony_ci "src/imagelessframebuffertest:ActsVulkanImagelessframebufferTest", 113f6603c60Sopenharmony_ci "src/imagetest:ActsVulkanImageTest", 114f6603c60Sopenharmony_ci "src/infotest:ActsVulkanInfoTest", 115f6603c60Sopenharmony_ci "src/memorymodeltest:ActsVulkanMemorymodelTest", 116f6603c60Sopenharmony_ci "src/memorytest:ActsVulkanMemoryTest", 117f6603c60Sopenharmony_ci "src/meshshadertest:ActsVulkanMeshshaderTest", 118f6603c60Sopenharmony_ci "src/monolithic:ActsVulkanMonolithicTest", 119f6603c60Sopenharmony_ci "src/multiviewtest:ActsVulkanMultiviewTest", 120f6603c60Sopenharmony_ci "src/pipelinelibrary:ActsVulkanPipelineLibraryTest", 121f6603c60Sopenharmony_ci "src/protectedmemorytest:ActsVulkanProtectedmemoryTest", 122f6603c60Sopenharmony_ci "src/querypooltest:ActsVulkanQuerypoolTest", 123f6603c60Sopenharmony_ci "src/rayquerytest:ActsVulkanRayqueryTest", 124f6603c60Sopenharmony_ci "src/raytracingpipelinetest:ActsVulkanRaytracingpipelineTest", 125f6603c60Sopenharmony_ci "src/reconvergencetest:ActsVulkanReconvergenceTest", 126f6603c60Sopenharmony_ci "src/renderpass2test:ActsVulkanRenderpass2Test", 127f6603c60Sopenharmony_ci "src/renderpasstest:ActsVulkanRenderpassTest", 128f6603c60Sopenharmony_ci "src/robustnesstest:ActsVulkanRobustnessTest", 129f6603c60Sopenharmony_ci "src/sparseresourcestest:ActsVulkanSparseresourcesTest", 130f6603c60Sopenharmony_ci "src/spirvassemblytest:ActsVulkanSpirvassemblyTest", 131f6603c60Sopenharmony_ci "src/ssbotest:ActsVulkanSsboTest", 132f6603c60Sopenharmony_ci "src/subgroupstest:ActsVulkanSubgroupsTest", 133f6603c60Sopenharmony_ci "src/synchronization2test:ActsVulkanSynchronization2Test", 134f6603c60Sopenharmony_ci "src/synchronizationtest:ActsVulkanSynchronizationTest", 135f6603c60Sopenharmony_ci "src/tessellationtest:ActsVulkanTessellationTest", 136f6603c60Sopenharmony_ci "src/texturetest:ActsVulkanTextureTest", 137f6603c60Sopenharmony_ci "src/transformfeedbacktest:ActsVulkanTransformfeedbackTest", 138f6603c60Sopenharmony_ci "src/ubotest:ActsVulkanUboTest", 139f6603c60Sopenharmony_ci "src/wsitest:ActsVulkanWsiTest", 140f6603c60Sopenharmony_ci "src/ycbcrtest:ActsVulkanYcbcrTest", 141f6603c60Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:deqp_vk_execute", 142f6603c60Sopenharmony_ci ] 143f6603c60Sopenharmony_ci } 144f6603c60Sopenharmony_ci} 145