public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Running GCC test suite with new tools
@ 2002-08-04  5:20 Richard Kenner
  2002-08-07  7:19 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Kenner @ 2002-08-04  5:20 UTC (permalink / raw)
  To: gcc

OK, I got tcl, expect, and dejagnu built.  Now "make check" gives this:

Running /g/gcc/gcc3.1/gcc/testsuite/gcc.c-torture/compile/compile.exp ...
ERROR: tcl error sourcing /g/gcc/gcc3.1/gcc/testsuite/gcc.c-torture/compile/comp
ile.exp.
ERROR: wrong # args: should be "regsub ?switches? exp string subSpec varName"
    while executing
"regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text """
    (procedure "prune_warnings" line 148)
    invoked from within
"prune_warnings [lindex $status 1"
    (procedure "default_target_compile" line 309)
    invoked from within
"default_target_compile $source $destfile $type $options"
    (procedure "target_compile" line 6)
    invoked from within
"target_compile $source $dest $type $options"
    (procedure "gcc_target_compile" line 31)
    invoked from within
"gcc_target_compile "$src" "$output" object $options"
    (procedure "c-torture-compile" line 23)
    invoked from within
"c-torture-compile $src "$option $options""
    (procedure "c-torture" line 47)
    invoked from within
"c-torture $testcase"
    ("foreach" body line 7)
    invoked from within
"foreach testcase [glob -nocomplain $srcdir/$subdir/*.c] {
    # If we're only testing specific files and this isn't one of them, skip it.
    if ![run..."
    (file "/g/gcc/gcc3.1/gcc/testsuite/gcc.c-torture/compile/compile.exp" line 2
8)
    invoked from within
"source /g/gcc/gcc3.1/gcc/testsuite/gcc.c-torture/compile/compile.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source /g/gcc/gcc3.1/gcc/testsuite/gcc.c-torture/compile/compile.exp
"
    invoked from within
"catch "uplevel #0 source $test_file_name""

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Running GCC test suite with new tools
  2002-08-04  5:20 Running GCC test suite with new tools Richard Kenner
@ 2002-08-07  7:19 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2002-08-07  7:19 UTC (permalink / raw)
  To: Richard Kenner; +Cc: gcc

>ERROR: wrong # args: should be "regsub ?switches? exp string subSpec varName"
>    while executing
>"regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text """

This is a dejagnu bug.  I checked dejagnu-1.4.2 and this line is OK.
It was fixed here:

2001-05-13  Rob Savoye  <rob@peggyo.welcomehome.org>

	* lib/target.exp: Fix the regsub line where it prunes -fPIC
	warnings so the text variable is on the same line.

Jim

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-07  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-04  5:20 Running GCC test suite with new tools Richard Kenner
2002-08-07  7:19 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).