def METHOD_NAME():
    t = BoostBuild.Tester(use_test_config=False)
    t.write("jamroot.jam", """
    obj test : test.cpp : <include>a&&b ;
    """)
    t.write("test.cpp", """
    #include <test.h>
    int main() {}
    """)
    t.write("a/test.h", """
    """)
    t.write("b/test.h", """
    #error should find a/test.h
    """)
    t.run_build_system()
    t.touch("a/test.h")
    t.run_build_system()
    t.expect_touch("bin/$toolset/debug*/test.obj")
    t.expect_nothing_more()
    t.touch("b/test.h")
    t.run_build_system()
    t.expect_nothing_more()
    t.cleanup()