On Tue, Mar 13, 2007 at 02:22:06PM -0700, Jim Wilson wrote:
> Revital1 Eres wrote:
> >ERROR: tcl error sourcing
> >/home/eres/mve_mainline_zero_12_3/gcc/gcc/testsuite/g++.dg/compat/compat.exp.
> >ERROR: couldn't open
> >"/home/eres/mve_xline_zero_12_3/gcc/gcc/testsuite/g++.dg/compat/abi/bitfield1_main.C":
> 
> Note that mainline got changed to xline.  Also note that the directory 
> has files bitfield_main.C, bitfield_x.C, and bitfield_y.C.
> 
> So it looks like there is a tcl script somewhere to replace "main" with 
> "x", which fails if the directory path contains "main" anywhere in it 
> other than in the filename at the end.

That is indeed the problem; testsuite/lib/compat.exp contains

    # Set up the names of the other source files.
    regsub "_main.*" $src1 "" base
    regsub ".*/" $base "" base
    regsub "_main" $src1 "_x" src2
    regsub "_main" $src1 "_y" src3

I'll find a way to fix that.

Janis

Reply via email to