Test.json 5.6 KB
Newer Older
F
FondMemoryVVV 已提交
1
{
2
    "description": "Configuration for ActsToolChainTest Tests",
F
FondMemoryVVV 已提交
3 4 5
    "driver": {
        "type": "CppTest",
        "native-test-timeout": "3600000",
6
        "module-name": "ActsToolChainTest",
F
FondMemoryVVV 已提交
7 8 9
        "runtime-hint": "100s",
        "native-test-device-path": "/data/local/tmp"
    },
F
FondMemoryVVV 已提交
10 11 12
    "kits": [
        {
            "push": [
13
                "ActsToolChainTest->/data/local/tmp/ActsToolChainTest",
F
FondMemoryVVV 已提交
14 15 16 17 18 19 20 21 22 23
                "libc-test.tar->/data/local/tmp/libc-test.tar",
                "libc-test-lib.tar->/data/local/tmp/libc-test-lib.tar"
            ],
            "type": "PushKit",
            "post-push": [
                "mkdir /tmp",
                "mkdir /dev/shm",
                "tar -xf /data/local/tmp/libc-test.tar -C /data/local/tmp/",
                "tar -xf /data/local/tmp/libc-test-lib.tar -C /data/local/tmp/",
                "chmod a+x -R /data/local/tmp/libc-test-lib",
F
FondMemoryVVV 已提交
24
                "chmod a+x -R /data/local/tmp/libc-test",
M
maweiye 已提交
25 26 27 28 29 30 31
                "mount -o rw,remount /",
                "mv /data/local/tmp/libc-test/zh_CN /tmp/zh_CN",
                "mkdir /data/tests",
                "mkdir /data/tests/libc-test",
                "mkdir /data/tests/libc-test/src",
                "mv /data/local/tmp/libc-test-lib/libldso_cfi_test_lib.so /data/tests/libc-test/src",
                "echo 'root:This.is.a.test:18997:0:99999:7:::'>/etc/shadow",
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
                "rm -rf /data/local/tmp/libc-test/vsyslog",
                "rm -rf /data/local/tmp/libc-test/mincore",
                "rm -rf /data/local/tmp/libc-test/tcgetattr",
                "rm -rf /data/local/tmp/libc-test/tcsendbreak",
                "rm -rf /data/local/tmp/libc-test/tcgetsid",
                "rm -rf /data/local/tmp/libc-test/tcsetattr",
                "rm -rf /data/local/tmp/libc-test/a_stack_chk_fail",
                "rm -rf /data/local/tmp/libc-test/tcsetpgrp",
                "rm -rf /data/local/tmp/libc-test/ttyname",
                "rm -rf /data/local/tmp/libc-test/tcgetpgrp",
                "rm -rf /data/local/tmp/libc-test/isatty",
                "rm -rf /data/local/tmp/libc-test/ftok",
                "rm -rf /data/local/tmp/libc-test/lchown",
                "rm -rf /data/local/tmp/libc-test/exit",
                "rm -rf /data/local/tmp/libc-test/exittest02",
                "rm -rf /data/local/tmp/libc-test/syslog",
                "rm -rf /data/local/tmp/libc-test/vsyslog",
                "rm -rf /data/local/tmp/libc-test/dlns_dlopen_test ",
                "rm -rf /data/local/tmp/libc-test/dlns_set_fun_test",
                "rm -rf /data/local/tmp/libc-test/dlns_inherit_test",
                "rm -rf /data/local/tmp/libc-test/dlns_dlsym_test",
                "rm -rf /data/local/tmp/libc-test/dlns_special_scene_test",
                "rm -rf /data/local/tmp/libc-test/dlns_separated_test",
M
maweiye 已提交
55
                "rm -rf /data/local/tmp/libc-test/dlns_dlopen_ext_test",
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
                "rm -rf /data/local/tmp/libc-test/dlopen_ext_relro_test",
                "rm -rf /data/local/tmp/libc-test/trace_stresstest",
                "rm -rf /data/local/tmp/libc-test/ldso_randomization_test",
                "rm -rf /data/local/tmp/libc-test/ldso_randomization_manual",
                "rm -rf /data/local/tmp/libc-test/dlsym",
                "rm -rf /data/local/tmp/libc-test/dynlink",
                "rm -rf /data/local/tmp/libc-test/reloc_symver",
                "rm -rf /data/local/tmp/libc-test/dynlink_default",
                "rm -rf /data/local/tmp/libc-test/dlvsym",
                "rm -rf /data/local/tmp/libc-test/tgkill",
                "rm -rf /data/local/tmp/libc-test/tls_init_dlopen",
                "rm -rf /data/local/tmp/libc-test/tls_align",
                "rm -rf /data/local/tmp/libc-test/dlopen_ns",
                "rm -rf /data/local/tmp/libc-test/tls_align_dlopen",
                "rm -rf /data/local/tmp/libc-test/dlclose_reset",
                "rm -rf /data/local/tmp/libc-test/pthread_cancel",
                "rm -rf /data/local/tmp/libc-test/tls_init",
                "rm -rf /data/local/tmp/libc-test/dlopen",
                "rm -rf /data/local/tmp/libc-test/malloc-brk-fail",
                "rm -rf /data/local/tmp/libc-test/pthread_atfork-errno-clobber",
                "rm -rf /data/local/tmp/libc-test/tls_get_new-dtv",
                "rm -rf /data/local/tmp/libc-test/flockfile-list",
                "rm -rf /data/local/tmp/libc-test/rintf",
                "rm -rf /data/local/tmp/libc-test/nearbyint",
                "rm -rf /data/local/tmp/libc-test/fma",
                "rm -rf /data/local/tmp/libc-test/fmal",
                "rm -rf /data/local/tmp/libc-test/acoshl",
                "rm -rf /data/local/tmp/libc-test/tgammal",
                "rm -rf /data/local/tmp/libc-test/sqrtl",
                "rm -rf /data/local/tmp/libc-test/erfcl",
                "rm -rf /data/local/tmp/libc-test/rint",
                "rm -rf /data/local/tmp/libc-test/lgammal",
                "rm -rf /data/local/tmp/libc-test/nearbyintf",
                "rm -rf /data/local/tmp/libc-test/fmaf",
                "rm -rf /data/local/tmp/libc-test/sqrtf",
                "rm -rf /data/local/tmp/libc-test/rintl",
                "rm -rf /data/local/tmp/libc-test/sqrt",
                "rm -rf /data/local/tmp/libc-test/nearbyintl",
                "rm -rf /data/local/tmp/libc-test/fenv",
                "rm -rf /data/local/tmp/libc-test/asinhl",
                "rm -rf /data/local/tmp/libc-test/tgkill_ext",
                "rm -rf /data/local/tmp/libc-test/res_send",
M
maweiye 已提交
98 99
                "rm -rf /data/local/tmp/libc-test/unittest_ldso_ns_config",
                "rm -rf /data/local/tmp/libc-test/unittest_ldso_dynlink"
F
FondMemoryVVV 已提交
100 101
            ],
            "cleanup-apps": true
F
FondMemoryVVV 已提交
102
        }
F
FondMemoryVVV 已提交
103
    ]
M
maweiye 已提交
104
}