[qmtest] List test ids at command line?

Nathaniel Smith njs at pobox.com
Tue Feb 24 22:45:44 UTC 2004


On Tue, Feb 24, 2004 at 02:26:14PM -0500, Stefan Seefeld wrote:
> Nathaniel Smith wrote:
> >On Tue, Feb 24, 2004 at 09:01:02AM -0500, Stefan Seefeld wrote:
> >>I agree that such a listing would be nice. However I'm wondering about
> >>the semantics: if - as I understood - I can refer to the same test via
> >>different suites, wouldn't that imply that tests are listed multiple
> >>times ?
> >
> >I'm not convinced this is a problem, off-hand.
> >
> >~$ ls / / 
> >/:
> >bin/   cdrom/  etc/     home/  lost+found/  proc/  sbin/  usr/
> >boot/  dev/    floppy/  lib/   mnt/         root/  tmp/   var/
> >
> >/:
> >bin/   cdrom/  etc/     home/  lost+found/  proc/  sbin/  usr/
> >boot/  dev/    floppy/  lib/   mnt/         root/  tmp/   var/
> >~$
> 
> sorry, I don't see your point. Could you elaborate ?
> To clarify: My question was how to be able to obtain a listing
> of all (unique) tests, i.e. how to avoid secondary associations
> in the listing.

Ah, if that's what you want, you'd just list the top-level directory
suite, which contains each test exactly once.  I thought you were
complaining that if you listed two suites on the command line that had
some overlap, overlapping tests might be printed multiple times, and I
was pointing out that this would be consistent with other unix tools
like ls.

-- Nathaniel

-- 
"But in Middle-earth, the distinct accusative case disappeared from
the speech of the Noldor (such things happen when you are busy
fighting Orcs, Balrogs, and Dragons)."



More information about the qmtest mailing list