Removes obsolete debug code.

This commit is contained in:
vladlosev 2012-09-06 17:09:27 +00:00
parent ff8d732cef
commit b535c1767e
4 changed files with 4 additions and 6 deletions

View File

@ -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.

View File

@ -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):

View File

@ -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

View File

@ -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):