[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add program_transform_name to runtest.exp
From: |
Josh Conner |
Subject: |
Re: Add program_transform_name to runtest.exp |
Date: |
Fri, 6 May 2005 11:14:29 -0700 |
On May 6, 2005, at 10:41 AM, Rob Savoye wrote:
Josh Conner wrote:
Adding support for the program_transform_name (sed-style expression
to convert the names of executables under test) would simplify the
testing of gcc cross-compilers, since the runtest.exp procedure
"transform" is unable to find binaries created with a transformed
name.
I'd hate to make a major change like this without asking the GCC
team what they think, as it'll impact anyway doing cross testing.
Maybe the transform proc should work correctly. It works the way it is
for most people, so I'm curious whay this hasn't been noticed before.
Are you installng your cross tools with a non-standard name ?
Actually, it shouldn't impact anyone unless they set the variable
$program_transform_name, e.g., in site.exp (ideally, automatically by
gcc -- I have another patch for this). So, there shouldn't be any
regression issues.
I expect this hasn't been noticed before because the
program-transform-name used by gcc probably matches the target-alias
for many cross-compilation environments. Of course, this is just
speculation on my part, but it is the only way that the scripts appear
to work for transformed names.
Thanks -
Josh