You can do a "find" in any decent editor using the following regex:
Iteration is d+
Testcase is w+
and replace the matches with an empty string.
For example in vim, assuming the cursor is at the beginning of the file
:1,$s/Iteration is d+
Testcase is w+
//
does the trick.
Once done, the file will contain the lines with no tallying fail/pass result.
You could also use the same tactic to write a perl script - I leave that to you.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…