Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Test keep finishing early
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-23 19:01:57


AMDG

KTC wrote:
> Anyone have any ideas why my regression tests keep "finishing" before
> all the tests have ran? I'm KTC-XP_VC10RTM. Most of the time this had
> happened when I have tested with ICU enabled, so I had thought it was
> caused by that. But it happened a few days ago when I had ICU off as
> well, before I finally managed to complete a full test with ICU on the
> 17th. Today a new non-incremental test have quit early again (twice).
>
>
> distributed_csr_algorithm_test.cpp
> ....
> C:\src\boost-test\boost\boost/pending/property.hpp(46) : error C2039:
> 'kind' : is not a member of '`global namespace''
> ....
> C:\src\boost-test\boost\boost/pending/property.hpp(46) : fatal error
> C1903: unable to recover from previous error(s); stopping compilation
> ...failed compile-c-c++
> C:\src\boost-test\results\boost\bin.v2\libs\graph_parallel\test\distributed_csr_algorithm_test-1.test\msvc-10.0\debug\link-static\threading-multi\distributed_csr_algorithm_test.obj...
>
> ...skipped
> <pC:\src\boost-test\results\boost\bin.v2\libs\graph_parallel\test\distributed_csr_algorithm_test-1.test\msvc-10.0\debug\link-static\threading-multi>distributed_csr_algorithm_test-1.exe
> for lack of
> <pC:\src\boost-test\results\boost\bin.v2\libs\graph_parallel\test\distributed_csr_algorithm_test-1.test\msvc-10.0\debug\link-static\threading-multi>distributed_csr_algorithm_test.obj...
>
> ....
> \threading-multi>distributed_csr_algorithm_test-1.exe...
> failed to write command file!

I've seen this recently too. I think its an internal bjam error.
There's a comment in the source that says:

        /* Write command to bat file. For some reason this open can fail
         * intermitently. But doing some retries works. Most likely this
is due
         * to a previously existing file of the same name that happens to be
         * opened by an active virus scanner. Pointed out and fixed by
Bronek
         * Kozicki.
         */

In Christ,
Steven Watanabe


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