Hi! Somewhat related to Andy Lesters problem some days ago about the TAP of "prove --verbose" should not be touched.
Is it possible to make the output "idempotent", i.e., that I can take the output of "prove --verbose" and parse it again with same results? In particular the finally added "ok" line should not be printed, or only with --normalize. Example session: *** $ prove -vml t/00-load.t > xyz.tap *** $ cat xyz.tap # We can see Result: PASS t/00-load.t .. 1..1 ok 1 - use Data::DPath; # Testing Data::DPath 0.09, Perl 5.010000, /2home/ss5/perl510/bin/perl ok # <----------- BAD! ------------------- All tests successful. Files=1, Tests=1, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.85 cusr 0.09 csys = 1.00 CPU) Result: PASS *** $ prove -vml --exec cat xyz.tap # Now bad plan, Result: FAIL xyz.tap .. t/00-load.t .. 1..1 ok 1 - use Data::DPath; # Testing Data::DPath 0.09, Perl 5.010000, /2home/ss5/perl510/bin/perl ok 2 All tests successful. Files=1, Tests=1, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.85 cusr 0.09 csys = 1.00 CPU) Result: PASS All 1 subtests passed Test Summary Report ------------------- xyz.tap (Wstat: 0 Tests: 2 Failed: 1) Failed test: 2 Parse errors: Bad plan. You planned 1 tests but ran 2. Files=1, Tests=2, 0 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: FAIL *** Skipping the "ok" line lets it PASS again and again. I need it when I archive TAP output and re-evaluate it later. Thanks for listening. Kind regards, Steffen -- Steffen Schwigon <s...@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/> German Perl-Workshop <http://www.perl-workshop.de>