DejaGnu Logo Graphic Gnu Head Logo

Introduction | Download | Documentation | Mailing Lists | Request an Enhancement | Bug Reports | Maintainers


DejaGnu is a framework for testing other programs. Its purpose is to provide a single front end for all tests. Think of it as a custom library of Tcl procedures crafted to support writing a test harness. A test harness is the testing infrastructure that is created to support a specific program or tool. Each program can have multiple testsuites, all supported by a single test harness. DejaGnu is written in Expect, which in turn uses Tcl -- Tool command language.

The current version of DejaGnu is 1.6.3.

Downloading DejaGnu

DejaGnu releases can be found in the subdirectory /gnu/dejagnu on your nearest GNU FTP mirror.

The latest development sources are available via anonymous Git. Use the following command to clone a copy of the source tree:

     $ git clone git://

For more detailed information about using Git on the Savannah system, refer to Using Git. This page also includes references to other guides to Git. You can also browse the sources on the web.

For other ways to obtain DejaGnu, please read How to get GNU Software.


Browsable documentation for the current version of DejaGnu is kept on the web. There is also a PDF version of the manual suitable for printing.

On systems where DejaGnu is already installed, you can read the documentation online by typing info dejagnu or man runtest. Some binary packages of DejaGnu may include documentation in other formats in /usr/share/doc/dejagnu or similar.

Mailing Lists

DejaGnu has three mailing lists hosted by the GNU Project. Public archives of these lists are kept.

Request an Enhancement

If you would like a feature to be included in future versions of DejaGnu, please send a request to the development mailing list. Development of DejaGnu is a volunteer effort, and you can also contribute to its development. For information about contributing to the GNU Project, please read How You Can Help the GNU Project.

Report a Bug

If you think you have found a bug in DejaGnu, then you should send as complete a report as possible to <>. Your bug report will be tracked in the GNU Bug Tracker. Ideally you should include the output of the config.guess script supplied with DejaGnu, the output of the configure script and, if you can, a patch made with git diff which shows how to fix the problem. Paste the ChangeLog entry as plain text in your message, not as a diff against the ChangeLog file.

When reporting bugs or offering patches, do not directly CC any of the maintainers as this can prevent the proper delivery of the message from the bug tracking system.


DejaGnu is maintained by Rob Savoye and Jacob Bachmeyer.

[ English ]

Return to GNU's home page.

Please send FSF & GNU inquiries & questions to; there are also other ways to contact the FSF.

Please send comments on these web pages to Please send other questions to

Copyright © 1999-2015 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

Updated: $Date: 2021/06/17 03:54:00 $