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