QMTest Update

Gabriel Dos Reis gdr@codesourcery.com
Thu Jun 13 15:21:00 GMT 2002


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



More information about the Gcc mailing list