[patch, testsuite] skip tests in with_target_charset if no ICONV support

Sandra Loosemore sandra@codesourcery.com
Tue Sep 15 18:52:00 GMT 2015


If GDB is configured without ICONV support, it only knows about the 
charset "ISO-8859-1".  Tests that use with_target_charset with some 
other character set (e.g., gdb.base/printcmds.exp) presumably depend on 
exactly that character set being supported and can't be expected to work 
properly in its absence.  This patch makes with_target_charset skip 
those tests as unsupported if switching to the specified character set 
fails.  OK to commit?

-Sandra

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iconv.log
Type: text/x-log
Size: 200 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150915/c1222fd9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iconv.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150915/c1222fd9/attachment-0001.bin>


More information about the Gdb-patches mailing list