From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Philippe De Muyter" To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: egcs/c-torture.exp/.cexp and 14 char limit Date: Sat, 06 Dec 1997 14:13:00 -0000 Message-id: <199712062212.XAA00817@mail.macqel.be> References: <28231.881427720@hurl.cygnus.com> X-SW-Source: 1997-12/msg00371.html > > > 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