1# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//test/xts/tools/build/suite.gni") 15 16import("//test/xts/acts/graphic/vktest/comm.gni") 17 18ohos_xts_action("cpVulkan") { 19 testonly = true 20 suite_type = "bin" 21 script = "cpVulkan.sh" 22 outputs = [ "${target_out_dir}/cpVulkan.log" ] 23 root_vkgl_path = rebase_path("//") 24 args = [ "$root_vkgl_path" ] 25 deps = [ 26 ":vulkanTest", 27 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:deqp_vk_execute", 28 ] 29} 30 31group("vulkanTest") { 32 testonly = true 33 if (is_standard_system) { 34 deps = [ 35 "src/api1test:ActsVulkanApi1Test", 36 "src/api2test:ActsVulkanApi2Test", 37 "src/api3test:ActsVulkanApi3Test", 38 "src/api4test:ActsVulkanApi4Test", 39 "src/bindingmodeltest:ActsVulkanBindingmodelTest", 40 "src/clippingtest:ActsVulkanClippingTest", 41 "src/computetest:ActsVulkanComputeTest", 42 "src/conditionalrenderingtest:ActsVulkanConditionalrenderingTest", 43 "src/descriptorindexingtest:ActsVulkanDescriptorindexingTest", 44 "src/devicegrouptest:ActsVulkanDevicegroupTest", 45 "src/drawtest:ActsVulkanDrawTest", 46 "src/drmformatmodifierstest:ActsVulkanDrmformatmodifiersTest", 47 "src/dynamicrenderingtest:ActsVulkanDynamicrenderingTest", 48 "src/dynamicstatetest:ActsVulkanDynamicstateTest", 49 "src/fastlinkedlibrary1:ActsVulkanFastlinkedLibrary1Test", 50 "src/fastlinkedlibrary2:ActsVulkanFastlinkedLibrary2Test", 51 "src/fastlinkedlibrary3:ActsVulkanFastlinkedLibrary3Test", 52 "src/fastlinkedlibrary4:ActsVulkanFastlinkedLibrary4Test", 53 "src/fastlinkedlibrary5:ActsVulkanFastlinkedLibrary5Test", 54 "src/fragmentoperationstest:ActsVulkanFragmentoperationsTest", 55 "src/fragmentshaderinterlocktest:ActsVulkanFragmentshaderinterlockTest", 56 "src/fragmentshadingratetest:ActsVulkanFragmentshadingrateTest", 57 "src/geometrytest:ActsVulkanGeometryTest", 58 "src/glsltest:ActsVulkanGlslTest", 59 "src/graphicsfuzztest:ActsVulkanGraphicsfuzzTest", 60 "src/imagelessframebuffertest:ActsVulkanImagelessframebufferTest", 61 "src/imagetest:ActsVulkanImageTest", 62 "src/infotest:ActsVulkanInfoTest", 63 "src/memorymodeltest:ActsVulkanMemorymodelTest", 64 "src/memorytest:ActsVulkanMemoryTest", 65 "src/meshshadertest:ActsVulkanMeshshaderTest", 66 "src/monolithic1:ActsVulkanMonolithic1Test", 67 "src/monolithic2:ActsVulkanMonolithic2Test", 68 "src/monolithic3:ActsVulkanMonolithic3Test", 69 "src/monolithic4:ActsVulkanMonolithic4Test", 70 "src/monolithic5:ActsVulkanMonolithic5Test", 71 "src/multiviewtest:ActsVulkanMultiviewTest", 72 "src/pipelinelibrary1:ActsVulkanPipelineLibrary1Test", 73 "src/pipelinelibrary2:ActsVulkanPipelineLibrary2Test", 74 "src/pipelinelibrary3:ActsVulkanPipelineLibrary3Test", 75 "src/pipelinelibrary4:ActsVulkanPipelineLibrary4Test", 76 "src/pipelinelibrary5:ActsVulkanPipelineLibrary5Test", 77 "src/protectedmemorytest:ActsVulkanProtectedmemoryTest", 78 "src/querypooltest:ActsVulkanQuerypoolTest", 79 "src/rayquerytest:ActsVulkanRayqueryTest", 80 "src/raytracingpipelinetest:ActsVulkanRaytracingpipelineTest", 81 "src/reconvergencetest:ActsVulkanReconvergenceTest", 82 "src/renderpass2test:ActsVulkanRenderpass2Test", 83 "src/renderpasstest:ActsVulkanRenderpassTest", 84 "src/robustnesstest:ActsVulkanRobustnessTest", 85 "src/sparseresourcestest:ActsVulkanSparseresourcesTest", 86 "src/spirvassemblytest:ActsVulkanSpirvassemblyTest", 87 "src/ssbotest:ActsVulkanSsboTest", 88 "src/subgroupstest:ActsVulkanSubgroupsTest", 89 "src/synchronization2test:ActsVulkanSynchronization2Test", 90 "src/synchronizationtest:ActsVulkanSynchronizationTest", 91 "src/tessellationtest:ActsVulkanTessellationTest", 92 "src/texturetest:ActsVulkanTextureTest", 93 "src/transformfeedback1test:ActsVulkanTransformfeedback1Test", 94 "src/transformfeedback2test:ActsVulkanTransformfeedback2Test", 95 "src/ubotest:ActsVulkanUboTest", 96 "src/wsitest:ActsVulkanWsiTest", 97 "src/ycbcrtest:ActsVulkanYcbcrTest", 98 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:deqp_vk_execute", 99 ] 100 } 101} 102