[patch] new exec-charset testcase

Eric Christopher echristo@redhat.com
Tue Apr 20 00:06:00 GMT 2004


On Mon, 2004-04-19 at 16:57, Zack Weinberg wrote:
> Eric Christopher <echristo@redhat.com> writes:
> > That it translates the string.. It really came across from a c++
> > testcase, but I figured I should throw it in both places. I submitted a
> > patch for the c++ bits a few times.
> 
> Ah, ok; in that case you should be scan-assembler-ing for the correct
> IBM-1047 sequence.
> 

Can do. I figured that tested the reliability of the translation library
and not that the translation work in gcc was firing though.

> Pointer to C++ patch?
> 

http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00763.html

It's kinda simple. Though I've recently been pointed at a c++ + asm
testcase that is unlikely to work in the existing framework so it looks
likely to need rewriting for all of it. I can send you the testcase and
summary in email if you'd like.

> > gcc.dg/charset/charset.exp
> 
> Hmm.  We're going to be wanting tests for charsets other than IBM-1047
> at some point.  And it's inefficient to be running dg-require-iconv
> for every test...

True. Though I think these two contradict each other without more
testsuite work than i want to do at the moment :)

-eric

-- 
Eric Christopher <echristo@redhat.com>



More information about the Gcc-patches mailing list