diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2017-09-11 17:00:11 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2017-09-11 17:00:11 -0700 |
commit | 6945203300f17a01bc6658202e04796718897e12 (patch) | |
tree | d0136d9be8c539fefea318a5194cbe3fcccb0d8e | |
parent | 49b31dc5f74fabdc0a9c76bf5460ba375a105801 (diff) | |
download | protobuf-6945203300f17a01bc6658202e04796718897e12.tar.gz protobuf-6945203300f17a01bc6658202e04796718897e12.tar.bz2 protobuf-6945203300f17a01bc6658202e04796718897e12.zip |
Exclude addressbook.proto from C# boostrap test.
This addressbook.proto now belongs to its own bazel pacakge and can't be
accessed in bazel protobuf_test target.
-rw-r--r-- | BUILD | 1 | ||||
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc | 5 |
2 files changed, 0 insertions, 6 deletions
@@ -615,7 +615,6 @@ cc_test( # Files for csharp_bootstrap_unittest.cc. "conformance/**/*", "csharp/src/**/*", - "examples/**/*", ]), includes = [ "src/", diff --git a/src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc b/src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc index 5c54270e..8c38e52f 100644 --- a/src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc +++ b/src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc @@ -184,11 +184,6 @@ TEST(CsharpBootstrapTest, GeneratedCsharpDescriptorMatches) { "../csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs"); generate_test.SetParameter(""); - source_tree.MapPath("", TestSourceDir() + "/../examples"); - generate_test.Run(importer.Import("addressbook.proto"), - "Addressbook.cs", - "../csharp/src/AddressBook/Addressbook.cs"); - source_tree.MapPath("", TestSourceDir() + "/../conformance"); generate_test.Run(importer.Import("conformance.proto"), "Conformance.cs", |