[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: running tests under in a tests/ directory
From: |
aaragon |
Subject: |
Re: running tests under in a tests/ directory |
Date: |
Tue, 9 Jun 2009 20:15:26 -0700 (PDT) |
I'm actually building the tests inside a test directory: $(top_srcdir)/tests,
and the library I'm trying to link to is under $(top_srcdir)/yafeq. So if I
remove the $(top_srcdir) then it doesn't work anymore.
So the only way I made it work so far is using
LDADD = $(top_srcdir)/yafeq/libyafeq.la
I mean, the tests are built fine if I add this line to the
$(top_srcdir)/tests/Makefile.am.
Alejandro
Peter Johansson-7 wrote:
>
> Bob Friesenhahn wrote:
>> It is not necessary to specify top_builddir because that is where the
>> Makefile is written and the directory where the build is performed. As
>> you say, specifying $(top_srcdir) may cause harm since it is likely to
>> break VPATH builds.
>>
> Sorry, I thought we were dealing with a Makefile.am in a subdir, in
> other words, a Makefile.am for which top_builddir does not equal `.'.
>
> Thanks,
> Peter
>
>
>
>
--
View this message in context:
http://www.nabble.com/running-tests-under-in-a-tests--directory-tp23773808p23954989.html
Sent from the Gnu - Automake - General mailing list archive at Nabble.com.
- Re: running tests under in a tests/ directory, (continued)
- Re: running tests under in a tests/ directory, Ralf Wildenhues, 2009/06/06
- Re: running tests under in a tests/ directory, aaragon, 2009/06/09
- Re: running tests under in a tests/ directory, aaragon, 2009/06/09
- Re: running tests under in a tests/ directory, Bob Friesenhahn, 2009/06/09
- Re: running tests under in a tests/ directory, Ralf Wildenhues, 2009/06/09
- Re: running tests under in a tests/ directory, aaragon, 2009/06/09
- Re: running tests under in a tests/ directory, Bob Friesenhahn, 2009/06/09
- Re: running tests under in a tests/ directory, Peter Johansson, 2009/06/09
- Re: running tests under in a tests/ directory, Bob Friesenhahn, 2009/06/09
- Re: running tests under in a tests/ directory, Peter Johansson, 2009/06/09
- Re: running tests under in a tests/ directory,
aaragon <=
- Re: running tests under in a tests/ directory, Peter Johansson, 2009/06/09
- Re: running tests under in a tests/ directory, Bob Friesenhahn, 2009/06/10