diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2015-10-22 11:13:14 -0700 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2015-10-22 11:13:14 -0700 |
commit | 68e13f40f4d41d1d3cf8ec6382ac9e7ad132daf9 (patch) | |
tree | 0a623d3f0b25350329265185448a11be9a1b8be1 | |
parent | 598480df1190c62b246cced76a13259b019a621c (diff) | |
download | protobuf-68e13f40f4d41d1d3cf8ec6382ac9e7ad132daf9.tar.gz protobuf-68e13f40f4d41d1d3cf8ec6382ac9e7ad132daf9.tar.bz2 protobuf-68e13f40f4d41d1d3cf8ec6382ac9e7ad132daf9.zip |
Enable python tests with testdata.
-rw-r--r-- | BUILD | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -534,7 +534,10 @@ py_proto_library( py_proto_library( name = "python_specific_test_protos", - srcs = glob(["python/google/protobuf/internal/*.proto"]), + srcs = glob([ + "python/google/protobuf/internal/*.proto", + "python/google/protobuf/internal/import_test_package/*.proto", + ]), include = "python", protoc = ":protoc", deps = [":python_common_test_protos"], @@ -552,6 +555,9 @@ py_library( internal_protobuf_py_tests( name = "python_tests_batch", + data = glob([ + "src/google/protobuf/**/*", + ]), modules = [ "descriptor_database_test", "descriptor_pool_test", @@ -559,13 +565,13 @@ internal_protobuf_py_tests( "generator_test", "json_format_test", "message_factory_test", - # "message_test", # failed due to testdata path + "message_test", "proto_builder_test", - # "reflection_test", # failed due to testdata path + "reflection_test", "service_reflection_test", "symbol_database_test", "text_encoding_test", - # "text_format_test", # failed due to testdata path + "text_format_test", "unknown_fields_test", "wire_format_test", ], |