automake
[Top][All Lists]
Advanced

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

"make test" not making what's tested


From: kodis
Subject: "make test" not making what's tested
Date: Wed, 18 Mar 2009 10:58:20 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

I have a simple project that builds a C program in the top level
directory, and a series of shell scripts to test this program in a
'tests' subdirectory.  If I run "./configure; make; make check",
everything works as expected, but if I run "./configure; make check"
from a just cleaned top level directory, the program to be tested
doesn't get built prior to running the tests.

I've tried adding "check" and "check-TESTS" targets that do an
explicit "make all" to Makefile.am and tests/Makefile.am, but in
addition to looking a bit dodgy, these rules don't get run.  What's
the recommended way of accomplishing this?

If it matters, I'm using automake (GNU automake) 1.10.1 and autoconf
(GNU Autoconf) 2.63 as distributed with Fedora release 10.




reply via email to

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