code: def test_glob_excludes_in_subdirectory():
      """
        Regression test: glob excludes used to be broken when building from a
      subdirectory.
  
      """
      t = BoostBuild.Tester(use_test_config=False)
  
      t.write("jamroot.jam", "build-project p ;")
      t.write("p/p.c", "int main() {}\n")
      t.write("p/p_x.c", "very bad non-compilable file\n")
      t.write("p/jamfile.jam", "exe p : [ glob *.c : p_x.c ] ;")
  
      t.run_build_system(subdir="p")
      t.expect_addition("p/bin/$toolset/debug*/p.exe")
  
      t.cleanup()
  
imports: import BoostBuild
label_desc: Use image node_id 7 for calling a global function with example usage: test_glob_excludes_in_subdirectory() without return types