50 if (strcmp(flag,
"break_on_failure") == 0) {
55 if (strcmp(flag,
"catch_exceptions") == 0) {
60 if (strcmp(flag,
"color") == 0) {
65 if (strcmp(flag,
"death_test_style") == 0) {
70 if (strcmp(flag,
"death_test_use_fork") == 0) {
75 if (strcmp(flag,
"fail_fast") == 0) {
80 if (strcmp(flag,
"filter") == 0) {
85 if (strcmp(flag,
"output") == 0) {
90 if (strcmp(flag,
"brief") == 0) {
95 if (strcmp(flag,
"print_time") == 0) {
100 if (strcmp(flag,
"repeat") == 0) {
105 if (strcmp(flag,
"stack_trace_depth") == 0) {
110 if (strcmp(flag,
"throw_on_failure") == 0) {
115 cout <<
"Invalid flag name " << flag
116 <<
". Valid names are break_on_failure, color, filter, etc.\n";
122 int main(
int argc,
char** argv) {
126 cout <<
"Usage: googletest-env-var-test_ NAME_OF_FLAG\n";
TEST(GTestEnvVarTest, Dummy)
void PrintFlag(const char *flag)
GTEST_API_ void InitGoogleTest(int *argc, char **argv)