Add support for errors and warnings in the unit test protocol
[dejagnu.git] / ChangeLog
blob9d94bdadb454a1e030a8739904a7a4ac1c271f0f
1 2022-12-20  Jacob Bachmeyer  <jcb@gnu.org>
3         * doc/dejagnu.texi (DejaGnu unit test protocol): Add ERROR and
4         WARNING tokens to DejaGnu unit testing protocol.
5         * lib/dejagnu.exp (host_execute): Implement same.
6         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp,
7           testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
8         Add support for testing ERROR and WARNING tokens.
9         * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
10         results after warnings and errors in unit test programs.
12         * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
13         results after warnings and errors.
14         * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
15         Add support for above.
17 2022-11-30  Jacob Bachmeyer  <jcb@gnu.org>
19         * testsuite/libdejagnu/unit.exp: Rename this...
20         * testsuite/libdejagnu/harness.exp: ...to this.
22         * doc/dejagnu.texi (C++ unit testing API): Document recent
23         improvements and the rest of the C++ API.
25         * dejagnu.h (TestState::TestState): Only perform initialization
26         when the first TestState object is constructed.
27         (DG): Add global TestState object.
29         * dejagnu.h (DG__endmsg): New function, called using atexit().
30         (endmsg_registered, TestState_count): Add fields to DG__status.
31         (DG__init): New function, to register DG__endmsg.
32         (pass, xpass, fail, xfail, untested, unresolved, unsupported)
33         (note): Call DG__init to ensure libdejagnu initialization.
34         (totals): Move "END" message to DG__endmsg.
35         (TestState::TestState): Consider DG__endmsg registered when a
36         TestState object is constructed.
37         (TestState::TestState, TestState::~TestState): Track number of
38         live TestState objects in global status structure.
39         (TestState::~TestState): Call totals() and emit "END" message only
40         when the last TestState object is destroyed.
42         * dejagnu.h (outstate): Remove.
43         (TestState::pass, TestState::xpass, TestState::fail)
44         (TestState::xfail, TestState::untested, TestState::unresolved)
45         (TestState::unsupported, TestState::note): Remove support for
46         overriding protocol tag lines.
47         (outstate_list): Rename this...
48         (DG__outstate_list): ...to this to mark it as internal.
49         (teststate): Rename this...
50         (DG_teststate): ...to this to avoid name collisions with user code.
51         (TestState::TestState): Sort lines by length.
53         * dejagnu.h (buffer): Remove this variable.
54         (pass, xpass, fail, xfail, untested, unresolved, unsupported)
55         (note): Replace use of buffer and vsnprintf with flockfile,
56         multiple writes, and funlockfile in all functions.
58         * dejagnu.h (DG__status): New struct for test counters.
59         (passed, failed, xpassed, xfailed, untest, unresolve, unsupport):
60         Move all counters into new struct, changing all functions.
62         * doc/dejagnu.texi (C unit testing API): Document use of "DG_"
63         prefix in dejagnu.h and "DG__" for internal symbols.
64         (C++ unit testing API): Likewise.  Also declare namespace
65         "DejaGnu" reserved for future expansion.
67 2022-11-29  Jacob Bachmeyer  <jcb@gnu.org>
69         * Makefile.in: Regenerate.
70         * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-ccxxmix.
71         (testsuite_libdejagnu_unit_ccxxmix_SOURCES): Add.
72         * testsuite/libdejagnu/unit.exp: Add tests for C/C++ mixed usage.
73         * testsuite/libdejagnu/unit-ccxxmix.cxx: New file.
75         * testsuite/libdejagnu/unit.exp: Add note that tests for the
76         framework side of the unit testing protocol are located in
77         testsuite/runtest.main/stats.exp and its nested testsuite.
79         * Makefile.in: Regenerate.
80         * Makefile.am (check_PROGRAMS): Remove unit.
81         (unit_SOURCES): Remove.
82         * testsuite/libdejagnu/tunit.exp: Remove file.
83         * testsuite/libdejagnu/unit.cc: Remove file.
84         The limited coverage of this test is now included in unit.exp
85         and unit-cxx, and supporting this test required some leaky
86         abstractions in dejagnu.h that can now be cleaned up.
88         * Makefile.in: Regenerate.
89         * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-cxx.
90         (testsuite_libdejagnu_unit_cxx_SOURCES): Add.
91         * testsuite/libdejagnu/unit.exp: Add tests for C++ unit test API.
92         * testsuite/libdejagnu/unit-cxx.cxx: New file.
94         * dejagnu.h (TestState::totals): Emit header line, like the C version.
96         * dejagnu.h (TestState::note): New method, like C note().
97         * doc/dejagnu.texi (C++ unit testing API): Add note() method.
99         * doc/dejagnu.texi (C++ unit testing API): Fix incorrect
100         documentation.  The C and C++ interfaces share the same global
101         counters, as do all C++ TestState objects.
103 2022-11-28  Jacob Bachmeyer  <jcb@gnu.org>
105         * dejagnu.h: Remove _DEJAGNU_WAIT_ conditional and revise comment
106         to explain improved solution to the problem for which it seems to
107         have been intended as a workaround.
108         (wait): Remove this function.  It conflicted with POSIX wait(2);
109         this conflict was reported as PR59586.
111         * testsuite/runtest.main/stats.exp: Add test for UNSUPPORTED
112         result from a unit test program.
113         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
114         Update to account for addition of END marker and UNSUPPORTED to
115         DejaGnu unit testing protocol.
117         * dejagnu.h: Add UNSUPPORTED test result.
118         (unsupport): New counter variable for UNSUPPORTED results.
119         (unsupported): New function in C API.
120         (TestState::unsupported): New function in C++ API.
121         (outstate_list): Add UNSUPPORTED entry.
122         (teststate::laststate): Likewise.
123         (totals): Mention number of unsupported tests.
124         (TestState::totals): Likewise for C++ API.
125         * lib/dejagnu.exp (host_execute): Add UNSUPPORTED test result.
126         * doc/dejagnu.texi (DejaGnu unit test protocol): Document same.
127         (C unit testing API): Document new function for same.
128         (C++ unit testing API): Document new function for same.
130         * testsuite/libdejagnu/unit-c.c: Add test for UNSUPPORTED.
131         * testsuite/libdejagnu/unit.exp: Likewise.
133         * testsuite/libdejagnu/unit.exp: Add test for NOTE message.
135 2022-11-26  Jacob Bachmeyer  <jcb@gnu.org>
137         * Makefile.in: Regenerate.
138         * Makefile.am (AM_CXXFLAGS): Change this...
139         (AM_CPPFLAGS): ...to this.  (Also remove -g flag.)
140         (check_PROGRAMS): Add testsuite/libdejagnu/unit-c.
141         (testsuite_libdejagnu_unit_c_SOURCES): Add.
142         (TESTSUITE_FILES): Update.
143         * testsuite/libdejagnu/unit-c.c: New file.
144         * testsuite/libdejagnu/unit.exp: New file.
146         * dejagnu.h (xpass): Fix use of wrong counter.
147         (xfail): Likewise.
148         (totals): Report unexpected passes if any occurred.
150         * doc/dejagnu.texi (DejaGnu unit test protocol): Add end marker
151         line using "END" to allow detecting tests that exit prematurely.
152         The "Totals:" line was previously used for this purpose, but it
153         does not match the pattern documented as reserved for carrying
154         unit test results and information.
156         * lib/dejagnu.exp (host_execute): Remove test for "Totals" line.
157         (host_execute): Add corresponding support for the new line types.
159         * dejagnu.h (totals): Add end marker.
160         (TestState::totals): Likewise.
162 2022-10-04  Jacob Bachmeyer  <jcb@gnu.org>
164         PR58065
166         * lib/dg.exp (dg-test): Store results of analyzing messages in a
167         list, then report them to the framework after giving the pruning
168         callback an opportunity to skip the test case.
170         * testsuite/runtest.libs/dg.test: Add tests for skipping tests
171         based on special result codes from mock-dg-prune.
172         (mock-dg-test): Add directive for output text.
173         (mock-dg-prune): Recognize special markers for
174         UNRESOLVED/UNSUPPORTED/UNTESTED result codes.
176 2022-10-01  Jacob Bachmeyer  <jcb@gnu.org>
178         PR58065
180         * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks):
181         Report test failure instead of raising errors.
183         * testsuite/runtest.libs/dg.test: Add more unit tests.
184         (eval_tests): Copy this procedure...
185         * testsuite/runtest.libs/target.test (eval_tests): ...from here.
187 2022-09-30  Jacob Bachmeyer  <jcb@gnu.org>
189         PR58065
191         * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks): Add
192         usage comment and option to match number of calls for test.
193         (create_test_interpreter): Add support for mockvfs.
195         * testsuite/runtest.libs/dg.test: New file.
197 2022-09-29  Jacob Bachmeyer  <jcb@gnu.org>
199         PR58065
201         * testsuite/runtest.libs/mockvfs.tcl: New file.
203 2022-09-26  Jacob Bachmeyer  <jcb@gnu.org>
205         * testsuite/runtest.libs/libs.exp (process_test): Add forward
206         slash to the list of characters recognized as text.
208 2022-01-21  Jacob Bachmeyer  <jcb@gnu.org>
210         PR53427
212         * runtest.exp (runtest): Reset the global warning and error
213         counters before running each test file.  This prevents an error
214         "left over" from a previous test file from causing the first test
215         in the next file to be spuriously reported as UNRESOLVED.
217         * Makefile.am (TESTSUITE_FILES): Add new files.
219         * testsuite/runtest.main/pr53427.exp: New file for regression test.
220         * testsuite/runtest.main/nested/testsuite/pr53427.test/a.exp: Likewise.
221         * testsuite/runtest.main/nested/testsuite/pr53427.test/b.exp: Likewise.
223 2021-06-29  Jacob Bachmeyer  <jcb@gnu.org>
225         PR49250
227         * runtest.exp: Adjust detection logic for deprecated broken legacy
228         case of a testsuite not actually in a testsuite/ directory.
230         This was never supported but happened to work in older versions.
232 2021-05-22  Jacob Bachmeyer  <jcb@gnu.org>
234         * Makefile.am (TESTSUITE_FILES): Correct oversight.
236         * configure, Makefile.in, aclocal.m4: Regenerate.
238         * runtest.exp, configure.ac, doc/version.texi: Update version.
240         * dejagnu: Fix error message.
242         * config.guess: Import patched version; patches sent upstream.
244         * commands/help.sh: Add test mode in which man(1) is never
245         actually invoked.  The ability to reference a manpage by absolute
246         file name seems to be unique to Free systems.
247         * testsuite/launcher.all/help.exp: Amend test list to use new
248         testing mode in "dejagnu help" command.  This mode should also
249         work on Solaris, so the logic for skipping the tests is removed.
251 2021-05-20  Jacob Bachmeyer  <jcb@gnu.org>
253         * dejagnu: Search for a POSIX Awk and validate that at least a
254         simple Awk program actually works.
255         * testsuite/launcher.all/command.exp: Add tests for error produced
256         when no Awk is found and a help message is requested.
258         * lib/dejagnu.exp: Avoid reporting next test as UNRESOLVED when
259         reporting error due to missing size(1) while loading file.
261         * testsuite/lib/runtest.exp (runtest_copy_nested_testsuite_log):
262         New procedure.  Dumps log from nested run into main test log.
264         * testsuite/runtest.libs/utils.test: Change test for [which make]
265         to [which sh] because make(1) is not always available on non-GNU
266         systems but sh(1) exists on any Unix.  GNU make is often installed
267         as "gmake" on non-GNU systems and may be the only "make" utility.
269         * testsuite/runtest.main/pr42399.exp (test_pr42399): Revise to
270         ensure that a failure to produce any output at all in the inner
271         test will be detected.  This was discovered on Solaris 10.
273         * testsuite/runtest.main/stats.exp: Copy stat.log from nested
274         testsuite run to the main test log upon test failure.
276         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
277         Explicitly pass /dev/null to unit-sub.awk because /usr/bin/awk on
278         Solaris 10 does not seem to recognize assignment to ARGV.
279         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
280         Likewise.
282 2021-05-18  Jacob Bachmeyer  <jcb@gnu.org>
284         * dejagnu: Redirect input from /dev/null when testing if awk is
285         GNU Awk; this avoids a hang on Solaris 10 where awk treats
286         --version as an Awk program and attempts to read input.
287         (command): Rework the initial setting of this variable to avoid
288         limitations in Solaris 10 awk.
290         * testsuite/report-card.all/onetest.exp: Avoid Tcl error when item
291         and totals lines are missing entirely.
293         * testsuite/runtest.main/pr48155.exp: Fix assumption about exit
294         code from /bin/false, which is different on Solaris.
296 2021-05-05  Jacob Bachmeyer  <jcb@gnu.org>
298         PR48155
300         * Makefile.am (TESTSUITE_FILES): Update.
301         (CLEANFILES): Add special init file for PR48155 nested tests.
303         * testsuite/runtest.main/pr48155.exp: New file.
304         * testsuite/runtest.main/pr48155-csh.sh: New trivial file.  This
305         script emulates the behavior of the C shell if an attempt is made
306         to use it to run the config.guess script.
308 2021-05-04  Jacob Bachmeyer  <jcb@gnu.org>
310         PR48155
312         * runtest.exp: Tighten regexp used to validate output from
313         config.guess.  The previous regexp would accept an error produced
314         if config.guess was incorrectly run using the C shell.
316 2021-04-28  Jacob Bachmeyer  <jcb@gnu.org>
318         * configure, Makefile.in: Regenerate.
320         * runtest.exp, configure.ac, doc/version.texi: Update version.
322         * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
323         to work around Automake limitation of assuming that v7 is default.
325 2021-04-20  Jacob Bachmeyer  <jcb@gnu.org>
327         * configure.ac: Set Automake options to use the ancient and
328         universal V7 format when building distribution tarballs.  The
329         limitations of this format are not expected to impact DejaGnu; the
330         "ustar" format will be used instead if this is proved wrong.
332         * Makefile.am (TAR_OPTIONS): Add exported environment variable to
333         set options when building distribution tarballs.  Ensure that all
334         files in distribution tarballs will be recorded as owned by root.
336 2021-04-16  Jacob Bachmeyer  <jcb@gnu.org>
338         PR47382
340         * dejagnu (command): Use Awk instead of non-portable basename(1)
341         and a non-portable sed(1) pattern to initially set this variable.
343         * dejagnu: Use shell "case" pattern match instead of non-portable
344         "grep -q" to determine if "awk" is GNU Awk.
346         * dejagnu: Use Awk instead of non-portable "grep -q" to verify
347         that a file contains a help message.  Also use Awk to extract help
348         messages from files, instead of a complex dynamic sed(1) program.
350         * configure.ac: Remove experimental support for propagating
351         CONFIG_SHELL to scripts in the source directory.
353         * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
354         running config.guess.  Check the result carefully and stop with an
355         error immediately if running config.guess does not produce
356         something that plausibly resembles a triplet.  Advise the user
357         that SHELL or CONFIG_SHELL may need to be set in the environment.
359 2021-04-15  Jacob Bachmeyer  <jcb@gnu.org>
361         PR47382
363         * dejagnu: Avoid using $? for an exit code; it is convenient until
364         the tests fail because the script is run on Solaris where false
365         returns 255 instead of 1 and the test harness expects exit code 1.
367 2021-04-14  Jacob Bachmeyer  <jcb@gnu.org>
369         PR47382
371         * dejagnu: Replace use of "expr :" with shell "case" pattern
372         match to avoid limitations of Solaris 10 expr(1).
374 2021-04-14  Jacob Bachmeyer  <jcb@gnu.org>
376         * lib/specs.exp, testsuite/runtest.libs/specs.test: New files.
378 2021-04-08  Jacob Bachmeyer  <jcb@gnu.org>
380         * configure: Regenerate.
382         * runtest.exp, configure.ac, doc/version.texi: Update version.
384         * configure.ac: Change "dnl" comments that should appear in
385         configure to regular comments.
386         Add experimental support for propagating CONFIG_SHELL to the
387         config.sub and config.guess scripts in the source directory.
389 2021-04-01  Jacob Bachmeyer  <jcb@gnu.org>
391         PR47533
393         * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
394         message to better fit GNU conventions, with thanks to Tom Tromey
395         for the reporting this issue.
397         PR47382
399         * runtest: Remove use of non-portable "if !" that causes problems
400         with /bin/sh on Solaris 10.
402         * dejagnu (Variants): Split the declaration of this read-only
403         variable into an assignment followed by marking it read-only,
404         instead of doing both in one statement.  The Solaris 10 /bin/sh
405         does not accept the combined form.
407 2021-03-30  Jacob Bachmeyer  <jcb@gnu.org>
409         * configure: Regenerate.
411         * runtest.exp, configure.ac, doc/version.texi: Update version.
413 2021-03-26  Jacob Bachmeyer  <jcb@gnu.org>
415         PR47386
417         * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
418         since Solaris man(1) does not accept explicit filenames.  The
419         manpages will be installed as usual, and the "dejagnu help"
420         command should work after installation.
422         Also set PAGER for testing, since other systems might also ignore
423         MANPAGER and that would cause the test to hang.
425         * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
426         copies of the output produced to the log.
428         * commands/help.sh: Extend PR47382 fix (below) to this file.
430         PR47385
432         * testsuite/lib/runtest.exp: Remove support for automatically
433         locating an Expect executable in the old Cygnus tree layout.
435 2021-03-25  Jacob Bachmeyer  <jcb@gnu.org>
437         PR47382
439         * dejagnu, runtest: Remove use of "$()" command substitution and
440         "$(())" arithmetic substitution shell constructs.  The /bin/sh on
441         Solaris 10 does not support them.  They were replaced with the
442         traditional backticks for command substitution and backticks and
443         the expr command for arithmetic substitution.
445         Also add markers to explicitly disable shellcheck warnings that
446         would lead to reintroducing these problems.
448         Also avoid the non-portable "`..."..."...`" construct on a warning
449         in the GNU Autoconf manual, section "Shell Substitutions",
450         although this introduces additional variables.
452 2021-03-22  Jacob Bachmeyer  <jcb@gnu.org>
454         * configure: Regenerate.
456         * runtest.exp, configure.ac, doc/version.texi: Update version.
458         * config.guess, config.sub: Import from upstream.
460         * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
462 2021-03-15  Jacob Bachmeyer  <jcb@gnu.org>
464         * Makefile.am, Makefile.in: Update accordingly.
466         * contrib/compare_tests: Remove.  This file lacked a GPL notice.
467         This file was imported from GCC many years ago.  The GCC version
468         has benefited from continued development, while ours has not.
470         * testsuite/runtest.libs/load_lib.exp: Remove.  This file lacked a
471         GPL notice and an attempt to contact the contributor produced no
472         response.  The tests in this file will need to be rewritten in any
473         case; there is a bug in load_lib that they should expose and there
474         is now additional infrastructure for tests of this type that was
475         not available when this file was written.
477 2020-12-27  Jacob Bachmeyer  <jcb@gnu.org>
479         * testsuite/runtest.libs/libs.exp (process_test): Report running
480         test scripts as each test script is run.
481         Also, at top-level, sort the list of tests to run.
483         * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
484         from new "testsuite can call api" feature test API entrypoint.
485         * lib/framework.exp (testsuite_can): Likewise.
486         * testsuite/runtest.libs/testsuite_can.test: Likewise.
487         * NEWS: Likewise.
489 2020-12-16  Jacob Bachmeyer  <jcb@gnu.org>
491         * configure: Regenerate.
493         * configure.ac: Remove Tcl version check.
495         Apply patch from Nick Clifton:
497         * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
499         Apply patch from Dimitar Dimitrov:
501         * baseboards/pru-sim.exp: New file.
503         * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
504         * Makefile.in (baseboard_DATA): Likewise.
506 2020-12-15  Jacob Bachmeyer  <jcb@gnu.org>
508         * configure: Regenerate.
509         * Makefile.in: Regenerate.
511         * Makefile.am (RUNTEST): Explain override of Automake default.
513         * configure.ac: Update for autoconf 2.69 using autoupdate.
514         * configure.ac: Remove search for expect now handled by Automake.
516         Apply patch from Dimitar Dimitrov:
518         * Makefile.am (dejagnu_TEXINFOS): Change this...
519         * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
521         This fixes an incorrectly recorded dependency.
523 2020-11-17  Jacob Bachmeyer  <jcb@gnu.org>
525         PR44636 / PR44693
527         * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
528         that conflated the tool init file with the target interface file.
529         (Make Check): Add cross-reference to the GNU Automake manual for
530         more details.
532 2020-11-10  Jacob Bachmeyer  <jcb@gnu.org>
534         PR44545
536         * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
537         Use [file normalize] to ensure that link targets are unambiguous.
538         (link_dejagnu_launcher_test_item): Avoid spurious errors when test
539         environment has already been prepared in a previous run.
541         * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
542         New procedure to collect existing repeated testsuite code.
543         * testsuite/launcher.all/command.exp: Establish testing
544         environment using link_dejagnu_launcher_test_item procedure.
546 2020-11-09  Jacob Bachmeyer  <jcb@gnu.org>
548         * aclocal.m4: Regenerate.
549         * configure: Regenerate.
550         * Makefile.in: Regenerate.
552         * configure.ac: Revert development version branch tagging hook.
553         * Makefile.am: Likewise.
555         These caused failures (reported in PR44462 as a secondary issue)
556         when a source tree is copied out of a Git directory.
558 2020-08-31  Jacob Bachmeyer  <jcb@gnu.org>
560         * doc/runtest.1: Add brief GFDL notice.  License notice in the
561         formatted manpage should now describe DejaGnu as a whole.
563         * NEWS: Prepare for release.
565 2020-08-18  Jacob Bachmeyer  <jcb@gnu.org>
567         * testsuite/runtest.libs/testsuite_file.test: Add missing
568         copyright and GPL notice.
569         * testsuite/runtest.libs/testsuite_can.test: Likewise.
570         * testsuite/runtest.libs/testcase_group.test: Likewise.
572 2020-08-12  Jacob Bachmeyer  <jcb@gnu.org>
574         * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
575         (Running unit tests): Add node.
576         (DejaGnu unit test protocol): Add node.
577         (C unit testing API): Update to reflect current API.  Move mention
578         of dejagnu.h header here in preparation for future expanded
579         language support.
580         (C++ unit testing API): Likewise.  Mention caveat that the C unit
581         test API is also available in C++ programs.
583 2020-08-10  Jacob Bachmeyer  <jcb@gnu.org>
585         * baseboards/qemu.exp: Tidy whitespace.
587 2020-08-10  Jacob Bachmeyer  <jcb@gnu.org>
589         Merge patch from Kito Cheng to add support for RISC-V sim target.
591         * baseboards/riscv-sim.exp: New file.
592         * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
593         * Makefile.in (baseboard_DATA): Likewise.
595 2020-08-02  Jacob Bachmeyer  <jcb@gnu.org>
597         * Makefile.am (TESTSUITE_FILES): Add files that were introduced
598         during development but were mistakenly not added at that time.
599         (baseboard_DATA): Sort baseboard file list.
600         (baseboard_DATA): Add missing files.
601         (dejagnu_TEXINFOS): New; add GNU FDL file.
602         (CONTRIB): Add experimental Python unit test module.
604         * Makefile.in (TESTSUITE_FILES): Likewise.
605         (baseboard_DATA): Likewise.
607         * testsuite/dejagnu.py:  Move from here...
608         * contrib/dejagnu.py: ...to here.
610 2020-08-02  Rob Savoye  <rob@senecass.com>
612         * Makefile.in: Regenerate so make dist works.
614 2020-07-25  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
616         * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
617         procedure "perror" instead of the Tcl command "error".
618         (Writing a test case): Reorganize node and give basic hints about
619         Tcl quoting and backslash escape rules.
620         (Writing a test case): Describe synchronization issues and warn
621         that prefixes of valid input can be presented for matching.
622         (Writing a test case): Fix markup from conversion from DocBook.
624 2020-07-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
626         PR42399
628         * NEWS: Document changes to host_execute.
630         * lib/dejagnu.exp (host_execute): Revise expect matching to
631         combine all unit test protocol lines into one pattern.
632         (host_execute): Rework other expect patterns.
633         (host_execute): Ensure that all output from child process is read
634         until the child closes its output to avoid sending early SIGPIPE.
635         (host_execute): Report an ERROR (and cause the next test to be
636         recorded as UNRESOLVED) if the Expect matching buffer overflows.
637         (host_execute): Remove dependency on global "text" variable.
639         * Makefile.am (TESTSUITE_FILES): Update.
641         * testsuite/runtest.main/stats.exp: Generalize infrastructure and
642         add tests for DejaGnu unit testing support.
643         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
644         New file.
645         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
646         New file.
648 2020-07-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
650         PR42399
652         * Makefile.am (TESTSUITE_FILES): Update.
654         * lib/dejagnu.exp (host_execute): Allow the executable to be
655         specified with an absolute file name.
656         (host_execute): Fix argument handling to allow passing more than
657         one argument to the executable.  Return early if given no
658         arguments at all instead of trying to execute "./".
660         * testsuite/runtest.main/pr42399.exp: New file.
661         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
662         New file.
663         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
664         New file.
666 2020-07-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
668         * Makefile.am (CLEANFILES): Update.
669         (TESTSUITE_FILES): Update to reflect testsuite reorganization.
671         * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
672         procedure.
673         (runtest_cleanup_nested_testsuite): New procedure.
675         * testsuite/runtest.main/error.exp: Use the tool name "error" to
676         select the proper subset of the nested testsuite.  Use new
677         procedures for handling nested testsuite.  Use common
678         nested-init.exp local init file for nested testsuite.  Let local
679         init file nested-init.exp handle setting "outdir" variable.
680         * testsuite/runtest.main/options.exp: Likewise; "null" tool.
681         * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
683         * testsuite/runtest.main/nested/: Combine nested testsuites.
684         * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
685         Move from here...
686         * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
687         ...to here.
688         * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
689         Move from here...
690         * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
691         ...to here.
692         * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
693         Move from here...
694         * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
695         ...to here.
696         * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
697         Move from here...
698         * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
699         ...to here.
700         * testsuite/runtest.main/options/testsuite/null.test/null.exp:
701         Move from here...
702         * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
703         ...to here.
704         * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
705         Move from here...
706         * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
707         ...to here.
709 2020-07-16  Rob Savoye  <rob@senecass.com>
711         * baseboards/qemu.exp: Works now with qemu instead of sim.
713 2020-07-06  Rob Savoye  <rob@senecass.com>
715         * baseboards/qemu.exp: Initial working support to use qemu for
716         bare metal testing.
717         * Makefile.am: Install qemu.exp.
718         * autogen.sh: Add script borrowed from my Gnash project to
719         regenerate configure/build files.
720         * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
721         * doc/dejagnu.texi: Update copyright date.
723 2020-06-29  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
725         PR 41824 / PR 41918
727         * NEWS: Add item for repeated error messages.
729         * lib/framework.exp (log_and_exit): Add separator lines around the
730         error dumps repeated at the end of a run.
732 2020-06-26  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
734         PR 41824 / PR 41918
736         * NEWS: Remove items for --keep_going / --no_keep_going options.
738         * Makefile.am (CLEANFILES): Adjust for renames.
739         (TESTSUITE_FILES): Likewise.
741         * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
742         --no_keep_going options.
743         (A POSIX Conforming Test Framework): Document that Tcl errors in
744         test scripts produce UNRESOLVED results as placeholders.
746         * doc/runtest.1: Likewise.
748         * lib/framework.exp (log_and_exit): Print collected Tcl errors.
750         * runtest.exp (dejagnu::error): New internal namespace.
751         (runtest): Collect Tcl errors caught while executing test scripts.
752         (dejagnu::opt): Remove internal namespace.
753         Remove --keep_going / --no_keep_going options.  No longer abort on
754         any Tcl errors; instead store them and repeat the messages at the
755         end of the run.
757         * testsuite/runtest.main/abort.exp: Rename from this ...
758         * testsuite/runtest.main/error.exp: ... to this and revise tests.
760         * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
761         Rename from this...
762         * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
763         ... to this.
764         * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
765         Rename from this...
766         * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
767         ... to this.
768         * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
769         Rename from this...
770         * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
771         ... to this.
773 2020-06-24  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
775         PR 41824 / PR 41918
777         * NEWS: Revise relevant items.
779         * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
780         * doc/runtest.1: Document --no_keep_going option.  Remove
781         long-obsolete --name option.  The --name option had been removed
782         from runtest before the code was imported into what became the
783         current repository.
785         * runtest.exp: Add option --no_keep_going to stop immediately if a
786         test script aborts due to a Tcl error.  Remove vestiges of
787         long-obsolete --name option.  Make --keep_going option default.
789         * testsuite/runtest.main/abort.exp: Adjust tests to use
790         --no_keep_going and --keep_going instead of assuming a default.
792 2020-06-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
794         Merge patches from Maciej W. Rozycki to fix timeout handling.
796         * lib/remote.exp (close_wait_program): Use `catch' in killing
797         pending force-kills.
799         * lib/remote.exp (close_wait_program): Only kill the pending
800         force-kills if the PID list has a single entry.
801         (local_exec): Set the channel about to be closed to the
802         nonblocking mode if we didn't see an EOF.
803         (standard_close): Likewise, unconditionally.
805 2020-06-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
807         * NEWS: Mention "linker=" option and added language support.
809         * doc/dejagnu.texi (target_compile procedure): Document new
810         "linker=" option to target_compile.
812         * lib/target.exp (default_target_compile): Actually use internal
813         option for separate linker provided for Go language support.  This
814         seems to have been accidentally omitted from Tom Tromey's patches.
815         (default_target_compile): Add "linker=" option, similar to
816         "compiler=" option, but the former overrides the latter when
817         building an executable.
818         (default_target_compile): Ensure that "--emit obj" is spaced from
819         previous item when used to compile Rust.  Use "--emit asm" instead
820         of "-S" when generating assembly from Rust sources.
822         * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
823         Also add tests for the new "early_flags=" and "linker=" options.
825 2020-06-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
827         * doc/dejagnu.texi (Libgloss): Update menu.
828         (find_go procedure, find_go_linker procedure): New nodes.
829         (find_rustc procedure): New node.
831 2020-06-19  Tom Tromey  <tromey@adacore.com>
833         * doc/dejagnu.texi (target_compile procedure): Document Go
834         additions.
835         * lib/target.exp (default_target_compile): Handle Go.
836         * lib/libgloss.exp (find_go, find_go_linker): New procs.
838 2020-06-19  Tom Tromey  <tromey@adacore.com>
840         * doc/dejagnu.texi (target_compile procedure): Document rust
841         additions.
842         * lib/target.exp (default_target_compile): Handle rust.
843         * lib/libgloss.exp (find_rustc): New proc.
845 2020-06-19  Tom Tromey  <tromey@adacore.com>
847         * lib/target.exp (default_target_compile): Add early_flags.
848         * doc/dejagnu.texi (target_compile procedure): Document
849         early_flags.
851 2020-06-19  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
853         Merge patches from Tom de Vries <tdevries <at> suse.de> and write
854         ChangeLog entries.
856         * testsuite/runtest.main/abort.exp: Add tests that verify handling
857         of arithmetic errors (divide-by-zero) in a procedure called within
858         a test script.
860         * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
862 2020-06-18  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
864         PR 41824 / PR 41918
866         Thanks to Tom de Vries for raising these concerns and offering the
867         initial testsuite patch that led to these changes.
869         * NEWS: Add item for consistent abort-on-error handling.
871         * lib/framework.exp (unknown): Always link global variables.  Tidy.
872         Silently propagate errors raised in autoloaded procedures and move
873         the UNRESOLVED result and aborting the test run to...
874         * runtest.exp (runtest): Report an UNRESOLVED result if a test
875         script aborts due to a Tcl error.  Link global errorCode and
876         report its value if an error occurs.  For consistency, abort the
877         test run on any Tcl error in a test script instead of only when
878         calling an undefined procedure.
880         * testsuite/runtest.main/abort.exp: Add tests to verify handling
881         of arithmetic errors (divide-by-zero) in an auto-loaded procedure
882         called from a test script.  Adjust other patterns.
884         * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
885         New file.
887 2020-06-17  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
889         PR 41824
891         * NEWS: Add item for --keep_going option.
893         * Makefile.am (CLEANFILES): Add abort-init.exp to list.
894         (TESTSUITE_FILES): Add new testsuite files to list.
896         * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
897         command line option.
898         * doc/runtest.1: Likewise.
900         * lib/framework.exp (unknown): Report an UNRESOLVED result if an
901         unknown command is invoked.  Avoid exiting and propagate the error
902         from Tcl's "unknown" procedure if --keep_going was
903         specified. Brace procedure argument list.
904         * runtest.exp (dejagnu::opt): New namespace.
905         Add option --keep_going to continue running tests after a test
906         script aborts due to calling an undefined command.
908         * testsuite/runtest.main/abort.exp: New file.
909         * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
910         New file.
911         * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
912         New file.
914 2020-06-17  Tom de Vries  <tdevries <at> suse.de>
916         * lib/framework.exp (unknown): Propagate return value of auto-loaded
917         command.
919 2020-06-15  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
921         Merge patches from Linaro:
923         2018-09-28  Christophe Lyon <christophe.lyon@linaro.org>
924         * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
925         machine, to avoid race conditions.
927         2016-04-25  Yvan Roux <yvan.roux@linaro.org>
928         * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
929         * lib/ssh.exp (ssh_exec): Likewise.
931         2016-06-28  Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
932         * config/unix.exp (unix_load): Prepend the value of an
933         "exec_shell" board_info key to the command if it is defined.
935 2020-06-06  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
937         * NEWS: Document "testcase" command.
939         * doc/dejagnu.texi (testcase procedure): Document multiplex entry
940         point and "testcase group" command.
942         * lib/framework.exp: Add internal namespace ::dejagnu::group.
943         (::dejagnu::group::check_name): New procedure.
944         (::dejagnu::group::current): New procedure.
945         (::dejagnu::group::push): New procedure.
946         (::dejagnu::group::pop): New procedure.
947         (::dejagnu::group::pop_to_file): New procedure.
948         (testcase): New procedure for multiplex commands.
949         (testcase_group): New procedure implementing "testcase group".
951         * testsuite/runtest.libs/testcase_group.test: New file.
953 2020-06-05  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
955         * NEWS: Document new "testsuite can call api" command.
957         * doc/dejagnu.texi (testsuite procedure): Document new subcommand
958         "testsuite can call api".
960         * lib/framework.exp (testsuite): Add branch for "testsuite can".
961         (testsuite_can): New procedure implementing "testsuite can".
963         Add internal array ::dejagnu::apilist to store information for
964         "testsuite can call api" for querying the availability of an API
965         call.  This will allow test scripts to adapt and use new features
966         while still being able to run under older versions of DejaGnu.
968         * testsuite/runtest.libs/testsuite_can.test: New file.
970 2020-06-02  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
972         PR 41647
973         * NEWS: Fix typo.  Fix Emacs mode tag.
974         Document use of Tcl namespace ::dejagnu for internals.
975         * runtest.exp (dejagnu::command_line): New namespace.
976         (dejagnu::command_line::save_cmd_var): New procedure.
977         (dejagnu::command_line::restore_cmd_vars): New procedure.
978         (dejagnu::command_line::dump_cmd_vars): New procedure.
979         * runtest.exp: Save internal variables set by command line
980         arguments during the first pass and restore their values after
981         loading testsuite init files.
983 2020-06-01  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
985         PR 41647
986         * runtest.exp: Describe search for testsuite at verbose level 3.
987         Print initial working directory at verbose level 1.
989 2020-05-28  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
991         PR 41587
992         * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
993         value to use an absolute file name.
994         * testsuite/lib/report-card.exp: Likewise.
995         * testsuite/runtest.main/options.exp: Set outdir in options-init
996         instead of changing working directory in child runtest.
998         * runtest.exp (logname): Move verbose display of logname to
999         immediately after finding the user's login name.
1001         PR 41585
1002         * runtest.exp (libdir): Fix default value of global variable.
1004         * ChangeLog: Tidy irregular indentation.
1006 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1008         * doc/dejagnu.texi (target_compile procedure): Add documentation.
1010 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1012         * doc/dejagnu.texi (target_link procedure): New stub node.
1013         (default_link procedure): Document internal procedure.
1014         (default_target_assemble procedure): Likewise.
1015         (default_target_compile procedure): Likewise.
1017 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1019         * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
1020         mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
1022 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1024         * lib/target.exp (default_target_compile): Use "host_info"
1025         procedure to probe for a host configuration, instead of checking a
1026         local empty target_info array due to lacking "global target_info".
1028 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1030         * doc/dejagnu.texi (Adding a new board): Document that the
1031         "compiler" board_info field is optional and defaults to [find_gcc]
1032         if not given.
1033         (Board configuration file): Likewise.
1035         * lib/target.exp (default_target_compile): Establish a default C
1036         compiler by evaluating [find_gcc] if no other compiler is given.
1038         * baseboards/aarch64-sim.exp: Remove no-longer-needed
1039         "set_board_info compiler [find_gcc]" from this file.
1040         * baseboards/am33_2.0-libremote.exp: Likewise.
1041         * baseboards/androideabi.exp: Likewise.
1042         * baseboards/arm-ice.exp: Likewise.
1043         * baseboards/arm-sim.exp: Likewise.
1044         * baseboards/cris-sim.exp: Likewise.
1045         * baseboards/d30v-sim.exp: Likewise.
1046         * baseboards/fr30-sim.exp: Likewise.
1047         * baseboards/frv-sim.exp: Likewise.
1048         * baseboards/gdbserver-sample.exp: Likewise.
1049         * baseboards/iq2000-sim.exp: Likewise.
1050         * baseboards/linux-gdbserver.exp: Likewise.
1051         * baseboards/linux-libremote.exp: Likewise.
1052         * baseboards/mcore-moto-sim.exp: Likewise.
1053         * baseboards/mcore-sim.exp: Likewise.
1054         * baseboards/mips-sim-idt32.exp: Likewise.
1055         * baseboards/mips-sim-idt64.exp: Likewise.
1056         * baseboards/mips-sim-mti32.exp: Likewise.
1057         * baseboards/mips-sim-mti64.exp: Likewise.
1058         * baseboards/mips-sim-mti64_64.exp: Likewise.
1059         * baseboards/mips-sim-mti64_n32.exp: Likewise.
1060         * baseboards/mips-sim-sde32.exp: Likewise.
1061         * baseboards/mips-sim-sde64.exp: Likewise.
1062         * baseboards/mips-sim.exp: Likewise.
1063         * baseboards/mmixware-sim.exp: Likewise.
1064         * baseboards/mn10200-sim.exp: Likewise.
1065         * baseboards/mn10300-sim.exp: Likewise.
1066         * baseboards/moxie-sim.exp: Likewise.
1067         * baseboards/msp430-sim.exp: Likewise.
1068         * baseboards/powerpc-sim.exp: Likewise.
1069         * baseboards/powerpcle-sim.exp: Likewise.
1070         * baseboards/rx-sim.exp: Likewise.
1071         * baseboards/sh-sim.exp: Likewise.
1072         * baseboards/sparc-sim.exp: Likewise.
1073         * baseboards/sparc64-sim.exp: Likewise.
1074         * baseboards/sparclite-sim-le.exp: Likewise.
1075         * baseboards/sparclite-sim.exp: Likewise.
1076         * baseboards/unix.exp: Likewise.
1077         * baseboards/v850-sim.exp: Likewise.
1078         * baseboards/visium-sim.exp: Likewise.
1079         * baseboards/xtensa-sim.exp: Likewise.
1081 2020-05-24  Rob Savoye  <rob@senecass.com>
1083         * baseboards/pi.exp: New config file for cross testing to a
1084         Raspberry PI.
1086 2020-05-24  Tom Tromey  <tom@tromey.com>
1088         * .gitignore: Add files.
1090 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1092         * testsuite/runtest.libs/target.test: Use mockutil.tcl.
1093         Collect loading DejaGnu libraries into a single loop.
1094         Revise the mock board_info array.
1095         Add section headings for different test groups in this file.
1096         Add tests for default_target_compile in lib/target.exp.
1097         * testsuite/runtest.libs/mockutil.tcl: New file.
1099 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1101         * doc/dejagnu.texi (remote_exec procedure): Explicitly list
1102         optional arguments instead of simply copying the Tcl argument list
1103         or the remote_exec procedure.
1105 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1107         * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
1108         string instead of opening a temporary file named .tmp.
1109         * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
1111 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1113         * testsuite/runtest.libs/target.test: Rename fake "target_info"
1114         array to a fake "board_info" array, to align with changes made to
1115         the DejaGnu core on 29 January 1997 that moved the target
1116         configuration data into the global board_info array.
1118         * testsuite/runtest.libs/remote.test: Likewise.
1120 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1122         * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
1123         requests to run only some library tests.
1125 2020-05-18  Rob Savoye  <rob@senecass.com>
1127         * configure.ac: Extract the current branch.
1128         * Makefile.am: Change the frame_version in runtest.exp post
1129         install to add the branch and git revision to make it easier to
1130         support multiple versions during development.
1132 2020-05-15  Rob Savoye  <rob@senecass.com>
1134         * All files: Minor change, update copyright dates.
1136 2019-03-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1138         * runtest.exp (search_and_load_file): Join the directory and
1139         filename once using 'file join'.
1141 2019-01-24  Jacob Bachmeyer  <jcb62281@gmail.com>
1143         * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
1144         spacing so the Emacs move-by-sentence commands work correctly.
1146 2019-01-23  Ben Elliston  <bje@gnu.org>
1148         * doc/dejagnu.texi: Replace "config file" with "configuration
1149         file" throughout.
1151 2019-01-23  Jacob Bachmeyer  <jcb62281@gmail.com>
1153         * doc/dejagnu.texi (Command line option variables): Improve table
1154         formatting to fix overlapping columns and revise text slightly.
1156 2019-01-23  Jacob Bachmeyer  <jcb62281@gmail.com>
1158         * doc/dejagnu.texi (Global config file): Change example to use the
1159         Tcl "switch" command instead of the deprecated "case" command.
1161 2019-01-12  Jacob Bachmeyer  <jcb62281@gmail.com>
1163         * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
1164         the structure of the "runtests" argument.
1166 2019-01-12  Ben Elliston  <bje@gnu.org>
1168         * doc/dejagnu.texi: Various documentation fixes.
1170 2019-01-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1172         * testsuite/runtest.libs/clone_output.test: Use new test harness
1173         for verifying output of clone_output.
1175         * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
1176         template using store_test_output.
1177         (send_log): Likewise.
1178         (send_user): Likewise.
1179         (clear_test_output): New proc.
1180         (store_test_output): New proc.
1182         * lib/framework.exp (clone_output): Actually send errors to the
1183         error stream; bug found while improving testsuite.
1185 2019-01-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1187         * testsuite/runtest.libs/libs.exp (process_test): Handle blank
1188         lines from child process correctly.
1190 2019-01-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1192         * NEWS: Document report card.
1194         * Makefile.am (clean-local): Add target.
1195         (clean-local-check): Add target; mark as PHONY.
1196         (commands_DATA): Add "report-card" scripts.
1197         (dist_man_MANS): Add dejagnu-report-card.1 and split.
1198         (DEJATOOL): Add "report-card" tool.
1199         (TESTSUITE_FILES): Add testsuite for "report-card" tool.
1201         * commands/report-card.awk: New command script.
1203         * doc/dejagnu.texi (Invoking dejagnu report card): New node.
1204         * doc/dejagnu-report-card.1: New man page.
1206         * testsuite/lib/bohman_ssd.exp: New file.
1207         * testsuite/lib/report-card.exp: New file.
1208         * testsuite/report-card.all/onetest.exp: New file.
1209         * testsuite/report-card.all/passes.exp: New file.
1211 2019-01-02  Ben Elliston  <bje@gnu.org>
1213         * Makefile.am (DISTCLEANFILES): Don't use this.
1214         (CLEANFILES): Use this instead.
1215         * Makefile.in: Regenerate.
1217 2019-01-01  Ben Elliston  <bje@gnu.org>
1219         * configure.ac: Abort if AWK is not installed.
1220         * configure: Regenerate.
1222 2019-01-01  Ben Elliston  <bje@gnu.org>
1224         * config.guess: Update to latest version.
1225         * config.sub: Likewise.
1227 2019-01-01  Ben Elliston  <bje@gnu.org>
1229         * configure.ac: Add AC_PROG_AWK check.
1230         * configure: Regenerate.
1232 2018-12-29  Jacob Bachmeyer  <jcb62281@gmail.com>
1234         * dejagnu: Avoid use of semicolon as sed(1) command separator.
1235         POSIX does not clearly require sed(1) to support that feature.
1237 2018-12-28  Jacob Bachmeyer  <jcb62281@gmail.com>
1239         * testsuite/lib/util-defs.exp: Whitespace clean up.
1241 2018-12-21  Jacob Bachmeyer  <jcb62281@gmail.com>
1243         PR 33817
1244         * dejagnu: Improve command parsing to fix bug. Previously, the
1245         documented equivalence between "multi word command" and
1246         "multi-word-command" did not hold if no arguments were given.
1247         * testsuite/launcher.all/command.exp: Add tests.
1249 2018-12-20  Ben Elliston  <bje@gnu.org>
1251         * NEWS: Add item for new dejagnu command.
1253         * Makefile.am (EXTRA_DIST): Remove $(XML).
1254         * Makefile.in: Regenerate.
1256 2018-12-20  Jacob Bachmeyer  <jcb62281@gmail.com>
1258         * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
1259         contents of $(commands_DATA).
1260         (bin_SCRIPTS): Add "dejagnu" launcher script.
1261         (commandsdir): Installation directory for "dejagnu" subcommands is
1262         $(pkgdatadir)/commands.
1263         (commands_DATA): New, contains "commands/help.sh" as initial item.
1264         (TESTSUITE_FILES): Add testsuite for same.
1265         (DEJATOOL): Add "launcher" to list of tools to test.
1266         (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
1268         * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
1269         (Invoking dejagnu): New node for dejagnu(1) launcher script.
1270         (Invoking dejagnu help): New node.
1272         * doc/dejagnu.1: New man page.
1273         * doc/dejagnu-help.1: New man page.
1275         * dejagnu: New script.
1277         * commands/help.sh: New dejagnu subcommand for reading manpages.
1279         * testsuite/launcher.all/command.exp: New file.
1280         * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
1281         * testsuite/launcher.all/command/commands/bar.awk: New file.
1282         * testsuite/launcher.all/command/commands/bar.sh: New file.
1283         * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
1284         * testsuite/launcher.all/command/commands/foo.sh: New file.
1285         * testsuite/launcher.all/command/commands/foo.tcl: New file.
1286         * testsuite/launcher.all/help.exp: New file.
1287         * testsuite/launcher.all/interp.exp: New file.
1288         * testsuite/launcher.all/verbose.exp: New file.
1289         * testsuite/lib/launcher.exp: New file.
1291 2018-12-20  Jacob Bachmeyer  <jcb62281@gmail.com>
1293         * doc/dejagnu.texi (bt procedure): Fix Info links.
1295 2018-12-17  Ben Elliston  <bje@gnu.org>
1297         * doc/dejagnu.texi (Board config file): Fix up @ref.
1298         (Command line option variables): Likewise.
1299         (Debugging Procedures): Add an entry for 'bt' command.
1301 2018-12-16  Jacob Bachmeyer  <jcb62281@gmail.com>
1303         * runtest.exp: Move processing of -V|--version option to first
1304         pass through command line arguments instead of delaying it.
1306 2018-12-16  Jacob Bachmeyer  <jcb62281@gmail.com>
1308         * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
1309         * Makefile.in: Regenerate.
1311 2018-12-15  Ben Elliston  <bje@gnu.org>
1313         * doc/dejagnu.texi (telnet Procedure): Remove old node.
1314         (rlogin Procedure): Likewise.
1315         (rsh Procedure): Likewise.
1316         (tip Procedure): Likewise.
1317         (kermit Procedure): Likewise.
1318         (list_targets Procedure): Likewise.
1319         (prune_system_crud): Likewise.
1321 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1323         * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1324         (send_user): Likewise.
1325         * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1326         variable link at top-level.
1327         * testsuite/runtest.libs/utils.test: Adjust absolute path to
1328         config.status.
1329         * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1330         subdir, and objdir variables instead of extracting them from argv.
1331         Remove setval.tmp, which is now obsolete.
1332         * testsuite/runtest.libs/config.test: Likewise.
1333         * testsuite/runtest.libs/remote.test: Likewise.
1334         * testsuite/runtest.libs/target.test: Likewise.
1335         * testsuite/runtest.libs/testsuite_file.test: Likewise.
1336         * testsuite/runtest.libs/utils.test: Likewise.
1338         * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1339         (send_defaults): .. with this.
1340         (start_expect): Remove redundant code.
1342         * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1343         Remove unneeded test for EXPECT global variable.
1344         Use one Expect subprocess to run all test cases.
1345         (process_test): Redesign to use Expect subprocess and to use
1346         throwaway slave interpreters for running test cases.
1348 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1350         * testsuite/lib/runtest.exp (runtest_start): Remove.
1351         Move the sanity check in runtest_start to top-level and similarly
1352         check to ensure that $EXPECT can be found.  Make failure of either
1353         sanity check an immediate fatal error.
1354         Improve error messages for sanity checks to indicate which
1355         critical tool was not found.  Remove useless 'global RUNTEST'
1356         command at top-level.
1357         (runtest_version): Brace 'if' expression.
1359 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1361         * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1362         default runtest executable instead of implicitly searching PATH.
1363         Remove unused RUNTESTFLAGS Tcl variable.
1365 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1367         * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1368         variable links.
1370 2018-12-14  Jacob Bachmeyer  <jcb62281@gmail.com>
1372         * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1373         * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1375 2018-12-12  Ben Elliston  <bje@gnu.org>
1377         * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1378         lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1379         lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1380         some regular expressions in constant strings by placing them
1381         inside braces instead of quotes. This allows one level of
1382         backslash quoting to be removed.
1384 2018-12-12  Ben Elliston  <bje@gnu.org>
1386         * doc/dejagnu.texi: Acknowledge contributions to the manual from
1387         others.
1389 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1391         * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1392         * testsuite/runtest.all/load_lib.exp: Likewise.
1393         * testsuite/runtest.all/stats.exp: Likewise.
1395         * testsuite/runtest.all/stats.exp: Write local init file as
1396         "stats-init.exp" for status summary tests.  Use --local_init
1397         option to runtest to load that file instead of site.exp and move
1398         the inner test module to a nested testsuite.
1399         * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1400         * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1401         .. to here.
1403         * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1404         Wrap lines in test list and move short items to beginning of list.
1405         Write local init file as "options-init.exp" for options tests.
1406         Use --local_init option with nested runtest to load that file
1407         instead of site.exp; also create an empty nested testsuite.  Local
1408         init file arranges for inner runtest processes to run in a
1409         subdirectory in the object tree to eliminate filename clashes.
1410         Set tmpdir if not already set and remove entire temporary
1411         directory after running options tests.
1412         * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1414         * testsuite/runtest.all/clone_output.test: Move from here ..
1415         * testsuite/runtest.libs/clone_output.test: .. to here.
1416         * testsuite/runtest.all/config.test: Move from here ..
1417         * testsuite/runtest.libs/config.test: .. to here.
1418         * testsuite/runtest.all/default_procs.tcl: Move from here ..
1419         * testsuite/runtest.libs/default_procs.tcl: .. to here.
1420         * testsuite/runtest.all/libs.exp: Move from here ..
1421         * testsuite/runtest.libs/libs.exp: .. to here.
1422         * testsuite/runtest.all/load_lib.exp: Move from here ..
1423         * testsuite/runtest.libs/load_lib.exp: .. to here.
1424         * testsuite/runtest.all/remote.test: Move from here ..
1425         * testsuite/runtest.libs/remote.test: .. to here.
1426         * testsuite/runtest.all/target.test: Move from here ..
1427         * testsuite/runtest.libs/target.test: .. to here.
1428         * testsuite/runtest.all/testsuite_file.test: Move from here ..
1429         * testsuite/runtest.libs/testsuite_file.test: .. to here.
1430         * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1431         * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1432         * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1433         * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1434         * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1435         Move from here ..
1436         * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1437         .. to here.
1438         * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1439         * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1440         * testsuite/runtest.all/utils.test: Move from here ..
1441         * testsuite/runtest.libs/utils.test: .. to here.
1442         * testsuite/runtest.libs/utils.test: Update references to
1443         "runtest.all".
1445         * testsuite/runtest.all/options.exp: Move from here ..
1446         * testsuite/runtest.main/options.exp: .. to here.
1447         * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1448         from here ..
1449         * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1450         .. to here.
1451         * testsuite/runtest.all/stats.exp: Move from here ..
1452         * testsuite/runtest.main/stats.exp: .. to here.
1453         * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1454         Move from here ..
1455         * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1456         .. to here.
1458         * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1459         (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1460         * Makefile.in: Regenerate.
1462 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1464         * doc/dejagnu.texi: Clean up whitespace.  Some indented examples
1465         were changed to use the Texinfo '@ ' command (yes, a space
1466         character) to preserve correct indentation.  The '@ ' command is
1467         treated as a single space by Tex and makeinfo, but prevents Emacs
1468         from complaining about indentation using spaces instead of tabs.
1470 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1472         * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1473         directory exclusions by name in this procedure.
1475 2018-12-10  Ben Elliston  <bje@gnu.org>
1477         * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1478         glob patterns, not "shell wildcard characters" per se.
1480         * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1482 2018-12-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1484         * doc/dejagnu.texi (Writing a test case): Add warning about
1485         priority of Expect patterns, complete with example.
1486         * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1487         caused test results other than "PASS" to be skipped if a "PASS" is
1488         further along in the input buffer.  Describe problem in manual.
1489         (process_test): Ensure that the log file shows each test case run.
1490         (process_test): Directly run the test cases instead of using
1491         temporary files and "cat".  All output is always available in the
1492         log file, which is no longer overwritten by other tests.
1493         (process_test): Expect END markers from test case scripts.
1494         * testsuite/runtest.all/clone_output.test: Emit END markers.
1495         * testsuite/runtest.all/config.test: Likewise.
1496         * testsuite/runtest.all/remote.test: Likewise.
1497         * testsuite/runtest.all/target.test: Likewise.
1498         * testsuite/runtest.all/testsuite_file.test: Likewise.
1499         * testsuite/runtest.all/utils.test: Likewise.
1501 2018-12-10  Ben Elliston  <bje@gnu.org>
1503         * lib/utils.exp (grep): Use a proper Tcl list for options.
1505 2018-12-10  Ben Elliston  <bje@gnu.org>
1507         * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1509         * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1510         and catching the "no files matched glob pattern" error
1511         message. Catching the error message was the wrong thing to do
1512         because the foreach loop then iterates over each word in the error
1513         message as if they were matches.
1515 2018-12-10  Ben Elliston  <bje@gnu.org>
1517         * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1518         non-existent directory case.
1520 2018-12-10  Ben Elliston  <bje@gnu.org>
1522         * runtest.exp: Remove unnecessary quotes and braces around
1523         variable expansions.
1525         * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1527 2018-12-09  Ben Elliston  <bje@gnu.org>
1529         * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1530         (iterate_target_variants_two): Likewise.
1531         * lib/remote.exp (standard_download): Use 'eq' not '=='.
1532         (remote_upload): Likewise.
1533         * lib/framework.exp (open_logs): Likewise.
1534         (is_remote): Likewise.
1536 2018-12-09  Ben Elliston  <bje@gnu.org>
1538         * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1539         baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1540         baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1541         config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1542         config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1543         lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1544         lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1545         lib/utils.exp, testsuite/lib/libsup.exp,
1546         testsuite/runtest.all/options.exp,: Remove unnecessary braces
1547         around variable expansions.
1549 2018-12-09  Ben Elliston  <bje@gnu.org>
1551         * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1552         lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1553         lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1554         unnecessary quotes and braces around variable expansions.
1556 2018-12-09  Ben Elliston  <bje@gnu.org>
1558         * config/gdb-comm.exp: Remove unnecessary quotes.
1559         * config/gdb_stub.exp: Likewise.
1560         * config/vxworks.exp: Likewise.
1561         * config/unix.exp: Likewise.
1562         * config/sim.exp: Likewise.
1564 2018-12-09  Ben Elliston  <bje@gnu.org>
1566         * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1567         variable expansions.
1568         * testsuite/lib/util-defs.exp: Likewise.
1570 2018-12-09  Ben Elliston  <bje@gnu.org>
1572         * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1573         around variable expansions.
1574         * baseboards/basic-sid.exp: Likewise.
1575         * baseboards/cris-sim.exp: Likewise.
1576         * baseboards/generic-sim.exp: Likewise.
1577         * baseboards/mcore-moto-sim.exp: Likewise.
1578         * baseboards/multi-sim.exp: Likewise.
1580 2018-12-08  Ben Elliston  <bje@gnu.org>
1582         * NEWS: Tweak.
1584 2018-12-08  Ben Elliston  <bje@gnu.org>
1586         * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1587         variable expansions.
1588         * testsuite/runtest.all/clone_output.test: Likewise.
1589         * testsuite/runtest.all/target.test: Likewise.
1590         * testsuite/runtest.all/stats.exp: Likewise.
1591         * testsuite/runtest.all/remote.test: Likewise.
1592         * testsuite/runtest.all/config.test: Likewise.
1593         * testsuite/runtest.all/default_procs.tcl: Likewise.
1594         * testsuite/runtest.all/libs.exp: Likewise.
1595         * testsuite/runtest.all/options.exp: Likewise.
1597 2018-12-08  Jacob Bachmeyer  <jcb62281@gmail.com>
1599         * NEWS: Document 'testsuite' command.
1600         * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1601         point and "testsuite file" command.
1602         * lib/framework.exp (testsuite): New proc for multiplex commands.
1603         (testsuite_file): New proc implementing "testsuite file".
1604         * testsuite/runtest.all/testsuite_file.test: New file.
1605         * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1606         but also search $srcdir itself.
1607         (load_lib): Add explicit search for testsuite-local libraries.
1608         (load_tool_init): Use $testsuitedir in search.
1609         (load_config): Use $testsuitedir instead of $srcdir.
1610         (load_tool_target_config): Likewise.
1612         Add variable "testsuitedir" for testsuite root directory.
1614         Add internal global variables "testbuilddir" and "testdir" for use
1615         by "testsuite file".
1617         Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1618         duplicated path delimiters.
1620         Add warning if no tests are found and fallback method of searching
1621         $srcdir is used.
1623 2018-12-08  Ben Elliston  <bje@gnu.org>
1625         * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1626         expressions.
1627         * testsuite/lib/util-defs.exp (util_test): Likewise.
1628         * testsuite/runtest.all/stats.exp: Likewise.
1629         * testsuite/runtest.all/libs.exp: Likewise.
1631 2018-12-08  Jacob Bachmeyer  <jcb62281@gmail.com>
1633         * testsuite/runtest.all/default_procs.tcl:
1634         (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1635         (lib_regexp_test): Fix copy-paste-edit error.
1636         (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1637         Fix handling of errors raised by tested procedure.  Also ensure
1638         proper quoting of argument lists passed to eval and simplify
1639         the logic for producing return values.
1641 2018-12-08  Ben Elliston  <bje@gnu.org>
1643         * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1645 2018-12-08  Ben Elliston  <bje@gnu.org>
1647         * lib/tip.exp (tip_open): Put braces around if expression.
1649 2018-12-08  Ben Elliston  <bje@gnu.org>
1651         * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1652         lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1653         config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1654         baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1655         baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1656         baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1657         baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1658         baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1659         baseboards/arm-ice.exp, baseboards/androideabi.exp,
1660         testsuite/runtest.all/utils.test,
1661         testsuite/runtest.all/target.test: Replace string literal
1662         comparisons using == and != with 'eq' and 'ne'.
1664 2018-12-08  Ben Elliston  <bje@gnu.org>
1666         * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1667         lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1668         lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1669         config/vxworks.exp, config/unix.exp, config/sim.exp,
1670         config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1671         baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1672         baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1673         baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1674         testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1675         using == and != with 'eq' and 'ne'.
1677 2018-12-07  Jacob Bachmeyer  <jcb62281@gmail.com>
1679         * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1680         (lib_regexp_test): New.
1681         (lib_pat_test): Brace "if" conditions.
1682         (lib_pat_test): Remove spurious quotes in debugging output.
1683         (run_tests): Add support for comments in lists of procedure tests.
1685         * testsuite/runtest.all/config.test: Adjust to use run_tests
1686         procedure. Fixes issue cited in FIXME comment.
1688         * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1689         The old tests had the sense of the return value from lib_pat_test
1690         inverted and were failing but reported PASS.
1691         (find tests, relative_filename tests, runtest_file_p tests):
1692         Adjust to use run_tests procedure.
1694 2018-12-07  Ben Elliston  <bje@gnu.org>
1696         * doc/dejagnu.texi: Add more missing material.
1698 2018-12-07  Jacob Bachmeyer  <jcb62281@gmail.com>
1700         * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1701         (run_tests): Replace implicit "eval" with explicit "eval".  Tidy.
1702         (verbose): Remove unnecessary quotes.
1704 2018-12-06  Ben Elliston  <bje@gnu.org>
1706         * doc/dejagnu.texi: Add more missing material.
1708 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1710         * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1711         (lib_pat_test): Handle an argument list instead of only a single
1712         argument for the procedure under test.
1713         (lib_ret_test): Likewise.
1714         * testsuite/runtest.all/utils.test: Whitespace clean up.
1715         Adjust to pass argument lists for improved lib_pat_test.
1716         * testsuite/runtest.all/clone_output.test: Likewise.
1718 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1720         * lib/remote.exp (standard_load): Fix typo on empty string.
1721         * runtest.exp: Adjust expression to follow GNU conventions.
1722         * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1723         with "eq" instead of "ne".
1724         * testsuite/runtest.all/config.test: Likewise.
1726 2018-12-06  Ben Elliston  <bje@gnu.org>
1728         * runtest.exp: Replace [string match] commands involving literal
1729         strings and variables known to not be Tcl glob patterns with eq
1730         and ne.
1731         * config/unix.exp: Likewise.
1732         * lib/debugger.exp: Likewise.
1733         * lib/dg.exp: Likewise.
1734         * lib/framework.exp: Likewise.
1735         * lib/remote.exp: Likewise.
1736         * lib/utils.exp: Likewise.
1737         * baseboards/androideabi.exp: Likewise.
1738         * baseboards/multi-sim.exp: Likewise.
1739         * testsuite/lib/util-defs.exp: Likewise.
1740         * testsuite/runtest.all/config.test: Likewise.
1742 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1744         * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1745         * testsuite/runtest.all/target.test: Likewise.
1746         * testsuite/runtest.all/remote.test: Likewise.
1747         * testsuite/runtest.all/config.test: Likewise.
1748         * testsuite/runtest.all/clone_output.test: Likewise.
1750 2018-12-06  Ben Elliston  <bje@gnu.org>
1752         * runtest.exp: Replace '==' with 'eq' for string compares.
1753         Likewise, replace '!=' with 'ne'. Replace a few instances of
1754         [string length $str] == 0 with $str eq "".
1755         * config/gdb-comm.exp: Likewise.
1756         * lib/dg.exp: Likewise.
1757         * lib/framework.exp: Likewise.
1758         * lib/libgloss.exp: Likewise.
1759         * lib/remote.exp: Likewise.
1760         * lib/target.exp: Likewise.
1761         * lib/utils.exp: Likewise.
1763 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1765         * runtest.exp: Replace archaic use of [string match] with "eq".
1767 2018-12-06  Ben Elliston  <bje@gnu.org>
1769         * doc/dejagnu.texi (compile Procedure): Remove old node.
1770         (archive Procedure): Likewise.
1771         (ranlib Procedure): Likewise.
1773 2018-12-06  Ben Elliston  <bje@gnu.org>
1775         * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
1777 2018-12-06  Ben Elliston  <bje@gnu.org>
1779         * lib/telnet.exp (telnet_open): Remove connectmode global.
1780         * doc/dejagnu.texi (Procedures For Remote Communication): Remove
1781         mention of connectmode.
1783 2018-12-05  Ben Elliston  <bje@gnu.org>
1785         * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
1786         node.
1788 2018-12-05  Ben Elliston  <bje@gnu.org>
1790         * doc/dejagnu.texi: Add more missing material.
1792 2018-12-05  Ben Elliston  <bje@gnu.org>
1794         * testsuite/runtest.all/utils.test: Test runtest_file_p.
1796 2018-12-05  Jacob Bachmeyer  <jcb62281@gmail.com>
1798         * runtest.exp (load_config): Remove unused globals.
1799         (load_generic_config): Likewise.
1800         (load_board_description): Likewise.
1801         (load_base_board_description): Likewise.
1803 2018-12-05  Ben Elliston  <bje@gnu.org>
1805         * lib/utils.exp (grep): Handle -n.
1806         * doc/dejagnu.texi (grep procedure): Document it.
1807         * testsuite/runtest.all/utils.test: Add a test case.
1808         * NEWS: Add an item.
1810 2018-12-05  Ben Elliston  <bje@gnu.org>
1812         * testsuite/runtest.all/utils.test: Test diff.
1814 2018-12-04  Ben Elliston  <bje@gnu.org>
1816         * testsuite/runtest.all/utils.test: Test grep.
1818 2018-12-04  Ben Elliston  <bje@gnu.org>
1820         * testsuite/runtest.all/utils.test (which): Fail on the else path,
1821         don't pass in either case.
1823 2018-12-04  Ben Elliston  <bje@gnu.org>
1825         * doc/dejagnu.texi (Libgloss): Improve documentation.
1826         (Debugging Procedures): Likewise.
1828 2018-12-04  Ben Elliston  <bje@gnu.org>
1830         * lib/debugger.exp (dumprocs): Fix proc comment.
1832 2018-12-04  Ben Elliston  <bje@gnu.org>
1834         * doc/dejagnu.texi (Utility Procedures): Improve documentation for
1835         the procedures in this section.
1837 2018-12-04  Jacob Bachmeyer  <jcb62281@gmail.com>
1839         * NEWS: Document new relative_filename procedure and --local_init/
1840         --global_init command line options.
1842 2018-12-04  Jacob Bachmeyer  <jcb62281@gmail.com>
1844         * lib/utils.exp (relative_filename): New proc.
1845         * runtest.exp: Use it.
1846         * doc/dejagnu.texi (relative_filename procedure): Document it.
1847         * testsuite/runtest.all/utils.test: Add tests for relative_filename.
1849 2018-12-03  Ben Elliston  <bje@gnu.org>
1851         * dejagnu.h (TestState): Remove const char * variants of pass(),
1852         xpass(), fail(), xfail(), untested(), unresolved() for C++. A
1853         const char * will be implicitly converted to std::string.
1855 2018-12-03  Ben Elliston  <bje@gnu.org>
1857         * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
1858         removing the 'Reference' node and chapter. Make all subsubsections
1859         in this chapter unnumbered subheadings.
1861 2018-12-03  Jacob Bachmeyer  <jcb62281@gmail.com>
1863         * doc/dejagnu.texi: Fix Info node links.  The arguments to @node
1864         are: here, next, previous, up; not here, previous, next, up.
1866 2018-12-03  Ben Elliston  <bje@gnu.org>
1868         * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
1869         doc/texinfo.tex. With thanks to Jacob Bachmeyer.
1870         * Makefile.in: Regenerate.
1872 2018-12-03  Ben Elliston  <bje@gnu.org>
1874         * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
1875         (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
1876         prevents the distribution of the overridden texinfo.tex.
1877         * Makefile.in: Regenerate.
1878         * texinfo.tex: Move from here ..
1879         * doc/texinfo.tex: .. to here.
1881 2018-12-03  Ben Elliston  <bje@gnu.org>
1883         * lib/framework.exp (isremote): Add verbose message.
1885 2018-12-02  Ben Elliston  <bje@gnu.org>
1887         * lib/framework.exp (isremote): Pass $board to is_remote.
1889 2018-12-02  Ben Elliston  <bje@gnu.org>
1891         * doc/fdl.texi: New.
1892         * doc/dejagnu.texi (Variable Index): New.
1893         Add more concept index entries.
1894         (GNU Free Documentation License): New appendix.
1896 2018-12-02  Ben Elliston  <bje@gnu.org>
1898         * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
1899         index (@findex) entries for every built-in procedure.
1901 2018-12-02  Ben Elliston  <bje@gnu.org>
1903         * doc/dejagnu.texi: Start an index.
1905 2018-12-02  Ben Elliston  <bje@gnu.org>
1907         * doc/version.texi: New.
1909 2018-12-02  Ben Elliston  <bje@gnu.org>
1911         * doc/dejagnu.texi: Add title page and frontmatter. Include
1912         version.texi.
1913         * Makefile.in: Regenerate.
1914         * mdate-sh: Installed by automake --add-missing.
1916 2018-12-02  Ben Elliston  <bje@gnu.org>
1918         * doc/dejagnu.texi (diff procedure): Tidy up this node.
1920 2018-12-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1922         * runtest.exp (hex): Remove useless test before setting.
1923         (decimal): Likewise.
1925 2018-12-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1927         * doc/dejagnu.texi (Invoking runtest): Document new --local_init
1928         and --global_init command line options.
1929         * doc/runtest.1: Likewise.
1931         * runtest.exp: Remove useless tests before setting default values
1932         for variables: all_flag, binpath, debug, options, outdir, reboot,
1933         tracelevel, verbose, log_dialog.  They are set before loading any
1934         files or parsing the command line.
1936         * runtest.exp: Add options --local_init and --global_init for
1937         selecting alternate testsuite configuration files.
1939         * runtest.exp: Split variable "configfile" into "local_init_file"
1940         and "global_init_file" in preparation for adding command-line
1941         options to specify these independently.
1943         * runtest.exp (load_generic_config): Remove configfile global.
1944         (load_board_description): Likewise.
1945         (load_base_board_description): Likewise.
1947 2018-11-30  Ben Elliston  <bje@gnu.org>
1949         * lib/utils.exp (grep): Remove reference to "NULL" in comment.
1950         * testsuite/lib/util-defs.exp (util_start): Likewise.
1952 2018-11-30  Ben Elliston  <bje@gnu.org>
1954         * doc/dejagnu.texi: (verbose procedure): Improve documentation.
1955         (load_lib procedure): Likewise.
1957 2018-11-30  Ben Elliston  <bje@gnu.org>
1959         * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
1961 2018-11-30  Ben Elliston  <bje@gnu.org>
1963         * runtest.exp: Use isremote.
1964         * lib/target.exp: Likewise.
1965         * lib/remote.exp: Likewise.
1966         * lib/libgloss.exp: Likewise.
1967         * config/unix.exp: Likewise.
1968         * config/sim.exp: Likewise.
1969         * config/gdb_stub.exp: Likewise.
1970         * config/gdb-comm.exp: Likewise.
1971         * baseboards/basic-sim.exp: Likewise.
1972         * baseboards/androideabi.exp: Likewise.
1974 2018-11-30  Ben Elliston  <bje@gnu.org>
1976         * lib/framework.exp (isremote): New.
1977         * doc/dejagnu.texi (isremote procedure): Document it.
1978         * NEWS: Mention isremote.
1980 2018-11-30  Ben Elliston  <bje@gnu.org>
1982         * texinfo.tex: Update to latest upstream version.
1983         * INSTALL: Likewise.
1985 2018-11-29  Ben Elliston  <bje@gnu.org>
1987         * lib/framework.exp (istarget, ishost, istarget): Set the argument
1988         default value to the empty string.
1989         * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
1990         (getenv procedure): Re-word this node.
1991         (isbuild procedure): Update.
1992         (ishost procedure): Likewise.
1993         (istarget procedure): Likewise.
1994         * testsuite/runtest.all/config.test: Add test cases.
1996 2018-11-28  Ben Elliston  <bje@gnu.org>
1998         * config.guess: Update to latest version.
1999         * config.sub: Likewise.
2001 2018-11-28  Ben Elliston  <bje@gnu.org>
2003         * NEWS: Update.
2004         * configure.ac: Update version number.
2005         * configure: Regenerate.
2006         * doc/dejagnu.texi: Update version number.
2007         * runtest.exp: Update version number.
2009 2018-11-28  Ben Elliston  <bje@gnu.org>
2011         * Makefile.am (TESTSUITE_FILES): Update filenames.
2012         * Makefile.in: Regenerate.
2014 2018-11-28  Ben Elliston  <bje@gnu.org>
2016         * NEWS: Update.
2018         * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
2020 2018-11-25  Jacob Bachmeyer  <jcb62281@gmail.com>
2022         * lib/framework.exp: Clean up whitespace.
2024 2018-11-25  Ben Elliston  <bje@gnu.org>
2026         * config/gdb-comm.exp: Clean up whitespace.
2027         * config/gdb_stub.exp: Likewise.
2028         * config/sid.exp: Likewise.
2029         * config/sim.exp: Likewise.
2030         * config/unix.exp: Likewise.
2032 2018-11-23  Ben Elliston  <bje@gnu.org>
2034         * doc/dejagnu.texi (getdirs procedure): Improve documentation
2035         including documenting the -all option.
2036         (find procedure): Fix a typo.
2037         * lib/utils.exp (getdirs): Improve comments.
2039 2018-11-22  Jacob Bachmeyer  <jcb62281@gmail.com>
2041         * runtest.exp: Ensure that multipass pass variables are always
2042         restored.  Previously, they were only restored if the "Go digging
2043         for tests" branch was taken near the end of runtest.exp.
2045 2018-11-22  Ben Elliston  <bje@gnu.org>
2047         * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
2048         of the $DEJAGNU environment variable (see change below).
2050 2018-11-22  Jacob Bachmeyer  <jcb62281@gmail.com>
2052         * runtest.exp: Raise error if $DEJAGNU is defined but not found.
2054 2018-11-15  Jacob Bachmeyer  <jcb62281@gmail.com>
2056         * runtest.exp (load_tool_init): Search for tool init file instead
2057         of assuming exactly one location.
2059 2018-11-15  Ben Elliston  <bje@gnu.org>
2061         * runtest.exp (load_lib): Whitespace fix.
2063 2018-11-11  Jacob Bachmeyer  <jcb62281@gmail.com>
2065         * lib/ssh.exp: Clean up whitespace.
2066         * lib/remote.exp: Clean up whitespace.
2067         (remote_expect): Change literal tab to "\t" in regexp.
2069 2018-11-05  Ben Elliston  <bje@gnu.org>
2071         * config.guess: Update to latest version.
2072         * config.sub: Likewise.
2074 2018-11-02  Ben Elliston  <bje@gnu.org>
2076         * Makefile.in: Regenerate.
2078 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2080         * Makefile.am (DEJATOOL): List tools in testsuite.
2081         (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2082         * testsuite/config/default.exp: Rename from this ...
2083         * testsuite/lib/runtest.exp: ... to this.
2084         (runtest_exit): Remove spurious "close". This was causing per-tool
2085         testing to fail, since the testsuite for "runtest" never actually
2086         uses "spawn", so "close" ends up closing exp0, which is the
2087         terminal.  The ${tool}_exit proc is not called if the --tool
2088         option is not given, so this had no effect earlier.
2089         * testsuite/lib/libdejagnu.exp: New empty file.
2091 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2093         * runtest.exp (load_tool_init): Add message indicating the
2094         expected location of the tool init file.
2096 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2098         * contrib/sum2junit.sh (failures): Fix typo.
2100 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2102         * configure.ac (DEJAGNU): Add comments.
2104 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2106         * Makefile.am (DEJATOOL): List tools in testsuite.
2107         (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2108         * testsuite/config/default.exp: Rename from this ...
2109         * testsuite/lib/runtest.exp: ... to this.
2110         (runtest_exit): Remove spurious "close".  This was causing
2111         per-tool testing to fail, since the testsuite for "runtest" never
2112         actually uses "spawn", so "close" ends up closing exp0, which is
2113         the terminal.  The ${tool}_exit proc is not called if the --tool
2114         option is not given, so this had no effect earlier.
2115         * testsuite/lib/libdejagnu.exp: New empty file.
2117 2018-10-30  Ben Elliston  <bje@gnu.org>
2119         * Makefile.am (DISTCLEANFILES): Add testrun.xml.
2120         * Makefile.in: Regenerate with Automake 1.15.1.
2121         * aclocal.m4: Likewise.
2123 2018-10-30  Ben Elliston  <bje@gnu.org>
2125         * configure.ac (AC_CONFIG_SUBDIRS): Remove.
2126         * configure: Regenerate.
2128 2018-10-29  Ben Elliston  <bje@gnu.org>
2130         * README (Documentation): Update.
2132 2018-10-28  Jacob Bachmeyer  <jcb62281@gmail.com>
2134         * lib/framework.exp (record_test): Really fix message formatting.
2136 2018-10-29  Ben Elliston  <bje@gnu.org>
2138         Reported by Jacob Bachmeyer.
2139         * testsuite/runtest.all/utils.test: Fix missing end quote.
2141 2018-10-28  Jacob Bachmeyer  <jcb62281@gmail.com>
2143         * lib/framework.exp (record_test): Fix message formatting.
2145 2018-07-20  Ben Elliston  <bje@gnu.org>
2147         * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
2148         * contrib/mysql/sum2xml.sh: Likewise.
2150 2018-07-20  Ben Elliston  <bje@gnu.org>
2152         * contrib/compare_tests: Eliminate Shellcheck warnings.
2153         * contrib/mysql/sum2xml.sh: Likewise.
2155 2018-07-20  Ben Elliston  <bje@gnu.org>
2157         * compile, depcomp, install-sh: Latest upstream versions.
2159 2018-07-20  Ben Elliston  <bje@gnu.org>
2161         * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
2163 2018-07-19  Ben Elliston  <bje@gnu.org>
2165         * runtest: Use POSIX 'command', not 'type', to look for the Expect
2166         binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
2167         is undefined").
2169 2018-07-19  Ben Elliston  <bje@gnu.org>
2171         * config.guess: Update to latest version.
2172         * config.sub: Likewise.
2174 2018-07-06  Richard Biener  <rguenther@suse.de>
2176         * lib/remote.exp (close_wait_program): Use separate kill command
2177         for each pid.
2179 2017-10-16  Ben Elliston  <bje@gnu.org>
2181         * NEWS: Start a new section for the next release.
2182         * configure.ac (AC_INIT): Update version number.
2183         * configure: Regenerate.
2184         * runtest.exp (frame_version): Update version number.
2185         * doc/dejagnu.texi: Likewise.
2186         * doc/runtest.1: Update datestamp.
2188 2017-10-16  Ben Elliston  <bje@gnu.org>
2190         * config.guess: Update to version 2017-09-26.
2191         * config.sub: Likewise.
2193 2017-09-13  Ben Elliston  <bje@gnu.org>
2195         * lib/framework.exp (open_logs): Set XML version to 1.1.
2196         (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
2197         missing 'x' in escape sequence.
2199 2017-08-29  Ben Elliston  <bje@gnu.org>
2201         Revert these changes:
2203         2016-04-25  Ben Elliston  <bje@gnu.org>
2205         * testsuite/runtest.all/utils.test: Remove unsetenv test.
2207         2016-04-24  Ben Elliston  <bje@gnu.org>
2209         * lib/utils.exp (unsetenv): Remove proc.
2210         * doc/dejagnu.texi: Update documentation.
2211         * NEWS: Update.
2213 2017-08-19  Ben Elliston  <bje@gnu.org>
2215         * lib/framework.exp (xml_tag): Escape all of the non-printable
2216         control characters (ASCII codes 1 to 31 inclusive).
2218 2017-08-18  Tom Tromey  <tom@tromey.com>
2220         * runtest.exp: Fix --directory matching.
2222 2017-08-15  Ben Elliston  <bje@gnu.org>
2224         * lib/framework.exp (xml_tag): New proc.
2225         (log_summary): Use it.
2226         (record_test): Likewise.
2228 2017-08-15  Ben Elliston  <bje@gnu.org>
2230         * lib/framework.exp (open_logs): Set .xml filename correctly.
2231         * runtest.exp: Remove xml_file_name var.
2232         (usage): Update --xml option to not take an argument.
2233         (load_tool_init): Likewise.
2234         * doc/dejagnu.texi (Invoking runtest): Update documentation.
2235         * doc/runtest.1: Likewise.
2237 2017-08-01  Ben Elliston  <bje@gnu.org>
2239         * runtest.exp (usage): Improve --strace message.
2241 2017-08-01  Ben Elliston  <bje@gnu.org>
2243         * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
2245 2017-06-04  Ben Elliston  <bje@gnu.org>
2247         * lib/target.exp (push_target): Remove unnecessary global command.
2248         * testsuite/runtest.all/target.test: Overhaul tests.
2250 2017-06-04  Ben Elliston  <bje@gnu.org>
2252         * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
2254 2017-06-04  Tom de Vries  <tom@codesourcery.com>
2256         * testsuite/runtest.all/target.test: Remove list_targets test.
2258 2017-06-04  Tom de Vries  <tom@codesourcery.com>
2260         * testsuite/runtest.all/libs.exp (process_test): Dump entire
2261         output when there's no reportable output.
2262         * testsuite/runtest.all/remote.test (load_lib): New proc.
2263         * testsuite/runtest.all/target.test (load_lib): Same.
2265 2017-03-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2267         * lib/remote.exp (remote_download): Add logging message when
2268         source and destination file differ in name.
2270 2016-09-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2272         * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2274 2016-06-28  Ben Elliston  <bje@gnu.org>
2276         * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
2277         * configure: Regenerate.
2279 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2281         * configure.ac, dejagnu.h, runtest, runtest.exp,
2282         baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
2283         baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2284         baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2285         baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2286         baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2287         baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2288         baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
2289         baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
2290         baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
2291         baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
2292         baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
2293         baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
2294         baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
2295         baseboards/mips-sim-mti64_64.exp,
2296         baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
2297         baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
2298         baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2299         baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
2300         baseboards/mt-sid.exp, baseboards/multi-sim.exp,
2301         baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2302         baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2303         baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2304         baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2305         baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2306         baseboards/unix.exp, baseboards/v850-sim.exp,
2307         baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
2308         baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
2309         baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
2310         lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
2311         lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2312         lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2313         testsuite/config/default.exp, testsuite/lib/libsup.exp,
2314         testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2315         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2316         testsuite/runtest.all/stats-sub.exp,
2317         testsuite/runtest.all/stats.exp, config/adb.exp,
2318         config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2319         config/sid.exp, config/sim.exp, config/unix.exp,
2320         config/vxworks.exp: Update copyright date for 2016.
2322 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2324         * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2325         baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2326         baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2327         baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2328         baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2329         baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2330         baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2331         baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2332         baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2333         baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2334         baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2335         baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2336         baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2337         baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2338         baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2339         baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2340         baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2341         baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2342         baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2343         baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2344         baseboards/unix.exp, baseboards/v850-sim.exp,
2345         baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2346         baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2347         lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2348         lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2349         lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2350         lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2351         testsuite/config/default.exp, testsuite/lib/libsup.exp,
2352         testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2353         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2354         testsuite/runtest.all/options.exp,
2355         testsuite/runtest.all/stats-sub.exp,
2356         testsuite/runtest.all/stats.exp, config/default.exp,
2357         config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2358         config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2359         dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2360         statement.
2362 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2364         * doc/runtest.1: Use condensed years in copyright statement.
2366 2016-06-21  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2368         * runtest: Quote paths. Use test -z, -n for clarity.
2370 2016-06-21  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2372         * config/adb.exp (adb_exec) Improve verbose message.
2374 2016-06-03  Jim Wilson  <jim.wilson@linaro.org>
2376         * baseboards/aarch64-sim.exp: New file.
2377         * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2378         * Makefile.in: Regenerate.
2379         * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2381 2016-04-26  Ben Elliston  <bje@gnu.org>
2383         * doc/dejagnu.texi: Fill more paragraphs.
2385 2016-04-25  Ben Elliston  <bje@gnu.org>
2387         * testsuite/runtest.all/utils.test: Remove unsetenv test.
2389 2016-04-24  Ben Elliston  <bje@gnu.org>
2391         * lib/utils.exp (unsetenv): Remove proc.
2392         * doc/dejagnu.texi: Update documentation.
2393         * NEWS: Update.
2395 2016-04-19  Nick Clifton  <nickc@redhat.com>
2397         * baseboards/msp430-sim.exp: New file.
2398         * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2399         * Makefile.in: Regenerate.
2401 2016-04-18  Ben Elliston  <bje@gnu.org>
2403         * runtest: Remove quoting in final exec command.
2405 2016-04-17  Ben Elliston  <bje@gnu.org>
2407         * lib/remote.exp: Load ssh.exp lib.
2409 2016-04-17  Ben Elliston  <bje@gnu.org>
2411         * lib/rsh.exp (rsh_open): Fix description comment.
2413 2016-04-17  Ben Elliston  <bje@gnu.org>
2415         Reported by shellcheck.
2416         * runtest: Use $((..)) not `expr ..` and defensively double quote
2417         shell variables.
2419 2016-04-17  Ben Elliston  <bje@gnu.org>
2421         * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2422         * Makefile.in: Regenerate.
2424 2016-04-17  Ben Elliston  <bje@gnu.org>
2426         Reported by shellcheck.
2427         * runtest: Use $((..)) not `expr ..`.
2429 2016-04-17  Ben Elliston  <bje@gnu.org>
2431         * configure.ac (AC_INIT): Update version number.
2432         * configure: Regenerate.
2433         * runtest.exp (frame_version): Update version number.
2434         * doc/dejagnu.texi: Likewise.
2436 2016-04-17  Ben Elliston  <bje@gnu.org>
2438         * NEWS: Start a new section for the next release.
2440 2016-04-15  Ben Elliston  <bje@gnu.org>
2442         * Makefile.am (CONTRIB): Add new contrib scripts.
2443         * Makefile.in: Regenrate.
2445 2016-04-15  Ben Elliston  <bje@gnu.org>
2447         * lib/ssh.exp (ssh_exec): Handle regexp return status.
2449 2016-04-13  Ben Elliston  <bje@gnu.org>
2451         * lib/rsh.exp (rsh_exec): Improve verbose message.
2452         * lib/ssh.exp (ssh_exec): Likewise.
2453         * config/adb.exp: Likewise.
2455 2016-04-13  Ben Elliston  <bje@gnu.org>
2457         * runtest.exp: Improve --version (-v) output.
2458         * testsuite/runtest.all/options.exp: Update test case.
2460 2016-04-13  Christophe Lyon  <christophe.lyon@linaro.org>
2462         * lib/rsh.exp (rsh_exec): Handle regexp return status.
2464 2016-04-08  Ben Elliston  <bje@gnu.org>
2466         Reported by Faraz Shahbazker.
2467         * doc/dejagnu.texi (Global config file): Fix broken @node.
2468         (Local config file): Likewise.
2470 2016-04-07  Ben Elliston  <bje@gnu.org>
2472         * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2473         the command line with ';' and not &&.
2475 2016-04-07  Ben Elliston  <bje@gnu.org>
2477         Reported by Faraz Shahbazker.
2478         * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2480 2016-04-06  Yvan Roux  <yvan.roux@linaro.org>
2482         * lib/remote.exp (remnote_download): Create a remote directory if
2483         needed and use it.
2484         (remote_exec): Execute program inside remotedir when it exists.
2485         (standard_load): Set remotedir board field if not present.
2486         * config/unix.exp (unix_load): Handle remotedir in board field.
2487         (remotedir): Set board info field.
2488         * doc/dejagnu.texi (Board File Values): Document remotedir.
2490 2016-04-06  Ben Elliston  <bje@gnu.org>
2492         * doc/dejagnu.texi (Global config file): Put before node 'Local
2493         config file'.
2495 2016-04-05  Ben Elliston  <bje@gnu.org>
2497         * runtest.exp: Remove defunct and undocumented --tool_root option.
2499 2016-04-04  Ben Elliston  <bje@gnu.org>
2501         * doc/dejagnu.texi: More overhauling.
2503 2016-04-04  Ben Elliston  <bje@gnu.org>
2505         * lib/targetdb.exp (set_board_info): Improve comment.
2506         (add_board_info): Likewise.
2508 2016-04-04  Ben Elliston  <bje@gnu.org>
2510         * NEWS: Add some more detail.
2512 2016-04-04  Ben Elliston  <bje@gnu.org>
2514         * site.tmpl: Delete.
2515         * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2516         * Makefile.in: Regenerate.
2518 2016-04-03  Ben Elliston  <bje@gnu.org>
2520         * doc/dejagnu.texi: More overhauling.
2522 2016-04-03  Ben Elliston  <bje@gnu.org>
2524         * runtest.exp: Document the magical handling of -D[01].
2526 2016-04-03  Ben Elliston  <bje@gnu.org>
2528         * doc/runtest.1: Do not document obsolete --status option. It is
2529         still accepted for compatibility, but does nothing.
2531 2016-04-03  Ben Elliston  <bje@gnu.org>
2533         * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2535 2016-04-03  Ben Elliston  <bje@gnu.org>
2537         * doc/runtest.1 (OPTIONS): Sort options.
2539 2016-04-03  Ben Elliston  <bje@gnu.org>
2541         * doc/dejagnu.texi: More overhauling.
2543 2016-04-02  Ben Elliston  <bje@gnu.org>
2545         * doc/dejagnu.texi: Fill paragraphs.
2547 2016-04-02  Ben Elliston  <bje@gnu.org>
2549         * doc/dejagnu.texi: Fix capitalisation of procedure names
2550         throughout.  Use Tcl syntax in procedure prototypes, not C syntax.
2552 2016-04-02  Rob Savoye  <rob.savoye@linaro.org>
2554         * contrib/mysql/create-db.sql: New file.
2555         * contrib/mysql/importxml.sh: Likewise.
2556         * contrib/mysql/make-datafile.sh: Likewise.
2557         * contrib/mysql/plot.sh: Likewise.
2558         * contrib/mysql/README: Likewise.
2559         * contrib/mysql/sum2xml.sh: Likewise.
2561 2016-04-02  Ben Elliston  <bje@gnu.org>
2563         * config.guess: Update to version 2016-04-02.
2564         * config.sub: Update to version 2016-03-30.
2566 2016-04-02  Rob Savoye  <rob.savoye@linaro.org>
2568         * contrib/sum2junit.sh: New.
2570 2016-04-01  Ben Elliston  <bje@gnu.org>
2572         * doc/dejagnu.texi (connprocs): Document new SSH procs.
2574 2016-03-31  Rob Savoye  <rob.savoye@linaro.org>
2576         * lib/ssh.exp: New.
2577         * NEWS: Update.
2579 2016-03-30  Ben Elliston  <bje@gnu.org>
2581         * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2582         lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2583         runtest.exp: Fix spelling errors in comments.
2585 2016-03-30  Ben Elliston  <bje@gnu.org>
2587         * lib/remote.exp (remote_expect): Use perror not send_user.
2589 2016-03-29  Ben Elliston  <bje@gnu.org>
2591         * lib/remote.exp (remote_expect): Fix spelling error.
2593 2016-03-29  Rob Savoye  <rob.savoye@linaro.org>
2595         * runtest.exp: Only print "searching for <test name>" message at
2596         verbose level >= 2 -- too much noise.
2598 2016-03-29  Ben Elliston  <bje@gnu.org>
2600         * texinfo.tex: Update to latest master version.
2601         * INSTALL: Likewise.
2603 2016-03-29  Ben Elliston  <bje@gnu.org>
2605         * runtest.exp: More fixes identified by the Frink static analyser.
2606         * lib/dg.exp: Likewise.
2607         * config/adb.exp: Likewise.
2608         * config/vxworks.exp: Likewise.
2609         * baseboards/androideabi.exp: Likewise.
2610         * baseboards/basic-sid.exp: Likewise.
2611         * baseboards/multi-sim.exp: Likewise.
2613 2016-03-28  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2615         * dg.exp (dg-do): Do not change the previously selected action if
2616         a de-selected dg-do is encountered.
2618 2016-03-28  Ben Elliston  <bje@gnu.org>
2620         * lib/framework.exp (check_xml): Remove unused proc.
2622 2016-03-28  Rob Savoye  <rob.savoye@linaro.org>
2624         * lib/dmucs.exp: New.
2626 2016-03-28  Rob Savoye  <rob.savoye@linaro.org>
2628         * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2629         built compiler, then look in the path.
2631 2016-03-28  Ben Elliston  <bje@gnu.org>
2633         * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2634         /bin/which doesn't. Modern systems rely too heavily on symbolic
2635         links (eg. alternatives).
2637 2016-03-28  Ben Elliston  <bje@gnu.org>
2639         * baseboards/multi-sim.exp: Indent properly.
2641 2016-03-28  Ben Elliston  <bje@gnu.org>
2643         * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2644         rlogin. Identified by Frink.
2646 2016-03-28  Ben Elliston  <bje@gnu.org>
2648         * runtest.exp: Use 'array exists' for testing array existence
2649         rather than 'info exists'.
2651 2016-03-28  Ben Elliston  <bje@gnu.org>
2653         * runtest.exp: Fixes identified by the Frink static analyser:
2654           (1) use -- in switch commands for safety,
2655           (2) remove unreachable return commands after error commands,
2656           (3) replace abbreviated "info proc" with "info procs",
2657           (4) use -- in unset commands for safety where the variable name
2658               is itself a variable.
2659         * lib/dg.exp: Likewise.
2660         * lib/debugger.exp: Likewise.
2661         * lib/framework.exp: Likewise.
2662         * lib/remote.exp: Likewise.
2663         * lib/target.exp: Likewise.
2664         * lib/targetdb.exp: Likewise.
2665         * lib/telnet.exp: Likewise.
2666         * lib/utils.exp: Likewise.
2668 2016-03-28  Ben Elliston  <bje@gnu.org>
2670         * Makefile.am: Remove references to Docbook and friends.
2671         * configure.ac: Likewise.
2672         * Makefile.in: Regenerate.
2673         * configure: Regenerate.
2674         * doc/dejagnu.xml: Remove.
2675         * doc/legal.xml: Likewise.
2676         * doc/ref.xml: Likewise.
2677         * doc/user.xml: Likewise.
2679 2016-03-28  Ben Elliston  <bje@gnu.org>
2681         * lib/framework.exp (exp_continue): Remove old compatibility
2682         wrapper. Expect deprecated 'continue -expect' in August 1997.
2684 2016-03-28  Ben Elliston  <bje@gnu.org>
2686         * NEWS: Update.
2688 2016-03-28  Ben Elliston  <bje@gnu.org>
2690         * lib/utils.exp (which): Reimplement to more closely mimic the
2691         behaviour of the UNIX which utility.
2692         * testsuite/runtest.all/utils.test: Test proc which.
2694 2016-03-27  Ben Elliston  <bje@gnu.org>
2696         * lib/remote.exp (standard_wait): Append any trailing characters
2697         to $output that may be still in $expect_out(buffer) when eof is
2698         matched. Remove arbitrary limitation in the ".+" matching case,
2699         similar to the change to local_exec on 2016-02-17.
2701 2016-03-23  Ben Elliston  <bje@gnu.org>
2703         * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2704         mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2705         * Makefile.in: Regenerate.
2706         * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2707         baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2708         baseboards/vx68k.exp, baseboards/vx960.exp,
2709         baseboards/vxsparc.exp: Remove.
2711 2016-03-23  Ben Elliston  <bje@gnu.org>
2713         * baseboards/README: Remove mention of devo.
2714         * baseboards/iq2000-sim.exp: Likewise.
2715         * baseboards/moxie-sim.exp: Likewise.
2717 2016-03-23  Ben Elliston  <bje@gnu.org>
2719         * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2720         * Makefile.in: Regenerate.
2721         * baseboards/arm-ice.exp: Reinstate.
2722         * baseboards/arm-sim.exp: Likewise.
2724 2016-03-23  Ben Elliston  <bje@gnu.org>
2726         * Makefile.am (config_DATA): Update.
2727         (baseboard_DATA): Likewise.
2728         * Makefile.in: Regenerate.
2729         * NEWS: Update.
2731         Remove the following old config files:
2733         * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2734         cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2735         dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2736         m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2737         mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2738         proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2739         tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2741         Remove the following old baseboard files:
2743         * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2744         d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2745         fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2746         h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2747         i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2748         m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2749         mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2750         mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2751         powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2752         sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2753         tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2754         vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2755         xscale-cygmon.exp: Remove.
2757 2016-03-22  Ben Elliston  <bje@gnu.org>
2759         * lib/target.exp (only--Ls): Change '???' comment to a note. This
2760         isn't a serious shortcoming, but the comment should be retained.
2762 2016-03-22  Rob Savoye  <rob.savoye@linaro.org>
2764         * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
2765         the environment, use that as the spec file for bare metal testing.
2767 2016-03-22  Ben Elliston  <bje@gnu.org>
2769         * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
2770         * Makefile.in: Regenerate.
2772 2016-03-22  Rob Savoye  <rob.savoye@linaro.org>
2774         * config/aarch64-fv8.exp: Add support for testing armv8 using the
2775         ARM Foundation Model.
2777 2016-03-21  Ben Elliston  <bje@gnu.org>
2779         * runtest.exp: Whitespace, comment and typo fixes.
2780         * lib/dejagnu.exp: Likewise.
2781         * lib/remote.exp: Likewise.
2782         * lib/utils.exp: Likewise.
2784 2016-03-21  Ben Elliston  <bje@gnu.org>
2786         * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
2787         * baseboards/mmixware-sim.exp: Likewise.
2788         * config/sim.exp: Likewise.
2789         * runtest.exp: Likewise.
2791 2016-03-21  Ben Elliston  <bje@gnu.org>
2793         * lib/dg.exp (dg-get-options): Clean up regular expression and
2794         remove FIXME comment about it.
2796 2016-03-20  Ben Elliston  <bje@gnu.org>
2798         * baseboards/i960-sim.exp: Remove stale ??? comment.
2799         * config/vxworks.exp: Likewise.
2801 2016-03-20  Ben Elliston  <bje@gnu.org>
2803         * runtest.exp: Load .dejagnurc last not first.
2804         (load_file): Update comment about Tcl 7.5a2.
2805         * doc/user.xml (Customizing DejaGnu): Document new search order
2806         for site.exp files.
2807         * doc/dejagnu.texi: Regenerate.
2808         * NEWS: Update.
2810 2016-03-20  Ben Elliston  <bje@gnu.org>
2812         * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
2814 2016-03-20  Ben Elliston  <bje@gnu.org>
2816         * lib/dg.exp: Remove commented-out calls to send_user.
2818 2016-03-20  Ben Elliston  <bje@gnu.org>
2820         * runtest.exp (load_file): Remove old comment.
2822 2016-03-20  Ben Elliston  <bje@gnu.org>
2824         * lib/dg.exp (dg-test): There is no need to call unresolved to
2825         clear errcnt. Instead, pass 0 as argument 2 to perror.
2826         * runtest.exp (runtest): Likewise.
2828 2016-03-16  Ben Elliston  <bje@gnu.org>
2830         Revert this change (the GCC testsuite uses diff):
2832         2016-03-15  Ben Elliston  <bje@gnu.org>
2834         * lib/utils.exp (diff): Remove proc.
2835         * doc/ref.xml: Update documentation.
2836         * doc/dejagnu.texi: Regenerate.
2837         * NEWS: Update.
2839 2016-03-15  Ben Elliston  <bje@gnu.org>
2841         * testsuite/runtest.all/options.exp: Properly clean up log files
2842         left by the runtest under test.
2844 2016-03-15  Ben Elliston  <bje@gnu.org>
2846         * testsuite/runtest.all/load_lib.exp: Typo fixes.
2848 2016-03-15  Ben Elliston  <bje@gnu.org>
2850         * testsuite/runtest.all/options.exp: Add more tests.
2852 2016-03-15  Ben Elliston  <bje@gnu.org>
2854         * testsuite/libdejagnu/tunit.exp: Clean up.
2856 2016-03-15  Ben Elliston  <bje@gnu.org>
2858         * lib/utils.exp (diff): Remove proc.
2859         * doc/ref.xml: Update documentation.
2860         * doc/dejagnu.texi: Regenerate.
2861         * NEWS: Update.
2863 2016-03-15  Ben Elliston  <bje@gnu.org>
2865         Revert this change:
2866         2016-02-14  Steve Ellcey  <sellcey@mips.com>
2868         * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2869         GCC_UNDER_TEST.
2870         * baseboards/multi-sim.exp (rpath_flags): Ditto.
2872 2016-03-13  Ben Elliston  <bje@gnu.org>
2874         * lib/utils.exp: Whitespace fixes.
2876 2016-03-13  Ben Elliston  <bje@gnu.org>
2878         * lib/dg.exp (dg-process-target): Remove old commented code.
2879         * lib/dg.exp (dg-test): Likewise.
2881 2016-03-13  Ben Elliston  <bje@gnu.org>
2883         * lib/dg.exp: Improve top-of-file documentation.
2885 2016-03-05  Yvan Roux  <yvan.roux@linaro.org>
2887         * lib/remote.exp (remote_exec): Restore original timeout value.
2889 2016-03-04  Yvan Roux  <yvan.roux@linaro.org>
2891         * lib/remote.exp (standard_upload): Remove dead code.
2893 2016-02-24  Ben Elliston  <bje@gnu.org>
2895         * lib/utils.exp (prune): Restore this proc.
2896         * doc/ref.xml: Update documentation.
2897         * doc/dejagnu.texi: Regenerate.
2898         * NEWS: Update.
2900 2016-02-23  Iain Buclaw  <ibuclaw@gdcproject.org>
2902         * lib/libgloss.exp (find_gdc): New proc.
2903         * lib/target.exp (default_target_compile): Add D support.
2904         * NEWS: Update.
2906 2016-02-20  Ben Elliston  <bje@gnu.org>
2908         * lib/utils.exp (diff): Replace calls to verbose followed by
2909         send_log with a single call to verbose -log. Remove additional
2910         newlines from the log messages.
2912 2016-02-20  Ben Elliston  <bje@gnu.org>
2914         * lib/utils.exp (getdirs): Ignore .git and .svn directories.
2916 2016-02-20  Ben Elliston  <bje@gnu.org>
2918         * lib/utils.exp: Improve comments.
2919         * NEWS: Update.
2921 2016-02-20  Ben Elliston  <bje@gnu.org>
2923         * lib/utils.exp (prune): Remove proc.
2924         * doc/ref.xml: Update documentation.
2925         * doc/dejagnu.texi: Regenerate.
2927 2016-02-20  Ben Elliston  <bje@gnu.org>
2929         * lib/utils.exp (slay): Remove proc.
2930         * doc/ref.xml: Update documentation.
2931         * doc/dejagnu.texi: Regenerate.
2933 2016-02-20  Ben Elliston  <bje@gnu.org>
2935         * lib/utils.exp (absolute): Remove proc.
2936         * doc/ref.xml: Update documentation.
2937         * doc/dejagnu.texi: Regenerate.
2939 2016-02-20  Ben Elliston  <bje@gnu.org>
2941         * lib/utils.exp (psource): Remove proc.
2942         * doc/ref.xml: Update documentation.
2943         * doc/dejagnu.texi: Regenerate.
2945 2016-02-20  Ben Elliston  <bje@gnu.org>
2947         * lib/targetdb.exp (board_info): Simplify return logic.
2949 2016-02-19  Ben Elliston  <bje@gnu.org>
2951         * configure.ac: Require Tcl version 8.5 at a minimum.
2952         * configure: Regenerate.
2954 2016-02-18  Ben Elliston  <bje@gnu.org>
2956         * configure.ac: Require Tcl version 8.6 at a minimum.
2957         * configure: Regenerate.
2959 2016-02-17  Ben Elliston  <bje@gnu.org>
2961         * runtest.exp: Tweak "Test run by .." output.
2963 2016-02-17  Ben Elliston  <bje@gnu.org>
2965         * lib/target.exp (default_target_compile): Do not pass -log to
2966         verbose when outputting the captured compiler/assembler/linker
2967         diagnostic output as it will already be in the .log file courtesy
2968         of Expect.
2970 2016-02-17  Ben Elliston  <bje@gnu.org>
2972         * runtest.exp: Enable --status by default.
2973         (runtest): Set exit status to 2 if there is any error sourcing
2974         the Tcl scripts.
2975         * lib/framework.exp (unknown): Likewise, set exit status to 2.
2976         * doc/runtest.1: Clarify exit status codes.
2977         * NEWS: Update.
2979 2016-02-17  Ben Elliston  <bje@gnu.org>
2981         * lib/remote.exp (local_exec): Call exp_continue until eof is
2982         matched.
2984 2016-02-16  Ben Elliston  <bje@gnu.org>
2986         * runtest.exp: Use the traditional exit codes when runtest is
2987         interrupted. This makes it possible to tell if runtest ran to
2988         completion or not. Suggested by Michael Chastain.
2990 2016-02-15  Ben Elliston  <bje@gnu.org>
2992         * TODO: Add ideas produced from Cauldron 2013.
2994 2016-02-15  Ben Elliston  <bje@gnu.org>
2996         * TODO: Update.
2998 2016-02-15  Ben Elliston  <bje@gnu.org>
3000         * lib/dg.exp (dg-test): Remove comment about proc unresolved not
3001         setting exit_status to 1 -- it does.
3003 2016-02-15  Ben Elliston  <bje@gnu.org>
3005         * lib/framework.exp (cleanup): Remove do-nothing proc.
3006         (log_and_exit): Remove call to cleanup.
3007         * doc/ref.xml: Remove documentation for cleanup.
3008         * doc/dejagnu.texi: Regenerate.
3010 2016-02-15  Ben Elliston  <bje@gnu.org>
3012         Reported by David Malcolm.
3013         * lib/dejagnu.exp (text): Allow angle brackets in test messages.
3015 2016-02-15  Ben Elliston  <bje@gnu.org>
3017         * config.guess: Update to version 2016-02-11.
3018         * config.sub: Update to version 2016-01-01.
3020 2016-02-14  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
3022         * lib/remote.exp (remote_exec): Set global timeout for benefit of
3023         <remote>_exec.
3025 2016-02-14  Ben Elliston  <bje@gnu.org>
3027         * lib/remote.exp (local_exec): Improve comments.
3029 2016-02-14  Ben Elliston  <bje@gnu.org>
3031         * doc/runtest.1: Tweak.
3033 2016-02-14  Steve Ellcey  <sellcey@mips.com>
3035         * baseboards/multi-sim.exp (dynamic_linker_flag): Check
3036         GCC_UNDER_TEST.
3037         * baseboards/multi-sim.exp (rpath_flags): Ditto.
3039 2016-01-23  Simon Marchi  <simon.marchi@ericsson.com>
3041         * lib/remote.exp (standard_file): Reverse return logic for remote
3042         exists case.
3044 2016-01-23  Simon Marchi  <simon.marchi@ericsson.com>
3046         * lib/remote.exp (standard_file); Add else clause.
3048 2016-01-16  Ben Elliston  <bje@gnu.org>
3050         * runtest.exp (runtest): Improve comment about --status.
3052 2016-01-12  Simon Marchi  <simon.marchi@ericsson.com>
3054         * lib/remote.exp (standard_file): The [ operator does not actually
3055         output anything. It returns 0 or 1 as its exit code, so "exit `[
3056         -f $file ]`" always expands to "exit " (equivalent to exit 0).
3057         Instead, use test(1) to check for file existence.
3059 2015-12-20  Ben Elliston  <bje@gnu.org>
3061         * doc/dejagnu.xml: Begin overhauling.
3062         * doc/ref.xml: Likewise.
3063         * doc/user.xml: Likewise.
3064         * doc/dejagnu.texi: Regenerate.
3066 2015-12-20  Ben Elliston  <bje@gnu.org>
3068         * doc/runtest.1: Miscellaneous minor improvements.
3070 2015-12-09  Yoshinori Sato  <ysato@users.sourceforge.jp>
3072         * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
3073         * Makefile.in: Regenerate.
3075 2015-11-16  Brooks Moses  <bmoses@google.com>
3077         * config/unix.exp: Add ability to set test timeout from site.exp.
3078         * doc/user.xml: Document new test_timeout variable in site.exp.
3079         * doc/dejagnu.texi: Regenerate.
3081 2015-11-16  Ben Elliston  <bje@gnu.org>
3083         * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
3085 2015-11-16  Ben Elliston  <bje@gnu.org>
3087         * testsuite/runtest.all/options.exp: Remove some commented code.
3089 2015-11-16  Ben Elliston  <bje@gnu.org>
3091         * runtest.exp: Refer to "DejaGnu version", not "Framework
3092         version" in --version output.
3093         * testsuite/runtest.all/options.exp: Update test case.
3095 2015-11-14  Ben Elliston  <bje@gnu.org>
3097         * runtest.exp (usage): Improve help text.
3099 2015-11-12  Ben Elliston  <bje@gnu.org>
3101         * runtest.exp (usage): Sort options in usage.
3103 2015-11-12  Ben Elliston  <bje@gnu.org>
3105         * lib/framework.exp (note): Remove old commented-out code.
3107 2015-11-11  Ben Elliston  <bje@gnu.org>
3109         * doc/user.xml (Summary File): 'untested', not 'runtested'.
3110         * doc/dejagnu.texi: Regenerate.
3112 2015-11-11  Michael Forney  <forney@google.com>
3114         * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
3116 2015-11-11  Ben Elliston  <bje@gnu.org>
3118         * doc/dejagnu.texi: Regenerate.
3120 2015-11-10  Ben Elliston  <bje@gnu.org>
3122         * doc/user.xml: Fix runtest output formatting in <programlisting>.
3124 2015-11-10  Ben Elliston  <bje@gnu.org>
3126         * doc/dejagnu.xml: Update month and year.
3127         * doc/user.xml: Lots of editorial fixes from Daniel Thibault
3128         <Daniel.Thibault@drdc-rddc.gc.ca>.
3130 2015-09-10  Robert Suchanek  <Robert.Suchanek@imgtec.com>
3132         * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
3134 2015-07-30  Pedro Alves  <palves@redhat.com>
3136         * lib/remote.exp (close_wait_program): New procedure.
3137         (local_exec, standard_close): Use it.
3139 2015-05-23  Ben Elliston  <bje@gnu.org>
3141         * doc/dejagnu.xml: Fix broken URLs.
3142         * doc/dejagnu.texi: Regenerate.
3144 2015-05-23  Ben Elliston  <bje@gnu.org>
3146         * doc/user.xml: Fix 'crosscompilation'.
3148 2015-05-23  Ben Elliston  <bje@gnu.org>
3150         * doc/runtest.1 (log_dialog): Improve documentation.
3152 2015-05-16  Filipe Brandenburger  <filbranden@google.com>
3154         * configure.ac: Enable subdir-objects, require automake 1.14.
3155         * Makefile.in: Regenerate.
3157 2015-05-15  Filipe Brandenburger  <filbranden@google.com>
3159         * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
3160         possibly introduced in a conversion of .texi to SGML Docbook.
3161         * doc/user.xml: Likewise.
3162         * doc/ref.xml: Likewise.
3163         * doc/dejagnu.texi: Regenerate.
3165 2015-05-15  Filipe Brandenburger  <filbranden@google.com>
3167         * runtest.exp (runtest): Introduce new --log_dialog option.
3168         * doc/runtest.1: Document it.
3169         * doc/user.xml: Likewise.
3170         * doc/dejagnu.texi: Regenerate.
3172 2015-05-14  Steve Ellcey  <sellcey@imgtec.com>
3174         * baseboards/multi-sim.exp (get_library_dirlist): New.
3175         (dynamic_linker_flag): Use get_library_dirlist to find dynamic
3176         linker.
3177         (rpath_flags): Use get_library_dirlist to set rpath.
3179 2015-05-12  Steve Ellcey  <sellcey@imgtec.com>
3181         * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
3183 2015-03-30  Ben Elliston  <bje@gnu.org>
3185         Revert the following change which causes breakage reported here:
3186         https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
3188         2011-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3190         * runtest.exp (runtest): Call reset_vars at initialisation so that
3191         perror does not affect test results in other test scripts.
3193 2015-02-26  H.J. Lu  <hjl.tools@gmail.com>
3195         * lib/target.exp (default_target_compile): Prepend multilib_flags,
3196         instead of appending it.
3198 2015-02-18  Ben Elliston  <bje@gnu.org>
3200         * lib/framework.exp (log_and_exit): Set tool to "testrun" if
3201         unset.
3203 2015-02-05  Ben Elliston  <bje@gnu.org>
3205         * doc/runtest.1: Fix a spelling error.
3207 2015-02-04  Ben Elliston  <bje@gnu.org>
3209         * config.guess: Update to version 2015-01-01.
3210         * config.sub: Likewise.
3212 2015-01-22  Eric Botcazou  <ebotcazou@adacore.com>
3214         * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
3215         * Makefile.in: Regenerate.
3216         * baseboards/visium-sim.exp: New file.
3218 2014-11-25  Ben Elliston  <bje@gnu.org>
3220         * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
3221         Reported by David Malcolm.
3223 2014-10-28  Ben Elliston  <bje@gnu.org>
3225         * Makefile.in: Regenerate.
3227 2014-10-28  Ben Elliston  <bje@gnu.org>
3229         * example: Remove stale examples.
3231 2014-10-24  Steve Ellcey  <sellcey@mips.com>
3233         * dejagnu.h (pass): Make function static as well as inline.
3234         (xpass): Ditto.
3235         (fail): Ditto.
3236         (xfail): Ditto.
3237         (untested): Ditto.
3238         (unresolved): Ditto.
3239         (note): Ditto.
3240         (totals): Ditto.
3242 2014-10-14  Ben Elliston  <bje@gnu.org>
3244         * runtest.exp: Only match $directory, not *${directory}* when the
3245         user passes the --directory option. Reported by Sergey Alyoshin.
3247 2014-10-14  Ben Elliston  <bje@gnu.org>
3249         * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
3250         is not the right command keyword -- it is full_buffer. Reported by
3251         David Malcolm.
3253 2014-07-15  Maciej W. Rozycki  <macro@mips.com>
3254             Maciej W. Rozycki  <macro@codesourcery.com>
3256         * lib/targetdb.exp (add_board_info): New procedure.
3257         * doc/ref.xml (Add_board_info Procedure): New section.
3258         (Set_board_info Procedure): Add description.
3259         (Unset_board_info Procedure): Likewise.
3260         * doc/user.xml (Board Config File Values): Add `add_board_info'
3261         reference.  Reorder `gdb_init_command' table rows and remove a
3262         duplicate entry, reusing it for `gdb_init_commands'.
3264 2014-06-25  Rob Savoye  <rob.savoye@linaro.org>
3266         * runtest.exp: (lookfor-file): Fix bug were none of the relative
3267         paths were actually being used for file lookup.
3269 2014-06-06  Ben Elliston  <bje@gnu.org>
3271         * depcomp, install-sh, missing: Update to latest versions.
3272         * mkinstalldirs: Remove.
3273         * Makefile.in: Regenerate.
3275 2014-06-04  Ben Elliston  <bje@gnu.org>
3277         * Makefile.in: Regenerate with Automake 1.14.1.
3278         * compile: Add missing file.
3280 2014-06-04  Ben Elliston  <bje@gnu.org>
3282         * config.guess: Update to version 2014-03-23.
3283         * config.sub: Likewise.
3285 2014-06-04  Ben Elliston  <bje@gnu.org>
3287         * aclocal.m4: Regenerate with Automake 1.14.1.
3288         * configure: Regenerate with Autoconf 2.69.
3290 2014-03-15  Steve Ellcey  <sellcey@mips.com>
3292         * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
3294 2014-02-23  Steve Ellcey  <sellcey@mips.com>
3295             Richard Sandiford  <rdsandiford@googlemail.com>
3297         * config/sim.exp (sim_exec): New.
3298         (sim_file): New.
3300 2013-12-08  Richard Sandiford  <rdsandiford@googlemail.com>
3302         * lib/dg.exp (dg-test): Don't put the expected and actual output
3303         of a pattern test in the test name; send it to the log instead.
3305 2013-11-01  Steve Ellcey  <sellcey@mips.com>
3307         * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
3308         * Makefile.in: Regenerate.
3309         * baseboards/multi-sim.exp: New.
3311 2013-10-31  Anton Kolesov  <anton.kolesov@synopsys.com>
3313         * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
3314         (remote_reboot): Add comment explaining return value of this procedure.
3315         * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
3316         * doc/dejagnu.texi: Regenerate.
3318 2013-10-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
3320         * baseboards/androideabi.exp (process_multilib_options): Add option.
3321         * config/adb.exp: Remove hardcoded -static option.
3322         (adb_load): Add the possibility to change the temp directory. Also
3323         handle permission potential problems.
3324         (adb_exec): Do cd to android_tmp_dir first.
3326 2013-10-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
3328         * baseboards/unix.exp: Add gdb settings to not use hardware
3329         watchpoints in sparc64 running GNU/Linux.
3331 2013-06-17  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3333         * runtest.exp (libdirs): New global variable.
3334         (load_lib): Append libdirs to search_and_load_files directories.
3335         * doc/ref.xml (load_lib): Document global variable libdirs.
3336         * doc/dejagnu.texi: Regenerate.
3337         * testsuite/runtest.all/load_lib.exp: New testcase.
3338         * Makefile.am (TESTSUITE_FILES): Add new testcase.
3339         * Makefile.in: Regenerate.
3341 2013-06-15  Ben Elliston  <bje@gnu.org>
3343         * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3344         * Makefile.am: Export DEJAGNU.
3345         * configure: Likewise.
3346         * Makefile.in: Regenerate.
3348 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3350         * doc/user.xml: Fix typos.
3351         * doc/ref.xml: Likewise.
3352         * doc/dejagnu.texi: Regenerate.
3354 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3356         * doc/user.xml: Fix number of columns in table.
3357         * doc/dejagnu.texi: Regenerate.
3359 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3361         * doc/user.xml: Fix rendering errors around programlisting.
3362         * doc/ref.xml: Likewise.
3363         * doc/dejagnu.texi: Regenerate.
3365 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3367         * doc/user.xml: Fix spacing before productname.
3368         * doc/dejagnu.texi: Regenerate.
3370 2013-06-12  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3372         * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3373         magic "args" parameter name, as expect send_log proc accepts -- as
3374         a leading option.
3376 2013-06-08  Makoto Fujiwara  <makoto@ki.nu>
3378         * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3379         (config_DATA): Likewise for config_SCRIPTS.
3380         (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3381         (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3382         baseboard_SCRIPTS.
3383         * Makefile.in: Regenerate.
3385 2013-06-08  Ben Elliston  <bje@gnu.org>
3387         * configure: Regenerate with autoconf 2.69.
3388         * aclocal.m4: Regenerate.
3390 2013-03-31  Ben Elliston  <bje@gnu.org>
3392         * Makefile.am (html-local): Rename target from html.
3393         * Makefile.in: Regenerate with automake 1.12.6.
3394         * aclocal.m4: Likewise.
3395         * configure: Regenerate.
3397 2013-03-28  Gilles Espinasse  <g.esp@free.fr>
3399         * TODO: Remove todo item about warncnt and errcnt.
3401 2013-03-28  Gilles Espinasse  <g.esp@free.fr>
3403         * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3405 2013-03-26  Ben Elliston  <bje@gnu.org>
3407         * config.guess: Update to version 2013-02-12.
3408         * config.sub: Likewise.
3410 2013-02-16  Rob Savoye  <rob@build.welcomehome.org>
3412         * config/adb.exp: Add adb_file so we can remotely delete test
3413         cases to save on limited disk space. Don't remove the file after
3414         executing it, leave that for the test driver instead.
3416 2013-02-15  Rob Savoye  <rob@welcomehome.org>
3418         * config/adb.exp: Remove the test case after executing
3419         it. Otherwise we can fill up all the diskspace on a small target
3420         pretty fast.
3422 2013-02-11  Rob Savoye  <rob@welcomehome.org>
3424         * baseboards/androideabi.exp: Board support for Android using ADB.
3425         * config/adb.exp: Config support for Android using ADB.
3426         * Makefile.am (dist): Add new config and board files.
3427         * aclocal.m4, Makefile.in, configure, example/calc/configure,
3428         example/mathhelper/configure: Regenerated with newer autotools.
3430 2012-12-05  Ben Elliston  <bje@gnu.org>
3432         * example/hello: Remove.
3433         * configure.ac: Likewise.
3434         * configure: Regenerate.
3436 2012-10-04  Steve Ellcey  <sellcey@mips.com>
3438         * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3439         * Makefile.in: Regenerate.
3440         * baseboards/mips-sim-mti32.exp: New.
3441         * baseboards/mips-sim-mti64.exp: New.
3442         * baseboards/mips-sim-mti64_n32.exp: New.
3443         * baseboards/mips-sim-mti64_64.exp: New.
3444         * baseboards/mips-sim-sde32.exp: New.
3445         * baseboards/mips-sim-sde64.exp: New.
3447 2012-10-04  Ben Elliston  <bje@gnu.org>
3449         * aclocal.m4: Regenerate with automake 1.11.3.
3450         * Makefile.in: Likewise.
3451         * configure: Regenerate with autoconf 2.68.
3453 2012-08-22  Steve Ellcey  <sellcey@mips.com>
3455         * baseboards/generic-sim.exp: New baseboard definition.
3457 2012-06-15  Andreas Schwab  <schwab@linux-m68k.org>
3459         * lib/framework.exp (clone_output): Protect from leading dash in
3460         $message.
3461         * runtest.exp (verbose): Likewise.
3463 2012-06-11  Tom Tromey  <tromey@redhat.com>
3465         * doc/runtest.1: Update.
3466         * runtest.exp (xml_file_name): New global.
3467         (usage): Update.
3468         Handle optional argument to --xml.
3469         * lib/framework.exp (open_logs): Respect xml_file_name.
3471 2012-03-24  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3473         * runtest.exp (load_tool_init): Fix typo in -de option handling.
3475 2012-03-24  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3477         * doc/runtest.1: Correct name of debug file.
3479 2012-02-25  Ben Elliston  <bje@gnu.org>
3481         * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3482         for runtest.exp as a last resort (for usrmove environments, where
3483         /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3485 2011-12-30  Ben Elliston  <bje@gnu.org>
3487         * doc/user.xml: Various spelling and consistency fixes.
3488         * doc/ref.xml: Likewise.
3489         (exit_remote_shell): Remove, as this procedure is defunct.
3490         * doc/dejagnu.texi: Regenerate.
3492 2011-12-30  Ben Elliston  <bje@gnu.org>
3494         * config.guess: Update to version 2011-12-29.
3495         * config.sub: Update to version 2011-11-11.
3497 2011-06-30  Tom Tromey  <tromey@redhat.com>
3499         * doc/ref.xml: Document find_gfortran.
3500         * doc/dejagnu.texi: Regenerate.
3501         * lib/target.exp (default_target_compile): Handle f90.
3502         (default_target_compile): Likewise.
3503         * lib/libgloss.exp (find_gfortran): New proc.
3505 2011-06-30  Ben Elliston  <bje@gnu.org>
3507         * Makefile.am (all-local): New rule.
3508         * Makefile.in: Regenerate.
3510 2011-04-12  Ben Elliston  <bje@gnu.org>
3512         * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3513         rm", for better portability.
3514         * config/netware.exp (${board}_load): Likewise.
3515         * lib/dg.exp (dg-test): Likewise.
3516         * lib/framework.exp (open_logs): Likewise.
3517         * lib/remote.exp (standard_file): Likewise.
3518         * runtest.exp: Likewise.
3519         * testsuite/runtest.all/options.exp: Likewise.
3521 2011-03-15  Ben Elliston  <bje@gnu.org>
3523         * runtest.exp: Whitespace cleanups.
3524         * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3525         lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3526         lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3528 2011-03-15  Ben Elliston  <bje@gnu.org>
3530         * runtest: Remove trailing semicolons.
3531         * lib/rsh.exp: Likewise.
3533 2011-03-15  H.J. Lu  <hjl.tools@gmail.com>
3535         * lib/remote.exp (local_exec): Ignore SIGHUP.
3537 2011-03-14  Ben Elliston  <bje@gnu.org>
3539         * runtest.exp (frame_version): Set to 1.5.1.
3540         * configure.ac (AC_INIT): Set version to 1.5.1.
3541         * configure: Regenerate.
3542         * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3543         * doc/dejagnu.texi: Regenerate.
3545 2011-03-14  Ben Elliston  <bje@gnu.org>
3547         * dejagnu.h: Whitespace cleanups.
3549 2011-03-14  Ben Elliston  <bje@gnu.org>
3551         * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3552         * baseboards/mt-sid.exp: Likewise.
3553         * baseboards/tx39-sim.exp: Likewise.
3554         * lib/target.exp (default_target_compile): Likewise.
3556 2011-03-14  Ben Elliston  <bje@gnu.org>
3558         Reported by Flash Sheridan <flash@pobox.com>:
3559         * doc/user.xml (Testing "Hello world" locally): Improve the
3560         example test script and make it robust to failures.  Tidy some
3561         formatting errors.
3562         * doc/dejagnu.texi: Regenerate.
3564 2011-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3566         * runtest.exp (runtest): Call reset_vars at initialisation so that
3567         perror does not affect test results in other test scripts.
3569 2011-03-09  Ben Elliston  <bje@gnu.org>
3571         * NEWS: Start a new section for post-1.5 changes.
3573 2011-03-09  Ben Elliston  <bje@gnu.org>
3575         * DejaGnu 1.5 released.
3577 2011-03-09  Ben Elliston  <bje@gnu.org>
3579         * Makefile.am (DISTCLEANFILES): Define.
3580         * Makefile.in: Regenerate.
3581         * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3582         * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3583         * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3584         mkdir" instead of exec'ing mkdir(1).
3586 2011-03-07  Ben Elliston  <bje@gnu.org>
3588         * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3589         * Makefile.in: Regenerate.
3591 2011-03-06  Ben Elliston  <bje@gnu.org>
3593         * configure.ac (AC_INIT): Set version to 1.5.
3594         * configure: Regenerate.
3595         * runtest.exp (frame_version): Set to 1.5.
3596         * doc/dejagnu.texi: Regenerate.
3598 2011-03-04  Ben Elliston  <bje@gnu.org>
3600         * texinfo.tex: Import latest version from ftp://tug.org/tex.
3602 2011-03-04  Ben Elliston  <bje@gnu.org>
3604         * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3605         * Makefile.in: Regenerate.
3607 2011-03-03  Ben Elliston  <bje@gnu.org>
3609         * Makefile.am: Bump to GPL version 3.
3610         * configure.ac: Likewise.
3611         * Makefile.in: Regenerate.
3612         * aclocal.m4: Likewise.
3613         * configure: Likewise.
3615 2011-03-03  Ben Elliston  <bje@gnu.org>
3617         * config.guess: Update to most recent version.
3618         * config.sub: Likewise.
3620 2011-03-03  Ben Elliston  <bje@gnu.org>
3622         * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3623         proc to ::tcl_unknown.  If ::tcl_unknown returns a failure result,
3624         then fall back to the conventional DejaGnu handling.  Report from
3625         David Byron <dbyron@dbyron.com>.
3627 2011-03-03  Maciej W. Rozycki  <macro@codesourcery.com>
3629         * lib/remote.exp (remote_expect): Pass all exception conditions up
3630         to the caller.
3632 2011-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3634         * lib/dg.exp (dg-test): Support nested calls.
3636 2010-04-13  Ben Elliston  <bje@gnu.org>
3638         * testglue.c: Remove duplicated prototypes for abort and exit.
3640 2010-03-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3642         * doc/user.xml (Tcl Variables For Command Line Options): Correct
3643         column count.
3645 2010-01-21  Jie Zhang  <jie.zhang@analog.com>
3647         * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3649 2010-01-15  Anthony Green  <green@moxielogic.com>
3651         * baseboards/moxie-sim.exp: New baseboard.
3653 2009-12-10  DJ Delorie  <dj@redhat.com>
3655         * baseboards/rx-sim.exp: New baseboard.
3657 2009-10-15  Ben Elliston  <bje@gnu.org>
3659         * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3660         This web page has disappeared.
3662 2009-07-06  Ben Elliston  <bje@gnu.org>
3664         * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3665         <option> not <emphasis>.  Apply other grammatical fixes from
3666         Reuben Thomas.
3667         * doc/dejagnu.texi: Regenerate.
3669 2009-07-06  Ben Elliston  <bje@gnu.org>
3671         * configure.ac: Check for docbook2x-texi.
3672         * configure: Regenerate.
3674 2009-07-06  Ben Elliston  <bje@gnu.org>
3676         From Reuben Thomas  <rrt@sc3d.org>:
3677         * doc/runtest.1: Fix some formatting issues.
3679 2009-06-16  Ben Elliston  <bje@gnu.org>
3681         * config.guess: Update to most recent version.
3682         * config.sub: Likewise.
3684 2009-06-16  Ben Elliston  <bje@gnu.org>
3686         * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3687         * Makefile.in: Regenerate.
3688         * packaging: Remove directory and its contents.
3690 2009-06-10  Maciej W. Rozycki  <macro@codesourcery.com>
3692         * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3693         breakpoints.
3695 2008-12-03  Ben Elliston  <bje@gnu.org>
3697         * COPYING: Update to GPL version 3.
3699 2008-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3701         * doc/ref.xml, doc/user.xml: Fix typos.
3702         * doc/dejagnu.texi: Regenerate.
3704 2008-04-06  Daniel Jacobowitz  <drow@false.org>
3706         * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3707         * Makefile.in: Regenerate.
3708         * dejagnu.exp (host_execute): Improve regexp matching.
3709         * testsuite/libdejagnu/unit.cc: C++ fixes.
3711 2008-04-06  Daniel Jacobowitz  <drow@false.org>
3713         * lib/utils.exp (diff): Open both files as binary.
3715 2008-04-06  Daniel Jacobowitz  <dan@codesourcery.com>
3717         * dejagnu.h (totals): Correct typos.
3719 2008-04-06  Daniel Jacobowitz  <dan@codesourcery.com>
3721         * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3722         * doc/dejagnu.texi: Regenerate.
3724 2008-02-25  Ben Elliston  <bje@gnu.org>
3726         * doc/runtest.1: Update date of last revision.
3728 2008-02-11  Hans-Peter Nilsson  <hp@axis.com>
3730         * baseboards/h8300.exp: Use -- before switch argument that may
3731         begin with "-".
3732         * baseboards/cris-sim.exp: Ditto.
3734 2008-02-11  Hans-Peter Nilsson  <hp@axis.com>
3736         * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3737         iq2000-sim.exp and m32r-linux-sim.exp.
3738         * Makefile.in: Regenerate.
3740 2008-02-08  Ben Elliston  <bje@gnu.org>
3742         * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3744 2007-12-28  Joseph Myers  <joseph@codesourcery.com>
3746         * lib/target.exp (default_link): Initialize nobjects before use.
3748 2007-12-06  Ben Elliston  <bje@gnu.org>
3750         * lib/dg.exp (dg_bogus): Comment fix.
3752 2007-10-31  DJ Delorie  <dj@redhat.com>
3754         * lib/framework.exp (open_logs): Line buffer the .sum file.
3756 2007-09-04  Matt Kraai  <kraai@ftbfs.org>
3758         * doc/user.xml (Configuration): Fix typos.
3759         * doc/dejagnu.texi: Regenerate.
3761 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
3763         * lib/remote.exp (standard_send): Correct quoting.
3765 2007-05-17  Ben Elliston  <bje@gnu.org>
3767         * doc/user.xml: Correct the syntax for running apt-get on a Debian
3768         GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
3770 2007-04-30  Bob Wilson  <bob.wilson@acm.org>
3772         * baseboards/xtensa-sim.exp: Set target_install.  Stop using
3773         basic-sim.exp.  Run the simulator with --turbo option.  Replace
3774         needs_status_wrapper with the simulator's --exit_with_target_code
3775         option.
3777 2006-10-15  Rob Savoye  <rob@bertha.welcomehome.org>
3779         * dejagnu.h: Add support for for expected failures and
3780         unexpected successes.
3782 2005-05-06  Andrew Fyfe <a.fyfe@tiscali.co.uk>
3784         * doc/Makefile.am: Fix install path for man page.
3785         * Makefiles: Regenerated.
3787 2006-08-29  Ben Elliston  <bje@gnu.org>
3789         * runtest.exp (usage): Use "triplet" instead of "config name".
3791 2006-07-13  Daniel Jacobowitz  <dan@codesourcery.com>
3793         * Makefile.am (DOCBOOK2RTF): Fix typo.
3794         * Makefile.in: Regenerated.
3795         * lib/libgloss.exp (process_multilib_options): Use -- to handle
3796         options starting with hyphens.
3798 2006-06-23  Eric Botcazou  <ebotcazou@adacore.com>
3800         * libgloss.exp (find_gnatmake): Rewrite.
3802 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
3804         * rsh.exp (rsh_exec): Handle inp and outp arguments.  Use
3805         local_exec to run rsh.  Return failure if rsh times out.
3806         * remote.exp (local_exec): Handle "|& cat" we added when deciding
3807         whether to return output.
3809 2006-06-09  Ben Elliston  <bje@gnu.org>
3811         * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
3812         multiple cases, not a list (case uses lists, switch does not).
3813         Pass -glob to switch where applicable to emulate case behaviour.
3814         * baseboards/h8300.exp: Likewise.
3815         * lib/framework.exp (clone_output): Likewise.
3816         (clear_xfail): Likewise.
3817         (clear_kfail): Likewise.
3818         * lib/libgloss.exp (process_multilib_options): Likewise.
3819         * runtest.exp: Likewise.
3821 2006-06-06  Ben Elliston  <bje@gnu.org>
3823         * Makefile.am (CONTRIB): New.
3824         (EXTRA_DIST): Add $(CONTRIB).
3825         (doc/dejagnu.texi): Set directory-category param to docbook2texi.
3826         * Makefile.in: Regenerate.
3827         * doc/dejagnu.texi: Likewise.
3829 2006-06-06  Ben Elliston  <bje@gnu.org>
3831         * runtest.exp (load_lib): Typo fix.
3833 2006-06-06  Ben Elliston  <bje@gnu.org>
3835         * dejagnu.h: Tidy comments.
3836         (_BUFFER_SIZE_): Remove to minimise namespace pollution.
3837         (wait): Define this function unconditionally.  Conditionally
3838         compile the function body if _DEJAGNU_WAIT_ is defined.
3839         (buffer): Set the buffer size explicitly.
3840         (pass): Use sizeof (buffer).  Call wait() unconditionally.
3841         (fail, untested, unresolved, note): Likewise.
3842         (enum teststate): Tidy whitespace.
3844 2006-06-06  Ben Elliston  <bje@gnu.org>
3846         * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
3847         * doc/dejagnu.texi: Regenerate.
3849 2006-06-06  Ben Elliston  <bje@gnu.org>
3851         Import from GCC tree:
3852         2006-06-02  Richard Earnshaw  <rearnsha@arm.com>
3853                     Mike Stump  <mrs@apple.com>
3855         * compare_tests: Handle multilibs better.
3857 2006-06-06  Ben Elliston  <bje@gnu.org>
3859         * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
3861         * configure.ac: Check for docbook2texi, not docbook2x-texi.  The
3862         wrapper script changed its name again in the latest release.
3863         * configure: Regenerate.
3864         * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
3865         (DOCBOOK2TEXI): .. to this.
3866         (doc/dejagnu.texi): Do not use output-file parameter to deposit
3867         the .texi file into the source directory; use mv(1) instead. Set
3868         directory-description parameter.
3869         * Makefile.in: Likewise.
3871 2006-06-02  Ben Elliston  <bje@gnu.org>
3873         * config/sim.exp (sim_upload): Match up argument names.
3875 2006-06-02  Ben Elliston  <bje@gnu.org>
3877         * config.guess: Update to most recent version.
3878         * config.sub: Likewise.
3880 2006-06-02  Ben Elliston  <bje@gnu.org>
3882         * config/dos.exp (dos_open): Only run global board_info once at
3883         the beginning of the proc; remove duplicates.
3884         (dos_load): Use file join to separate path components.
3885         (dos_copy_upload): Likewise.
3886         * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
3887         an error.
3889 2006-06-02  Ben Elliston  <bje@gnu.org>
3891         * contrib/compare_tests: Import from the GCC contrib directory.
3893 2006-05-24  Ben Elliston  <bje@gnu.org>
3895         * runtest.exp (verbose): Brace some expressions.
3896         (load_file, search_and_load_file): Likewise.
3897         (runtest): Likewise.
3899 2006-05-23  Ben Elliston  <bje@gnu.org>
3901         * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
3902         * config/i960.exp (i960_spawn): Initialise status.
3903         * config/netware.exp (${board}_init): Brace some if expressions.
3904         * lib/dg.exp (dg-test): Brace some expressions.
3905         * lib/framework.exp (clone_output, log_and_exit, log_summary,
3906         record_test, pass, fail): Likewise.
3907         * lib/libgloss.exp (get_multilibs): Likewise.
3908         * lib/remote.exp (standard_transmit, unix_clean_filename,
3909         remote_load, check_for_board_status, remote_expect): Likewise.
3910         * lib/rsh.exp (rsh_exec): Likewise.
3912 2006-05-22  Ben Elliston  <bje@gnu.org>
3914         * baseboards/cris-sim.exp: Use switch, not case.
3915         * baseboards/h8300.exp: Likewise.
3916         * config/base68k.exp (base68k_ld): Brace an if expression.
3918 2006-05-22  Ben Elliston  <bje@gnu.org>
3920         * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
3921         baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
3922         baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
3923         baseboards/mmixware-sim.exp, baseboards/op50n.exp,
3924         baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
3925         baseboards/usparc-cygmon.exp, config/base-config.exp,
3926         config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
3927         config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
3928         config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
3929         config/netware.exp, config/sid.exp, config/sim.exp,
3930         config/tic80.exp, config/unix.exp, config/vxworks.exp,
3931         lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3932         lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
3933         lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
3934         lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
3935         expressions throughout.
3937 2006-05-22  Ben Elliston  <bje@gnu.org>
3939         * lib/framework.exp (open_logs): Use file join where applicable.
3940         * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
3941         newlib_include_flags, g++_link_flags, libstdc++_link_flags,
3942         get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
3943         * lib/utils.exp (which): Likewise.
3944         * runtest.exp (search_and_load_file, lookfor_file,
3945         load_tool_init): Likewise.
3947         * lib/debugger.exp (watcharray): Add `array' parameter.  Rename
3948         `type' parameter to `op' and update all uses in the proc.
3949         (watchvar): Add `ignore' parameter for scalar variables.
3950         Likewise, rename `type' to `op' and update throughout the proc.
3952         * runtest.exp: Use switch, not case.
3953         * lib/framework.exp (clone_output): Likewise.
3954         (clear_xfail): Likewise.
3955         (clear_kfail): Likewise.
3956         (set_warning_threshold): Make warning_threshold global.
3957         (get_warning_threshold): Likewise.
3958         * lib/libgloss.exp (process_multilib_options): Use switch, not
3959         case.
3960         * lib/remote.exp (local_exec): Only run global errorInfo once.
3961         (standard_upload): Fix error in variable use ($file -> $srcfile).
3962         * lib/utils.exp (grep): Use switch, not case.
3963         (slay): Fix mismatched bracket.
3965         * lib/debugger.exp (watcharray): Use switch, not case.
3966         (watchvar): Likewise.
3967         (bt): Add an explanatory comment.
3969 2006-04-03  Ben Elliston  <bje@gnu.org>
3971         * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
3972         lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
3973         lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
3975 2006-01-02  Ben Elliston  <bje@gnu.org>
3977         * configure.ac (AC_INIT): Set version to 1.4.99.
3978         * configure: Regenerate.
3980 2006-01-01  Ben Elliston  <bje@gnu.org>
3982         * testsuite/runtest.all/utils.test: Add runtest_file_p.
3984 2006-01-01  Ben Elliston  <bje@gnu.org>
3986         * runtest.exp (frame_version): Set to 1.4.99.
3988 2006-01-01  Ben Elliston  <bje@gnu.org>
3990         * dejagnu.h: Update copyright notice.  Use C-style /* .. */
3991         comments for portability with ISO C compilers.
3992         * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
3994 2006-01-01  Ben Elliston  <bje@gnu.org>
3996         * runtest.exp: Update copyright notice.
3997         * example/calc/testsuite/calc.test/calc.exp: Likewise.
3998         * example/calc/testsuite/config/unix.exp: Likewise.
3999         * testsuite/libdejagnu/tunit.exp: Likewise.
4000         * testsuite/runtest.all/libs.exp: Likewise.
4001         * testsuite/runtest.all/options.exp: Likewise.
4002         * testsuite/runtest.all/stats-sub.exp: Likewise.
4003         * testsuite/runtest.all/stats.exp: Likewise.
4005 2006-01-01  Ben Elliston  <bje@gnu.org>
4007         * config/default.exp, config/unix.exp, config/vxworks.exp,
4008         lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
4009         lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
4010         Formatting fixes.
4011         * dejagnu.h, testsuite/config/default.exp,
4012         testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
4013         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
4014         testsuite/runtest.all/options.exp,
4015         testsuite/runtest.all/stats-sub.exp,
4016         testsuite/runtest.all/stats.exp: Update copyright notice and FSF
4017         office address. Remove bug reporting address, as it is now
4018         maintained centrally in the README file.
4020 2005-12-31  Ben Elliston  <bje@gnu.org>
4022         * testsuite/runtest.all/utils.test: Don't bother mentioning
4023         absolute, psource, prune and slay as untested procedures.
4025 2005-12-31  Ben Elliston  <bje@gnu.org>
4027         * doc/ref.xml (Utility Procedures): Note that the following
4028         procedures are deprecated: absolute, psource, prune, slay.
4029         * NEWS: Likewise.
4030         * doc/dejagnu.texi: Regenerate.
4032 2005-12-24  Ben Elliston  <bje@gnu.org>
4034         * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
4035         case the command fails and zeroes the Texinfo source file.  Move
4036         the output (if successful) by its default filename using mv(1).
4037         * Makefile.in: Regenerate.
4039 2005-12-24  Ben Elliston  <bje@gnu.org>
4041         * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
4042         * configure: Regenerate.
4043         * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
4044         (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
4045         (dejagnu.pdf): Use $(DOCBOOK2PDF).
4046         (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
4047         (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
4048         (html): Likewise, use $(DOCBOOK2HTML).
4049         (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
4050         which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
4051         * Makefile.in: Regenerate.
4053 2005-12-24  Ben Elliston  <bje@gnu.org>
4055         * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
4056         (XML): Remove $(srcdir) from each filename; VPATH suffices.
4057         (PACKAGING_METAFILES): Remove.
4058         * Makefile.in: Regenerate.
4060 2005-12-24  Ben Elliston  <bje@gnu.org>
4062         * README: Rewrite.
4064 2005-12-24  Ben Elliston  <bje@gnu.org>
4066         * COPYING: Update.
4068 2005-12-24  Ben Elliston  <bje@gnu.org>
4070         * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
4071         subdirectory.
4073 2005-12-24  Ben Elliston  <bje@gnu.org>
4075         * Makefile.am (RUNTEST): Simplify, as Automake already generates
4076         similar logic in Makefile.in.
4077         * Makefile.in: Regenerate.
4079 2005-12-24  Ben Elliston  <bje@gnu.org>
4081         * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
4082         libdejagnu tests are run too.
4083         * Makefile.in: Regenerate.
4085 2005-12-24  Ben Elliston  <bje@gnu.org>
4087         * configure: Regenerate.
4089         * lib/remote.exp: Tidy.
4090         * lib/targetdb.exp: Likewise.
4091         * lib/target.exp (prune_warnings): Improve comments.
4092         * lib/dejagnu.exp: Likewise.
4093         * lib/utils.exp: Likewise.
4095         * NEWS: Update.
4097 2005-12-24  Ben Elliston  <bje@gnu.org>
4099         * doc/dejagnu.xml: Don't use apostrophes in section titles.
4100         * doc/dejagnu.texi: Regenerate.
4102 2005-12-24  Ben Elliston  <bje@gnu.org>
4104         * Makefile.am (XML): Include $(srcdir) in filenames.
4105         * Makefile.in: Regenerate.
4107 2005-12-24  Ben Elliston  <bje@gnu.org>
4109         * doc/C/Makefile.am: Remove.
4110         * doc/C/Makefile.in: Likewise.
4112         * Makefile.am (SUBDIRS): Remove.
4113         (EXTRA_DIST): Append $(XML).
4114         (dist_man_MANS): Define.
4115         (info_TEXINFOS): Likewise.
4116         (XML): List XML source files.
4117         (dejagnu.pdf): New target.
4118         (dejagnu.ps): Likewise.
4119         (dejagnu.rtf): Likewise.
4120         (html): Likewise.
4121         (dejagnu.texi): Special rule to build Texinfo source.
4122         * Makefile.in: Regenerate.
4123         * configure.ac: Don't search for docbook2dvi.
4124         Search for docbook2rtf and docbook2pdf.
4125         Don't output doc/Makefile or doc/C/Makefile.
4126         * configure: Regenerate.
4127         * doc/texinfo.tex: Move from here ..
4128         * texinfo.tex: .. to here.
4129         * doc/Makefile.am: Remove.
4130         * doc/Makefile.in: Likewise.
4131         * doc/C/dejagnu.omf: Likewise.
4132         * doc/C/topic.dat: Likewise.
4133         * doc/C/dejagnu.xml: Move from here ..
4134         * doc/dejagnu.xml: .. to here.
4135         * doc/C/legal.xml: Move from here ..
4136         * doc/legal.xml: .. to here.
4137         * doc/C/ref.xml: Move from here ..
4138         * doc/ref.xml: .. to here.
4139         * doc/C/user.xml: Move from here ..
4140         * doc/user.xml: .. to here.
4141         * doc/dejagnu.texi: Rebuild from XML source.
4143 2005-12-23  Ben Elliston  <bje@gnu.org>
4145         * doc/runtest.1: Update manual page.
4147 2005-12-23  Ben Elliston  <bje@gnu.org>
4149         * doc/overview.sgml: Remove in favour of XML versions.
4150         * doc/ref.sgml: Ditto.
4151         * doc/user.sgml: Ditto.
4152         * doc/texinfo.tex: Import new version.
4154 2005-12-20  Ben Elliston  <bje@gnu.org>
4156         * Makefile.am (SUBDIRS): Remove testsuite, example.
4157         (EXTRA_DIST): Add $(TESTSUITE_FILES).
4158         (TESTSUITE_FILES): New.
4159         (RUNTEST, RUNTESTDEFAULTFLAGS): New.
4160         (AM_CXXFLAGS): Set.
4161         (check_PROGRAMS): New.
4162         (unit_SOURCES): New.
4163         * Makefile.in: Regenerate.
4164         * configure.ac (AC_OUTPUT): Don't output example/Makefile,
4165         testsuite/Makefile or testsuite/libdejagnu/Makefile.
4166         * configure: Regenerate.
4167         * testsuite/Makefile.am: Remove.
4168         * testsuite/Makefile.in: Likewise.
4169         * testsuite/libdejagnu/Makefile.am: Likewise.
4170         * testsuite/libdejagnu/Makefile.in: Likewise.
4172 2005-12-20  Ben Elliston  <bje@gnu.org>
4174         * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
4175         * Makefile.in: Regenerate.
4177 2005-12-20  Ben Elliston  <bje@gnu.org>
4179         * configure: Regenerate with autoconf 2.59.
4180         * aclocal.m4: Regenerate with aclocal 1.9.6.
4181         * Makefile.in: Regenerate with automake 1.9.6.
4182         * doc/Makefile.in: Likewise.
4183         * doc/C/Makefile.in: Likewise.
4184         * example/Makefile.in: Likewise.
4185         * testsuite/Makefile.in: Likewise.
4186         * testsuite/libdejagnu/Makefile.in: Likewise.
4188 2005-12-20  Nathan Sidwell  <nathan@codesourcery.com>
4190         * baseboards/ms1-sid.exp: Rename from this ..
4191         * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
4193 2005-12-20  Ben Elliston  <bje@gnu.org>
4195         * config.guess: Update to most recent version.
4196         * config.sub: Likewise.
4198 2005-09-24  Ben Elliston  <bje@gnu.org>
4200         * packaging/pkg/pkginfo (EMAIL): Update mail address.
4202         * lib/rsh.exp: Tidy comments.
4204 2005-07-07  Ben Elliston  <bje@gnu.org>
4206         * lib/telnet.exp (telnet_transmit): Remove; use standard method.
4208 2005-07-07  Ben Elliston  <bje@gnu.org>
4210         * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
4211         * Makefile.in: Regenerate.
4213 2005-07-06  Ben Elliston  <bje@gnu.org>
4215         * lib/tip.exp (tip_open): Improve comments.
4216         (tip_download): Likewise.
4218 2005-07-06  Ben Elliston  <bje@gnu.org>
4220         * lib/telnet.exp (telnet_open): Improve option handling.  Clarify
4221         documentation for each proc.
4223 2005-07-06  Ben Elliston  <bje@gnu.org>
4225         * aclocal.m4: Regenerate with aclocal 1.9.
4226         * configure: Regenerate with autoconf 2.59.
4227         * doc/C/Makefile.am: Remove stray include.
4228         * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
4229         example/Makefile.in, testsuite/Makefile.in,
4230         testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
4232 2005-07-06  Ben Elliston  <bje@gnu.org>
4234         Import some missing hunks from this patch on sourceware:
4236         2004-11-11  Nick Clifton  <nickc@redhat.com>
4238         * lib/libgloss.exp (libio_include_flags, g++_include_flags,
4239         winsup_include_flags): Revert previous patch, restoring the use of
4240         -I, for all libraries except newlib.  Newlib needs -isystem to
4241         avoid the problems with <limits.h> but the C++ and winsup
4242         libraries need -I because -isystem generates an implicit 'extern
4243         "C"' which may not be appropriate for certain targets.
4245 2005-07-06  Aldy Hernandez  <aldyh@redhat.com>
4247         * baseboards/ms1-sid.exp: New.
4249 2005-07-01  Ben Elliston  <bje@gnu.org>
4251         Unify some changes with the 1.4 branch:
4253         2004-10-28  Nick Clifton  <nickc@redhat.com>
4254         * baseboards/iq2000-sim.exp: New file.
4256         2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4257         * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4258         noresults to zero.
4260         2004-05-13  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4261         * baseboards/m32r-linux-sim.exp: Add New file.
4263 2005-06-24  Ben Elliston  <bje@gnu.org>
4265         * MAINTAINERS: Update my email address.
4267 2005-06-24  Ben Elliston  <bje@gnu.org>
4269         * Update the FSF's physical address throughout.
4271 2005-06-22  Ben Elliston  <bje@gnu.org>
4273         * config.guess: Update to most recent version.
4274         * config.sub: Likewise.
4276 2005-04-28  Mark Kettenis  <kettenis@gnu.org>
4278         * lib/target.exp (prune_warnings): Add a few more linker
4279         warning patterns for OpenBSD.
4281 2005-03-20  Mark Kettenis  <kettenis@gnu.org>
4283         * lib/target.exp (prune_warnings): Add linker warning patterns for
4284         OpenBSD.
4286 2005-01-29  Hans-Peter Nilsson  <hp@axis.com>
4288         * baseboards/cris-sim.exp: New file.
4290 2004-11-19  Nick Clifton  <nickc@redhat.com>
4292         * lib/libgloss.exp (newlib_include_flags): Document why -isystem
4293         is used instead of -I.
4294         (libio_include_flags): Use -I instead of -isystem and
4295         document why.
4296         (g++_include_flags): Use -I instead of -isystem.
4297         (libstdc++_include_flags): Likewise.
4299 2004-11-04  Ben Elliston  <bje@gnu.org>
4301         * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
4302         mark the test as unresolved, rather than warning.
4304 2004-10-27  Nick Clifton  <nickc@redhat.com>
4306         * baseboards/iq2000-sim.exp: New file.
4308 2004-08-20  Daniel Jacobowitz  <dan@debian.org>
4310         * testglue.c: Prototype abort(3) and exit(3).
4312 2004-08-14  Paul Brook  <paul@codesourcery.com>
4314         * config/sim.exp (sim_download, sim_upload): New procs.
4316 2004-06-30  Ben Elliston  <bje@gnu.org>
4318         * config.guess: Update to current revision.
4319         * config.sub: Likewise.
4321 2004-06-12  Ben Elliston  <bje@gnu.org>
4323         * config.guess: Update to current revision.
4324         * config.sub: Likewise.
4326 2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4328         * testglue.c: Prototype abort and exit.
4330 2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4332         * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4333         string.
4335 Tue Feb 25 05:19:57 UTC 2003  Brendan Conoboy  <blc@@redhat.com>
4337         * lib/remote.exp (call_remote): Remove multilibs from the board
4338         name when rebooting a board.
4340 2004-06-03  Alexandre Oliva  <aoliva@redhat.com>
4342         * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4343         noresults to zero.
4345 2004-06-07  Ben Elliston  <bje@gnu.org>
4347         * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4349 2004-03-29  Joel Brobecker  <brobecker@gnat.com>
4351         * lib/libgloss.exp (find_gnatmake): New procedure.
4352         * lib/target.exp (default_target_compile): Add support for Ada.
4354 2004-04-16  Kazuhiro Inaoka  <inaoka dot kazuhiro at renesas dot com>
4356         * baseboards/m32r-linux-sim.exp: Add New file.
4358 2004-04-02  Rob Savoye  <rob@direwolf.welcomehome.org>
4360         * configure.ac, example/Makefile.am: Add example/mathhelper.
4361         * configure, alocal.m4, example/Makefile.in: Regenerated.
4363 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4365         * example/mathhelper: New example for using the unit testing API.
4367 2004-03-05  Daniel Jacobowitz  <drow@mvista.com>
4369         * lib/remote.exp (standard_spawn): Fix rsh username support.
4371 2004-03-06  Rob Savoye  <rob@althea.welcomehome.org>
4373         * doc/C: New directory for DocBook XML files.
4374         * doc/C/dejagnu.omf: New config file for scrollkeeper.
4375         * doc/C/topic.dat: New config file for the GNOME help system.
4376         * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4377         overview.sgml.
4378         * doc/C/ref.xml: DocBook XML formatted verion of what was
4379         ref.sgml.
4380         * doc/C/user.xml: DocBook XML formatted verion of what was
4381         user.sgml.
4383 2004-02-17  Ben Elliston  <bje@wasabisystems.com>
4385         * runtest.exp: Do not trap SIGSEGV.
4387 2004-02-16  Ben Elliston  <bje@wasabisystems.com>
4389         * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4390         * configure: Regenerate.
4392 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4394         * doc/runtest.1: Improve some wording. Update last revision date.
4396 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4398         * NEWS: Document yesterday's work.
4400         * runtest: Improve comments.
4402 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4404         * TODO: Update.
4406         * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4408 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4410         * configure.ac: Quote strings throughout in good Autoconf style.
4411         Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4412         expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4413         existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4414         is at version 8.3 or greater.
4415         * configure: Regenerate.
4416         * acinclude.m4: Remove.
4417         * aclocal.m4: Regenerate.
4418         * Makefile.in: Likewise.
4419         * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4420         (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4421         (%.html: %.sgml): Use $(DOCBOOK2HTML).
4422         * doc/Makefile.in: Regenerate.
4423         * example/Makefile.in: Likewise.
4424         * testsuite/Makefile.in: Likewise.
4425         * testsuite/libdejagnu/Makefile.in: Likewise.
4426         * TODO: Update.
4428 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
4430         * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4431         * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4432         baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4433         baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4434         baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4435         baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4436         baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4437         baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4438         baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4439         baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4440         baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4441         baseboards/vr5000-ddb.exp: Likewise.
4443 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4445         * runtest: Terminate with an error if expect cannot be found.
4446         * TODO: Update.
4448 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4450         * configure.ac: Use AC_PATH_PROG to find expect(1).
4451         (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4452         * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4453         (DJ_AC_STL): Likewise.
4454         * configure: Regenerate.
4455         * aclocal.m4: Likewise.
4456         * configure: Likewise.
4457         * Makefile.in: Likewise.
4458         * doc/Makefile.in: Likewise.
4459         * example/Makefile.in: Likewise.
4460         * testsuite/Makefile.in: Likewise.
4461         * testsuite/libdejagnu/Makefile.in: Likewise.
4462         * TODO: Update.
4464 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4466         * runtest.1: Remove any mention of mondfe.
4468 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4470         * TODO: Add an item about timeouts.
4472 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
4474         * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4476 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4478         * lib/standard.exp: Tidy.
4480 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4482         * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4483         (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4484         (baseboard_SCRIPTS): Remove a29k-udi.exp.
4485         * Makefile.in: Regenerate.
4486         * baseboards/a29k-udi.exp: Remove.
4487         * baseboards/dos.exp: Update comments.
4488         * config/udi.exp: Remove.
4489         * config/vrtx.exp: Remove.
4490         * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4491         * doc/ref.sgml: Likewise.
4492         * doc/user.sgml: Likewise.
4493         * lib/mondfe.exp: Remove.
4494         * lib/xsh.exp: Likewise.
4495         * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4496         * packaging/pkg/prototype: Update.
4497         * NEWS: Update.
4499 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4501         * Makefile.am (rpmspec): Remove.
4502         (rpm): Additionally depend on dejagnu.spec.
4503         ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4504         directory.  This saves duplicated code in the solpkg and hpdepot
4505         targets.
4506         (solpkg): Depend on $(PKGDIR)/dejagnu.
4507         (hpdepot): Likewise.
4508         * Makefile.in: Regenerate.
4510 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4512         * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4513         * Makefile.in: Regenerate.
4514         * testsuite/Makefile.am (CLEANFILES): Remove.
4515         (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4516         * testsuite/Makefile.in: Regenerate.
4518 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4520         * lib/util-defs.exp: Move from here ..
4521         * testsuite/lib/util-defs.exp: .. to here.
4522         * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4523         * Makefile.in: Regenerate.
4524         * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4525         * testsuite/Makefile.in: Regenerate.
4526         * doc/ref.sgml (File Map): Remove util-defs.exp.
4527         * packaging/pkg/prototype: Update file list.
4529 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4531         * NEWS: Document changes since 1.4.4.
4533 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4535         * example/Makefile.am (check-recursive): Remove target.
4536         * example/Makefile.in: Regenerate.
4538 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4540         * dejagnu.h: Conform with GNU coding standard.
4542 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4544         * Makefile.am (PKGING): Remove.
4545         (PACKAGING_METAFILES): Update accordingly.
4546         (CLEANFILES, check-DEJAGNU): Remove.
4547         (tarball): Remove; use `dist'.
4548         (deb): Update target recipe to use `make dist'.
4550 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4552         * Clean.tcl: Remove.
4554         * Makefile.am (SUBDIRS): Add testsuite, example directories.
4555         (EXTRA_DIST): Define.
4556         (pkgdata_SCRIPTS): Add lib/*.exp files.
4557         (DATE, TCLSH): Remove.
4558         (configdir, config_DATA, config_SCRIPTS): Define.
4559         (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4560         (pkgdata_DATA): Likewise.
4561         (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4562         (PKGING, PACKAGING_METAFILES): New macros.
4563         (clean-local): Remove.
4564         (rpm): Depend on dist.
4565         (deb): Likewise.
4566         (dist-hook): Remove.
4567         (lib_dest, lib_files): Likewise.
4568         (baseboard_dest, baseboard_files): Likewise.
4569         (include_dest, config_dest, config_files): Likewise.
4570         (install-data-local): Likewise.
4571         (uninstall-local): Likewise.
4572         (site.exp): Likewise.
4573         * Makefile.in: Regenerate.
4575         * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4576         (force): Likewise.
4577         (EXTRA_DIST): Define.
4578         (site.exp): Remove target.
4579         * testsuite/Makefile.in: Regenerate.
4580         * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4581         (noinst_PROGRAMS): Rename from this ..
4582         (check_PROGRAMS): .. to this.
4583         * testsuite/libdejagnu/Makefile.in: Regenerate.
4585         * doc/Makefile.am (man_MANS): Rename from this ..
4586         (dist_man_MANS): .. to this.
4587         (info_TEXINFOS): Define.
4588         (TARGETS): Remove overview.rtf.
4589         (EXTRA_DIST): Define.
4590         (%.rtf: %.sgml): Remove rule.
4591         (%.gif: %.fig): Likewise.
4592         (%.epsi: %.eps): Likewise.
4593         (%.eps: %.fig): Likewise.
4594         (clean, realclean, distclean): Remove.
4595         (install-docs): Don't install overview.rtf.
4596         * doc/Makefile.in: Regenerate.
4597         * doc/texinfo.tex: New file.
4599         * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4600         (check_PROGRAMS): .. to this.
4601         (EXTRA_DIST): Add test cases and calc.1 man page.
4602         * example/calc/Makefile.in: Regenerate.
4603         * example/calc/aclocal.m4: Likewise.
4604         * example/calc/configure: Likewise.
4605         * example/calc/stamp-h.in: Remove.
4606         * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4607         (check_PROGRAMS): .. to this.
4608         (EXTRA_DIST): Define.
4609         * example/hello/Makefile.in: Regenerate.
4610         * example/hello/aclocal.m4: Likewise.
4611         * example/hello/configure: Likewise.
4612         * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4613         * example/hello/testsuite/Makefile.in: Regenerate.
4615 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4617         * configure.ac: Remove commented out code.
4618         * configure: Regenerate.
4620 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4622         * site.tmpl: Tidy.
4624 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4626         * INSTALL: Import latest version.
4627         * depcomp: Likewise.
4628         * install-sh: Likewise.
4629         * missing: Likewise.
4631 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4633         * configure.in: Rename from this ..
4634         * configure.ac: .. to this.  Require Autoconf 2.50.
4635         * Makefile.in: Regenerate.
4636         * doc/Makefile.in: Likewise.
4637         * example/Makefile.in: Likewise.
4638         * testsuite/Makefile.in: Likewise.
4639         * testsuite/libdejagnu/Makefile.in: Likewise.
4641 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4643         * lib/target.exp (prune_warnings): Add spaces where required in
4644         NetBSD warnings.  Supersedes a patch in pkgsrc's devel/dejagnu.
4646 2004-02-05  Ben Elliston  <bje@wasabisystems.com>
4648         * config.guess: Update to current revision.
4649         * config.sub: Likewise.
4651 2004-02-04  Ben Elliston  <bje@wasabisystems.com>
4653         * configure.in (AC_NO_EXECUTABLES): Remove.
4654         * configure: Rebuild with Autoconf 2.59.
4655         * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4656         (DJ_AC_PATH_TCLSH): Likewise.
4657         (DJ_AC_PATH_DOCBOOK): Likewise.
4658         * aclocal.m4: Rebuild.
4659         * Makefile.in: Rebuild with Automake 1.8.2.
4660         * doc/Makefile.in: Likewise.
4661         * example/Makefile.in: Likewise.
4662         * testsuite/Makefile.in: Likewise.
4663         * testsuite/libdejagnu/Makefile.in: Likewise.
4665 2004-01-30  Ben Elliston  <bje@wasabisystems.com>
4667         Import orphaned patches from sources.redhat.com:
4669         2002-05-02  Fernando Nasser  <fnasser@redhat.com>
4670         * doc/dejagnu.texi: Document KFAIL and KPASS.
4672         2002-02-20  Richard Henderson  <rth@redhat.com>
4673         * lib/target.exp (prune_warnings): Revert early "In function"
4674         strip, as this breaks g++.dg tests.  Match dangerous regexp
4675         without the "In function" header.
4677         2002-02-09  Richard Henderson  <rth@redhat.com>
4678         * lib/target.exp (prune_warnings): Strip "In function" etc early.
4679         Adjust "dangerous" regexp for glibc's tmpnam warning.
4681         2001-09-10  Jim Blandy  <jimb@redhat.com>
4682         * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4683         so we get the version of the `outbyte' function that does console
4684         output in a way that GDB's rom68k target recognizes.  Note that
4685         the board can now do output.
4687         2000-04-25  Felix Lee  <flee@cygnus.com>
4688         * baseboards/tx39-sim.exp: Use idt, not dve linker script.  Delete
4689         misleading comments and null statements.
4691 2004-01-30  Ben Elliston  <bje@wasabisystems.com>
4693         * DejaGnu 1.4.4 released.
4695 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4697         * Makefile.am (tarball): Depend on book1.html, not overview.html.
4698         Don't echo needless messages. Portably copy the source tree to
4699         dejagnu-${VERSION}.  Portably copy documentation files from the
4700         source tree to the distribution directory.  Don't copy RPM-related
4701         files -- leave that to the rpm target.
4702         (snapshot): Remove target.
4703         (overview.html): Rename target from this ..
4704         (book1.htm): .. to this.
4705         (rpm): Portably copy tar file to SOURCES directory.
4706         (deb): Depend on book1.html, not overview.html.
4707         (dist-hook): Depend on book1.html, not overview.html.
4708         * Makefile.in: Rebuild.
4709         * doc/Makefile.am (TARGETS): Depend on book1.html.
4710         (book1.html): Depend on html/book1.html.
4711         (overview.dvi): Remove target.
4712         * doc/Makefile.in: Rebuild.
4714 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4716         * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4717         (cleanfiles): Concatenate regular filenames that match .*.
4719 2004-01-12  Ben Elliston  <bje@wasabisystems.com>
4721         * baseboards/frv-sim.exp: Remove reference to devo/sim.
4723 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4725         * doc/overview: Remove all files.
4727 2003-12-03  Ben Elliston  <bje@wasabisystems.com>
4729         * testsuite/runtest.all/utils.test: Fix a test for proc find which
4730         assumed that "subsubfile1" would appear at the end of the returned
4731         list.  Adjust to use a more robust regular expression.
4733 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
4735         * doc/overview.sgml (version): Update.
4736         * doc/overview/installation.html: Likewise.
4738         * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4739         * packaging/pkg/pkginfo: Likewise.
4740         * packaging/depot/dejagnu.psf: Likewise.
4742 2003-10-25  Ben Elliston  <bje@wasabisystems.com>
4744         * runtest.exp (frame_version): Bump version.
4745         * configure.in (AM_INIT_AUTOMAKE): Likewise.
4746         * configure: Regenerate.
4748 2003-10-16  Rob Savoye   <rob@welcomehome.org>
4750         * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4752 2003-10-13  Ben Elliston  <bje@wasabisystems.com>
4754         * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4756 2003-10-11  Corinna Vinschen  <vinschen@redhat.com>
4758         * baseboards/sh-sim.exp: New file.
4760 2003-10-11  Ben Elliston  <bje@wasabisystems.com>
4762         * NEWS: Tidy.
4763         * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
4765 2003-10-08  Ben Elliston  <bje@wasabisystems.com>
4767         * i960glue.c: Remove.
4768         * packaging/pkg/prototype: Remove i960glue.c.
4770 2003-10-07  Ben Elliston  <bje@wasabisystems.com>
4772         * contrib/README: Remove.
4773         * contrib/testit: Remove bitrotten script.
4774         * contrib/test-g++: Likewise.
4775         * contrib/test-tool: Likewise.
4777 2003-08-23  Ben Elliston  <bje@wasabisystems.com>
4779         * TODO: Tidy.
4780         * contrib/README: Bring up to date.
4782 2003-08-23  Corinna Vinschen  <vinschen@redhat.com>
4784         * config/sid.exp: Add gdb settings to use no hardware watchpoints.
4786 2003-08-23  Ben Elliston  <bje@wasabisystems.com>
4788         * README: Update section on reporting bugs.
4790 2003-08-22  Ben Elliston  <bje@wasabisystems.com>
4792         * lib/kermit.exp: Document procs.
4793         * lib/ftp.exp: Likewise.
4795 2003-08-19  Ben Elliston  <bje@wasabisystems.com>
4797         * contrib/testit: Run wish via /usr/bin/env for portability.
4799 2003-08-18  Ben Elliston  <bje@wasabisystems.com>
4801         * Makefile.am: Tidy comments and unused command lines.
4802         * Makefile.in: Regenerate.
4803         * testsuite/libdejagnu/Makefile.in: Likewise.
4805         * contrib/bluegnu2.0.3: Remove unsupported subtree.
4807 2003-08-18  Ben Elliston  <bje@wasabisystems.com>
4809         * MAINTAINERS: New file.
4811 2003-08-17  Ben Elliston  <bje@wasabisystems.com>
4813         * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
4814         * doc/Makefile.in: Regenerate.
4816 2003-08-16  Ben Elliston  <bje@wasabisystems.com>
4818         * doc/overview.sgml (overview): Start overhauling chapter.
4820         * doc/README.Writers: New document on style conventions.
4821         * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
4822         * doc/user.sgml: Likewise.
4823         * doc/overview.sgml: Likewise.
4824         * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
4826 2003-08-12  Ben Elliston  <bje@wasabisystems.com>
4828         * Makefile.am (tarball): Update path to dejagnu.spec.
4829         (rpmspec): Likewise.
4830         (deb): Likewise, update path to package metafiles.
4831         (solpkg): Likewise.
4832         (hpdepot): Likewise.
4833         * Makefile.in: Regenerate.
4834         * aclocal.m4: Likewise.
4835         * configure: Likewise.
4836         * doc/Makefile.in: Likewise.
4837         * example/Makefile.in: Likewise.
4838         * testsuite/Makefile.in: Likewise.
4839         * deb: Move from here ..
4840         * packaging/deb: .. to here.
4841         * redhat: Move from here ..
4842         * packaging/rpm: .. to here.
4843         * depot: Move from here ..
4844         * packaging/depot: .. to here.
4845         * pkg: Move from here ..
4846         * packaging/pkg: .. to here.
4848         * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
4849         (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
4850         * testsuite/libdejagnu/Makefile.in: Regenerate.
4852 2003-08-07  Ben Elliston  <bje@wasabisystems.com>
4854         * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
4855         to increment count rather than count++ as in C.
4857 2003-08-06  Ben Elliston  <bje@wasabisystems.com>
4859         * lib/remote.exp: Replace "TCL" with "Tcl".
4861 2003-07-30  Ben Elliston  <bje@wasabisystems.com>
4863         * doc/runtest.1: Replace "TCL" with "Tcl".
4864         Make last revision date current.
4866 2003-07-29  Ben Elliston  <bje@wasabisystems.com>
4868         * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
4869         URLs and other stylistic improvements.
4870         * doc/ref.sgml: Likewise.
4871         * doc/user.sgml: Likewise.
4873 2003-07-25  Mike Stump  <mrs@apple.com>
4875         * lib/target.exp (prune_warnings): Handle "nfs server .* not
4876         responding" and "nfs server .* is alive again".
4878 2003-07-20  Ben Elliston  <bje@wasabisystems.com>
4880         * config.guess: Update to most recent version.
4881         * config.sub: Ditto.
4882         * AUTHORS: Add self to list of maintainers.
4884 2003-07-25  Jim Dein  <jdein@deinji5.apple.com> (RIP)
4886         * lib/utils.exp (find): Fix double recursion bug.
4888 2002-02-25  Jackie Smith Cashion  <jsmith@redhat.com>
4890         * baseboards/am33_2.0-libremote.exp: New file.
4892 2000-11-21  Drew Moseley  <dmoseley@redhat.com>
4894         * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
4895         ASB2303 board.
4897 2000-08-10  Drew Moseley  <dmoseley@cygnus.com>
4899         * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
4900         ASB2303 board.
4902 2003-06-13  Phil Edwards <pme@devphil.com>
4904         * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
4905         baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
4906         only -T[linker] instead of -Wl,-T[linker].
4908 2003-06-13  Jason Thorpe  <thorpej@wasabisystems.com>
4910         * lib/target.exp (prune_warnings): Add two more linker
4911         warning patterns for warnings generated by modern verions
4912         of NetBSD.
4914 2003-05-12  H.J. Lu <hongjiu.lu@intel.com>
4916         * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
4918 2003-05-09  H.J. Lu <hongjiu.lu@intel.com>
4920         * runtest: Fix a typo.
4922 2003-05-03  Nitin Dhavale <nitinpdhavale@indiatimes.com>
4924         * doc/user.sgml: Clarify how to set the verbose option.
4926 2003-03-28 Chris Demetriou <cgd@broadcom.com>
4928         * lib/framework.exp (check_conditional_xfail): Adjust so that
4929         an empty 'includes' list matches all sets of flags.
4930         * doc/dejagnu.texi: Document the above.
4931         * doc/ref.sgml: Likewise.
4933 2003-03-27  David Heine <dlheine@tensilica.com>
4935         * baseboards/xtensa-sim.exp: Fix a syntax error.
4937 2003-03-16  Rob Savoye  <rob@direwolf.welcomehome.org>
4939         * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
4940         than stomp on it. This is based on a patch from Brendan Conoboy
4941         <blc@redhat.com>.
4942         * Most files: Update copyright dates.
4944 2003-03-13  Mike Stump  <mrs@apple.com>
4946         * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
4947         help ensure uniqueness.
4949 2003-03-05  Alexandre Oliva  <aoliva@redhat.com>
4951         * lib/remote.exp (standard_download, standard_upload): Support
4952         nfsdir and nfsroot_server.
4954 See ChangeLog-1992 for earlier changes.