aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2017-09-11 17:00:11 -0700
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2017-09-11 17:00:11 -0700
commit6945203300f17a01bc6658202e04796718897e12 (patch)
treed0136d9be8c539fefea318a5194cbe3fcccb0d8e
parent49b31dc5f74fabdc0a9c76bf5460ba375a105801 (diff)
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--BUILD1
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc5
2 files changed, 0 insertions, 6 deletions
diff --git a/BUILD b/BUILD
index 8e1d4bde..b3369b68 100644
--- a/BUILD
+++ b/BUILD
@@ -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",