Only report performance data for successful tests

Test files that exit with a nonzero status code should not be reported
because they are not representative of the normal state of the file.