This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [RFC] list of tests in makefile.


On Wed, May 29, 2013 at 02:39:34PM +0200, Florian Weimer wrote:
> On 05/28/2013 09:37 PM, Roland McGrath wrote:
> >>Agreed. Though I think a data-driven approach might also be acceptable
> >>e.g. the list of tests is in a file e.g. nptl.tests, libc.tests etc.
> >
> >Sure.  Lists in the source tree, not wildcards.
> 
> And we could add a script that could generate them from "git
> ls-files" (auto-resolving conflicts).
>

Yes, I wrote similar script for myself, here it is.

Ondra

for I in test*.c tst*.c bug*.c; do
  if git ls-files $I --error-unmatch > /dev/null; then
    I=`basename $I .c`
    echo -n $I ""
  fi
done



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