* runtest.exp: Replace archaic use of [string match] with "eq".
[dejagnu.git] / NEWS
blob35466ce281175ff7a772c6dc52fbce90a857a841
1 -* text -*-
3 Changes since 1.6.2:
5 1. The internal proc 'is_remote' has been renamed to 'isremote' for
6    consistency with the other similar procs (eg, istarget). Testsuites
7    should use this proc. The 'is_remote' proc is deprecated.
8 2. runtest now accepts --local_init and --global_init options to override
9    the default of reading "site.exp".  See the manual for details.
10 3. A utility procedure relative_filename has been added.  This procedure
11    computes a relative file name to a given destination from a given base.
12 4. The utility procedure 'grep' now accepts a '-n' option that
13    includes line numbers in the output, consistent with GNU grep.
15 Changes since 1.6.1:
17 1. runtest will abort if $DEJAGNU is defined but the file is not
18    found.
20 Changes since 1.6:
22 Minor bug fixes, no major changes.
24 Changes since 1.5.3:
26 1. Proper support for target communication via SSH has been added.
27 2. A large number of very old config and baseboard files have been
28    removed.  If you need to resurrect these, you can get them from
29    version 1.5.3.  If you can show that a board is still in use, it
30    can be put back in the distribution.
31 3. The --status command line option is now the default. This means
32    that any error in the testsuite Tcl scripts will cause runtest to
33    abort with exit status code 2.  The --status option has been
34    removed from the documentation, but will continue to be accepted
35    for backward compatibility.
36 4. runtest now exits with exit code 0 if the testsuite "passed", 1 if
37    something unexpected happened (eg, FAIL, XPASS or UNRESOLVED), and
38    2 if an exception is raised by the Tcl interpreter.
39 5. runtest now exits with the standard exit codes of programs that are
40    terminated by the SIGINT, SIGTERM and SIGQUIT signals.
41 6. The user-visible utility procedures `absolute', `psource' and
42    `slay' have been removed.  If a testsuite uses any of these
43    procedures, a copy of the procedure should be made and placed in
44    the lib directory of the testsuite.
45 7. Support was added for testing the D compiler.
46 8. ~/.dejagnurc is now loaded last, not first. This allows the user to
47    have the ability to override anything in their environment (even
48    the site.exp file specified by $DEJAGNU).
49 9. The user-visible utility procedure `unsetenv' is deprecated and
50    will be removed in the next release.  If a testsuite uses any of
51    these procedures, a copy of the procedure should be made and placed
52    in the lib directory of the testsuite.
54 Changes since 1.4.4:
56 1. The runtest.1 man page has been brought up to date.
57 2. The Docbook/SGML documentation files were removed in favour of the
58    Docbook/XML documentation.  The Texinfo source for the Info pages is
59    now automatically generated from the Docbook source.
60 3. The Makefile structure has been substantially simplified.  There
61    is now a single top-level Makefile.am.  The use of recursive make
62    has been eliminated.
63 4. lib/mondfe.exp and lib/xsh.exp have been removed.  Users requiring
64    these communication modes can still use the DejaGnu 1.4 branch or
65    can contact dejagnu@gnu.org to discuss reinstating these files.
66 5. The configure script now ensures that Expect is installed and that
67    it is linked against Tcl 8.3 or greater.
68 6. The runtest program now gracefully handles the possibility of the
69    expect binary vanishing after DejaGnu has been installed (for
70    example, by the user altering their PATH).
71 7. The user-visible utility procedures `absolute', `prune', `psource'
72    and `slay' are deprecated and will be removed in the next release.
73    If a testsuite uses any of these procedures, a copy of the
74    procedure should be made and placed in the lib directory of the
75    testsuite.
77 Changes since 1.4.2:
79 1. New XML output option, so test results can be loaded into a database.
80 2. Support for the KFAIL/KPASS (known failures).
81 3. New "Hello World" example.
82 4. New tutorial chapter.
83 5. Test cases build with either GCC 2.x or 3.x.
84 6. BlueGnu has been removed from the contrib directory.
85 7. The contrib/test* scipts were bitrotten and have been removed.  If
86    you still want copies of these, they can be found in the previous
87    DejaGnu release.
88 8. i960glue.c has been removed.
90 Changes since 1.4.1:
92 1. Various patches for bugs reported from net users.
93 2. Test case builds with either libstdc++-v3 (as used by GCC 3.0.x) or
94    the older v2 (as used by GCC 2.95.x).
96 Changes since 1.4.0:
98 1. There is new support for a simple unit testing API, that is also
99    useful for embedded testing.
101 Changes since 1.3:
103 1. DejaGnu is now back under active maintainance. The initial work has
104    been rewriting the manual to bring it up to date, and switching to
105    SGML.
106 2. NT support has also been added.
107 3. DejaGnu now uses Automake.
109 Changes since 1.1.1:
111 1. Works with (included in release) Tcl 7.3 and Expect 5.6.
112 2. Much better error trapping and handling, including the execution of
113    sub scripts.
114 3. Re-worked configuration subsystem.
115 4. Default handling for testing unknown targets.
116 5. New testsuite for expect and runtest.
117 6. More debugging procedures.
119 Changes since 1.0:
121 1. DejaGnu now conforms to POSIX 1003.3, a standard for testing frameworks.
122 2. A Tcl debugger written by Don Libes has been added.
123 3. Lots of bug fixes.
125 Changes since 0.9:
127 1. DejaGnu now installs itself like other utilities.
128 2. 700 G++ tests are included.
129 3. The bugs in the GCC tests have been fixed.
130 4. Testsuites are released separately.
131 5. Testsuite sources now reside with the within each tool's source tree.