You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rob Savoye 4306dace39 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
baseboards 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
config 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
contrib Initial revision 26 years ago
debian Minor Updates before release. 24 years ago
depot 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
doc 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
example 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
lib 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
pkg New Solaris packaging support. 24 years ago
redhat Minor Updates before release. 24 years ago
testsuite 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
.clean * debian/rules: Install all the doc formats. 25 years ago
AUTHORS Initial revision 26 years ago
COPYING Initial revision 26 years ago
ChangeLog 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
Clean.tcl 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
INSTALL Initial revision 26 years ago
Makefile.am 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
Makefile.in 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
NEWS Regenerated html docs. Tweaked how Makefile.am builds tarballs. 24 years ago
README Figures, spaced one updated file from the release. Urg... 25 years ago
TODO * Most all files: Update copyright notices. 25 years ago
acinclude.m4 Minor Updates before release. 24 years ago
aclocal.m4 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
config.guess Initial revision 26 years ago
config.sub * Most all files: Update copyright notices. 25 years ago
configure Slowly working towards the next release... 24 years ago
configure.in Minor Updates before release. 24 years ago
dejagnu.h Slowly working towards the next release... 24 years ago
depcomp Mostly new Makefiles cause I reran automake. 24 years ago
i960glue.c Initial revision 26 years ago
install-sh Initial revision 26 years ago
missing Update with the one from automake 1.6. 24 years ago
mkinstalldirs Initial revision 26 years ago
runtest 2002-04-19 Nick Clifton <nickc@cambridge.redhat.com> 24 years ago
runtest.exp 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> 23 years ago
site.tmpl Initial revision 26 years ago
stub-loader.c Initial revision 26 years ago
testglue.c Trying yet again to check this in. 24 years ago

README

  DejaGnu is a framework for testing other programs. Its purpose is to
provide a single front end for all tests. Beyond this, DejaGnu offers
several advantages for testing:

- The flexibility and consistency of the DejaGnu framework
make it easy to write tests for any program.

- DejaGnu provides a layer of abstraction which makes all
tests (if correctly written) portable to any host or target
where a program must be tested. For instance, a test for
GDB can run (from any Unix based host) on any target
architecture supported by DejaGnu. Currently DejaGnu runs
tests on several single board computers, whose operating
software ranges from just a boot monitor to a full-fledged,
Unix-like realtime OS.

- DejaGnu is written in expect, which in turn uses Tcl
(Tool command language). The framework comprises two parts:
the testing framework and the testsuites themselves. Tests
are usually written in expect using Tcl.

Bugs can be reported to bug-dejagnu@gnu.org.

How To Configure and Build

To build DejaGnu, run the ``configure'' script here, e.g.:

./configure MYHOSTTYPE

followed by running ``make''. (MYHOSTTYPE is a name for your host computer,
for instance "sun4". You can use the script ``config.sub'' to test whether
a name is recognized; if it is, config.sub translates it to a triplet
specifying CPU, vendor, and OS.) This is used when you plan to
configure and build in the source tree.

If you use a separate tree for object files, (the recommended way),
then the --srcdir option must also be specified. This would also
require that the configure script be run from the top level directory.

PATH/configure MYHOSTYPE

where PATH is is the directory that the contains the sources.

To configure it so it gets installed somewhere other than the
default of /usr/local, use the --prefix option.

configure MYHOSTYPE --prefix [PATH]

where PATH is the prefix used to install the programs.

The configure testing and building will use the native compiler "cc"
on your host machine. To change which compiler gets used (like gcc)
set a the variable "CC" in your environment to point to it.

For csh users: "setenv CC gcc"
For bourne shell users: "CC=gcc;export CC"

Then when you compile, use "make CC=$CC".

See /usr/doc/dejagnu-$version/overview/book1.html or
/usr/doc/dejagnu-$version/overview.ps for for more details.

As DejaGnu is a Tcl program, there is little to build. However, the
documentation is not built by default. Use these targets:
"make overview.html" - Generate the html formatted documentation from
the SGML source.
"make overview.ps" - Generate the Postscript formatted documentation from
the SGML source.
"make overview.pdf" - Generate the PDF formatted documentation from
the SGML source.
"make install" - This installs DejaGnu based on the --prefix option
when configuring. Otherwise it defaults to
/usr/local. See the DejaGnu manual for more
information on installation.