jaugust has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to compile CGI.pm on a Mac and I get the following error during the make test:

t/url.t .................. 1/? # Tests were run but no plan was declared and done_testing() was not seen. # Failed test 'rewrite_interactions' # at /System/Library/Perl/5.12/Test/Builder.pm line 229. # Looks like you failed 1 test of 5. t/url.t .................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests

Is this a fatal error? Or something I can ignore?

What can I do to get this working?

Thanks.

Replies are listed 'Best First'.
Re: CGI.pm make test fails on Mac
by tj_thompson (Monk) on Sep 27, 2011 at 17:50 UTC

    That's rather odd. Sounds like the tests in url.t passed, but the test author did not indicate how many tests he was running. I'd open up url.t and see if that's the case. If so, I'd tentatively try the module out as the tests themselves are passing.

    Actually, after a quick bit of research I find this:

    https://github.com/markstos/CGI.pm/pull/5

    Sounds like just a mistake in the test plan. I don't think I'd be too concerned as long as no tests are shown to be failing. Course, take my advice with a grain of salt as I'm definitely not an expert :)

      Thanks for the help.