Exemplo n.º 1
0
 def test_other_variables(self):
   """Test that other env vars are used when compiling clang."""
   key = 'other'
   value = 'blah'
   os.environ[key] = value
   self.assertEqual(value, bisect_clang.get_clang_build_env()[key])
Exemplo n.º 2
0
 def test_cxxflags(self):
   """Test that CXXFLAGS are not used compiling clang."""
   os.environ['CXXFLAGS'] = 'blah'
   self.assertNotIn('CXXFLAGS', bisect_clang.get_clang_build_env())