|
Boost Testing : |
From: John Pavel (jrp_at_[hidden])
Date: 2008-01-08 15:08:24
> I'm seeing some tests fail on some
> platforms,
> but I'm not seeing any error output. For instance:
>
> jrp-msvc9.0:
> http://tinyurl.com/37oreo
>
Does your test create any files or do anything that might invoke Vista's
UAC? The full XML is below.
- <test-log library="accumulators" test-name="tail_mean" test-type="run"
test-program="libs/accumulators/test/tail_mean.cpp"
target-directory="boost/bin.v2/libs/accumulators/test/tail_mean.test/msvc-9.
0/debug/link-static/threading-multi" toolset="msvc-9.0"
show-run-output="false">
<compile result="succeed" timestamp="2008-01-08 07:42:30 UTC">call
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul cl
/Zm800 -nologo
@"C:\temp\regression\results\boost\bin.v2\libs\accumulators\test\tail_mean.t
est\msvc-9.0\debug\link-static\threading-multi\tail_mean.obj.rsp"
tail_mean.cpp using native typeof
c:\temp\regression\boost\boost\shared_ptr.hpp(370) : warning C6011:
Dereferencing NULL pointer 'px': Lines: 369, 370
C:\temp\regression\boost\boost/shared_ptr.hpp(368) : while compiling class
template member function 'boost::basic_wrap_stringstream<CharT>
&boost::shared_ptr<T>::operator *(void) const' with [ CharT=char,
T=boost::wrap_stringstream ]
C:\temp\regression\boost\boost/test/predicate_result.hpp(72) : see reference
to class template instantiation 'boost::shared_ptr<T>' being compiled with [
T=boost::wrap_stringstream ]
c:\temp\regression\boost\boost\random\lagged_fibonacci.hpp(339) : warning
C6385: Invalid data: accessing 'x', the readable size is '4856' bytes, but
'4864' bytes might be read: Lines: 337, 338, 339
C:\temp\regression\boost\boost/random/lagged_fibonacci.hpp(336) : while
compiling class template member function 'double
boost::random::lagged_fibonacci_01<RealType,w,p,q>::operator ()(void)' with
[ RealType=double, w=0x30, p=0x25f, q=0x111 ]
..\libs\accumulators\test\tail_mean.cpp(45) : see reference to class
template instantiation 'boost::random::lagged_fibonacci_01<RealType,w,p,q>'
being compiled with [ RealType=double, w=0x30, p=0x25f, q=0x111 ]
c:\temp\regression\boost\boost\test\test_tools.hpp(347) : warning C6326:
Potential comparison of a constant with another constant
C:\temp\regression\boost\boost/test/test_tools.hpp(346) : while compiling
class template member function 'void
boost::test_tools::tt_detail::print_log_value<T>::set_precision(std::ostream
&,boost::mpl::false_)' with [ T=double ]
C:\temp\regression\boost\boost/test/test_tools.hpp(440) : see reference to
class template instantiation
'boost::test_tools::tt_detail::print_log_value<T>' being compiled with [
T=double ]
C:\temp\regression\boost\boost/test/utils/wrap_stringstream.hpp(66) : see
reference to function template instantiation 'std::ostream
&boost::test_tools::tt_detail::operator <<<Arg0>(std::ostream &,const
boost::test_tools::tt_detail::print_helper_t<T> &)' being compiled with [
Arg0=double, T=double ]
C:\temp\regression\boost\boost/test/test_tools.hpp(496) : see reference to
function template instantiation 'boost::basic_wrap_stringstream<CharT>
&boost::operator
<<<char,boost::test_tools::tt_detail::print_helper_t<T>>(boost::basic_wrap_s
tringstream<CharT> &,const boost::test_tools::tt_detail::print_helper_t<T>
&)' being compiled with [ CharT=char, T=double ]
..\libs\accumulators\test\tail_mean.cpp(57) : see reference to function
template instantiation 'void
boost::test_tools::tt_detail::check_frwd<boost::test_tools::check_is_close_t
,double,double,boost::test_tools::percent_tolerance_t<FPT>>(Pred,boost::wrap
_stringstream
&,boost::test_tools::const_string,size_t,boost::test_tools::tt_detail::tool_
level,boost::test_tools::tt_detail::check_type,const Arg0 &,const char
*,const Arg1 &,const char *,const Arg2 &,const char *)' being compiled with
[ FPT=double, Pred=boost::test_tools::check_is_close_t, Arg0=double,
Arg1=double, Arg2=boost::test_tools::percent_tolerance_t<double> ]
c:\temp\regression\boost\boost\test\test_tools.hpp(347) : warning C6326:
Potential comparison of a constant with another constant
C:\temp\regression\boost\boost/test/test_tools.hpp(346) : while compiling
class template member function 'void
boost::test_tools::tt_detail::print_log_value<T>::set_precision(std::ostream
&,boost::mpl::false_)' with [
T=boost::test_tools::percent_tolerance_t<double> ]
C:\temp\regression\boost\boost/test/test_tools.hpp(440) : see reference to
class template instantiation
'boost::test_tools::tt_detail::print_log_value<T>' being compiled with [
T=boost::test_tools::percent_tolerance_t<double> ]
C:\temp\regression\boost\boost/test/utils/wrap_stringstream.hpp(66) : see
reference to function template instantiation 'std::ostream
&boost::test_tools::tt_detail::operator <<<Arg2>(std::ostream &,const
boost::test_tools::tt_detail::print_helper_t<T> &)' being compiled with [
Arg2=boost::test_tools::percent_tolerance_t<double>,
T=boost::test_tools::percent_tolerance_t<double> ]
C:\temp\regression\boost\boost/test/test_tools.hpp(496) : see reference to
function template instantiation 'boost::basic_wrap_stringstream<CharT>
&boost::operator
<<<char,boost::test_tools::tt_detail::print_helper_t<T>>(boost::basic_wrap_s
tringstream<CharT> &,const boost::test_tools::tt_detail::print_helper_t<T>
&)' being compiled with [ CharT=char,
T=boost::test_tools::percent_tolerance_t<double> ]
c:\temp\regression\boost\boost\test\test_tools.hpp(347) : warning C6326:
Potential comparison of a constant with another constant
C:\temp\regression\boost\boost/test/test_tools.hpp(346) : while compiling
class template member function 'void
boost::test_tools::tt_detail::print_log_value<T>::set_precision(std::ostream
&,boost::mpl::false_)' with [ T=boost::test_tools::percent_tolerance_t<int>
] C:\temp\regression\boost\boost/test/test_tools.hpp(440) : see reference to
class template instantiation
'boost::test_tools::tt_detail::print_log_value<T>' being compiled with [
T=boost::test_tools::percent_tolerance_t<int> ]
C:\temp\regression\boost\boost/test/utils/wrap_stringstream.hpp(66) : see
reference to function template instantiation 'std::ostream
&boost::test_tools::tt_detail::operator <<<Arg2>(std::ostream &,const
boost::test_tools::tt_detail::print_helper_t<T> &)' being compiled with [
Arg2=boost::test_tools::percent_tolerance_t<int>,
T=boost::test_tools::percent_tolerance_t<int> ]
C:\temp\regression\boost\boost/test/test_tools.hpp(496) : see reference to
function template instantiation 'boost::basic_wrap_stringstream<CharT>
&boost::operator
<<<char,boost::test_tools::tt_detail::print_helper_t<T>>(boost::basic_wrap_s
tringstream<CharT> &,const boost::test_tools::tt_detail::print_helper_t<T>
&)' being compiled with [ CharT=char,
T=boost::test_tools::percent_tolerance_t<int> ]
..\libs\accumulators\test\tail_mean.cpp(63) : see reference to function
template instantiation 'void
boost::test_tools::tt_detail::check_frwd<boost::test_tools::check_is_close_t
,double,double,boost::test_tools::percent_tolerance_t<FPT>>(Pred,boost::wrap
_stringstream
&,boost::test_tools::const_string,size_t,boost::test_tools::tt_detail::tool_
level,boost::test_tools::tt_detail::check_type,const Arg0 &,const char
*,const Arg1 &,const char *,const Arg2 &,const char *)' being compiled with
[ FPT=int, Pred=boost::test_tools::check_is_close_t, Arg0=double,
Arg1=double, Arg2=boost::test_tools::percent_tolerance_t<int> ] file
C:\temp\regression\results\boost\bin.v2\libs\accumulators\test\tail_mean.tes
t\msvc-9.0\debug\link-static\threading-multi\tail_mean.exe.rsp
"C:\temp\regression\results\boost\bin.v2\libs\accumulators\test\tail_mean.te
st\msvc-9.0\debug\link-static\threading-multi\tail_mean.obj"
"C:\temp\regression\results\boost\bin.v2\libs\test\build\msvc-9.0\debug\asyn
ch-exceptions-on\link-static\threading-multi\libboost_unit_test_framework-vc
90-mt-gd-1_35.lib"</compile>
<link result="succeed" timestamp="2008-01-08 07:42:30 UTC">call
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console
/out:"C:\temp\regression\results\boost\bin.v2\libs\accumulators\test\tail_me
an.test\msvc-9.0\debug\link-static\threading-multi\tail_mean.exe"
@"C:\temp\regression\results\boost\bin.v2\libs\accumulators\test\tail_mean.t
est\msvc-9.0\debug\link-static\threading-multi\tail_mean.exe.rsp" if
%ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% if exist
"C:\temp\regression\results\boost\bin.v2\libs\accumulators\test\tail_mean.te
st\msvc-9.0\debug\link-static\threading-multi\tail_mean.exe.manifest" ( mt
-nologo -manifest
"C:\temp\regression\results\boost\bin.v2\libs\accumulators\test\tail_mean.te
st\msvc-9.0\debug\link-static\threading-multi\tail_mean.exe.manifest"
"-outputresource:C:\temp\regression\results\boost\bin.v2\libs\accumulators\t
est\tail_mean.test\msvc-9.0\debug\link-static\threading-multi\tail_mean.exe;
1" )</link>
<run result="succeed" timestamp="2008-01-08 07:42:30 UTC">Running 1 test
case... *** No errors detected EXIT STATUS: 0</run>
</test-log>