[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SUGGESTION] Having 'make check' use AM_CPPFLAGS
From: |
Tom Tromey |
Subject: |
Re: [SUGGESTION] Having 'make check' use AM_CPPFLAGS |
Date: |
13 Oct 2003 17:56:48 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Stephen" == Stephen Torri <address@hidden> writes:
Stephen> TESTS = test_Foo
Stephen> test_Foo_SOURCES = test_Foo.cpp
As you discovered, you have to list test_Foo in a _PROGRAMS variable.
I suggest check_PROGRAMS, as this is what `check' is made for.
An entry in TESTS doesn't suffice; these aren't assumed to
necessarily be compiled/linked programs.
I suppose it almost works due to implicit rules in your `make'.
Tom