MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST

Function TEST

tensorflow/compiler/xla/parse_flags_from_env_test.cc:79–83  ·  view source on GitHub ↗

Test that the environment variable is parsed correctly.

Source from the content-addressed store, hash-verified

77
78// Test that the environment variable is parsed correctly.
79TEST(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.
86TEST(ParseFlagsFromEnv, File) {

Callers

nothing calls this directly

Calls 9

TestParseFlagsFromEnvFunction · 0.85
c_strMethod · 0.80
SetProgramMethod · 0.80
SetChannelActionMethod · 0.80
CommunicateMethod · 0.80
setenvFunction · 0.50
fopenFunction · 0.50
push_backMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected