Boost logo

Boost Testing :

From: Nicola Musatti (Nicola.Musatti_at_[hidden])
Date: 2007-01-22 08:25:58


Roland Schwarz <roland.schwarz <at> chello.at> writes:
 
> Nicola Musatti wrote:
> > it looks like you need to configure your setup to use Spirit 1.6 for the
> > Borland compiler. I'm not up to date about the best way to do this, as I
> > use a custom Jamfile for serialization. I would say that you need to
> > download it from the Spirit site, unpack it somewhere and add to your
> > user-config file's Borland entry something like
> > <cxxflags>-ID:/src/spirit/boost .
>
> Hmm, do you mean I should not use the spirit version from the boost libs?
>
> If so, I think this is the wrong way to go, since it would give
> misleading regression reult pages.

Why? The serialization library was explicitly developed to allow this
possibility for compilers that are not supported by the current Spirit release.
Spirit 1.6 itself is still being more or less maintained just for this purpose.

> From the results I can see, that boost spirit obviously is not
> available for borland-8.5.2 and msvc-6.5. Correct behaviour IMHO would
> be for the date_time detecting this fact and behave accordingly, i.e.
> giving a status result that says something alike: This test/feature
> depends on spirit, which is not available for this toolset.

With Boost.Build v1 the serialization library was set up to either allow in
place replacement of the Spirit subtree or to detect an external installation of
 Spirit 1.6 by means of an environment variable. That's how tests for the
Borland compilers have been run since Spirit 1.8 was integrated into Boost.

> Opinions?

I feel that if a library author is willing to devote effort to backward
compatibility he should rather be encouraged than hampered.

Cheers,
Nicola Musatti


Boost-testing list run by mbergal at meta-comm.com