testsuite/*/*/*/*.exp run twice (Was: Is gcc.c-torture/execute/ieee/ieee.exp run twice in the test suite?)

Krister Walfridsson cato@df.lth.se
Fri Jun 6 14:56:00 GMT 2003



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  <philip.wilsey@cliftonlabs.com>
          * 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




More information about the Gcc mailing list