> On Apr 9, 2004, at 3:26 PM, Jonathan Worthington wrote:
>
> > I'm having a crack at getting the ICU changes building on Win32.
>
> Great--thanks!
>
Here's the next step.  Now we actually get through the build process,
building ICU along the way and linking the .lib files into the final Parrot
executable.  Unfortunately, nmake test shows that I've screwed something
up...

--
Failed Test           Status Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
----

imcc\t\syn\clash.t         1   256    15    1   6.67%  13
t\op\arithmetics.t        12  3072    20   12  60.00%  7-18
t\op\ifunless.t            2   512     6    2  33.33%  2, 5
t\op\integer.t             1   256    39    1   2.56%  4
t\op\jit.t                 1   256    58    1   1.72%  54
t\op\jitn.t                2   512    10    2  20.00%  9-10
t\op\number.t             32  8192    38   32  84.21%  1-24, 27, 29, 31,
34-38
t\op\stacks.t              4  1024    56    4   7.14%  17, 50-52
t\op\string.t              3   768   132    3   2.27%  94-95, 102
t\op\trans.t              17  4352    18   17  94.44%  1-7, 9-18
t\pmc\boolean.t            1   256     7    1  14.29%  2
t\pmc\delegate.t           2   512    10    2  20.00%  5-6
t\pmc\dumper.t             1   256    13    1   7.69%  5
t\pmc\float.t              5  1280     9    5  55.56%  1, 6-9
t\pmc\freeze.t             1   256    13    1   7.69%  3
t\pmc\io.t                 2   512    23    2   8.70%  9, 18
t\pmc\managedstruct.t      1   256     5    1  20.00%  2
t\pmc\object-meths.t                  19    1   5.26%  17
t\pmc\orderedhash.t        1   256    18    1   5.56%  16
t\pmc\perlarray.t          2   512    26    2   7.69%  2-3
t\pmc\perlhash.t           1   256    33    1   3.03%  33
t\pmc\perlint.t            6  1536    27    6  22.22%  16-20, 25
t\pmc\perlnum.t           20  5120    36   20  55.56%  4, 8-10, 13-14,
16-25,
                                                       27, 33-34, 36
t\pmc\perlstring.t         7  1792    33    7  21.21%  1-2, 7, 10, 12, 14,
17
t\pmc\pmc.t               35  8960    92   35  38.04%  8, 12, 15-16, 18-19,
21-
                                                       24, 26, 31-33, 36,
39-40,
                                                       47, 49, 56, 58, 63,
65-
                                                       75, 77, 92
t\pmc\ref.t                1   256     6    1  16.67%  4
t\pmc\sort.t               1   256     9    1  11.11%  6
t\pmc\sys.t                1   256     1    1 100.00%  1
t\src\string.t             1   256     1    1 100.00%  1
2 tests and 87 subtests skipped.
Failed 29/100 test scripts, 71.00% okay. 165/1481 subtests failed, 88.86%
okay.
--

I don't have time to dig into this right now, but if anyone can spot an
obvious pattern in these failures or point me at what I did wrong, that'd be
great.  One thing that does stand out to me is that icudata.lib is only 2
KB, and another is that I didn't get an icuuc.lib, but rather an icuucd.lib.
I'm guessing that as it linked properly it contains the appropriate symbols,
though.

Now for the patch.  I've attached my changes to icu.pl.  Basically it's just
more stuff in the MS VC++ specific section of icu.pl.  There are also some
files missing in CVS that we need (they were moved into the attic after
being considered unrequired, but it turns out they are for Win32 building).
I've attached a patch to put them back in.  Note that as some parts of ICU
in the parrot tree have been removed, I had to modify the .dsw file so it
didn't contain references to the related project files.  So, to be totally
clear, the .dsw file is different from what would be in the standard ICU
package.

I hope this is a move in the right direction.  I guess building and failing
some tests is better than not building at all.  ;-)

Happy Easter,

Jonathan

Attachment: icu.pl.patch
Description: Binary data

Attachment: icuwin32missing.patch
Description: Binary data

Reply via email to