Home | History | Annotate | Download | only in gpr
      1 # Copyright 2016 gRPC authors.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
      4 # you may not use this file except in compliance with the License.
      5 # You may obtain a copy of the License at
      6 #
      7 #     http://www.apache.org/licenses/LICENSE-2.0
      8 #
      9 # Unless required by applicable law or agreed to in writing, software
     10 # distributed under the License is distributed on an "AS IS" BASIS,
     11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
     14 
     15 load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package")
     16 
     17 licenses(["notice"])  # Apache v2
     18 
     19 grpc_package(name = "test/core/gpr")
     20 
     21 grpc_cc_test(
     22     name = "alloc_test",
     23     srcs = ["alloc_test.cc"],
     24     language = "C++",
     25     deps = [
     26         "//:gpr",
     27         "//test/core/util:gpr_test_util",
     28     ],
     29 )
     30 
     31 grpc_cc_test(
     32     name = "arena_test",
     33     srcs = ["arena_test.cc"],
     34     language = "C++",
     35     deps = [
     36         "//:gpr",
     37         "//test/core/util:gpr_test_util",
     38     ],
     39 )
     40 
     41 grpc_cc_test(
     42     name = "cpu_test",
     43     srcs = ["cpu_test.cc"],
     44     language = "C++",
     45     deps = [
     46         "//:gpr",
     47         "//test/core/util:gpr_test_util",
     48     ],
     49 )
     50 
     51 grpc_cc_test(
     52     name = "env_test",
     53     srcs = ["env_test.cc"],
     54     language = "C++",
     55     deps = [
     56         "//:gpr",
     57         "//test/core/util:gpr_test_util",
     58     ],
     59 )
     60 
     61 grpc_cc_test(
     62     name = "host_port_test",
     63     srcs = ["host_port_test.cc"],
     64     language = "C++",
     65     deps = [
     66         "//:gpr",
     67         "//test/core/util:gpr_test_util",
     68     ],
     69 )
     70 
     71 grpc_cc_test(
     72     name = "log_test",
     73     srcs = ["log_test.cc"],
     74     language = "C++",
     75     deps = [
     76         "//:gpr",
     77         "//test/core/util:gpr_test_util",
     78     ],
     79 )
     80 
     81 grpc_cc_test(
     82     name = "mpscq_test",
     83     srcs = ["mpscq_test.cc"],
     84     language = "C++",
     85     deps = [
     86         "//:gpr",
     87         "//test/core/util:gpr_test_util",
     88     ],
     89     data = ["//third_party/toolchains:RBE_USE_MACHINE_TYPE_LARGE"],
     90 )
     91 
     92 grpc_cc_test(
     93     name = "murmur_hash_test",
     94     srcs = ["murmur_hash_test.cc"],
     95     language = "C++",
     96     deps = [
     97         "//:gpr",
     98         "//test/core/util:gpr_test_util",
     99     ],
    100 )
    101 
    102 grpc_cc_test(
    103     name = "string_test",
    104     srcs = ["string_test.cc"],
    105     language = "C++",
    106     deps = [
    107         "//:gpr",
    108         "//test/core/util:gpr_test_util",
    109     ],
    110 )
    111 
    112 grpc_cc_test(
    113     name = "spinlock_test",
    114     srcs = ["spinlock_test.cc"],
    115     language = "C++",
    116     deps = [
    117         "//:gpr",
    118         "//test/core/util:gpr_test_util",
    119     ],
    120 )
    121 
    122 grpc_cc_test(
    123     name = "sync_test",
    124     srcs = ["sync_test.cc"],
    125     language = "C++",
    126     deps = [
    127         "//:gpr",
    128         "//test/core/util:gpr_test_util",
    129     ],
    130 )
    131 
    132 grpc_cc_test(
    133     name = "time_test",
    134     srcs = ["time_test.cc"],
    135     language = "C++",
    136     deps = [
    137         "//:gpr",
    138         "//test/core/util:gpr_test_util",
    139     ],
    140 )
    141 
    142 grpc_cc_test(
    143     name = "tls_test",
    144     srcs = ["tls_test.cc"],
    145     language = "C++",
    146     deps = [
    147         "//:gpr",
    148         "//test/core/util:gpr_test_util",
    149     ],
    150 )
    151 
    152 grpc_cc_test(
    153     name = "useful_test",
    154     srcs = ["useful_test.cc"],
    155     language = "C++",
    156     deps = [
    157         "//:gpr",
    158         "//test/core/util:gpr_test_util",
    159     ],
    160 )
    161