This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs/c-torture.exp/.cexp and 14 char limit
- To: law at cygnus dot com
- Subject: Re: egcs/c-torture.exp/.cexp and 14 char limit
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Sat, 6 Dec 1997 23:12:52 +0100 (MET)
- Cc: egcs at cygnus dot com
>
>
> In message <199712050904.KAA23053@mail.macqel.be>you write:
> > Please include the following patch in the egcs source tree.
> > Without it, c-torture.exp tries to execute some C programs as Expect progra
> > ms :)
> Which tests have this problem -- I'd just assume rename them to
> handle 14char filesystems.
Well, the first one (the one which always caused dejagnu to abort with :
Running /usr/gnu/tmp/egcs-971122/gcc/testsuite/gcc.c-torture/compile/compile.exp
...
ERROR: (DejaGnu) proc "typedef union" does not exist.
The error code is
=== gcc Summary ===
# of expected passes 972
# of expected failures 1
) is compile/combine-hang.c
12345678901234
When c-torture checks for the existence
of compile/combine-hang.cexp
12345678901234
it gets a success, but the file it gets is actually combine-hang.c.
I prefer my patch than imposing a 13-char limit to testcase names, but
another possible fix would be to choose another suffix than 'cexp' for the
testcase-specific expect files, a suffix that would not begin with the
letter 'c'.
Philippe