{ "description": "Config for ActsVulkanDrawTest test cases", "driver": { "module-name": "ActsVulkanDrawTest", "native-test-timeout": "120000", "native-test-device-path": "/data/local/tmp", "runtime-hint": "100s", "type": "CppTest" }, "kits": [ { "pre-push" : [ ], "post-push" : [ "mount -o rw,remount /", "chmod -R 777 /data/local/tmp/*", "rm -rf /data/local/tmp/*.qpa", "rm -rf /data/local/tmp/*.xml", "mkdir /data/local/tmp/vulkan", "tar zxvf /data/local/tmp/vulkandata.tar.gz -C /data/local/tmp/vulkan", "chmod -R 777 /data/local/tmp/vulkan/vk-default/*", "cp -r /data/local/tmp/vulkan/vk-default /data/local/tmp", "cp -r /data/local/tmp/vulkan/data/vulkan/* /data/local/tmp/vulkan", "cp /data/local/tmp/libdeqp* /system/lib", "cp /data/local/tmp/librosen_context* /system/lib", "cp /data/local/tmp/libskia_canvaskit* /system/lib" ], "push": [ "ActsVulkanDrawTest->/data/local/tmp/ActsVulkanDrawTest", "vulkandata/deqp_vk_execute->/data/local/tmp/deqp_vk_execute", "vulkandata/libdeqp_ohos_platform.z.so->/data/local/tmp/libdeqp_ohos_platform.z.so", "vulkandata/librosen_context.z.so->/data/local/tmp/librosen_context.z.so", "vulkandata/libdeqp_spirv.z.so->/data/local/tmp/libdeqp_spirv.z.so", "vulkandata/libdeqp_amber.z.so->/data/local/tmp/libdeqp_amber.z.so", "vulkandata/libdeqp_spvremapper.z.so->/data/local/tmp/libdeqp_spvremapper.z.so", "vulkandata/libskia_canvaskit.z.so->/data/local/tmp/libskia_canvaskit.z.so", "vulkandata/vulkandata.tar.gz->/data/local/tmp/vulkandata.tar.gz" ], "type": "PushKit" }, { "type": "CommandKit", "teardown": [ { "name": "pull", "value": "/data/local/tmp/ActsVulkanDrawTest.qpa->ActsVulkanDrawTest.qpa" } ] }, { "type": "ShellKit", "run-command": [ "remount", "mkdir /data/test", "cd /data/local/tmp" ], "teardown-localcommand": [ "python testcases/vulkandata/genlocal.py ActsVulkanDrawTest draw.txt" ] } ] }