Subject: | Test-WWW-Mechanize test failures on win32 |
Using perl 5.8.8 on WinXP XP2
I can build v1.05_02, and all tests pass ok.
If I try to build either v1.06 or v1.08, many tests fail.
I'm sure this is due to the change to HTTP-Server-Simple in v1.06
Below is the list of tests that fail.
When each test file dies, I'm shown a pop-up window, saying the program
'needs to close'.
(this is standard windows behaviour when a program unexpectedly dies /
segfaults)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/content_contains.t 5 1280 5 8 160.00% 2-5
t/content_lacks.t 5 1280 5 8 160.00% 2-5
t/follow_link_ok.t 5 1280 6 10 166.67% 2-6
t/get_ok.t 5 1280 11 20 181.82% 2-11
t/has_tag.t 5 1280 7 12 171.43% 2-7
t/link_content.t 5 1280 9 16 177.78% 2-9
t/link_status.t 5 1280 8 14 175.00% 2-8
t/links_ok.t 5 1280 8 14 175.00% 2-8
t/page_links_content.t 5 1280 9 16 177.78% 2-9
t/page_links_ok.t 5 1280 5 8 160.00% 2-5
t/stuff_inputs.t 5 1280 3 4 133.33% 2-3
2 tests skipped.
Failed 11/16 test scripts, 31.25% okay. 65/100 subtests failed, 35.00% okay.
dmake: Error code 133, while making 'test_dynamic'
If I simply remove the -T switch from the sh-bang line of each file that
fails, I then get all tests passing OK.
You will see in the list above, there are several files that don't
die/fail. Though these have the -T switch, they don't use
HTTP-Server-Simple, and so run ok.
For reference, if I run one of the test files (v1.08) on it's own, with
the -T switch, here's the output:
Show quoted text
>perl -Mblib -T t\content_contains.t
Insecure dependency in require while running with -T switch at
t\content_contains.t line 5.
BEGIN failed--compilation aborted at t\content_contains.t line 5.
Hope this is helpful.
Carl