------- Comment #2 from joseph at codesourcery dot com  2009-08-25 16:23 -------
Subject: Re:  [4.5 Regression] Syntax error: Unterminated
 quoted string

On Tue, 25 Aug 2009, rwild at gcc dot gnu dot org wrote:

> AFACIS, the bug is in the test_summary script, it tries to "parse" the
> internals of a config.status file.  To extract values from config.status
> portably (across both systems and Autoconf versions), use either an
> AC_CONFIG_FILES instance, or just invoke it ad-hoc, for example:
> 
>   value_of_substed=`echo @substed@ | ./config.status --file=-`

It's a bad idea for the script to depend at all on either config.status or 
a build tree - right now it's necessary to fake a config.status file when 
doing installed-compiler testing.

The gcc testsuite should arrange to put the "Configured with:" line from 
gcc -v output in the .sum file (it's already in some .log files, and in 
acats.sum), and the script should use that line to extract configure 
options.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41166

Reply via email to