This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: QMTest Update
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: 13 Jun 2002 23:59:21 +0200
- Subject: Re: QMTest Update
- Organization: CodeSourcery, LLC
- References: <Pine.BSF.4.30.0206131626200.42010-100000@dair.pair.com>
Hans-Peter Nilsson <hp@bitrange.com> writes:
[...]
| > More precisely, Dejagnu runs the tests through a main loop which is
| > copy/pasted all over the directories and ressembling something like:
| >
| > set dirlen [expr [string length "$srcdir/$subdir"] + 1];
| > foreach file [lsort [find $srcdir/$subdir *.C]] {
|
| > Note the "lsort" command.
|
| Note its absence in gcc.c-torture/compile/compile.exp.
| Perhaps all similar absenteeisms should be fixed as
| obvious.
Actually, instead of duplicating the same code over and over, I think
a more scalable approach is to factorise the main-loop codes. That is
a much more viable approach in the long run.
-- Gaby