ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <>
Subject Re: tests data in CVS
Date Fri, 01 Feb 2002 16:40:31 GMT
From: "Stephane Bailliez" <>

> is there a point for having so huge testing data for BZip2 tests ?

Yes.  When you compress a file, we want to force
bzip2 to compress it using *multiple* blocks.  So,
we need a file large enough such that it doesn't
get compressed into a single block.

We started using the new file because we found
a bug in our implementation of BZip2 that was
generating invalid bz2 files is the number
of blocks was greater than 1.

> - I was forced to shrink the size to something a bit more reasonable as
> tests under coverage were taking about 10 minutes for BUnzip2 and I killed
> BZip2 test after 30 mins.

Test with native bzip2 in verbose mode to see
how many blocks are there in your new file.
If it is more than one, then it is good

> Stephane Bailliez


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message