code: def basic():
      t = BoostBuild.Tester(pass_toolset=0)
  
      t.write(
          "file.jam",
          """\
  actions do-print
  {
      echo updating $(<)
  }
  
  NOTFILE target1 ;
  ALWAYS target1 ;
  do-print target1 ;
  
  UPDATE_NOW target1 ;
  
  DEPENDS all : target1 ;
  """,
      )
  
      t.run_build_system(
          ["-ffile.jam"],
          stdout="""\
  ...found 1 target...
  ...updating 1 target...
  do-print target1
  updating target1
  ...updated 1 target...
  ...found 1 target...
  """,
      )
  
      t.cleanup()
  
file_path: turicreate/src/external/boost/boost_1_68_0/tools/build/test/core_update_now.py
imports: import BoostBuild
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: basic() without return types