Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
b535c176
Commit
b535c176
authored
Sep 06, 2012
by
vladlosev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes obsolete debug code.
parent
ff8d732c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
gtest-internal.h
include/gtest/internal/gtest-internal.h
+1
-1
gtest_env_var_test.py
test/gtest_env_var_test.py
+1
-2
gtest_output_test.py
test/gtest_output_test.py
+1
-1
gtest_shuffle_test.py
test/gtest_shuffle_test.py
+1
-2
No files found.
include/gtest/internal/gtest-internal.h
View file @
b535c176
...
@@ -73,7 +73,7 @@
...
@@ -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.
...
...
test/gtest_env_var_test.py
View file @
b535c176
...
@@ -67,8 +67,7 @@ def GetFlag(flag):
...
@@ -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
):
...
...
test/gtest_output_test.py
View file @
b535c176
...
@@ -213,7 +213,7 @@ def GetShellCommandOutput(env_cmd):
...
@@ -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
...
...
test/gtest_shuffle_test.py
View file @
b535c176
...
@@ -81,8 +81,7 @@ def RunAndReturnOutput(extra_env, args):
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment