Boost logo

Boost Testing :

From: Stephen W. Carson (StephenC_at_[hidden])
Date: 2005-04-18 16:28:31


Rene Rivera wrote:

> After some investigation I found and fixed this problem:
>
> http://www.meta-comm.com/engineering/boost-regression/cvs-head/developer/output/Dirxion-bin-boost-status-config_link_test-test-cw-9_3-darwin-debug.html
> http://tinyurl.com/66thh
>
> This was a fix to Boost.Build, specifically in
> tools/build/v1/boost-base.jam, to make it use the correct dynamic
> loader environment variable, DYLD_LIBRARY_PATH instead of
> LD_LIBRARY_PATH.
>
> Hopefully this will fix some of the other run tests

    My re-run of the full tests since your fix completed this afternoon.
config is green, so that at least was cleared up by your change:
http://www.meta-comm.com/engineering/boost-regression/cvs-head/developer/summary.html

    Thanks!
    I'm not sure what else might have been cleared up.

    Of the libraries that I'm particularly concerned about, two are
still yellow...

FILESYSTEM
This library has two test cases failing:
fstream_test
---------------------------------------------------

    mwcc -maxerrors 5 -warnings on -maxwarnings 20 -nowraplines -g -search -prefix MSLCarbonPrefix.h "/Applications/Metrowerks CodeWarrior 9.0/Metrowerks CodeWarrior/MSL/MSL_C/MSL_MacOS/Src/console_OS_X.c" "-L/Users/stephencarson/Development/boost/results/bin/boost/libs/filesystem/build/libboost_filesystem.a/cw-9_3-darwin/debug" -framework "Carbon" -o "/Users/stephencarson/Development/boost/results/bin/boost/libs/filesystem/test/fstream_test.test/cw-9_3-darwin/debug/fstream_test" "/Users/stephencarson/Development/boost/results/bin/boost/libs/filesystem/test/fstream_test.test/cw-9_3-darwin/debug/fstream_test.o" "/Users/stephencarson/Development/boost/results/bin/boost/libs/filesystem/build/libboost_filesystem.a/cw-9_3-darwin/debug/libboost_filesystem-cw93-d-1_32.a"

   Error : undefined: 'std::ctype<int>::ctype(unsigned long)' (code)
           Referenced from 'const std::ctype<int>& std::__use_facet<std::ctype<int> >(const std::locale&, std::__chooser<(__bool8)1>)' in fstream_test.cpp
   Error : undefined: 'std::ctype<int>::id' (non lazy ptr IL)
           Referenced from 'const std::ctype<int>& std::__use_facet<std::ctype<int> >(const std::locale&, std::__chooser<(__bool8)1>)' in fstream_test.cpp
   Error : undefined: 'std::codecvt<int, char, int>::codecvt(unsigned long)' (code)
           Referenced from 'const std::codecvt<int, char, int>& std::__use_facet<std::codecvt<int, char, int> >(const std::locale&, std::__chooser<(__bool8)1>)' in fstream_test.cpp
   Error : undefined: 'std::codecvt<int, char, int>::id' (non lazy ptr IL)
           Referenced from 'const std::codecvt<int, char, int>& std::__use_facet<std::codecvt<int, char, int> >(const std::locale&, std::__chooser<(__bool8)1>)' in fstream_test.cpp

Errors caused tool to abort.
   Error : linker '/usr/bin/mwld' returned with exit code 1

Errors caused tool to abort.

---------------------------------------------------

operations_test
---------------------------------------------------

Platform is POSIX
minimal.hpp(122): exception "std::exception: boost::filesystem::current_path: "": No error detected" caught in function: 'main(int, char **)'

**** Testing aborted.
**** 1 error detected

EXIT STATUS: 201

---------------------------------------------------

THREAD
This library is failing to build:
---------------------------------------------------

    mwcc -c -lang c++ -DBOOST_THREAD_LIB_NAME=boost_thread -DBOOST_THREAD_BUILD_DLL=1 -maxerrors 5 -warnings on -maxwarnings 20 -nowraplines -g -O0 -inline off -cwd include -warnings nounused -RTTI on -iso_templates on "-I/Users/stephencarson/Development/boost/results/bin/boost/libs/thread/build" -I- "-I/Users/stephencarson/Development/boost/boost" -prefix "MSLCarbonPrefix.h" -o "/Users/stephencarson/Development/boost/results/bin/boost/libs/thread/build/libboost_thread.dylib/cw-9_3-darwin/debug/xtime.o" "/Users/stephencarson/Development/boost/boost/libs/thread/build/../src/xtime.cpp"

   Error : preprocessor #error directive
../libs/thread/src/xtime.cpp line 142?# error "xtime_get implementation undefined"

Errors caused tool to abort.

---------------------------------------------------
http://tinyurl.com/chrw8

I took a look at xtime.cpp. It looks like this error is being hit
because NONE of the following are defined:
BOOST_HAS_FTIME
BOOST_HAS_GETTIMEOFDAY
BOOST_HAS_CLOCK_GETTIME
BOOST_HAS_MPTASKS

    Any thoughts on why this would be?
   

-- 
Stephen W. Carson, Software Engineer
DirXion Software in St. Louis, MO
(636) 717-2367
"Premature optimization is the root of all evil." -Donald Knuth 

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