macOS
brew install deja-gnulocal Homebrew formula metadata
sudo port install dejagnuMacPorts ports tree · devel/dejagnu/Portfile · source: api.github.com
brew
Framework for testing other programs. Version 1.6.3 via Homebrew; verified from local package data. Also installable with macports: sudo port install dejagnu.
install
brew install deja-gnulocal Homebrew formula metadata
sudo port install dejagnuMacPorts ports tree · devel/dejagnu/Portfile · source: api.github.com
sudo apk add dejagnuAlpine Linux edge package indexes · dejagnu · source: dl-cdn.alpinelinux.org
sudo apt install dejagnuDebian stable package indexes · dejagnu · source: deb.debian.org
sudo dnf install dejagnuFedora Rawhide package metadata · dejagnu · source: dl.fedoraproject.org
nix profile install nixpkgs#dejagnunixpkgs package indexes · pkgs/by-name/de/dejagnu/package.nix · source: api.github.com
sudo pacman -S dejagnuArch Linux sync databases · dejagnu · source: geo.mirror.pkgbuild.com
sudo zypper install dejagnuopenSUSE Tumbleweed package metadata · dejagnu · source: download.opensuse.org
overview
Framework for testing other programs
history
DejaGnu is GNU's test framework for exercising command-line programs through Expect and Tcl. It is best known in toolchain circles because it lets a single testsuite drive local, remote, embedded, and simulator targets with the same runtest interface.
DejaGnu became a GNU package to solve a very GNU problem: testing compilers, debuggers, binutils, and other portable development tools across many hosts and targets. Its Savannah project page identifies the official GNU project and source repository, while the GNU manual documents the runtest harness, board files, site configuration, and per-user startup file used by the framework.
The GNU FTP archive shows DejaGnu releases dating back to the 1.3 series in 1996, followed by long-lived 1.4, 1.5, and 1.6 release lines. That release pattern mirrors its role as infrastructure: the tool changes slowly, but it remains important wherever old and new toolchains need repeatable test results.
DejaGnu's adoption is tied to the GNU toolchain rather than to application development fashion. Projects that need to run the same tests against native binaries, cross targets, simulators, or remote boards use DejaGnu because its abstraction is old, boring, and understood by compiler and embedded developers.
The package is widely shipped by Unix-like package managers because it is a build and test dependency for other low-level software. Homebrew packages it as deja-gnu, while GNU distributes canonical source tarballs through ftp.gnu.org.
Users normally invoke the runtest command from a package testsuite. Site-wide and user-specific configuration can tune board definitions, tool paths, and target behavior through site.exp and ~/.dejagnurc.
DejaGnu matters most when tests must be portable across machines rather than just run locally. The same test description can talk to a native program, a remote target, or a simulator through Expect-driven interactions.
For package maintainers, DejaGnu is one of the classic pieces of GNU release machinery: not glamorous, but deeply embedded in the way compilers and binary tools prove they still work.
Its presence in dependency graphs often signals that a formula or distribution package is running upstream's real tests instead of a smoke test. That makes it an important clue when auditing build quality for toolchain packages.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.dejagnurcsite.expexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dejagnu | cli | global executable | |
runtest | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/dejagnu/
install metadata
| Package key | brew:deja-gnu |
|---|---|
| Version | 1.6.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/deja-gnu |
| Homepage | https://www.gnu.org/software/dejagnu/ |
| Repository | https://git.savannah.gnu.org/git/dejagnu.git |
| Upstream docs | https://www.gnu.org/software/dejagnu |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/dejagnu/dejagnu-1.6.3.tar.gz |
| Uses from macOS | expect |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | deja-gnu |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
dejagnu
sudo port install dejagnudejagnu 1.6.3-1.1
framework for running test suites on software tools
sudo apt install dejagnudejagnu
nix profile install nixpkgs#dejagnudejagnu 1.6.3-1
framework for running test suites on software tools
sudo apt install dejagnudejagnu 1.6.3-r1
A framework for testing other programs
https://www.gnu.org/software/dejagnu/
sudo apk add dejagnudejagnu-dev 1.6.3-r1
A framework for testing other programs (development files)
https://www.gnu.org/software/dejagnu/
sudo apk add dejagnu-devdejagnu-doc 1.6.3-r1
A framework for testing other programs (documentation)
https://www.gnu.org/software/dejagnu/
sudo apk add dejagnu-docdejagnu 1.6.3-18.fc45
A front end for testing other programs
http://www.gnu.org/software/dejagnu/
sudo dnf install dejagnudejagnu 1.6.3-17
Framework for testing other programs
https://www.gnu.org/software/dejagnu/
sudo pacman -S dejagnudejagnu 1.6.3-2.4
Framework for Running Test Suites on Software Tools
https://www.gnu.org/software/dejagnu/
sudo zypper install dejagnusource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.