dejagnu
[Top][All Lists]
Advanced

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

Re: testsuite/*/*/*/*.exp run twice (Was: Is gcc.c-torture/execute/ieee/


From: Krister Walfridsson
Subject: Re: testsuite/*/*/*/*.exp run twice (Was: Is gcc.c-torture/execute/ieee/ieee.exp run twice in the test suite?)
Date: Fri, 6 Jun 2003 16:49:40 +0200 (MEST)


On Fri, 6 Jun 2003, Daniel Jacobowitz wrote:

> I may be misremembering but I believe HJ Lu posted a DejaGNU patch for
> this problem - someone was misusing the TCL find command.

Hmm. I have not seen that patch.

But when I reported this problem in November, I identified the change

  2001-11-02  Philip A. Wilsey  <address@hidden>
          * lib/utils.exp: Need to pass -all to getdirs, so it descends
          through all the subdirectories.

as the culprit. And reverting this (i.e. the patch below) makes the
problem go away...

   /Krister


--- lib/utils.exp.orig  Fri Aug 30 05:54:53 2002
+++ lib/utils.exp       Mon Nov 25 22:01:14 2002
@@ -105,7 +105,7 @@
            break
        }
        foreach i $tmp {
-           set j [getdirs -all $i]
+           set j [getdirs $i]
            if ![string match "" $j] {
                append dirs "$j "
                set rootdir $j






reply via email to

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