Test that the environment variable is parsed correctly.
| 77 | |
| 78 | // Test that the environment variable is parsed correctly. |
| 79 | TEST(ParseFlagsFromEnv, Basic) { |
| 80 | // Prepare environment. |
| 81 | tensorflow::setenv("TF_XLA_FLAGS", kTestFlagString, true /*overwrite*/); |
| 82 | TestParseFlagsFromEnv("(flags in environment variable)"); |
| 83 | } |
| 84 | |
| 85 | // Test that a file named by the environment variable is parsed correctly. |
| 86 | TEST(ParseFlagsFromEnv, File) { |
nothing calls this directly
no test coverage detected