#162 Unit test failed on WIN32 (WinXP) + MSVC71 (VS2003)

closed-works-for-me
5
2015-01-14
2008-01-22
KBac
No

Unit test failed on WIN32 (WinXP) + MSVC71 (VS2003).

This is log:

ErrnoTest::check
VectorTest::vec_test_1
VectorTest::vec_test_2
VectorTest::vec_test_3
VectorTest::vec_test_4
VectorTest::vec_test_5
VectorTest::vec_test_6
VectorTest::vec_test_7
VectorTest::capacity
VectorTest::at
VectorTest::pointer
VectorTest::auto_ref
VectorTest::allocator_with_state
VectorTest::iterators
VectorTest::optimizations_check
VectorTest::ebo
ValarrayTest::transcendentals
UnorderedTest::uset
UnorderedTest::umultiset
UnorderedTest::umap
UnorderedTest::umultimap
UnorderedTest::user_case
UnorderedTest::hash_policy
UnorderedTest::buckets
UnorderedTest::equal_range
UnorderedTest::template_methods
UniqueTest::uniqcpy1
UniqueTest::uniqcpy2
UniqueTest::unique1
UniqueTest::unique2
UninitializedTest::copy_test
UnaryTest::ucompos1
UnaryTest::ucompos2
UnaryTest::unegate1
UnaryTest::unegate2
UnaryTest::unegate3
TypeTraitsTest::manips
TypeTraitsTest::integer
TypeTraitsTest::rational
TypeTraitsTest::pointer_type
TypeTraitsTest::reference_type
TypeTraitsTest::both_pointer_type
TypeTraitsTest::ok_to_use_memcpy
TypeTraitsTest::ok_to_use_memmove
TypeTraitsTest::trivial_destructor
TypeTraitsTest::is_POD
TypeTraitsTest::stlport_class
TransformTest::trnsfrm1
TransformTest::trnsfrm2
TransformTest::self_str
TimesTest::times
SwapTest::swap1
SwapTest::swprnge1
StrstreamBufferReadTest::readFromBuffer
StringTest::constructor
StringTest::reserve
StringTest::assign
StringTest::erase
StringTest::data
StringTest::c_str
StringTest::null_char
StringTest::insert
StringTest::replace
StringTest::resize
StringTest::short_string
StringTest::find
StringTest::rfind
StringTest::find_last_of
StringTest::find_last_not_of
StringTest::copy
StringTest::mt
StringTest::short_string_optim_bug
StringTest::compare
StringTest::template_expression
StringTest::te_tmp
StringTest::template_wexpression
StringTest::io
StringTest::allocator_with_state
StringTest::capacity
StackTest::stack1
StackTest::stack2
SstreamTest::output
SstreamTest::input
SstreamTest::input_char
SstreamTest::io
SstreamTest::err
SstreamTest::err_long
SstreamTest::maxint
SstreamTest::init_in
SstreamTest::init_out
SstreamTest::buf
SstreamTest::rdbuf
SstreamTest::streambuf_output
SstreamTest::seek
SstreamTest::negative
SortTest::sort1
SortTest::sort2
SortTest::sort3
SortTest::sort4
SortTest::stblsrt1
SortTest::stblsrt2
SlistTest::slist1
SlistTest::erase
SlistTest::insert
SlistTest::splice
SlistTest::allocator_with_state
SetUnionTest::setunon0
SetUnionTest::setunon1
SetUnionTest::setunon2
SetIntersectionTest::setintr0
SetIntersectionTest::setintr1
SetIntersectionTest::setintr2
SetDifferenceTest::setdiff0
SetDifferenceTest::setdiff1
SetDifferenceTest::setdiff2
SetDifferenceTest::setsymd0
SetDifferenceTest::setsymd1
SetDifferenceTest::setsymd2
SetTest::set1
SetTest::set2
SetTest::erase
SetTest::insert
SetTest::find
SetTest::bounds
SetTest::specialized_less
SetTest::implementation_check
SetTest::allocator_with_state
SetTest::reverse_iterator_test
SetTest::template_methods
SearchTest::search0
SearchTest::search1
SearchTest::search2
RotateTest::rotate0
RotateTest::rotate1
RotateTest::rotcopy0
RotateTest::rotcopy1
RopeTest::io
RopeTest::find1
RopeTest::find2
RopeTest::construct_from_char
RopeTest::bug_report
RopeTest::test_saved_rope_iterators
RndShuffleTest::rndshuf0
RndShuffleTest::rndshuf2
RmCpTest::remcopy1
RmCpTest::remcpif1
RmCpTest::remif1
RmCpTest::remove1
RmCpTest::repcpif1
RmCpTest::replace0
RmCpTest::replace1
RmCpTest::replcpy1
RmCpTest::replif1
RmCpTest::revcopy1
RmCpTest::reverse1
ReviterTest::reviter1
ReviterTest::reviter2
ReviterTest::revbit1
RawriterTest::rawiter1
QueueTest::pqueue1
QueueTest::queue1
PtrSpecTest::ptr_specialization_test
Ptr2Test::ptrbin1
Ptr2Test::ptrbin2
Ptr2Test::ptrun1
Ptr2Test::ptrun2
PlusMinusTest::plus0
PlusMinusTest::minus0
PermTest::nextprm0
PermTest::nextprm1
PermTest::nextprm2
PermTest::prevprm0
PermTest::prevprm1
PermTest::prevprm2
PartitionTest::ptition0
PartitionTest::ptition1
PartitionTest::stblptn0
PartitionTest::stblptn1
PartialTest::parsrt0
PartialTest::parsrt1
PartialTest::parsrt2
PartialTest::parsrtc0
PartialTest::parsrtc1
PartialTest::parsrtc2
PartialTest::partsum0
PartialTest::partsum1
PartialTest::partsum2
PairTest::pair0
OstreamIteratorTest::ostmit0
NumPutGetTest::num_put_float
NumPutGetTest::num_put_integer
NumPutGetTest::num_get_float
NumPutGetTest::num_get_integer
NthElemTest::nthelem0
NthElemTest::nthelem1
NthElemTest::nthelem2
NeqTest::negate0
NeqTest::nequal0
MoveConstructorTest::move_construct_test
MoveConstructorTest::deque_test
MoveConstructorTest::vector_test
MoveConstructorTest::move_traits
MoveConstructorTest::movable_declaration
MultisetTest::mset1
MultisetTest::mset3
MultisetTest::mset5
ModulusTest::modulus0
MismatchTest::mismatch0
MismatchTest::mismatch1
MismatchTest::mismatch2
MinTest::min1
MinTest::min2
MinTest::minelem1
MinTest::minelem2
MemFunPtrTest::mem_ptr_fun
MemFunPtrTest::find
MergeTest::merge0
MergeTest::merge1
MergeTest::merge2
MaxTest::max1
MaxTest::max2
MaxTest::maxelem1
MaxTest::maxelem2
MapTest::map1
MapTest::mmap1
MapTest::mmap2
MapTest::iterators
MapTest::equal_range
MapTest::allocator_with_state
MapTest::template_methods
LogicTest::logicand
LogicTest::logicnot
LogicTest::logicor
LocaleTest::locale_by_name
LocaleTest::loc_has_facet
LocaleTest::num_put_get
fr_FR
en_GB
en_US
C
LocaleTest::money_put_get
fr_FR
en_GB

../../../test/unit\locale_test.cpp(316) : CPPUNIT_ASSERT(str_res.substr(index, p) == rl.money_prefix);
en_US
C
LocaleTest::money_put_X_bug
fr_FR
en_GB

../../../test/unit\locale_test.cpp(419) : CPPUNIT_ASSERT(str_res.substr(index, p) == rl.money_prefix);
en_US
C
LocaleTest::time_put_get
fr_FR
en_GB
en_US
C
LocaleTest::collate_facet

../../../test/unit\locale_test.cpp(878) : CPPUNIT_ASSERT(strs[2] == "abзd");
LocaleTest::ctype_facet
fr_FR
en_GB
en_US
C
LocaleTest::locale_init_problem
fr_FR
en_GB
en_US
C
LocaleTest::default_locale
LocaleTest::facet_id
LocaleTest::combine
combining 'en_GB' money facets with 'fr_FR'

../../../test/unit\locale_test.cpp(316) : CPPUNIT_ASSERT(str_res.substr(index, p) == rl.money_prefix);

../../../test/unit\locale_test.cpp(316) : CPPUNIT_ASSERT(str_res.substr(index, p) == rl.money_prefix);

../../../test/unit\locale_test.cpp(316) : CPPUNIT_ASSERT(str_res.substr(index, p) == rl.money_prefix);

../../../test/unit\locale_test.cpp(316) : CPPUNIT_ASSERT(str_res.substr(index, p) == rl.money_prefix);
combining 'en_US' money facets with 'en_GB'

../../../test/unit\locale_test.cpp(316) : CPPUNIT_ASSERT(str_res.substr(index, p) == rl.money_prefix);

../../../test/unit\locale_test.cpp(316) : CPPUNIT_ASSERT(str_res.substr(index, p) == rl.money_prefix);
combining 'C' money facets with 'en_US'
ListTest::list1
ListTest::list2
ListTest::list3
ListTest::list4
ListTest::erase
ListTest::resize
ListTest::push_back
ListTest::push_front
ListTest::allocator_with_state
ListTest::swap
LimitTest::test
LimitTest::qnan_test
LexcmpTest::lexcmp1
LexcmpTest::lexcmp2
LessTest::lesst
LessTest::lesseqt
IterTest::iter1
IterTest::iter3
IterTest::iter4
IterTest::iterswp0
IterTest::iterswp1
IterTest::iterswp2
IterTest::iterswp3
IStreamIteratorTest::istmit1
IStreamIteratorTest::copy_n_test
IotaTest::iota1
IOStreamTest::manipulators
IoiterTest::ioiter_test
IoiterTest::assign_test
IoiterTest::assign2_test
InsertTest::insert1
InsertTest::insert2
InplaceTest::inplmrg1
InplaceTest::inplmrg2
InnerprodTest::inprod0
InnerprodTest::inprod1
InnerprodTest::inprod2
IncludesTest::incl0
IncludesTest::incl1
IncludesTest::incl2
HeapTest::mkheap0
HeapTest::mkheap1
HeapTest::pheap1
HeapTest::pheap2
HashTest::hmap1
HashTest::hmmap1
HashTest::hmset1
HashTest::hset2
HashTest::insert_erase
HashTest::allocator_with_state
GreaterTest::greatert
GreaterTest::greatereq
GeneratorTest::gener1
GeneratorTest::gener2
GeneratorTest::genern1
GeneratorTest::genern2
FuncTest::func1
FuncTest::func2
FuncTest::func3
FstreamTest::output
FstreamTest::input
FstreamTest::input_char
FstreamTest::io
FstreamTest::err
FstreamTest::tellg
FstreamTest::buf
FstreamTest::rdbuf
FstreamTest::streambuf_output
FstreamTest::win32_file_format
FstreamTest::null_buf
FstreamTest::custom_facet
ForeachTest::foreach0
ForeachTest::foreach1
FinsertTest::finsert1
FinsertTest::finsert2
FindTest::find0
FindTest::find1
FindTest::findif0
FindTest::findif1
FindTest::find_char
FillTest::fill1
FillTest::filln1
ExceptionTest::unexpected_except IGNORED
ExceptionTest::uncaught_except
ExceptionTest::exception_emission
EqualTest::equal_range0
EqualTest::equal_range1
EqualTest::equal_range2
EqualTest::equal0
EqualTest::equal1
EqualTest::equal2
EqualTest::equalto
DivideTest::div
DequeTest::deque1
DequeTest::at
DequeTest::insert
DequeTest::erase
DequeTest::auto_ref
DequeTest::allocator_with_state
DequeTest::optimizations_check
CountTest::count0
CountTest::count1
CountTest::countif1
CopyTest::copy_array
CopyTest::copy_vector
CopyTest::copy_insert
CopyTest::copy_back
CopyTest::copy_back_array
ConfigTest::placement_new_bug
ConfigTest::endianess
ConfigTest::template_function_partial_ordering
CodecvtTest::variable_encoding
CMathTest::test
BvectorTest::bvec1
BsearchTest::bsearch1
BsearchTest::bsearch2
BoundTest::lwrbnd1
BoundTest::lwrbnd2
BoundTest::uprbnd1
BoundTest::uprbnd2
BnegateTest::bnegate1
BnegateTest::bnegate2
BitsetTest::bitset1
BitsetTest::iostream
BinsertTest::binsert1
BinsertTest::binsert2
BindTest::bind1st1
BindTest::bind2nd1
BindTest::bind2nd2
BindTest::bind2nd3
BindTest::bind_memfn
BcomposTest::bcompos1
BcomposTest::bcompos2
AllocatorTest::zero_allocation
AllocatorTest::bad_alloc_test
AlgTest::min_max
AlgTest::count_test
AlgTest::sort_test
AlgTest::search_n_test
AlgTest::find_first_of_test
AlgTest::find_first_of_nsc_test
AdvanceTest::adv
AdjTest::adjfind0
AdjTest::adjfind1
AdjTest::adjfind2
AdjTest::adjdiff0
AdjTest::adjdiff1
AdjTest::adjdiff2
AccumTest::accum1
AccumTest::accum2

There were errors! 9 of 395 tests, 1 ignored

Discussion

  • Francois Dumont

    Francois Dumont - 2008-03-31

    Logged In: YES
    user_id=1096600
    Originator: NO

    Locale tests highly depends on how you setup your platform regional settings. For me, you changed something in your regional settings that make them invalid compared to hard coded values so this is not a bug, simply a problem with test portability. If you have a solution for it, you are welcome.

     
  • Francois Dumont

    Francois Dumont - 2008-03-31
    • assigned_to: nobody --> dums
    • status: open --> open-works-for-me
     
  • Francois Dumont

    Francois Dumont - 2008-03-31
    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.