def METHOD_NAME(tmpdir):
    '''Test that the compiler flags consists of a list with "-I"
    in every second position: `-I operator -I field -I mesh`
    '''
    flags = LFRicBuild(tmpdir).get_infrastructure_flags()
    i = 0
    while i < len(flags):
        assert flags[i] == "-I"
        i += 2