Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-11-24 02:04:30


--- In boost_at_y..., "Andrei Alexandrescu" <andrewalex_at_h...> wrote:
> > > #include <libs/test/src/test_tools.cpp>
> > > #include <boost/test/cpp_main.cpp>
> >
> > This is not a part of new Boost test library. Make clean install.
>
> What is "this"? test_tools, cpp_main, or both? How do I cleanly
install?

Delete boost/test and libs/test and substitute with ones provided in
installation package.

>
> > Also you don't need one.
>
> I don't need one what?

Here is corrected version of your example:

#include <boost/test/test_tools.hpp>

int
test_main( int argc, char* agrv[] )
{
   return 0;
}

#include <libs/test/unit_test_result.cpp>
#include <libs/test/unit_test_suite.cpp>
#include <libs/test/execution_monitor.cpp>
#include <libs/test/test_main.cpp>
#include <libs/test/test_tools.cpp>
#include <libs/test/unit_test_config.cpp>
#include <libs/test/unit_test_log.cpp>
#include <libs/test/unit_test_monitor.cpp>

>
> > Why not? The project is supplied.
>
> Because I'm using another compiler than MSVC.

Oops.. Confuded MWCW 7.0 with MCVC 7.0 :-). Anyway it's better use
the library compiled offline.

>
> I gave up and for now I am using compile-time assertions only.
>
>
> Andrei

Rergards,

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk