Boost logo

Boost Testing :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-07-19 08:07:34


Doug Gregor wrote:

>
> On Jul 12, 2006, at 6:55 PM, David Abrahams wrote:
>
>>
>> http://engineering.meta-comm.com/boost-regression/CVS-RC_1_34_0/
>> developer/output/OSL-V2-boost-bin-v2-libs-python-test-exec-test-
>> darwin-4-0-1-debug-threading-multi_release.html
>>
>> Seems to indicate the Python framework isn't installed where it should
>> be? I'm not set up to do local tests of Boost on Darwin at the moment
>> (soon though), so I can't say for sure, but this looks like a
>> configuration error.
>
> I've tweaked the configuration, so now we're a bit closer. The tests
> give errors like this:
>
> File "staticmethod.py", line 5, in __main__
> Failed example:
> from staticmethod_ext import *
> Exception raised:
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/doctest.py", line 1243, in __run
> compileflags, 1) in test.globs
> File "<doctest __main__[0]>", line 1, in ?
> from staticmethod_ext import *
> ImportError: Inappropriate file type for dynamic loading
>
> I think the remaining problem is that someone needs TO DO this TODO:
>
> # TODO: handle the following V1 code
> #if $(OS) = MACOSX && $(toolset) = darwin
> #{
> # if <target-type>PYD in $(properties)
> # {
> # properties += <link-format>bundle ;
> # }
> # properties += <framework>$(PYTHON_FRAMEWORK) ;
> #}

I thin <framework> is already taked care of. Should <link-format>bundle be
applied when building extension itself? The above error seem to indicate
there's a problem with format of extension.

Should it really be a bundle? Can you try the attached patch?

- Volodya

>
> Doug


Boost-testing list run by mbergal at meta-comm.com