Sha256: fd871f93be075ea9bc4ff1d466533239a838aeac7da1d717b4a604a6de86e142

Contents?: true

Size: 944 Bytes

Versions: 3

Compression:

Stored size: 944 Bytes

Contents

# begin:github_only

def pyproto_test_wrapper(name):
    src = name + "_wrapper.py"
    native.py_test(
        name = name,
        srcs = [src],
        legacy_create_init = False,
        main = src,
        data = ["@com_google_protobuf//:testdata"],
        deps = [
            "//python:_message",
            "@com_google_protobuf//:python_common_test_protos",
            "@com_google_protobuf//:python_specific_test_protos",
            "@com_google_protobuf//:python_test_srcs",
            "@com_google_protobuf//:python_srcs",
        ],
    )

# end:github_only

# begin:google_only
#
# def pyproto_test_wrapper(name):
#     src = name + "_wrapper.py"
#     native.py_test(
#         name = name,
#         srcs = [src],
#         main = src,
#         deps = [
#             "//net/proto2/python/internal:" + name + "_for_deps",
#             "//net/proto2/python/public:use_upb_protos",
#         ],
#     )
#
# end:google_only

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_memprofiler_pprof-0.0.4 ext/ruby_memprofiler_pprof_ext/vendor/upb/python/pb_unit_tests/pyproto_test_wrapper.bzl
ruby_memprofiler_pprof-0.0.3 ext/ruby_memprofiler_pprof/vendor/upb/python/pb_unit_tests/pyproto_test_wrapper.bzl
ruby_memprofiler_pprof-0.0.1 ext/ruby_memprofiler_pprof/vendor/upb/python/pb_unit_tests/pyproto_test_wrapper.bzl