BUILD.gn 808 字节
Newer Older
M
maweiye 已提交
1 2 3
import("../../test_template.gni")
import("test_src_functional.gni")

Z
zgq-0218 已提交
4
if (is_standard_system && musl_iterate_and_stats_api) {
5 6 7
  functional_list += malloc_stats_list
}

M
maweiye 已提交
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
foreach(s, functional_list) {
  test_unittest(s) {
    target_dir = "functional"
  }
}

group("functional_test") {
  testonly = true
  deps = [ ":dso_shared" ]

  foreach(s, functional_list) {
    deps += [ ":${s}" ]
  }
}

Y
yangwenjun 已提交
23 24
test_sharedlib("dlopen_ns_dso") {
}
M
maweiye 已提交
25 26
test_sharedlib("dlopen_dso") {
}
27 28
test_sharedlib("dlclose_reset_dso") {
}
M
maweiye 已提交
29 30 31 32
test_sharedlib("tls_init_dso") {
}
test_sharedlib("tls_align_dso") {
}
33 34
test_sharedlib("atexit_dlclose_dso") {
}
M
maweiye 已提交
35 36 37 38 39

group("dso_shared") {
  testonly = true

  deps = [
40
    ":atexit_dlclose_dso",
41
    ":dlclose_reset_dso",
C
caifuzhou 已提交
42
    ":dlopen_dso",
Y
yangwenjun 已提交
43
    ":dlopen_ns_dso",
M
maweiye 已提交
44 45 46 47
    ":tls_align_dso",
    ":tls_init_dso",
  ]
}