|
Boost Testing : |
From: Stephen W. Carson (StephenC_at_[hidden])
Date: 2005-03-10 10:58:09
Rene Rivera wrote:
> OK, I looked, and surprise.. It works for my CW-8.3 setup. I tried the
> libs/format/test and the first of the links you posted, the
> libs/iostream/test/code_converter_test. And they pass. The very big
> difference I noticed is that I get link command like this:
>
> mwcc -maxerrors 5 -warnings on -maxwarnings 20 -nowraplines -g
> -search -prefix MSLCarbonPrefix.h
> "/Volumes/Swirl/Programming/Metrowerks CodeWarrior 8.0/Metrowerks
> CodeWarrior/MSL/MSL_C/MSL_MacOS/Src/console_OS_X.c"
> "-L../../../bin/boost/libs/test/build/libboost_test_exec_monitor.a/cw-8_3/debug"
> -framework "Carbon" -o
> "../../../bin/boost/libs/format/test/format_test_wstring.test/cw-8_3/debug/format_test_wstring"
>
> "../../../bin/boost/libs/format/test/format_test_wstring.test/cw-8_3/debug/format_test_wstring.o"
> "../../../bin/boost/libs/test/build/libboost_test_exec_monitor.a/cw-8_3/debug/libboost_test_exec_monitor.a"
>
>
> While Stephen's tests show this as the command:
>
> mwld -maxerrors 5 -warnings on -maxwarnings 20 -nowraplines -g -search
> "-L/Users/stephencarson/Development/boost/results/bin/boost/libs/test/build/libboost_test_exec_monitor.a/cw-9_3-darwin/debug"
> -o
> "/Users/stephencarson/Development/boost/results/bin/boost/libs/format/test/format_test_wstring.test/cw-9_3-darwin/debug/format_test_wstring"
>
> "/Users/stephencarson/Development/boost/results/bin/boost/libs/format/test/format_test_wstring.test/cw-9_3-darwin/debug/format_test_wstring.o"
> "/Users/stephencarson/Development/boost/results/bin/boost/libs/test/build/libboost_test_exec_monitor.a/cw-9_3-darwin/debug/libboost_test_exec_monitor.a"
>
>
> Pay special attention to the command getting executed to do the link!
>
> So clearly there's still some discrepancy between the toolset in CVS
> and the toolset Stephen is using.
Well, this is frustrating. Are you saying that I've got an outdated
version of cw-tools.jam somewhere? I just double checked the folder with
regression.py in it that I run from. I do have a cw-9_3-darwin-tools.jam
of course but it just does:
extends-toolset cw ;
I've run a full build several times since you made these changes, which
blows away everything else I believe, so where is this cw-tools.jam
hiding? Help!
-- Stephen W. Carson, Software Engineer DirXion Software in St. Louis, MO (636) 717-2367 "Premature optimization is the root of all evil." -Donald Knuth