def METHOD_NAME(vm, tailbench_tests):
  """Runs up tailbench on the VM.
  Args:
    vm: The VM that we wish to run tailbench on.
    tailbench_tests: A command line flag that determines which tailbench tests
      we wish to run.
  """
  vm.RemoteCommand(f'{INSTALL_DIR}/{TAILBENCH}/build.sh harness')
  for test in tailbench_tests:
    vm.RemoteCommand(f'{INSTALL_DIR}/{TAILBENCH}/build.sh {test}')
    vm.RemoteCommand(f'cd {INSTALL_DIR}/{TAILBENCH}/{test} && sudo ./run.sh')
    vm.RemoteCommand(
        f'cd {INSTALL_DIR} && '
        f'sudo python3 {INSTALL_DIR}/{TAILBENCH}/utilities/parselats.py '
        f'{INSTALL_DIR}/{TAILBENCH}/{test}/lats.bin')
    vm.RemoteCommand(f'sudo mv {INSTALL_DIR}/lats.txt '
                     f'{INSTALL_DIR}/results/{test}.txt')