This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: QMTest Update


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]