bug-autoconf
[Top][All Lists]
Advanced

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

Re: problem with $srcdir and friends in autotest


From: Ralf Wildenhues
Subject: Re: problem with $srcdir and friends in autotest
Date: Fri, 15 Jun 2007 09:12:11 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Noah, Mike,

* Noah Misch wrote on Thu, Jun 14, 2007 at 03:40:55AM CEST:
> 
> Thanks; the test suite was computing $srcdir incorrectly.  I installed this 
> fix:

Thanks for report and patch.  One nit:

> --- ac-clean/tests/autotest.at        2007-05-05 00:39:14.000000000 -0400
> +++ ac-atsrcdir/tests/autotest.at     2007-06-13 20:41:30.000000000 -0400
> @@ -415,3 +415,64 @@ AT_CHECK_KEYS([-3], [none|first|second],
[...]

> +# Build directory totally outside source directory.
> +cd vpath-outside
> +AT_CHECK([top_srcdir=$abs_top_srcdir ../pkg/configure], [0], [ignore])

You could additionally try
  `pwd`/../pkg/configure

> +cd t
> +AT_CHECK([../../pkg/t/suite], [0], [ignore])
> +cd ../..
> +
> +# Build directory as subdirectory of source directory.
> +cd pkg/vpath-inside
> +AT_CHECK([top_srcdir=$abs_top_srcdir ../configure], [0], [ignore])
[...]

and `pwd`/../configure (and fix the test failures that show up ;-)

Thank you,
Ralf




reply via email to

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