[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DejaGnu] Re: erroring out

From: Rob Savoye
Subject: Re: [DejaGnu] Re: erroring out
Date: Sat, 12 May 2001 07:07:28 -0600

On Sat, May 12, 2001 at 12:37:01AM -0700, Benjamin Kosnik wrote:

> Running 
> /mnt/hd/bliss/src.gcc/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp ...
> ERROR: tcl error sourcing 
> /mnt/hd/bliss/src.gcc/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.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)
> Note the previous dejagnu worked, just:
  The previous DejaGnu (before 1.4.1.x) turned out to be ignoring Tcl errrors.
Chances are the error has been there, but you didn't notice, cause the
error never got printed. In looking at this, your arguments to regsub look
wrong... I think """ needs to be "\"". (escape the middle ")

  Are any of your changes checked in yet ? I can take a look, but the last
time I ran the libstdc++-v3 tests, (from CVS) everything worked fine.

  I don't know if this will help in your rewrite of the libstdc++ tests,
but I'm writing a utility that parses a C++ header file, and produces a
standardized unit test, exercising all methods. I'm trying to mostly automate
the process of creating unit tests.

        - rob -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]