more merges
This commit is contained in:
parent
0f6567954f
commit
da71e8c870
@ -81,6 +81,7 @@ def TestFlag(flag, test_val, default_val):
|
|||||||
|
|
||||||
|
|
||||||
class GTestEnvVarTest(gtest_test_utils.TestCase):
|
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."""
|
||||||
|
|
||||||
@ -107,7 +108,7 @@ class GTestEnvVarTest(gtest_test_utils.TestCase):
|
|||||||
AssertEq('xml:tmp/bar.xml', GetFlag('output'))
|
AssertEq('xml:tmp/bar.xml', GetFlag('output'))
|
||||||
|
|
||||||
def testXmlOutputFileOverride(self):
|
def testXmlOutputFileOverride(self):
|
||||||
"""Tests that $XML_OUTPUT_FILE is overridden by $GTEST_OUTPUT"""
|
"""Tests that $XML_OUTPUT_FILE is overridden by $GTEST_OUTPUT."""
|
||||||
|
|
||||||
SetEnvVar('GTEST_OUTPUT', 'xml:tmp/foo.xml')
|
SetEnvVar('GTEST_OUTPUT', 'xml:tmp/foo.xml')
|
||||||
SetEnvVar('XML_OUTPUT_FILE', 'tmp/bar.xml')
|
SetEnvVar('XML_OUTPUT_FILE', 'tmp/bar.xml')
|
||||||
|
Loading…
Reference in New Issue
Block a user