Boost logo

Boost Users :

From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2008-05-02 13:29:02


Hey Kenny,
>
> Thanks, the batch file idea is pretty much the best idea so far. However,
> this still won't work if I run it from visual studio. By "Automated" I mean
> exactly what it means: The pause process should be handled by boost,
> transparently, which is a form of automation. I'm not saying boost should
> force the user either, if you simply make it a preprocessor define like
> BOOST_TEST_PAUSE, you provide the user the flexibility of deciding whether
> or not boost will pause at the end of the test or not, which makes boost a
> little more flexible and I won't have to run off and make a batch file. The
> logic, at least without having looked at the boost.test source, would be
> seemingly simple:
>
> #ifdef BOOST_TEST_PAUSE
> system( "pause" )
> #endif // BOOST_TEST_PAUSE
>
> This may not be portable, but other platforms may not have the "Console
> disappearance" issue, so this may be a windows-specific feature. I will
> probably add this logic somewhere and submit a patch to the boost dev team.
>
> Thanks for all the help guys.

Did you see this docs, about executing Tests right after the compilation
Visual Studio?
http://www.boost.org/doc/libs/1_35_0/libs/test/doc/usage/msvc_net.html



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