[augeas-devel] [PATCH] Remove some absolute paths for binaries.

Jim Meyering jim at meyering.net
Thu May 29 16:32:10 UTC 2008


David Lutterkort <dlutter at redhat.com> wrote:
> On Fri, 2008-05-23 at 22:10 +0200, Jim Meyering wrote:
>> Not really necessary, but worthwhile in the long run,
>> this hoists from tests/* into one place (tests/Makefile.am)
>> the knowledge that the tools under test reside in $(abs_top_builddir)/src.
>
> Hmmm ... I like this, in general; the one nit I have with this is that I
> run those tests individually from the command line quite a bit (i.e.,
> just ./tests/test-lenses.sh etc.) - that's why they have the checks for
> whether top_srcdir/top_builddir is set at the top and otherwise find
> augtool/augparse relative to their own location. Any suggestion on how
> best to restore that behavior while using your patch ? Or am I just
> missing something obvious about the generated Makefile targets that
> would let me run test-lenses.sh by itself through make ?

You can run a test individually via, e.g.,

  make check -C tests TESTS=test-lenses.sh
  make check -C tests TESTS=fatest

>> [Currently, we have this:
...




More information about the augeas-devel mailing list