[Top][All Lists]

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

Re: [DejaGnu] Q: dejagnu without autoconf/automake?

From: Martin Muenstermann
Subject: Re: [DejaGnu] Q: dejagnu without autoconf/automake?
Date: Tue, 27 Nov 2001 15:34:51 +0100

Heiko Nardmann wrote:
> Is it possible to use dejagnu without autoconf/automake?

Yes it is. Besides calling runtest with some options, the automade
Makefile does the following steps after call to "make check":
- run "make" (e.g., to build the library to be tested)
- run "make" on the special test programs
- build a file site.exp which is read by dejagnu (see below)
- call runtest

In my case, the file site.exp contains the following lines:

----------- 8< --------------
## these variables are automatically generated by make ##
# Do not edit here.  If you wish to override these values
# edit the last section
set tool <TOOL>
set srcdir .
set host_alias sparc-sun-solaris2.5.1
set host_triplet sparc-sun-solaris2.5.1
## All variables above are generated by configure. Do Not Edit ##
----------- 8< --------------

You should adjust <TOOL>, <PATH_TO_TEST_DIRECTORY>, host_alias and
host_triplet to your needs. 

Martin M√ľnstermann

reply via email to

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