Fix environment variable set on windows in vmodule_test

PiperOrigin-RevId: 292689677
Change-Id: I441d9433fde748b7c17636341dc5c476c829103b
This commit is contained in:
Gunhan Gulsoy 2020-02-01 02:34:54 -08:00 committed by TensorFlower Gardener
parent 6daded8f44
commit 24fd250d73

View File

@ -65,6 +65,9 @@ int RealMain(const char* argv0, bool do_vlog) {
std::string command = std::string(argv0);
#if defined(PLATFORM_GOOGLE)
command = command + " do_vlog --vmodule=vmodule_test=7 --alsologtostderr";
#elif defined(PLATFORM_WINDOWS)
command = "set TF_CPP_VMODULE=vmodule_test=7,shoobadooba=3 && " + command +
" do_vlog";
#else
command =
"TF_CPP_VMODULE=vmodule_test=7,shoobadooba=3 " + command + " do_vlog";