Boost logo

Boost Testing :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-03-10 01:12:16


Jonathan Turkanis wrote:
> Rene Rivera wrote:
>>Strange thing is I only immediately see link errors. At least on
>>windows we get compile errors. So I'm doubtful it's not supported.
>>But that instead we have some additional configuration we need to do
>>:-\
>>
>>I'll look later tonight on my machine at some of the individual tests
>>to see what I can find out.
>
> Thanks!

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.

PS. This is something that BuildBot would help with. We could go look at
what files he is pulling down from CVS/tar. Or if some update command is
silently failing on his machine that is preventing him from getting
anything new at all.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

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