gcc/libstdc++-v3/testsuite/libstdc++-prettyprinters
Jonathan Wakely d33c00e1ce Make printers use singular noun for a single element
* python/libstdcxx/v6/printers.py (num_elements): New function.
	(StdMapPrinter.to_string, StdSetPrinter.to_string)
	(StdDequePrinter.to_string, Tr1UnorderedSetPrinter.to_string)
	(Tr1UnorderedMapPrinter.to_string): Use num_elements.
	* testsuite/libstdc++-prettyprinters/cxx11.cc: Adjust expected results
	to use singular noun when there is only one element.
	* testsuite/libstdc++-prettyprinters/debug.cc: Likewise.
	* testsuite/libstdc++-prettyprinters/debug_cxx11.cc: Likewise.
	* testsuite/libstdc++-prettyprinters/simple.cc: Likewise.
	* testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.
	* testsuite/libstdc++-prettyprinters/tr1.cc: Likewise.

From-SVN: r243652
2016-12-14 16:07:29 +00:00
..
48362.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
cxx11.cc Make printers use singular noun for a single element 2016-12-14 16:07:29 +00:00
cxx17.cc Fix pretty-printer for std::variant 2016-12-06 14:36:07 +00:00
debug_cxx11.cc Make printers use singular noun for a single element 2016-12-14 16:07:29 +00:00
debug.cc Make printers use singular noun for a single element 2016-12-14 16:07:29 +00:00
libfundts.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
prettyprinters.exp Restore dg-interpreter-batch-mode for libstdc++ tests 2016-08-26 12:35:58 +01:00
shared_ptr.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
simple11.cc Make printers use singular noun for a single element 2016-12-14 16:07:29 +00:00
simple.cc Make printers use singular noun for a single element 2016-12-14 16:07:29 +00:00
tr1.cc Make printers use singular noun for a single element 2016-12-14 16:07:29 +00:00
whatis.cc Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00