diff options
Diffstat (limited to 'test/gtest_env_var_test_.cc')
-rw-r--r-- | test/gtest_env_var_test_.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/gtest_env_var_test_.cc b/test/gtest_env_var_test_.cc index dd820e4..f7c78fc 100644 --- a/test/gtest_env_var_test_.cc +++ b/test/gtest_env_var_test_.cc @@ -101,6 +101,11 @@ void PrintFlag(const char* flag) { return; } + if (strcmp(flag, "throw_on_failure") == 0) { + cout << GTEST_FLAG(throw_on_failure); + return; + } + cout << "Invalid flag name " << flag << ". Valid names are break_on_failure, color, filter, etc.\n"; exit(1); |