|
Boost Testing : |
From: Jürgen Hunold (hunold_at_[hidden])
Date: 2006-04-11 05:25:53
Hi !
The attached patch enables dynamic linking for Boost.Test and msvc.
The patch is against latest anonymous CVS (quite old) because I don't know how
to get developer access.
Tested with msvc-7.1.
Caveats: some tests stop working due to unresolved symbols when using custon
test-cases (see test-error.txt for details). All test using the auto-test
cases and inlined testing are working.
And the patch enables "asynch-exception" for "execution_monitor.cpp" only.
And it makes the "minimal" target "explicit" because otherwise all users of
Boost.Test will have "async-exceptions=on" in their property set. I discussed
this with Dave some months ago but had no clear result...
I think this feature is not working as expected. Running the tests manually
(from status/ directory) the compilers issues warning when the
execution_monitor is compiled _inline_ because the tests (e.g. BGL,
multi_array) don't even do <use>/boost/test//minimal when they inline the
test engine. And so they don't have /EHa on...
This is issue 78 on Volodya's issue tracker...
I don't think this patch will please everyone.
I think these issues should be sorted out before the final freeze ;-))
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * hunold_at_[hidden] ! www.ive-mbh.de