code: def test_site_config():
      # Ignore user-config, just in case it depends on the user's site-config.jam
      t = BoostBuild.Tester(
          ["--user-config="], use_test_config=False, pass_toolset=0
      )
      # We can immediately exit after we finish loading the config files
      t.write("Jamroot", "EXIT Done : 0 ;")
      t.write("my-site-config.jam", "ECHO Loaded my-site-config ;")
  
      t.run_build_system(
          ["--site-config=my-site-config.jam"],
          stdout="Loaded my-site-config\nDone\n",
      )
  
      t.run_build_system(
          ["--ignore-site-config", "--debug-configuration"]
      )
      t.expect_output_lines(
          """\
  notice: Site configuration files will be ignored due to the
  notice: --ignore-site-config command-line option."""
      )
  
      t.run_build_system(["--site-config=", "--debug-configuration"])
      t.expect_output_lines(
          """\
  notice: Site configuration file loading explicitly disabled."""
      )
  
      t.cleanup()
  
file_path: turicreate/src/external/boost/boost_1_68_0/tools/build/test/configuration.py
imports: import BoostBuild
  import TestCmd
  import os
  import os.path
  import re
label_desc: Use image node_id 6 for calling a global function with example usage: test_site_config() without return types