Removes obsolete debug code.
This commit is contained in:
parent
ff8d732cef
commit
b535c1767e
@ -73,7 +73,7 @@
|
|||||||
// This allows a user to use his own types in Google Test assertions by
|
// This allows a user to use his own types in Google Test assertions by
|
||||||
// overloading the << operator.
|
// overloading the << operator.
|
||||||
//
|
//
|
||||||
// util/gtl/stl_logging-inl.h overloads << for STL containers. These
|
// util/gtl/stl_logging.h overloads << for STL containers. These
|
||||||
// overloads cannot be defined in the std namespace, as that will be
|
// overloads cannot be defined in the std namespace, as that will be
|
||||||
// undefined behavior. Therefore, they are defined in the global
|
// undefined behavior. Therefore, they are defined in the global
|
||||||
// namespace instead.
|
// namespace instead.
|
||||||
|
@ -67,8 +67,7 @@ def GetFlag(flag):
|
|||||||
args = [COMMAND]
|
args = [COMMAND]
|
||||||
if flag is not None:
|
if flag is not None:
|
||||||
args += [flag]
|
args += [flag]
|
||||||
return gtest_test_utils.Subprocess(args, env=environ,
|
return gtest_test_utils.Subprocess(args, env=environ).output
|
||||||
capture_stderr=False).output
|
|
||||||
|
|
||||||
|
|
||||||
def TestFlag(flag, test_val, default_val):
|
def TestFlag(flag, test_val, default_val):
|
||||||
|
@ -213,7 +213,7 @@ def GetShellCommandOutput(env_cmd):
|
|||||||
# Set and save the environment properly.
|
# Set and save the environment properly.
|
||||||
environ = os.environ.copy()
|
environ = os.environ.copy()
|
||||||
environ.update(env_cmd[0])
|
environ.update(env_cmd[0])
|
||||||
p = gtest_test_utils.Subprocess(env_cmd[1], env=environ, capture_stderr=False)
|
p = gtest_test_utils.Subprocess(env_cmd[1], env=environ)
|
||||||
|
|
||||||
return p.output
|
return p.output
|
||||||
|
|
||||||
|
@ -81,8 +81,7 @@ def RunAndReturnOutput(extra_env, args):
|
|||||||
environ_copy = os.environ.copy()
|
environ_copy = os.environ.copy()
|
||||||
environ_copy.update(extra_env)
|
environ_copy.update(extra_env)
|
||||||
|
|
||||||
return gtest_test_utils.Subprocess([COMMAND] + args, env=environ_copy,
|
return gtest_test_utils.Subprocess([COMMAND] + args, env=environ_copy).output
|
||||||
capture_stderr=False).output
|
|
||||||
|
|
||||||
|
|
||||||
def GetTestsForAllIterations(extra_env, args):
|
def GetTestsForAllIterations(extra_env, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user