Adds a test for the GTEST_PRINT_TIME env var. By Balazs.Dan@gmail.com.
This commit is contained in:
@@ -81,6 +81,11 @@ void PrintFlag(const char* flag) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (strcmp(flag, "print_time") == 0) {
|
||||
cout << GTEST_FLAG(print_time);
|
||||
return;
|
||||
}
|
||||
|
||||
if (strcmp(flag, "repeat") == 0) {
|
||||
cout << GTEST_FLAG(repeat);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user