def METHOD_NAME():
    """
      Regression test: project-rules.glob rule run from inside an indirect
    conditional should report an error as it depends on the 'currently loaded
    project' concept and indirect conditional rules get called only after all
    the project modules have already finished loading.
    """
    t = BoostBuild.Tester(use_test_config=False)
    t.write("jamroot.jam", """\