bug-automake
[Top][All Lists]
Advanced

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

Re: DejaGnu test directory layout


From: Reuben Thomas
Subject: Re: DejaGnu test directory layout
Date: Thu, 21 Aug 2008 09:20:38 +0100 (BST)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Thu, 21 Aug 2008, Ralf Wildenhues wrote:

Hello Reuben,

* Reuben Thomas wrote on Tue, Aug 19, 2008 at 06:44:31PM CEST:
On Tue, 19 Aug 2008, Reuben Thomas wrote:

From the DejaGnu manual:

"DejaGnu require the directory be named `testsuite'."

Automake by default makes dejagnu look for the config and ${TOOL}.test
directories in the current subdirectory, which implies that automake
expects to use dejagnu via "SUBDIRS = testsuite" with "AUTOMAKE_OPTIONS
= dejagnu" in testsuite/Makefile.am.

This could usefully be clarified.

I meant to add that the "calc" example in DejaGnu conflicts with what
I've deduced above: it uses a testsuite subdirectory, but instead puts
the DejaGnu settings in the top level directory's Makefile.am, and sets
RUNTESTDEFAULTFLAGS. It does not descend into testsuite as a SUBDIR.

Not sure what the result of both your messages combined is.  Care to
formulate it as a patch against the manual?

I'm not proposing a fix, I'm asking what the correct situation should be. At least two of a) automake, b) the automake manual and c) the DejaGnu example need changing. But currently I don't know which two. I guess you're suggesting a) and c).

--
http://rrt.sc3d.org/ | perfect, a.  unsatirizable




reply via email to

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