Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-28 07:42:39


David Abrahams wrote:

>> Can you try again?
>
> Here we go:
>
> The results are still wrong, and really weird now! Why doesn't the
> first compile command line appear directly after msvc.compile.c++ ?
> Why are any tests showing up as **passed**?
...
> msvc.compile.c++
> ..\..\.
\bin.v2\libs\python\test\object_fail1.test\msvc-6.5\debug\object_fail1.obj
> ..\..\.
\bin.v2\libs\python\test\object_fail1.test\msvc-6.5\debug\object_fail1_cpp.rsp
> object_fail1.cpp ..\..\..\boost/python/detail/wrap_python.hpp(30) : fatal
> error C1083: Cannot open include file: 'pyconfig.h': No such file or
> directory (failed-as-expected)
> ..\..\.
\bin.v2\libs\python\test\object_fail1.test\msvc-6.5\debug\object_fail1.obj
> **passed**

Because 'object_fail1' is "compile-fail" test. As far as build system is
concerned, it does not matter if it fails due to missing 'pyconfig.h', or
due to expected error (some compile-time check, I suppose).

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk