From 6945203300f17a01bc6658202e04796718897e12 Mon Sep 17 00:00:00 2001 From: Feng Xiao Date: Mon, 11 Sep 2017 17:00:11 -0700 Subject: 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. --- BUILD | 1 - src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc | 5 ----- 2 files changed, 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", -- cgit v1.2.3