[PATCH] Fix pretty printers tests

François Dumont frs.dumont@gmail.com
Fri Dec 13 21:27:00 GMT 2019


Here is a patch to fix prettyprinters.exp failures in normal and debug 
modes.

In 80276.cc I replicate the #define with comment from other tests even 
if it isn't true that cxx11 abi string isn't supported. It's just that 
it doesn't appear as 'std::string', the aliasing doesn't work.

I still have failures when running with versioned namespace which I am 
going to check now.

     * python/libstdcxx/v6/printers.py (lookup_node_type): Remove redundant
     call to lookup_node_type.
     * testsuite/libstdc++-prettyprinters/80276.cc: Define
     _GLIBCXX_USE_CXX11_ABI to 0.
     * testsuite/libstdc++-prettyprinters/91997.cc: Use regexp-test to check
     'a' content.

Ok to commit ?

François

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pretty-printers.patch
Type: text/x-patch
Size: 1932 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20191213/e4fd3b98/attachment.bin>


More information about the Libstdc++ mailing list