From 119062428f4de56518ebe143b2a97519553b8956 Mon Sep 17 00:00:00 2001 From: Sree Kuchibhotla <sreek@google.com> Date: Thu, 22 Oct 2015 15:04:26 -0700 Subject: [PATCH] Fix the error reported by tools/run_tests/check_sources_and_headers.py --- build.yaml | 1 + test/cpp/interop/stress_interop_client.cc | 3 ++- tools/run_tests/sources_and_headers.json | 2 ++ vsprojects/vcxproj/test/stress_test/stress_test.vcxproj | 1 + .../vcxproj/test/stress_test/stress_test.vcxproj.filters | 3 +++ 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/build.yaml b/build.yaml index e33124292a..7a530de6a5 100644 --- a/build.yaml +++ b/build.yaml @@ -2101,6 +2101,7 @@ targets: build: test language: c++ headers: + - test/cpp/interop/client_helper.h - test/cpp/interop/interop_client.h - test/cpp/interop/stress_interop_client.h src: diff --git a/test/cpp/interop/stress_interop_client.cc b/test/cpp/interop/stress_interop_client.cc index 5ade60057b..a75eb99d42 100644 --- a/test/cpp/interop/stress_interop_client.cc +++ b/test/cpp/interop/stress_interop_client.cc @@ -31,6 +31,8 @@ *is % allowed in string */ +#include "test/cpp/interop/stress_interop_client.h" + #include <memory> #include <string> #include <vector> @@ -38,7 +40,6 @@ #include <grpc++/create_channel.h> #include "test/cpp/interop/interop_client.h" -#include "test/cpp/interop/stress_interop_client.h" namespace grpc { namespace testing { diff --git a/tools/run_tests/sources_and_headers.json b/tools/run_tests/sources_and_headers.json index 73dc30d689..1fb1da2239 100644 --- a/tools/run_tests/sources_and_headers.json +++ b/tools/run_tests/sources_and_headers.json @@ -1665,6 +1665,7 @@ "grpc_test_util" ], "headers": [ + "test/cpp/interop/client_helper.h", "test/cpp/interop/interop_client.h", "test/cpp/interop/stress_interop_client.h", "test/proto/empty.grpc.pb.h", @@ -1677,6 +1678,7 @@ "language": "c++", "name": "stress_test", "src": [ + "test/cpp/interop/client_helper.h", "test/cpp/interop/interop_client.cc", "test/cpp/interop/interop_client.h", "test/cpp/interop/stress_interop_client.cc", diff --git a/vsprojects/vcxproj/test/stress_test/stress_test.vcxproj b/vsprojects/vcxproj/test/stress_test/stress_test.vcxproj index ad0e48c1ca..a385a6dce9 100644 --- a/vsprojects/vcxproj/test/stress_test/stress_test.vcxproj +++ b/vsprojects/vcxproj/test/stress_test/stress_test.vcxproj @@ -145,6 +145,7 @@ </Link> </ItemDefinitionGroup> <ItemGroup> + <ClInclude Include="..\..\..\..\test\cpp\interop\client_helper.h" /> <ClInclude Include="..\..\..\..\test\cpp\interop\interop_client.h" /> <ClInclude Include="..\..\..\..\test\cpp\interop\stress_interop_client.h" /> </ItemGroup> diff --git a/vsprojects/vcxproj/test/stress_test/stress_test.vcxproj.filters b/vsprojects/vcxproj/test/stress_test/stress_test.vcxproj.filters index db0b220ea4..839493a96e 100644 --- a/vsprojects/vcxproj/test/stress_test/stress_test.vcxproj.filters +++ b/vsprojects/vcxproj/test/stress_test/stress_test.vcxproj.filters @@ -21,6 +21,9 @@ </ClCompile> </ItemGroup> <ItemGroup> + <ClInclude Include="..\..\..\..\test\cpp\interop\client_helper.h"> + <Filter>test\cpp\interop</Filter> + </ClInclude> <ClInclude Include="..\..\..\..\test\cpp\interop\interop_client.h"> <Filter>test\cpp\interop</Filter> </ClInclude> -- GitLab