Boost logo

Boost Users :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2008-06-05 08:48:07


Frank Birbacher wrote:
> Hi!
>
> Robert Ramey schrieb:
>> If someone really want's to make portable_binary_archive an "officially
>> supported archive". Then some way of testing is required. This would
>> require generating output on one platform and reading on another. This is
>> something that I couldn't figure out how to make BJAM do.
>
> Well, you could just instead check whether the produced output is the
> same everywhere. I thought of calculating the md5 sum and checking
> against that. That would make a good unit test. Or am I missing something?

That's a great idea. We've been generating a test file with
representative data for each of our platforms which are checked into
source control. A unit test then checks all (3) files on each platform.
The Md5 approach would negate the management of archive files.

Thanks, Jeff Flinn


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net