Test.json 1.1 KB
Newer Older
1 2 3 4
{
    "description": "Config for avcodec ndk test cases",
    "driver": {
        "module-name": "ActsAvcodecNdkTest",
5
        "native-test-timeout": "300000",
6 7 8 9 10 11
        "native-test-device-path": "/data/local/tmp",
        "runtime-hint": "1s",
        "type": "CppTest"
    },
    "kits": [
        {
12
            "type": "PushKit",
13
            "pre-push" : [
14 15 16 17
                "mount -o rw,remount /",
                "rm /data/media/*",
                "mkdir -p /data/media/",
                "mkdir -p /data/local/tmp/"
18 19 20 21 22 23 24 25 26 27 28
            ],
            "push": [
                "ActsAvcodecNdkTest->/data/local/tmp/ActsAvcodecNdkTest",
                "./resource/audio/audioDecode/AAC_48000_32_1.aac ->/data/media/",
                "./resource/media/es/out_320_240_10s.h264 ->/data/media/"
            ]
        },
        {
            "type": "ShellKit",
            "run-command": [
                "hilog -Q pidoff",
29
                "chmod 777 -R /data/local/tmp",
30 31 32 33 34 35
                "chmod 777 -R /data/media",
                "chmod 777 /data/media/*"
            ]
        }
    ]
}