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

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


Branch: CURRENT, Version: 1.6.3, Package name: dejagnu-1.6.3, 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:
[lang/tcl-expect]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 607.479 KB

Version history: (Expand)


CVS history: (Expand)


   2022-10-24 11:46:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
dejagnu: updated to 1.6.3

Changes since 1.6.2:

 1. The internal proc 'is_remote' has been renamed to 'isremote' for
    consistency with the other similar procs (eg, istarget). Testsuites
    should use this proc. The 'is_remote' proc is deprecated.
 2. runtest now accepts --local_init and --global_init options to override
    the default of reading "site.exp".  See the manual for details.
 3. runtest now responds consistently to all Tcl errors and generates an
    UNRESOLVED result when a test script aborts.  Previously, calling an
    undefined procedure would cause the test run to abort while other Tcl
    errors produced only an easily-ignored message.
 4. runtest now collects Tcl errors encountered during a test run and prints
    the collected errors a second time at the end of the test run after the
    summary.  Separator lines containing more than 10 hyphens are included.
 5. A utility procedure relative_filename has been added.  This procedure
    computes a relative file name to a given destination from a given base.
 6. The utility procedure 'grep' now accepts a '-n' option that
    includes line numbers in the output, consistent with GNU grep.
 7. The target_compile procedure now accepts a "linker=" option that
    overrides the compiler selection when producing an executable.
 8. The internal default_target_compile procedure now supports compiling
    sources in Go (using GCC Go) and Rust.
 9. The host_execute procedure no longer insists that the executable be in
    the current directory if the file exists under the given name.
10. The host_execute procedure now reads input to end-of-file, to ensure
    that the child process will be able to complete instead of being cut
    short by a SIGPIPE under unpredictable unfavorable timing scenarios.
11. The match patterns in the host_execute procedure have been revised to
    fix timing issues causing test names to be truncated.
12. The host_execute procedure is no longer sensitive to the value of the
    "text" global variable.
13. A new multiplex procedure "testsuite" is added for commands retrieving
    or providing information about the current testsuite.
14. A command "testsuite file" is added to replace the use of the \ 
"*dir"
    variables in test scripts.
15. A command "testsuite can call" is added to report the availability of
    multiplexed API calls.
16. A new multiplex procedure "testcase" is added for commands examining or
    manipulating the dynamic state of ongoing testing.
17. A command "testcase group" is provided for reporting test groups to the
    DejaGnu core.  Currently, the usage of this command is validated, but
    it will affect at least XML output in a future release of DejaGnu.
18. A shell command "dejagnu" is added as a place to hang various
    auxiliary commands not directly involved with running tests. The
    "runtest" command will remain for that purpose for the foreseeable
    future.
19. The first auxiliary command is added: "report card". The "dejagnu
    report card" command reads DejaGnu summary files and produces a compact
    tabular summary across multiple tools.
20. A Tcl namespace is now used for some internal procedures and variables.
    The Tcl namespace ::dejagnu and all child namespaces are entirely
    internal and should not be mentioned in testsuite code.  Its contents
    are subject to change without notice, even on point releases.
21. The DejaGnu testsuite no longer searches for a nearby Expect executable
    in the location where it would have been located in the old Cygnus tree
    layout.  If you want to use a special Expect other than the system
    Expect, specify EXPECT=/name/of/expect to "runtest" or "make \ 
check".
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2020-01-11 07:21:33 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
(devel/dejagnu) Updated to 1.6.2

Changes since 1.6.1:
1. runtest will abort if $DEJAGNU is defined but the file is not
   found.

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

 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
    distribution.
 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)
Log message:
(pkgsrc)
 - 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.
(upstream)
 - 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/dejagnu/2015-03/msg00003.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
	unset.

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:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
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.