code: def run_target(binary_file: str, test_type: TestType) -> None:
      print_log("start run", test_type.value, "test: ", binary_file)
      start_time = time.time()
      assert test_type in {TestType.CPP, TestType.PY}
      if test_type == TestType.CPP:
          run_cpp_test(binary_file)
      else:
          run_oss_python_test(binary_file)
  
      print_time(" time: ", start_time)
  
file_path: pytorch/tools/code_coverage/package/tool/gcc_coverage.py
imports: import os
  import subprocess
  import time
  from typing import Dict
  from ..oss.utils import get_gcda_files, run_oss_python_test
  from ..util.setting import JSON_FOLDER_BASE_DIR, TestType
  from ..util.utils import print_log, print_time
  from .utils import run_cpp_test
label_desc: Use image node_id 2 for calling a global function with example usage: run_target(binary_file, test_type) without return types