Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Unit Testing of DLL's
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-05-28 02:05:57


Tyler Weston <tyler.weston <at> gmail.com> writes:

> If you add a "delay load" flag for the boost UTF DLL, you should be able
> to ship testing code in your DLL without providing the UTF DLL to
> customers. This instructs the compiler to only look for the UTF DLL when
> the testing framework attempts to make a call. As long as your users
> don't try to call your test hooks, it should work out.
> http://msdn.microsoft.com/en-us/library/yx9zd12s%28v=VS.90%29.aspx

This will not work if OP using auto test cases. These are generated at startup
and will require UTF dll.

Gennadiy


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