BUILD.gn 740 字节
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 33 34 35 36 37
test_sharedlib("tls_init_dso") {
}
test_sharedlib("tls_align_dso") {
}

group("dso_shared") {
  testonly = true

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