#1401: t/library/pcre.t: Test #2 failing on MSWin32
---------------------+------------------------------------------------------
Reporter: jkeenan | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: library | Version: 1.9.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: win32 |
---------------------+------------------------------------------------------
Comment(by ronaldws):
It looks to me like test 2 can run on Win32 in some of my configurations
including the parts that were marked todo. Since it can fail on Darwin
and runs for me on Win32 I would recommend renaming the ticket with a
subject like "t/library/pcre.t: Test #2 failing with some configurations".
Old failures should hopefully be retested and any reported failures,
whatever the OS, should include detailed version and environment
information for both OS and build tools.
There were some hiccups with the pcre binary and a back version of MinGW
including gcc 3.4 but actually I eventually got that to run too. When I
upgraded to the current MinGW with gcc 4.5, I got both the pcre 7.0 binary
install and the pcre 8.10 install from source working and running both
tests without any "todo" logic for test 2.
There were some issues along the way. First I was confused, as I think
some others on this thread seemed to be, when "perl Config.pl" reported
back "done" instead of "no" when the parrot configuration was built
without a pcre present. I have included a patch to config\auto\pcre.pm
that flatly reports back "no" when there is no "pcre" present. While
getting parrot to recognize pcre 8.10 could be hacked with a copy of a dll
named pcre3.dll, the attached patch recognizes the pcre 8.10 library
directly. The patch to the test file, pcre.t, removes the "todo" logic
since the logic was tied to win32 but wasn't needed at all on my vista
system. Along the way I learned that "make install prefix=/c/MinGW" for
the pcre make put the pcre files where they needed to be on my system.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1401#comment:10>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets