• 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_dso") {
26}
27test_sharedlib("dlclose_reset_dso") {
28}
29test_sharedlib("tls_init_dso") {
30}
31test_sharedlib("tls_align_dso") {
32}
33
34group("dso_shared") {
35  testonly = true
36
37  deps = [
38    ":dlclose_reset_dso",
39    ":dlopen_dso",
40    ":dlopen_ns_dso",
41    ":tls_align_dso",
42    ":tls_init_dso",
43  ]
44}
45