bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] maint: mention how to run a single test in HACKING docs


From: Ralf Wildenhues
Subject: Re: [PATCH] maint: mention how to run a single test in HACKING docs
Date: Fri, 13 Feb 2009 10:39:57 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> Pádraig Brady <P <at> draigBrady.com> wrote:
> > +  env DEBUG=yes VERBOSE=yes make check -C tests TESTS=mv/hard-link-1 >> log
2>&1

FWIW, 'make -C' is GNU make-specific, the portable equivalent would be
  cd tests && env DEBUG=yes VERBOSE=yes make check TESTS=...

and catering to even more ugly make issues (macro settings on the command line
not being passed down to sub-make invocations; and automake causing check to
invoke a sub-make for the check-TESTS target), it would be:
  cd tests && env DEBUG=yes VERBOSE=yes TESTS=... make -e check

Of course, -e has its own set of problems, depending on what the user has
set in the environment already.

Hope that helps.

Cheers,
Ralf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]