check_output_target_runner function

Check the output of the target runner and repair it if possible. If the output is incorrect, this function will throw an error.