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])
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())