def METHOD_NAME():
    """
        Test that wildcards can include directories. Also test exclusion
     patterns.
    """
    t = BoostBuild.Tester(use_test_config=False)
    t.write("jamroot.jam", "")
    t.write("d1/src/foo/a.cpp", "void bar(); int main() { bar(); }\n")
    t.write("d1/src/bar/b.cpp", "void bar() {}\n")
    t.write("d1/src/bar/bad.cpp", "very bad non-compilable file\n")
    t.write("d1/jamfile.jam", """\