#### Linux From Scratch - Version 12.3-systemd

### Chapter 8. Installing Basic System Software

- Prev

  Expect-5.45.4

- Next

  Pkgconf-2.3.0

- Up
- Home

# 8.18. DejaGNU-1.6.3

The DejaGnu package contains a framework for running test suites on GNU tools. It is written in expect, which itself uses Tcl (Tool Command Language).

Approximate build time: less than 0.1 SBU
Required disk space: 6.9 MB

## 8.18.1. Installation of DejaGNU

The upstream recommends building DejaGNU in a dedicated build directory:

    mkdir -v build
    cd       build

Prepare DejaGNU for compilation:

    ../configure --prefix=/usr
    makeinfo --html --no-split -o doc/dejagnu.html ../doc/dejagnu.texi
    makeinfo --plaintext       -o doc/dejagnu.txt  ../doc/dejagnu.texi

To test the results, issue:

    make check

Install the package:

    make install
    install -v -dm755  /usr/share/doc/dejagnu-1.6.3
    install -v -m644   doc/dejagnu.{html,txt} /usr/share/doc/dejagnu-1.6.3

## 8.18.2. Contents of DejaGNU

Installed program: dejagnu and runtest

### Short Descriptions

dejagnu | DejaGNU auxiliary command launcher
runtest | A wrapper script that locates the proper expect shell and then runs DejaGNU

- Prev

  Expect-5.45.4

- Next

  Pkgconf-2.3.0

- Up
- Home