Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-08-14 17:38:26

On 08/14/2007 03:02 PM, Doug Gregor wrote:
> On Aug 14, 2007, at 3:48 PM, Larry Evans wrote:
>> On 08/14/2007 12:32 PM, Doug Gregor wrote:
>>> You don't have a C++ compiler in your path? Interesting.
>> Yeah, I probably should. I *must* have had some
>> reason for calling it g++-4.1 instead of just g++; however,
>> I can't remember now.
> Okay. This is the kind of thing I wouldn't put on the introductory
> tutorial for getting Boost to build with CMake, because it's rather
> uncommon and would be clutter for most readers.


>> Now, on another problem. I tried cd to the build/libs/mpl and noticed
>> a Makefile but no test subdirectory; so I tried invoking make, but
>> nothing was compiled. I guess this directory has not yet been
>> converted
>> to use CMake. Is there one that has so I could test it out?
>> the src/libs/mpl/
> Most users don't want to run tests, so testing must be enabled
> manually. See:
I tried just enabling the Metaprogramming test ( build/CMakeCache.txt

//Enable testing of Boost.Metaprogramming

), then I did `make -i` (as suggested by wiki/CMakeTesting), then
`ctest`; however, all tests failed:

cd ~/prog_dev/boost-svn/ro/sandbox-branches/boost-cmake/build/
Start processing tests
Test project
   1/ 83 Testing metaprogramming::largest_int ***Failed
   2/ 83 Testing metaprogramming::msvc_is_class***Failed
   3/ 83 Testing metaprogramming::template_arit***Failed
  82/ 83 Testing metaprogramming::vector_c ***Failed
  83/ 83 Testing metaprogramming::zip_view ***Failed

0% tests passed, 83 tests failed out of 83

Doug, do you have any idea what I should do to get these
tests to run?



Boost list run by bdawes at, gregod at, cpdaniel at, john at