diff options
author | Mahak Mukhi <mmukhi@google.com> | 2017-04-14 17:37:46 -0700 |
---|---|---|
committer | Mahak Mukhi <mmukhi@google.com> | 2017-04-15 19:09:45 -0700 |
commit | a68829023c4d20767938a9e2156bab1fe83b082a (patch) | |
tree | cd5688e47ea99d9f4d044ac908d093ea74090c1f /test | |
parent | c5eee16814254cc94883ac5e43a3604f8172c020 (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')
-rw-r--r-- | test/cpp/codegen/golden_file_test.cc | 4 |
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(); |