Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 34719
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 3.10
Fixed in: (no value)



Subject: Should ignore bogus directives in header
Download (untitled) / with headers
text/plain 471b
$ cat ~/tmp/fart.t #!/usr/bin/perl -w print <<'END'; 1..0 # FART foo reason END $ prove ~/tmp/fart.t /Users/schwern/tmp/fart......skipped: FART foo reason Files=1, Tests=0, 0 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU) Result: NOTESTS "# FART foo reason" is a directive called "FART" with the argument "foo reason". Bogus directives in the header should be ignored, just like bogus directives on a test. So the above should be a skip all with no reason.
Download (untitled) / with headers
text/plain 332b
On Sun Apr 06 07:28:57 2008, MSCHWERN wrote: Show quoted text
> $ cat ~/tmp/fart.t > #!/usr/bin/perl -w > > print <<'END'; > 1..0 # FART foo reason > END > > > $ prove ~/tmp/fart.t > /Users/schwern/tmp/fart......skipped: FART foo reason > Files=1, Tests=0, 0 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU) > Result: NOTESTS
Fixed in r988.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.