Programming

A base LFS system can be used as a development platform, however the base system only includes language support for C, C++ and Perl. This chapter provides instructions to build many popular programming environments to greatly expand your system's development capabilities.

DejaGnu-1.4.4

Introduction to DejaGnu

DejaGnu is a framework for running test suites on GNU tools. It is written in expect, which uses Tcl (Tool command language).

Package Information

DejaGnu Dependencies

Required (Run-time Only)

Expect-5.43.0

Optional

DocBook-utils-0.6.14

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/dejagnu

Installation of DejaGnu

Install DejaGnu by running the following commands:

./configure --prefix=/usr &&
make

Now, as the root user:

make install &&
make install-doc

To test the installation, issue make check as an unprivileged user.

Contents

Installed Program: runtest
Installed Libraries: None
Installed Scripts: There are numerous Expect scripts installed in the /usr/share/dejagnu hierarchy.
Installed Directory: /usr/share/dejagnu

Short Descriptions

runtest

is the DejaGnu test driver program. It is used to control what tests to run, and variations on how to run them.

Last updated on 2007-01-18 13:38:19 -0600