prettyprinter testsuite fails, help

Benjamin De Kosnik bkoz@redhat.com
Tue Oct 23 18:54:00 GMT 2012



ok, I give. Anybody else noticing:

FAIL: libstdc++-prettyprinters/cxx11.cc print eus
FAIL: libstdc++-prettyprinters/cxx11.cc print eums
FAIL: libstdc++-prettyprinters/cxx11.cc print uos
FAIL: libstdc++-prettyprinters/cxx11.cc print uoms
FAIL: libstdc++-prettyprinters/shared_ptr.cc print sp1
FAIL: libstdc++-prettyprinters/shared_ptr.cc print wp1
FAIL: libstdc++-prettyprinters/shared_ptr.cc print wp2

		=== libstdc++ Summary ===

# of expected passes		9142
# of unexpected failures	7

Whereby the log data looks fine? I am seeing them on other platforms
too, not just F17/x86_64.

Ie:
http://gcc.gnu.org/ml/gcc-testresults/2012-10/msg02465.html

But not on HJ's:
http://gcc.gnu.org/ml/gcc-testresults/2012-10/msg02464.html

Is this some known issue?


// cxx11
Breakpoint 1, main ()
at /home/bkoz/src/gcc.git-trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc:103
103	  use(efl); skipping: Breakpoint 1, main ()
at /home/bkoz/src/gcc.git-trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc:103
skipping: 103	  use(efl); $1 = empty std::forward_list
got: $1 = empty std::forward_list
PASS: libstdc++-prettyprinters/cxx11.cc print efl
$2 = std::forward_list = {[0] = 1, [1] = 2}
got: $2 = std::forward_list = {[0] = 1, [1] = 2}
PASS: libstdc++-prettyprinters/cxx11.cc print fl
$3 = std::unordered_map with 0 elements
got: $3 = std::unordered_map with 0 elements
PASS: libstdc++-prettyprinters/cxx11.cc print eum
$4 = std::unordered_multimap with 0 elements
got: $4 = std::unordered_multimap with 0 elements
PASS: libstdc++-prettyprinters/cxx11.cc print eumm
Python Exception <class 'gdb.error'> There is no member or method named
_M_element_count.: $5 = 
skipping: Python Exception <class 'gdb.error'> There is no member or
method named _M_element_count.: got: $5 = 
FAIL: libstdc++-prettyprinters/cxx11.cc print eus
Python Exception <class 'gdb.error'> There is no member or method named
_M_element_count.: $6 = 
skipping: Python Exception <class 'gdb.error'> There is no member or
method named _M_element_count.: got: $6 = 
FAIL: libstdc++-prettyprinters/cxx11.cc print eums
$7 = std::unordered_map with 2 elements = {[3] = "seven", [5] = "three"}
got: $7 = std::unordered_map with 2 elements = {[3] = "seven", [5] =
"three"} PASS: libstdc++-prettyprinters/cxx11.cc print uom
$8 = std::unordered_multimap with 2 elements = {[5] = "seven", [5] =
"three"} got: $8 = std::unordered_multimap with 2 elements = {[5] =
"seven", [5] = "three"} PASS: libstdc++-prettyprinters/cxx11.cc print
uomm Python Exception <class 'gdb.error'> There is no member or method
named _M_element_count.: $9 = 
skipping: Python Exception <class 'gdb.error'> There is no member or
method named _M_element_count.: got: $9 = 
FAIL: libstdc++-prettyprinters/cxx11.cc print uos
Python Exception <class 'gdb.error'> There is no member or method named
_M_element_count.: $10 = 
skipping: Python Exception <class 'gdb.error'> There is no member or
method named _M_element_count.: got: $10 = 
FAIL: libstdc++-prettyprinters/cxx11.cc print uoms
$11 = std::unique_ptr<datum> containing 0x6067d0
got: $11 = std::unique_ptr<datum> containing 0x6067d0
PASS: libstdc++-prettyprinters/cxx11.cc print uptr
extra_tool_flags are:
 -g -O0


// shared_ptr
Breakpoint 1, main ()
at /home/bkoz/src/gcc.git-trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc:80
80	  return 0; skipping: Breakpoint 1, main ()
at /home/bkoz/src/gcc.git-trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc:80
skipping: 80	  return 0; $1 = std::shared_ptr (empty) 0x0
got: $1 = std::shared_ptr (empty) 0x0
PASS: libstdc++-prettyprinters/shared_ptr.cc print esp
$2 = std::weak_ptr (empty) 0x0
$3 = std::weak_ptr (empty) 0x0
got: $2 = std::weak_ptr (empty) 0x0
PASS: libstdc++-prettyprinters/shared_ptr.cc print ewp1
got: $3 = std::weak_ptr (empty) 0x0
PASS: libstdc++-prettyprinters/shared_ptr.cc print ewp2
$4 = std::shared_ptr (expired, weak 0) 0x12345678
got: $4 = std::shared_ptr (expired, weak 0) 0x12345678
FAIL: libstdc++-prettyprinters/shared_ptr.cc print sp1
$5 = std::weak_ptr (expired, weak 0) 0x12344321
got: $5 = std::weak_ptr (expired, weak 0) 0x12344321
FAIL: libstdc++-prettyprinters/shared_ptr.cc print wp1
$6 = std::weak_ptr (expired, weak 0) 0x56788765
got: $6 = std::weak_ptr (expired, weak 0) 0x56788765
FAIL: libstdc++-prettyprinters/shared_ptr.cc print wp2
extra_tool_flags are:
 -g -O0



More information about the Libstdc++ mailing list