Fix env_var_test to ignore XML_OUTPUT_FILE if already set
This commit is contained in:
		
							parent
							
								
									9c99ed9211
								
							
						
					
					
						commit
						31bdab0dad
					
				@ -84,6 +84,8 @@ class GTestEnvVarTest(gtest_test_utils.TestCase):
 | 
			
		||||
  def testEnvVarAffectsFlag(self):
 | 
			
		||||
    """Tests that environment variable should affect the corresponding flag."""
 | 
			
		||||
 | 
			
		||||
    SetEnvVar('XML_OUTPUT_FILE', None)
 | 
			
		||||
 | 
			
		||||
    TestFlag('break_on_failure', '1', '0')
 | 
			
		||||
    TestFlag('color', 'yes', 'auto')
 | 
			
		||||
    TestFlag('filter', 'FooTest.Bar', '*')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user