• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "description": "Config for ActsVulkanFastlinkedLibraryTest test cases",
3    "driver": {
4        "module-name": "ActsVulkanFastlinkedLibraryTest",
5        "native-test-timeout": "120000",
6        "native-test-device-path": "/data/local/tmp",
7        "runtime-hint": "100s",
8        "type": "CppTest"
9    },
10    "kits": [
11        {
12            "pre-push" : [
13            ],
14            "post-push" : [
15                "mount -o rw,remount /",
16                "chmod -R 777 /data/local/tmp/*",
17                "rm -rf /data/local/tmp/*.qpa",
18                "rm -rf /data/local/tmp/*.xml",
19                "mkdir /data/local/tmp/vulkan",
20                "tar zxvf /data/local/tmp/vulkandata.tar.gz -C /data/local/tmp/vulkan",
21                "chmod -R 777 /data/local/tmp/vulkan/vk-default/*",
22                "cp -r /data/local/tmp/vulkan/vk-default /data/local/tmp",
23                "cp -r /data/local/tmp/vulkan/data/vulkan/* /data/local/tmp/vulkan",
24                "cp /data/local/tmp/libdeqp* /system/lib",
25                "cp /data/local/tmp/librosen_context* /system/lib",
26                "cp /data/local/tmp/libskia_canvaskit* /system/lib"
27            ],
28
29            "push": [
30                "ActsVulkanFastlinkedLibraryTest->/data/local/tmp/ActsVulkanFastlinkedLibraryTest",
31                "vulkandata/deqp_vk_execute->/data/local/tmp/deqp_vk_execute",
32                "vulkandata/libdeqp_ohos_platform.z.so->/data/local/tmp/libdeqp_ohos_platform.z.so",
33                "vulkandata/librosen_context.z.so->/data/local/tmp/librosen_context.z.so",
34                "vulkandata/libdeqp_spirv.z.so->/data/local/tmp/libdeqp_spirv.z.so",
35                "vulkandata/libdeqp_amber.z.so->/data/local/tmp/libdeqp_amber.z.so",
36                "vulkandata/libdeqp_spvremapper.z.so->/data/local/tmp/libdeqp_spvremapper.z.so",
37                "vulkandata/libskia_canvaskit.z.so->/data/local/tmp/libskia_canvaskit.z.so",
38                "vulkandata/vulkandata.tar.gz->/data/local/tmp/vulkandata.tar.gz"
39            ],
40            "type": "PushKit"
41        },
42        {
43            "type": "CommandKit",
44            "teardown": [
45                {
46                    "name": "pull",
47                    "value": "/data/local/tmp/ActsVulkanFastlinkedLibraryTest.qpa->ActsVulkanFastlinkedLibraryTest.qpa"
48                }
49            ]
50        },
51        {
52            "type": "ShellKit",
53            "run-command": [
54                "remount",
55                "mkdir /data/test",
56                "cd /data/local/tmp"
57            ],
58            "teardown-localcommand": [
59                "python testcases/vulkandata/genlocal.py ActsVulkanFastlinkedLibraryTest pipeline/fast-linked-library.txt"
60            ]
61        }
62
63    ]
64}