Add file and line information to a test result and call report. If you are writing a custom assert-expr method, call this function to pass test results to report.