Boost logo

Boost :

Subject: Re: [boost] Running Boost Regression Tests
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-12-05 11:55:40


frederic.bron_at_[hidden] wrote:

> Great: I managed to run the tests for cygwin g++ 3.4.4 (29 Gbytes of disk space!). Tests have been
> transferred to boost. However, there is also a strange error:
>
> # Starting tests ("/cygdrive/g/boost_regression/tools_bjam/bin.cygwinx86/bjam.exe"
> # "-sBOOST_BUILD_PATH=/cygdrive/g/boost_regression:/cygdrive/g/boost_regression/tools_bb"
> "-sBOOST_ROOT=/cygdrive/g/boost_regression/boost" "--boost=/cygdrive/g/boost_regression/boost"
> "--boost-build=/cygdrive/g/boost_regression/tools_bb" "--debug-configuration" -l300 gcc-3.4.4 -d2
> --dump-tests -j3 "--build-dir=/cygdrive/g/boost_regression/results"
> >>"/cygdrive/g/boost_regression/results/bjam.log" 2>&1)...
> # Running Boost.Build tests
> # Using bjam binary in '/cygdrive/g/boost_regression/tools_bjam/bin.cygwinx86'
> Traceback (most recent call last):
> File "/cygdrive/g/boost_regression/boost/tools/build/v2/test/test_all.py", line 229, in <module>
> run_tests(critical_tests, tests)
> File "/cygdrive/g/boost_regression/boost/tools/build/v2/test/test_all.py", line 51, in run_tests
> __import__(i)
> File "/cygdrive/g/boost_regression/boost/tools/build/v2/test/custom_generator.py", line 47, in
> <module>
> t.expect_content("bin/$toolset/debug/r.obj", "rc-object")
> File "/cygdrive/g/boost_regression/boost/tools/build/v2/test/BoostBuild.py", line 711, in
> expect_content
> actual = self.__read_file(name, exact)
> File "/cygdrive/g/boost_regression/boost/tools/build/v2/test/BoostBuild.py", line 704, in
> __read_file
> result = string.replace(self.read_and_strip(name), "\\", "/")
> File "/cygdrive/g/boost_regression/boost/tools/build/v2/test/BoostBuild.py", line 524, in
> read_and_strip
> lines = open(self.glob_file(name), "rb").readlines()
> TypeError: coercing to Unicode: need string or buffer, list found
> # Getting test case results out of "/cygdrive/g/boost_regression/results/bjam.log"...

If the tests were uploaded, this error does not matter -- it breaks Boost.Build testings,
but not not C++ Boost testing. I'll look into this failure after I review Boost.Build
results on other targets.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk