./devel/dejagnu, TCL/Expect-based framework for regression testing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.6, Package name: dejagnu-1.6, Maintainer: pkgsrc-users

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.

Required to run:

Master sites: (Expand)

SHA1: 03a40e5bf964383af3fb56a07cc7605cb9aaab97
RMD160: 7ba9f04f86cc3cca094c505caddeb316a30b3409
Filesize: 511.688 KB

Version history: (Expand)

CVS history: (Expand)

   2016-05-21 00:54:23 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
Updated devel/dejagnu to 1.6
(from: https://www.gnu.org/software/dejagnu/ma … Notes.html
or from info)
The following major, user-visible changes have been introduced since version

 1. Support for target communication via SSH has been added.
 2. A large number of very old config and baseboard files have been removed. If
    you need to resurrect these, you can get them from version 1.5.3. If you
    can show that a board is still in use, it can be put back in the
 3. The --status command line option is now the default. This means that any
    error in the testsuite Tcl scripts will cause runtest to abort with exit
    status code 2. The --status option has been removed from the documentation,
    but will continue to be accepted for backward compatibility.
 4. runtest now exits with exit code 0 if the testsuite "passed", 1 if
    something unexpected happened (eg, FAIL, XPASS or UNRESOLVED), and 2 if an
    exception is raised by the Tcl interpreter.
 5. runtest now exits with the standard exit codes of programs that are
    terminated by the SIGINT, SIGTERM and SIGQUIT signals.
 6. The user-visible utility procedures absolute, psource and slay have been
    removed. If a testsuite uses any of these procedures, a copy of the
    procedure should be made and placed in the lib directory of the testsuite.
 7. Support was added for testing the D compiler.
 8. ~/.dejagnurc is now loaded last, not first. This allows the user to have
    the ability to override anything in their environment (even the site.exp
    file specified by $DEJAGNU).
 9. The user-visible utility procedure unsetenv is deprecated and will be
    removed in the next release. If a testsuite uses this procedure, a copy
    should be made and placed in the lib directory of the testsuite.
   2016-04-12 15:45:00 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
 - Revive make test (remove TEST_TARGET= # empty line)
  Found that expect segfaults at make test if hostname lookup fails,
  but it is environment issue only.
 - Updated to devel/dejagnu-1.5.3
2015-03-30  Ben Elliston  <bje@gnu.org>

	* DejaGnu 1.5.3 released.

2015-03-30  Ben Elliston  <bje@gnu.org>

        * runtest.exp (frame_version): Set to 1.5.3.
	* configure.ac (AC_INIT): Set version to 1.5.3.
	* configure: Regenerate.
	* doc/dejagnu.xml (appversion, version): Set to 1.5.3.
	* doc/dejagnu.texi: Regenerate.

2015-03-30  Ben Elliston  <bje@gnu.org>

	Revert the following change which causes breakage reported here:
	https://lists.gnu.org/archive/html/deja … 00003.html

	2011-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* runtest.exp (runtest): Call reset_vars at initialisation so that
	perror does not affect test results in other test scripts.

2015-02-26  H.J. Lu  <hjl.tools@gmail.com>

	* lib/target.exp (default_target_compile): Prepend multilib_flags,
	instead of appending it.

2015-02-18  Ben Elliston  <bje@gnu.org>

	* lib/framework.exp (log_and_exit): Set tool to "testrun" if

2015-02-05  Ben Elliston  <bje@gnu.org>

	* doc/runtest.1: Fix a spelling error.

2015-02-04  Ben Elliston  <bje@gnu.org>

	* config.guess: Update to version 2015-01-01.
	* config.sub: Likewise.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-05-10 01:12:21 by Makoto Fujiwara | Files touched by this commit (16)
Log message:
Set TEST_TARGET?= # empty to skip make test
 devel/autoconf  (but just add 2.69 status)
 devel/p5-ExtUtils-AutoInstall (infinite loop)
 devel/p5-Inline-C             (fail at t/27inline_maker.t)
 devel/p5-Search-Elasticsearch (several items)
Some other {net,devel}/p5-packages
 Set BUILD_DEPENDS+= for make test
   2015-02-07 13:49:54 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
 - Add USE_TOOLS=  gmake
 - Update 1.5.1 to 1.5.2
2015-01-30  Ben Elliston  <bje@gnu.org>
	* DejaGnu 1.5.2 released.

2015-01-30  Ben Elliston  <bje@gnu.org>
	* runtest.exp (frame_version): Set to 1.5.2.
	* configure.ac (AC_INIT): Set version to 1.5.2.
	* configure: Regenerate.
	* doc/dejagnu.xml (appversion, version): Set to 1.5.2.
	* doc/dejagnu.texi: Regenerate.

2015-01-22  Eric Botcazou  <ebotcazou@adacore.com>
	* Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
	* Makefile.in: Regenerate.
	* baseboards/visium-sim.exp: New file.

2014-11-25  Ben Elliston  <bje@gnu.org>
	* lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
	Reported by David Malcolm.

2014-10-28  Ben Elliston  <bje@gnu.org>
	* Makefile.in: Regenerate.

2014-10-28  Ben Elliston  <bje@gnu.org>
	* example: Remove stale examples.

2014-10-24  Steve Ellcey  <sellcey@mips.com>
	* dejagnu.h (pass): Make function static as well as inline.
	(xpass): Ditto.
	(fail): Ditto.
	(xfail): Ditto.
	(untested): Ditto.
	(unresolved): Ditto.
	(note): Ditto.
	(totals): Ditto.

2014-10-14  Ben Elliston  <bje@gnu.org>
	* runtest.exp: Only match $directory, not *${directory}* when the
	user passes the --directory option. Reported by Sergey Alyoshin.

2014-10-14  Ben Elliston  <bje@gnu.org>
	* lib/dejagnu.exp (host_execute): Remove buffer_full check. This
	is not the right command keyword -- it is full_buffer. Reported by
	David Malcolm.

2014-07-15  Maciej W. Rozycki  <macro@mips.com>
	    Maciej W. Rozycki  <macro@codesourcery.com>
	* lib/targetdb.exp (add_board_info): New procedure.
	* doc/ref.xml (Add_board_info Procedure): New section.
	(Set_board_info Procedure): Add description.
	(Unset_board_info Procedure): Likewise.
	* doc/user.xml (Board Config File Values): Add `add_board_info'
	reference.  Reorder `gdb_init_command' table rows and remove a
	duplicate entry, reusing it for `gdb_init_commands'.

2014-06-25  Rob Savoye  <rob.savoye@linaro.org>
	* runtest.exp: (lookfor-file): Fix bug were none of the relative
	paths were actually being used for file lookup.

2014-06-06  Ben Elliston  <bje@gnu.org>
	* depcomp, install-sh, missing: Update to latest versions.
	* mkinstalldirs: Remove.
	* Makefile.in: Regenerate.

2014-06-04  Ben Elliston  <bje@gnu.org>
	* Makefile.in: Regenerate with Automake 1.14.1.
	* compile: Add missing file.

2014-06-04  Ben Elliston  <bje@gnu.org>
	* config.guess: Update to version 2014-03-23.
	* config.sub: Likewise.

2014-06-04  Ben Elliston  <bje@gnu.org>
	* aclocal.m4: Regenerate with Automake 1.14.1.
	* configure: Regenerate with Autoconf 2.69.

2014-03-15  Steve Ellcey  <sellcey@mips.com>
	* baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.

2014-02-23  Steve Ellcey  <sellcey@mips.com>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* config/sim.exp (sim_exec): New.
	(sim_file): New.

2013-12-08  Richard Sandiford  <rdsandiford@googlemail.com>
	* lib/dg.exp (dg-test): Don't put the expected and actual output
	of a pattern test in the test name; send it to the log instead.

2013-11-01  Steve Ellcey  <sellcey@mips.com>
	* Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
	* Makefile.in: Regenerate.
	* baseboards/multi-sim.exp: New.

2013-10-31  Anton Kolesov  <anton.kolesov@synopsys.com>
	* lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
	(remote_reboot): Add comment explaining return value of this procedure.
	* doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
	* doc/dejagnu.texi: Regenerate.

2013-10-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
       * baseboards/androideabi.exp (process_multilib_options): Add option.
       * config/adb.exp: Remove hardcoded -static option.
       (adb_load): Add the possibility to change the temp directory. Also
       handle permission potential problems.
       (adb_exec): Do cd to android_tmp_dir first.

2013-10-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
	* baseboards/unix.exp: Add gdb settings to not use hardware
	watchpoints in sparc64 running GNU/Linux.

2013-06-17  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
	* runtest.exp (libdirs): New global variable.
	(load_lib): Append libdirs to search_and_load_files directories.
	* doc/ref.xml (load_lib): Document global variable libdirs.
	* doc/dejagnu.texi: Regenerate.
	* testsuite/runtest.all/load_lib.exp: New testcase.
	* Makefile.am (TESTSUITE_FILES): Add new testcase.
	* Makefile.in: Regenerate.

2013-06-15  Ben Elliston  <bje@gnu.org>
	* configure.ac: If DEJAGNU is unset, set it to /dev/null.
	* Makefile.am: Export DEJAGNU.
	* configure: Likewise.
	* Makefile.in: Regenerate.

2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
	* doc/user.xml: Fix typos.
	* doc/ref.xml: Likewise.
	* doc/dejagnu.texi: Regenerate.

2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
	* doc/user.xml: Fix number of columns in table.
	* doc/dejagnu.texi: Regenerate.

2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
	* doc/user.xml: Fix rendering errors around programlisting.
	* doc/ref.xml: Likewise.
	* doc/dejagnu.texi: Regenerate.

2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
	* doc/user.xml: Fix spacing before productname.
	* doc/dejagnu.texi: Regenerate.

2013-06-12  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
	* testsuite/runtest.all/default_procs.tcl (send_log): Use the
	magic "args" parameter name, as expect send_log proc accepts -- as
	a leading option.

2013-06-08  Makoto Fujiwara  <makoto@ki.nu>
	* Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
	(config_DATA): Likewise for config_SCRIPTS.
	(baseboard_DATA): Likewise for baseboard_SCRIPTS.
	(EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
	* Makefile.in: Regenerate.

2013-06-08  Ben Elliston  <bje@gnu.org>
	* configure: Regenerate with autoconf 2.69.
	* aclocal.m4: Regenerate.
   2013-06-16 06:54:51 by Makoto Fujiwara | Files touched by this commit (4) | Package updated
Log message:
Update to 1.5.1   (The date below is corrected).
Two patches are removed, those are now included in upstream
2013-06-08  Ben Elliston  <bje@gnu.org>

        * DejaGnu 1.5.1 released.

2013-06-08  Ben Elliston  <bje@gnu.org>

        * configure.ac (AC_INIT): Bump version to 1.5.1.
        * runtest.exp (frame_version): Likewise.
        * configure: Regenerate.

        * Makefile.in: Regenerate with automake 1.13.
        * aclocal.m4: Likewise.
   2013-06-10 03:09:48 by Makoto Fujiwara | Files touched by this commit (7)
Log message:
Bump dejagnu 1.4.4 to 1.5
  Upstream now includes this change, removed.
  Doc generation has changed and doc directory does not exist any more, removed.
  *.exp files were execution bit set because of target name, patch added.
  has -SCRIPT string. Now correcting to -DATA
  Generated by automake-1.11.1 from Makefile.am, patch added.
Changes since 1.4.4:

1. The runtest.1 man page has been brought up to date.
2. The Docbook/SGML documentation files were removed in favour of the
   Docbook/XML documentation.  The Texinfo source for the Info pages is
   now automatically generated from the Docbook source.
3. The Makefile structure has been substantially simplified.  There
   is now a single top-level Makefile.am.  The use of recursive make
   has been eliminated.
4. lib/mondfe.exp and lib/xsh.exp have been removed.  Users requiring
   these communication modes can still use the DejaGnu 1.4 branch or
   can contact dejagnu@gnu.org to discuss reinstating these files.
5. The configure script now ensures that Expect is installed and that
   it is linked against Tcl 8.3 or greater.
6. The runtest program now gracefully handles the possibility of the
   expect binary vanishing after DejaGnu has been installed (for
   example, by the user altering their PATH).
7. The user-visible utility procedures `absolute', `prune', `psource'
   and `slay' are deprecated and will be removed in the next release.
   If a testsuite uses any of these procedures, a copy of the
   procedure should be made and placed in the lib directory of the
   2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.