• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import("../../test_template.gni")
2import("test_src_functional.gni")
3
4if (is_standard_system && musl_iterate_and_stats_api) {
5  functional_list += malloc_stats_list
6}
7
8foreach(s, functional_list) {
9  test_unittest(s) {
10    target_dir = "functional"
11  }
12}
13
14group("functional_test") {
15  testonly = true
16  deps = [ ":dso_shared" ]
17
18  foreach(s, functional_list) {
19    deps += [ ":${s}" ]
20  }
21}
22
23test_sharedlib("dlopen_ns_dso") {
24}
25test_sharedlib("dlopen_so_dep_dlopen_ns_dso") {
26  deps = [ ":dlopen_ns_dso" ]
27}
28test_sharedlib("dlopen_for_load_by_global_dso") {
29}
30test_sharedlib("dlopen_for_load_by_local_dso") {
31}
32test_sharedlib("dlopen_dso") {
33}
34test_sharedlib("dlclose_reset_dso") {
35}
36test_sharedlib("tls_init_dso") {
37}
38test_sharedlib("tls_align_dso") {
39}
40test_sharedlib("atexit_dlclose_dso") {
41}
42
43group("dso_shared") {
44  testonly = true
45
46  deps = [
47    ":atexit_dlclose_dso",
48    ":dlclose_reset_dso",
49    ":dlopen_dso",
50    ":dlopen_for_load_by_global_dso",
51    ":dlopen_for_load_by_local_dso",
52    ":dlopen_ns_dso",
53    ":dlopen_so_dep_dlopen_ns_dso",
54    ":tls_align_dso",
55    ":tls_init_dso",
56  ]
57}
58