Test.json 1.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
{
    "description": "Config for ActsTextureTS0003 test cases",
    "driver": {
        "module-name": "ActsTextureTS0003",
        "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/*",
                "mkdir /data/local/tmp/vkTest",
                "tar zxvf /data/local/tmp/vkTestdata.tar.gz -C /data/local/tmp/vkTest",
                "chmod -R 777 /data/local/tmp/vkTest/*",
                "cp -r /data/local/tmp/vkTest /data/local/tmp",
                "cp /data/local/tmp/libdeqp* /system/lib",
                "cp /data/local/tmp/librosen_context* /system/lib",
                "cp /data/local/tmp/libskia_canvaskit* /system/lib"
            ],
            "push": [
                "ActsTextureTS0003->/data/local/tmp/ActsTextureTS0003",
                "vkTestdata/libdeqp_ohos_platform.z.so->/data/local/tmp/libdeqp_ohos_platform.z.so",
                "vkTestdata/librosen_context.z.so->/data/local/tmp/librosen_context.z.so",
                "vkTestdata/libdeqp_spirv.z.so->/data/local/tmp/libdeqp_spirv.z.so",
                "vkTestdata/libdeqp_amber.z.so->/data/local/tmp/libdeqp_amber.z.so",
                "vkTestdata/libdeqp_spvremapper.z.so->/data/local/tmp/libdeqp_spvremapper.z.so", 
                "vkTestdata/libskia_canvaskit.z.so->/data/local/tmp/libskia_canvaskit.z.so",  
                "vkTestdata/vkTestdata.tar.gz->/data/local/tmp/vkTestdata.tar.gz"

            ],
            "type": "PushKit"
        },
        {
            "type": "ShellKit",
            "run-command": [
                "remount",
                "mkdir /data/test",
                "cd /data/local/tmp"
            ]
        }
    ]
}