aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/codegen
diff options
context:
space:
mode:
authorGravatar Mahak Mukhi <mmukhi@google.com>2017-04-14 17:37:46 -0700
committerGravatar Mahak Mukhi <mmukhi@google.com>2017-04-15 19:09:45 -0700
commita68829023c4d20767938a9e2156bab1fe83b082a (patch)
treecd5688e47ea99d9f4d044ac908d093ea74090c1f /test/cpp/codegen
parentc5eee16814254cc94883ac5e43a3604f8172c020 (diff)
more sanity
trying to fix some sanity nope that didn't work fixing test failiures added debug code more trail and error more trial and error cleaning debug code
Diffstat (limited to 'test/cpp/codegen')
-rw-r--r--test/cpp/codegen/golden_file_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/cpp/codegen/golden_file_test.cc b/test/cpp/codegen/golden_file_test.cc
index dd09471fdb..7789ac738b 100644
--- a/test/cpp/codegen/golden_file_test.cc
+++ b/test/cpp/codegen/golden_file_test.cc
@@ -76,7 +76,9 @@ TEST(GoldenMockFileTest, TestGeneratedMockFile) {
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
::google::ParseCommandLineFlags(&argc, &argv, true);
- if (FLAGS_generated_file_path.empty()) return 1;
+ if (FLAGS_generated_file_path.empty()) {
+ FLAGS_generated_file_path = "gens/src/proto/grpc/testing/";
+ }
if (FLAGS_generated_file_path.back() != '/')
FLAGS_generated_file_path.append("/");
return RUN_ALL_TESTS();