From 3a43cc06a8ee61b028fd21f3d18954eab421cd9c Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Fri, 8 Apr 2016 16:59:51 -0700 Subject: Added codegen_test_full Which makes sure target that depend on both codegen and grpc build. --- tools/run_tests/sources_and_headers.json | 33 ++++++++++++++++++++++++++++++-- tools/run_tests/tests.json | 23 +++++++++++++++++++++- 2 files changed, 53 insertions(+), 3 deletions(-) (limited to 'tools/run_tests') diff --git a/tools/run_tests/sources_and_headers.json b/tools/run_tests/sources_and_headers.json index b2f2e1eb52..720a14306e 100644 --- a/tools/run_tests/sources_and_headers.json +++ b/tools/run_tests/sources_and_headers.json @@ -1904,6 +1904,35 @@ "third_party": false, "type": "target" }, + { + "deps": [ + "gpr", + "grpc", + "grpc++", + "grpc++_codegen" + ], + "headers": [ + "src/proto/grpc/testing/control.grpc.pb.h", + "src/proto/grpc/testing/control.pb.h", + "src/proto/grpc/testing/messages.grpc.pb.h", + "src/proto/grpc/testing/messages.pb.h", + "src/proto/grpc/testing/payloads.grpc.pb.h", + "src/proto/grpc/testing/payloads.pb.h", + "src/proto/grpc/testing/perf_db.grpc.pb.h", + "src/proto/grpc/testing/perf_db.pb.h", + "src/proto/grpc/testing/services.grpc.pb.h", + "src/proto/grpc/testing/services.pb.h", + "src/proto/grpc/testing/stats.grpc.pb.h", + "src/proto/grpc/testing/stats.pb.h" + ], + "language": "c++", + "name": "codegen_test_full", + "src": [ + "test/cpp/codegen/codegen_test_full.cc" + ], + "third_party": false, + "type": "target" + }, { "deps": [ "grpc++_codegen" @@ -1923,9 +1952,9 @@ "src/proto/grpc/testing/stats.pb.h" ], "language": "c++", - "name": "codegen_test", + "name": "codegen_test_minimal", "src": [ - "test/cpp/codegen/codegen_test.cc" + "test/cpp/codegen/codegen_test_minimal.cc" ], "third_party": false, "type": "target" diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json index d6e40fe97a..baf27da101 100644 --- a/tools/run_tests/tests.json +++ b/tools/run_tests/tests.json @@ -2072,7 +2072,28 @@ "flaky": false, "gtest": true, "language": "c++", - "name": "codegen_test", + "name": "codegen_test_full", + "platforms": [ + "linux", + "mac", + "posix", + "windows" + ] + }, + { + "args": [], + "ci_platforms": [ + "linux", + "mac", + "posix", + "windows" + ], + "cpu_cost": 1.0, + "exclude_configs": [], + "flaky": false, + "gtest": true, + "language": "c++", + "name": "codegen_test_minimal", "platforms": [ "linux", "mac", -- cgit v1.2.3