Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
6991f422
Commit
6991f422
authored
Mar 01, 2016
by
Doug Greiman
Browse files
Fix env_var_test to ignore XML_OUTPUT_FILE if already set
parent
5db9cbbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
googletest/test/gtest_env_var_test.py
googletest/test/gtest_env_var_test.py
+2
-0
No files found.
googletest/test/gtest_env_var_test.py
View file @
6991f422
...
@@ -84,6 +84,8 @@ class GTestEnvVarTest(gtest_test_utils.TestCase):
...
@@ -84,6 +84,8 @@ class GTestEnvVarTest(gtest_test_utils.TestCase):
def
testEnvVarAffectsFlag
(
self
):
def
testEnvVarAffectsFlag
(
self
):
"""Tests that environment variable should affect the corresponding flag."""
"""Tests that environment variable should affect the corresponding flag."""
SetEnvVar
(
'XML_OUTPUT_FILE'
,
None
)
TestFlag
(
'break_on_failure'
,
'1'
,
'0'
)
TestFlag
(
'break_on_failure'
,
'1'
,
'0'
)
TestFlag
(
'color'
,
'yes'
,
'auto'
)
TestFlag
(
'color'
,
'yes'
,
'auto'
)
TestFlag
(
'filter'
,
'FooTest.Bar'
,
'*'
)
TestFlag
(
'filter'
,
'FooTest.Bar'
,
'*'
)
...
...
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