Document the grand totals reported by report-card tool
[dejagnu.git] / ChangeLog
blob3f47e7624339e7cffa3d1df6eb93597a2b6d5091
1 2023-11-22  Jacob Bachmeyer  <jcb@gnu.org>
3         PR67391
5         * doc/dejagnu.texi (Invoking dejagnu report card): Document
6         existence of totals rows in the produced table.
8 2023-11-07  Jacob Bachmeyer  <jcb@gnu.org>
10         PR66984
12         * runtest.exp: Change tests for [info exists target_alias] to
13         instead test for the empty string, to which target_alias is
14         unconditionally initialized at early startup.
16 2023-04-20  Jacob Bachmeyer  <jcb@gnu.org>
18         PR62982
20         Initial report:  Christoph Muellner <christoph.muellner@vrull.eu>
22         * runtest.exp (restore_cmd_vars): Fix handling of values
23         containing whitespace, which are treated as multiple-element
24         lists and disrupt the eval implied by uplevel here.
26         * testsuite/runtest.main/options.exp: Add PR62982 regression test.
27         Improve tests for --target_board option by checking reported
28         target list instead of relying on actually running targets for
29         which no description file exists.
31         * testsuite/runtest.main/options.exp: Change argument lists for
32         test cases to conventional Tcl list notation using braces.
34 2023-04-18  Jacob Bachmeyer  <jcb@gnu.org>
36         * testsuite/runtest.main/options.exp: Adjust pattern matched in
37         --objdir test to require the objdir given on the command line to
38         remain in force immediately after the local init file is loaded.
40 2022-12-20  Jacob Bachmeyer  <jcb@gnu.org>
42         * dejagnu.h (totals, TestState::totals): Change "real failed" to
43         "failed" when listing number of failed tests.
44         * testsuite/libdejagnu/harness.exp (test_libdejagnu_unit): Update
45         to match above change.
47         * dejagnu.h (DG_error, DG_warning): New functions.
48         (TestState::error, TestState::warning): New methods.
49         * doc/dejagnu.texi (C unit testing API): Document new functions.
50         (C++ unit testing API): Document new methods and fix an error:
51         TestState::unsupported does not take varargs.
52         * testsuite/libdejagnu/unit-c.c (main): Add support for testing
53         errors and warnings.
54         * testsuite/libdejagnu/unit-cxx.cxx (main): Likewise.
55         * testsuite/libdejagnu/unit-ccxxmix.cxx (main): Likewise.
56         * testsuite/libdejagnu/harness.exp: Add tests.
57         (test_libdejagnu_unit): Add support for ERROR and WARNING tokens.
59         * doc/dejagnu.texi (DejaGnu unit test protocol): Add ERROR and
60         WARNING tokens to DejaGnu unit testing protocol.
61         * lib/dejagnu.exp (host_execute): Implement same.
62         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp,
63           testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
64         Add support for testing ERROR and WARNING tokens.
65         * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
66         results after warnings and errors in unit test programs.
68         * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
69         results after warnings and errors.
70         * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
71         Add support for above.
73 2022-11-30  Jacob Bachmeyer  <jcb@gnu.org>
75         * testsuite/libdejagnu/unit.exp: Rename this...
76         * testsuite/libdejagnu/harness.exp: ...to this.
78         * doc/dejagnu.texi (C++ unit testing API): Document recent
79         improvements and the rest of the C++ API.
81         * dejagnu.h (TestState::TestState): Only perform initialization
82         when the first TestState object is constructed.
83         (DG): Add global TestState object.
85         * dejagnu.h (DG__endmsg): New function, called using atexit().
86         (endmsg_registered, TestState_count): Add fields to DG__status.
87         (DG__init): New function, to register DG__endmsg.
88         (pass, xpass, fail, xfail, untested, unresolved, unsupported)
89         (note): Call DG__init to ensure libdejagnu initialization.
90         (totals): Move "END" message to DG__endmsg.
91         (TestState::TestState): Consider DG__endmsg registered when a
92         TestState object is constructed.
93         (TestState::TestState, TestState::~TestState): Track number of
94         live TestState objects in global status structure.
95         (TestState::~TestState): Call totals() and emit "END" message only
96         when the last TestState object is destroyed.
98         * dejagnu.h (outstate): Remove.
99         (TestState::pass, TestState::xpass, TestState::fail)
100         (TestState::xfail, TestState::untested, TestState::unresolved)
101         (TestState::unsupported, TestState::note): Remove support for
102         overriding protocol tag lines.
103         (outstate_list): Rename this...
104         (DG__outstate_list): ...to this to mark it as internal.
105         (teststate): Rename this...
106         (DG_teststate): ...to this to avoid name collisions with user code.
107         (TestState::TestState): Sort lines by length.
109         * dejagnu.h (buffer): Remove this variable.
110         (pass, xpass, fail, xfail, untested, unresolved, unsupported)
111         (note): Replace use of buffer and vsnprintf with flockfile,
112         multiple writes, and funlockfile in all functions.
114         * dejagnu.h (DG__status): New struct for test counters.
115         (passed, failed, xpassed, xfailed, untest, unresolve, unsupport):
116         Move all counters into new struct, changing all functions.
118         * doc/dejagnu.texi (C unit testing API): Document use of "DG_"
119         prefix in dejagnu.h and "DG__" for internal symbols.
120         (C++ unit testing API): Likewise.  Also declare namespace
121         "DejaGnu" reserved for future expansion.
123 2022-11-29  Jacob Bachmeyer  <jcb@gnu.org>
125         * Makefile.in: Regenerate.
126         * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-ccxxmix.
127         (testsuite_libdejagnu_unit_ccxxmix_SOURCES): Add.
128         * testsuite/libdejagnu/unit.exp: Add tests for C/C++ mixed usage.
129         * testsuite/libdejagnu/unit-ccxxmix.cxx: New file.
131         * testsuite/libdejagnu/unit.exp: Add note that tests for the
132         framework side of the unit testing protocol are located in
133         testsuite/runtest.main/stats.exp and its nested testsuite.
135         * Makefile.in: Regenerate.
136         * Makefile.am (check_PROGRAMS): Remove unit.
137         (unit_SOURCES): Remove.
138         * testsuite/libdejagnu/tunit.exp: Remove file.
139         * testsuite/libdejagnu/unit.cc: Remove file.
140         The limited coverage of this test is now included in unit.exp
141         and unit-cxx, and supporting this test required some leaky
142         abstractions in dejagnu.h that can now be cleaned up.
144         * Makefile.in: Regenerate.
145         * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-cxx.
146         (testsuite_libdejagnu_unit_cxx_SOURCES): Add.
147         * testsuite/libdejagnu/unit.exp: Add tests for C++ unit test API.
148         * testsuite/libdejagnu/unit-cxx.cxx: New file.
150         * dejagnu.h (TestState::totals): Emit header line, like the C version.
152         * dejagnu.h (TestState::note): New method, like C note().
153         * doc/dejagnu.texi (C++ unit testing API): Add note() method.
155         * doc/dejagnu.texi (C++ unit testing API): Fix incorrect
156         documentation.  The C and C++ interfaces share the same global
157         counters, as do all C++ TestState objects.
159 2022-11-28  Jacob Bachmeyer  <jcb@gnu.org>
161         * dejagnu.h: Remove _DEJAGNU_WAIT_ conditional and revise comment
162         to explain improved solution to the problem for which it seems to
163         have been intended as a workaround.
164         (wait): Remove this function.  It conflicted with POSIX wait(2);
165         this conflict was reported as PR59586.
167         * testsuite/runtest.main/stats.exp: Add test for UNSUPPORTED
168         result from a unit test program.
169         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
170         Update to account for addition of END marker and UNSUPPORTED to
171         DejaGnu unit testing protocol.
173         * dejagnu.h: Add UNSUPPORTED test result.
174         (unsupport): New counter variable for UNSUPPORTED results.
175         (unsupported): New function in C API.
176         (TestState::unsupported): New function in C++ API.
177         (outstate_list): Add UNSUPPORTED entry.
178         (teststate::laststate): Likewise.
179         (totals): Mention number of unsupported tests.
180         (TestState::totals): Likewise for C++ API.
181         * lib/dejagnu.exp (host_execute): Add UNSUPPORTED test result.
182         * doc/dejagnu.texi (DejaGnu unit test protocol): Document same.
183         (C unit testing API): Document new function for same.
184         (C++ unit testing API): Document new function for same.
186         * testsuite/libdejagnu/unit-c.c: Add test for UNSUPPORTED.
187         * testsuite/libdejagnu/unit.exp: Likewise.
189         * testsuite/libdejagnu/unit.exp: Add test for NOTE message.
191 2022-11-26  Jacob Bachmeyer  <jcb@gnu.org>
193         * Makefile.in: Regenerate.
194         * Makefile.am (AM_CXXFLAGS): Change this...
195         (AM_CPPFLAGS): ...to this.  (Also remove -g flag.)
196         (check_PROGRAMS): Add testsuite/libdejagnu/unit-c.
197         (testsuite_libdejagnu_unit_c_SOURCES): Add.
198         (TESTSUITE_FILES): Update.
199         * testsuite/libdejagnu/unit-c.c: New file.
200         * testsuite/libdejagnu/unit.exp: New file.
202         * dejagnu.h (xpass): Fix use of wrong counter.
203         (xfail): Likewise.
204         (totals): Report unexpected passes if any occurred.
206         * doc/dejagnu.texi (DejaGnu unit test protocol): Add end marker
207         line using "END" to allow detecting tests that exit prematurely.
208         The "Totals:" line was previously used for this purpose, but it
209         does not match the pattern documented as reserved for carrying
210         unit test results and information.
212         * lib/dejagnu.exp (host_execute): Remove test for "Totals" line.
213         (host_execute): Add corresponding support for the new line types.
215         * dejagnu.h (totals): Add end marker.
216         (TestState::totals): Likewise.
218 2022-10-04  Jacob Bachmeyer  <jcb@gnu.org>
220         PR58065
222         * lib/dg.exp (dg-test): Store results of analyzing messages in a
223         list, then report them to the framework after giving the pruning
224         callback an opportunity to skip the test case.
226         * testsuite/runtest.libs/dg.test: Add tests for skipping tests
227         based on special result codes from mock-dg-prune.
228         (mock-dg-test): Add directive for output text.
229         (mock-dg-prune): Recognize special markers for
230         UNRESOLVED/UNSUPPORTED/UNTESTED result codes.
232 2022-10-01  Jacob Bachmeyer  <jcb@gnu.org>
234         PR58065
236         * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks):
237         Report test failure instead of raising errors.
239         * testsuite/runtest.libs/dg.test: Add more unit tests.
240         (eval_tests): Copy this procedure...
241         * testsuite/runtest.libs/target.test (eval_tests): ...from here.
243 2022-09-30  Jacob Bachmeyer  <jcb@gnu.org>
245         PR58065
247         * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks): Add
248         usage comment and option to match number of calls for test.
249         (create_test_interpreter): Add support for mockvfs.
251         * testsuite/runtest.libs/dg.test: New file.
253 2022-09-29  Jacob Bachmeyer  <jcb@gnu.org>
255         PR58065
257         * testsuite/runtest.libs/mockvfs.tcl: New file.
259 2022-09-26  Jacob Bachmeyer  <jcb@gnu.org>
261         * testsuite/runtest.libs/libs.exp (process_test): Add forward
262         slash to the list of characters recognized as text.
264 2022-01-21  Jacob Bachmeyer  <jcb@gnu.org>
266         PR53427
268         * runtest.exp (runtest): Reset the global warning and error
269         counters before running each test file.  This prevents an error
270         "left over" from a previous test file from causing the first test
271         in the next file to be spuriously reported as UNRESOLVED.
273         * Makefile.am (TESTSUITE_FILES): Add new files.
275         * testsuite/runtest.main/pr53427.exp: New file for regression test.
276         * testsuite/runtest.main/nested/testsuite/pr53427.test/a.exp: Likewise.
277         * testsuite/runtest.main/nested/testsuite/pr53427.test/b.exp: Likewise.
279 2021-06-29  Jacob Bachmeyer  <jcb@gnu.org>
281         PR49250
283         * runtest.exp: Adjust detection logic for deprecated broken legacy
284         case of a testsuite not actually in a testsuite/ directory.
286         This was never supported but happened to work in older versions.
288 2021-05-22  Jacob Bachmeyer  <jcb@gnu.org>
290         * Makefile.am (TESTSUITE_FILES): Correct oversight.
292         * configure, Makefile.in, aclocal.m4: Regenerate.
294         * runtest.exp, configure.ac, doc/version.texi: Update version.
296         * dejagnu: Fix error message.
298         * config.guess: Import patched version; patches sent upstream.
300         * commands/help.sh: Add test mode in which man(1) is never
301         actually invoked.  The ability to reference a manpage by absolute
302         file name seems to be unique to Free systems.
303         * testsuite/launcher.all/help.exp: Amend test list to use new
304         testing mode in "dejagnu help" command.  This mode should also
305         work on Solaris, so the logic for skipping the tests is removed.
307 2021-05-20  Jacob Bachmeyer  <jcb@gnu.org>
309         * dejagnu: Search for a POSIX Awk and validate that at least a
310         simple Awk program actually works.
311         * testsuite/launcher.all/command.exp: Add tests for error produced
312         when no Awk is found and a help message is requested.
314         * lib/dejagnu.exp: Avoid reporting next test as UNRESOLVED when
315         reporting error due to missing size(1) while loading file.
317         * testsuite/lib/runtest.exp (runtest_copy_nested_testsuite_log):
318         New procedure.  Dumps log from nested run into main test log.
320         * testsuite/runtest.libs/utils.test: Change test for [which make]
321         to [which sh] because make(1) is not always available on non-GNU
322         systems but sh(1) exists on any Unix.  GNU make is often installed
323         as "gmake" on non-GNU systems and may be the only "make" utility.
325         * testsuite/runtest.main/pr42399.exp (test_pr42399): Revise to
326         ensure that a failure to produce any output at all in the inner
327         test will be detected.  This was discovered on Solaris 10.
329         * testsuite/runtest.main/stats.exp: Copy stat.log from nested
330         testsuite run to the main test log upon test failure.
332         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
333         Explicitly pass /dev/null to unit-sub.awk because /usr/bin/awk on
334         Solaris 10 does not seem to recognize assignment to ARGV.
335         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
336         Likewise.
338 2021-05-18  Jacob Bachmeyer  <jcb@gnu.org>
340         * dejagnu: Redirect input from /dev/null when testing if awk is
341         GNU Awk; this avoids a hang on Solaris 10 where awk treats
342         --version as an Awk program and attempts to read input.
343         (command): Rework the initial setting of this variable to avoid
344         limitations in Solaris 10 awk.
346         * testsuite/report-card.all/onetest.exp: Avoid Tcl error when item
347         and totals lines are missing entirely.
349         * testsuite/runtest.main/pr48155.exp: Fix assumption about exit
350         code from /bin/false, which is different on Solaris.
352 2021-05-05  Jacob Bachmeyer  <jcb@gnu.org>
354         PR48155
356         * Makefile.am (TESTSUITE_FILES): Update.
357         (CLEANFILES): Add special init file for PR48155 nested tests.
359         * testsuite/runtest.main/pr48155.exp: New file.
360         * testsuite/runtest.main/pr48155-csh.sh: New trivial file.  This
361         script emulates the behavior of the C shell if an attempt is made
362         to use it to run the config.guess script.
364 2021-05-04  Jacob Bachmeyer  <jcb@gnu.org>
366         PR48155
368         * runtest.exp: Tighten regexp used to validate output from
369         config.guess.  The previous regexp would accept an error produced
370         if config.guess was incorrectly run using the C shell.
372 2021-04-28  Jacob Bachmeyer  <jcb@gnu.org>
374         * configure, Makefile.in: Regenerate.
376         * runtest.exp, configure.ac, doc/version.texi: Update version.
378         * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
379         to work around Automake limitation of assuming that v7 is default.
381 2021-04-20  Jacob Bachmeyer  <jcb@gnu.org>
383         * configure.ac: Set Automake options to use the ancient and
384         universal V7 format when building distribution tarballs.  The
385         limitations of this format are not expected to impact DejaGnu; the
386         "ustar" format will be used instead if this is proved wrong.
388         * Makefile.am (TAR_OPTIONS): Add exported environment variable to
389         set options when building distribution tarballs.  Ensure that all
390         files in distribution tarballs will be recorded as owned by root.
392 2021-04-16  Jacob Bachmeyer  <jcb@gnu.org>
394         PR47382
396         * dejagnu (command): Use Awk instead of non-portable basename(1)
397         and a non-portable sed(1) pattern to initially set this variable.
399         * dejagnu: Use shell "case" pattern match instead of non-portable
400         "grep -q" to determine if "awk" is GNU Awk.
402         * dejagnu: Use Awk instead of non-portable "grep -q" to verify
403         that a file contains a help message.  Also use Awk to extract help
404         messages from files, instead of a complex dynamic sed(1) program.
406         * configure.ac: Remove experimental support for propagating
407         CONFIG_SHELL to scripts in the source directory.
409         * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
410         running config.guess.  Check the result carefully and stop with an
411         error immediately if running config.guess does not produce
412         something that plausibly resembles a triplet.  Advise the user
413         that SHELL or CONFIG_SHELL may need to be set in the environment.
415 2021-04-15  Jacob Bachmeyer  <jcb@gnu.org>
417         PR47382
419         * dejagnu: Avoid using $? for an exit code; it is convenient until
420         the tests fail because the script is run on Solaris where false
421         returns 255 instead of 1 and the test harness expects exit code 1.
423 2021-04-14  Jacob Bachmeyer  <jcb@gnu.org>
425         PR47382
427         * dejagnu: Replace use of "expr :" with shell "case" pattern
428         match to avoid limitations of Solaris 10 expr(1).
430 2021-04-14  Jacob Bachmeyer  <jcb@gnu.org>
432         * lib/specs.exp, testsuite/runtest.libs/specs.test: New files.
434 2021-04-08  Jacob Bachmeyer  <jcb@gnu.org>
436         * configure: Regenerate.
438         * runtest.exp, configure.ac, doc/version.texi: Update version.
440         * configure.ac: Change "dnl" comments that should appear in
441         configure to regular comments.
442         Add experimental support for propagating CONFIG_SHELL to the
443         config.sub and config.guess scripts in the source directory.
445 2021-04-01  Jacob Bachmeyer  <jcb@gnu.org>
447         PR47533
449         * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
450         message to better fit GNU conventions, with thanks to Tom Tromey
451         for the reporting this issue.
453         PR47382
455         * runtest: Remove use of non-portable "if !" that causes problems
456         with /bin/sh on Solaris 10.
458         * dejagnu (Variants): Split the declaration of this read-only
459         variable into an assignment followed by marking it read-only,
460         instead of doing both in one statement.  The Solaris 10 /bin/sh
461         does not accept the combined form.
463 2021-03-30  Jacob Bachmeyer  <jcb@gnu.org>
465         * configure: Regenerate.
467         * runtest.exp, configure.ac, doc/version.texi: Update version.
469 2021-03-26  Jacob Bachmeyer  <jcb@gnu.org>
471         PR47386
473         * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
474         since Solaris man(1) does not accept explicit filenames.  The
475         manpages will be installed as usual, and the "dejagnu help"
476         command should work after installation.
478         Also set PAGER for testing, since other systems might also ignore
479         MANPAGER and that would cause the test to hang.
481         * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
482         copies of the output produced to the log.
484         * commands/help.sh: Extend PR47382 fix (below) to this file.
486         PR47385
488         * testsuite/lib/runtest.exp: Remove support for automatically
489         locating an Expect executable in the old Cygnus tree layout.
491 2021-03-25  Jacob Bachmeyer  <jcb@gnu.org>
493         PR47382
495         * dejagnu, runtest: Remove use of "$()" command substitution and
496         "$(())" arithmetic substitution shell constructs.  The /bin/sh on
497         Solaris 10 does not support them.  They were replaced with the
498         traditional backticks for command substitution and backticks and
499         the expr command for arithmetic substitution.
501         Also add markers to explicitly disable shellcheck warnings that
502         would lead to reintroducing these problems.
504         Also avoid the non-portable "`..."..."...`" construct on a warning
505         in the GNU Autoconf manual, section "Shell Substitutions",
506         although this introduces additional variables.
508 2021-03-22  Jacob Bachmeyer  <jcb@gnu.org>
510         * configure: Regenerate.
512         * runtest.exp, configure.ac, doc/version.texi: Update version.
514         * config.guess, config.sub: Import from upstream.
516         * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
518 2021-03-15  Jacob Bachmeyer  <jcb@gnu.org>
520         * Makefile.am, Makefile.in: Update accordingly.
522         * contrib/compare_tests: Remove.  This file lacked a GPL notice.
523         This file was imported from GCC many years ago.  The GCC version
524         has benefited from continued development, while ours has not.
526         * testsuite/runtest.libs/load_lib.exp: Remove.  This file lacked a
527         GPL notice and an attempt to contact the contributor produced no
528         response.  The tests in this file will need to be rewritten in any
529         case; there is a bug in load_lib that they should expose and there
530         is now additional infrastructure for tests of this type that was
531         not available when this file was written.
533 2020-12-27  Jacob Bachmeyer  <jcb@gnu.org>
535         * testsuite/runtest.libs/libs.exp (process_test): Report running
536         test scripts as each test script is run.
537         Also, at top-level, sort the list of tests to run.
539         * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
540         from new "testsuite can call api" feature test API entrypoint.
541         * lib/framework.exp (testsuite_can): Likewise.
542         * testsuite/runtest.libs/testsuite_can.test: Likewise.
543         * NEWS: Likewise.
545 2020-12-16  Jacob Bachmeyer  <jcb@gnu.org>
547         * configure: Regenerate.
549         * configure.ac: Remove Tcl version check.
551         Apply patch from Nick Clifton:
553         * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
555         Apply patch from Dimitar Dimitrov:
557         * baseboards/pru-sim.exp: New file.
559         * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
560         * Makefile.in (baseboard_DATA): Likewise.
562 2020-12-15  Jacob Bachmeyer  <jcb@gnu.org>
564         * configure: Regenerate.
565         * Makefile.in: Regenerate.
567         * Makefile.am (RUNTEST): Explain override of Automake default.
569         * configure.ac: Update for autoconf 2.69 using autoupdate.
570         * configure.ac: Remove search for expect now handled by Automake.
572         Apply patch from Dimitar Dimitrov:
574         * Makefile.am (dejagnu_TEXINFOS): Change this...
575         * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
577         This fixes an incorrectly recorded dependency.
579 2020-11-17  Jacob Bachmeyer  <jcb@gnu.org>
581         PR44636 / PR44693
583         * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
584         that conflated the tool init file with the target interface file.
585         (Make Check): Add cross-reference to the GNU Automake manual for
586         more details.
588 2020-11-10  Jacob Bachmeyer  <jcb@gnu.org>
590         PR44545
592         * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
593         Use [file normalize] to ensure that link targets are unambiguous.
594         (link_dejagnu_launcher_test_item): Avoid spurious errors when test
595         environment has already been prepared in a previous run.
597         * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
598         New procedure to collect existing repeated testsuite code.
599         * testsuite/launcher.all/command.exp: Establish testing
600         environment using link_dejagnu_launcher_test_item procedure.
602 2020-11-09  Jacob Bachmeyer  <jcb@gnu.org>
604         * aclocal.m4: Regenerate.
605         * configure: Regenerate.
606         * Makefile.in: Regenerate.
608         * configure.ac: Revert development version branch tagging hook.
609         * Makefile.am: Likewise.
611         These caused failures (reported in PR44462 as a secondary issue)
612         when a source tree is copied out of a Git directory.
614 2020-08-31  Jacob Bachmeyer  <jcb@gnu.org>
616         * doc/runtest.1: Add brief GFDL notice.  License notice in the
617         formatted manpage should now describe DejaGnu as a whole.
619         * NEWS: Prepare for release.
621 2020-08-18  Jacob Bachmeyer  <jcb@gnu.org>
623         * testsuite/runtest.libs/testsuite_file.test: Add missing
624         copyright and GPL notice.
625         * testsuite/runtest.libs/testsuite_can.test: Likewise.
626         * testsuite/runtest.libs/testcase_group.test: Likewise.
628 2020-08-12  Jacob Bachmeyer  <jcb@gnu.org>
630         * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
631         (Running unit tests): Add node.
632         (DejaGnu unit test protocol): Add node.
633         (C unit testing API): Update to reflect current API.  Move mention
634         of dejagnu.h header here in preparation for future expanded
635         language support.
636         (C++ unit testing API): Likewise.  Mention caveat that the C unit
637         test API is also available in C++ programs.
639 2020-08-10  Jacob Bachmeyer  <jcb@gnu.org>
641         * baseboards/qemu.exp: Tidy whitespace.
643 2020-08-10  Jacob Bachmeyer  <jcb@gnu.org>
645         Merge patch from Kito Cheng to add support for RISC-V sim target.
647         * baseboards/riscv-sim.exp: New file.
648         * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
649         * Makefile.in (baseboard_DATA): Likewise.
651 2020-08-02  Jacob Bachmeyer  <jcb@gnu.org>
653         * Makefile.am (TESTSUITE_FILES): Add files that were introduced
654         during development but were mistakenly not added at that time.
655         (baseboard_DATA): Sort baseboard file list.
656         (baseboard_DATA): Add missing files.
657         (dejagnu_TEXINFOS): New; add GNU FDL file.
658         (CONTRIB): Add experimental Python unit test module.
660         * Makefile.in (TESTSUITE_FILES): Likewise.
661         (baseboard_DATA): Likewise.
663         * testsuite/dejagnu.py:  Move from here...
664         * contrib/dejagnu.py: ...to here.
666 2020-08-02  Rob Savoye  <rob@senecass.com>
668         * Makefile.in: Regenerate so make dist works.
670 2020-07-25  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
672         * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
673         procedure "perror" instead of the Tcl command "error".
674         (Writing a test case): Reorganize node and give basic hints about
675         Tcl quoting and backslash escape rules.
676         (Writing a test case): Describe synchronization issues and warn
677         that prefixes of valid input can be presented for matching.
678         (Writing a test case): Fix markup from conversion from DocBook.
680 2020-07-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
682         PR42399
684         * NEWS: Document changes to host_execute.
686         * lib/dejagnu.exp (host_execute): Revise expect matching to
687         combine all unit test protocol lines into one pattern.
688         (host_execute): Rework other expect patterns.
689         (host_execute): Ensure that all output from child process is read
690         until the child closes its output to avoid sending early SIGPIPE.
691         (host_execute): Report an ERROR (and cause the next test to be
692         recorded as UNRESOLVED) if the Expect matching buffer overflows.
693         (host_execute): Remove dependency on global "text" variable.
695         * Makefile.am (TESTSUITE_FILES): Update.
697         * testsuite/runtest.main/stats.exp: Generalize infrastructure and
698         add tests for DejaGnu unit testing support.
699         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
700         New file.
701         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
702         New file.
704 2020-07-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
706         PR42399
708         * Makefile.am (TESTSUITE_FILES): Update.
710         * lib/dejagnu.exp (host_execute): Allow the executable to be
711         specified with an absolute file name.
712         (host_execute): Fix argument handling to allow passing more than
713         one argument to the executable.  Return early if given no
714         arguments at all instead of trying to execute "./".
716         * testsuite/runtest.main/pr42399.exp: New file.
717         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
718         New file.
719         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
720         New file.
722 2020-07-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
724         * Makefile.am (CLEANFILES): Update.
725         (TESTSUITE_FILES): Update to reflect testsuite reorganization.
727         * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
728         procedure.
729         (runtest_cleanup_nested_testsuite): New procedure.
731         * testsuite/runtest.main/error.exp: Use the tool name "error" to
732         select the proper subset of the nested testsuite.  Use new
733         procedures for handling nested testsuite.  Use common
734         nested-init.exp local init file for nested testsuite.  Let local
735         init file nested-init.exp handle setting "outdir" variable.
736         * testsuite/runtest.main/options.exp: Likewise; "null" tool.
737         * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
739         * testsuite/runtest.main/nested/: Combine nested testsuites.
740         * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
741         Move from here...
742         * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
743         ...to here.
744         * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
745         Move from here...
746         * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
747         ...to here.
748         * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
749         Move from here...
750         * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
751         ...to here.
752         * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
753         Move from here...
754         * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
755         ...to here.
756         * testsuite/runtest.main/options/testsuite/null.test/null.exp:
757         Move from here...
758         * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
759         ...to here.
760         * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
761         Move from here...
762         * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
763         ...to here.
765 2020-07-16  Rob Savoye  <rob@senecass.com>
767         * baseboards/qemu.exp: Works now with qemu instead of sim.
769 2020-07-06  Rob Savoye  <rob@senecass.com>
771         * baseboards/qemu.exp: Initial working support to use qemu for
772         bare metal testing.
773         * Makefile.am: Install qemu.exp.
774         * autogen.sh: Add script borrowed from my Gnash project to
775         regenerate configure/build files.
776         * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
777         * doc/dejagnu.texi: Update copyright date.
779 2020-06-29  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
781         PR 41824 / PR 41918
783         * NEWS: Add item for repeated error messages.
785         * lib/framework.exp (log_and_exit): Add separator lines around the
786         error dumps repeated at the end of a run.
788 2020-06-26  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
790         PR 41824 / PR 41918
792         * NEWS: Remove items for --keep_going / --no_keep_going options.
794         * Makefile.am (CLEANFILES): Adjust for renames.
795         (TESTSUITE_FILES): Likewise.
797         * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
798         --no_keep_going options.
799         (A POSIX Conforming Test Framework): Document that Tcl errors in
800         test scripts produce UNRESOLVED results as placeholders.
802         * doc/runtest.1: Likewise.
804         * lib/framework.exp (log_and_exit): Print collected Tcl errors.
806         * runtest.exp (dejagnu::error): New internal namespace.
807         (runtest): Collect Tcl errors caught while executing test scripts.
808         (dejagnu::opt): Remove internal namespace.
809         Remove --keep_going / --no_keep_going options.  No longer abort on
810         any Tcl errors; instead store them and repeat the messages at the
811         end of the run.
813         * testsuite/runtest.main/abort.exp: Rename from this ...
814         * testsuite/runtest.main/error.exp: ... to this and revise tests.
816         * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
817         Rename from this...
818         * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
819         ... to this.
820         * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
821         Rename from this...
822         * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
823         ... to this.
824         * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
825         Rename from this...
826         * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
827         ... to this.
829 2020-06-24  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
831         PR 41824 / PR 41918
833         * NEWS: Revise relevant items.
835         * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
836         * doc/runtest.1: Document --no_keep_going option.  Remove
837         long-obsolete --name option.  The --name option had been removed
838         from runtest before the code was imported into what became the
839         current repository.
841         * runtest.exp: Add option --no_keep_going to stop immediately if a
842         test script aborts due to a Tcl error.  Remove vestiges of
843         long-obsolete --name option.  Make --keep_going option default.
845         * testsuite/runtest.main/abort.exp: Adjust tests to use
846         --no_keep_going and --keep_going instead of assuming a default.
848 2020-06-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
850         Merge patches from Maciej W. Rozycki to fix timeout handling.
852         * lib/remote.exp (close_wait_program): Use `catch' in killing
853         pending force-kills.
855         * lib/remote.exp (close_wait_program): Only kill the pending
856         force-kills if the PID list has a single entry.
857         (local_exec): Set the channel about to be closed to the
858         nonblocking mode if we didn't see an EOF.
859         (standard_close): Likewise, unconditionally.
861 2020-06-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
863         * NEWS: Mention "linker=" option and added language support.
865         * doc/dejagnu.texi (target_compile procedure): Document new
866         "linker=" option to target_compile.
868         * lib/target.exp (default_target_compile): Actually use internal
869         option for separate linker provided for Go language support.  This
870         seems to have been accidentally omitted from Tom Tromey's patches.
871         (default_target_compile): Add "linker=" option, similar to
872         "compiler=" option, but the former overrides the latter when
873         building an executable.
874         (default_target_compile): Ensure that "--emit obj" is spaced from
875         previous item when used to compile Rust.  Use "--emit asm" instead
876         of "-S" when generating assembly from Rust sources.
878         * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
879         Also add tests for the new "early_flags=" and "linker=" options.
881 2020-06-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
883         * doc/dejagnu.texi (Libgloss): Update menu.
884         (find_go procedure, find_go_linker procedure): New nodes.
885         (find_rustc procedure): New node.
887 2020-06-19  Tom Tromey  <tromey@adacore.com>
889         * doc/dejagnu.texi (target_compile procedure): Document Go
890         additions.
891         * lib/target.exp (default_target_compile): Handle Go.
892         * lib/libgloss.exp (find_go, find_go_linker): New procs.
894 2020-06-19  Tom Tromey  <tromey@adacore.com>
896         * doc/dejagnu.texi (target_compile procedure): Document rust
897         additions.
898         * lib/target.exp (default_target_compile): Handle rust.
899         * lib/libgloss.exp (find_rustc): New proc.
901 2020-06-19  Tom Tromey  <tromey@adacore.com>
903         * lib/target.exp (default_target_compile): Add early_flags.
904         * doc/dejagnu.texi (target_compile procedure): Document
905         early_flags.
907 2020-06-19  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
909         Merge patches from Tom de Vries <tdevries <at> suse.de> and write
910         ChangeLog entries.
912         * testsuite/runtest.main/abort.exp: Add tests that verify handling
913         of arithmetic errors (divide-by-zero) in a procedure called within
914         a test script.
916         * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
918 2020-06-18  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
920         PR 41824 / PR 41918
922         Thanks to Tom de Vries for raising these concerns and offering the
923         initial testsuite patch that led to these changes.
925         * NEWS: Add item for consistent abort-on-error handling.
927         * lib/framework.exp (unknown): Always link global variables.  Tidy.
928         Silently propagate errors raised in autoloaded procedures and move
929         the UNRESOLVED result and aborting the test run to...
930         * runtest.exp (runtest): Report an UNRESOLVED result if a test
931         script aborts due to a Tcl error.  Link global errorCode and
932         report its value if an error occurs.  For consistency, abort the
933         test run on any Tcl error in a test script instead of only when
934         calling an undefined procedure.
936         * testsuite/runtest.main/abort.exp: Add tests to verify handling
937         of arithmetic errors (divide-by-zero) in an auto-loaded procedure
938         called from a test script.  Adjust other patterns.
940         * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
941         New file.
943 2020-06-17  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
945         PR 41824
947         * NEWS: Add item for --keep_going option.
949         * Makefile.am (CLEANFILES): Add abort-init.exp to list.
950         (TESTSUITE_FILES): Add new testsuite files to list.
952         * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
953         command line option.
954         * doc/runtest.1: Likewise.
956         * lib/framework.exp (unknown): Report an UNRESOLVED result if an
957         unknown command is invoked.  Avoid exiting and propagate the error
958         from Tcl's "unknown" procedure if --keep_going was
959         specified. Brace procedure argument list.
960         * runtest.exp (dejagnu::opt): New namespace.
961         Add option --keep_going to continue running tests after a test
962         script aborts due to calling an undefined command.
964         * testsuite/runtest.main/abort.exp: New file.
965         * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
966         New file.
967         * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
968         New file.
970 2020-06-17  Tom de Vries  <tdevries <at> suse.de>
972         * lib/framework.exp (unknown): Propagate return value of auto-loaded
973         command.
975 2020-06-15  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
977         Merge patches from Linaro:
979         2018-09-28  Christophe Lyon <christophe.lyon@linaro.org>
980         * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
981         machine, to avoid race conditions.
983         2016-04-25  Yvan Roux <yvan.roux@linaro.org>
984         * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
985         * lib/ssh.exp (ssh_exec): Likewise.
987         2016-06-28  Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
988         * config/unix.exp (unix_load): Prepend the value of an
989         "exec_shell" board_info key to the command if it is defined.
991 2020-06-06  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
993         * NEWS: Document "testcase" command.
995         * doc/dejagnu.texi (testcase procedure): Document multiplex entry
996         point and "testcase group" command.
998         * lib/framework.exp: Add internal namespace ::dejagnu::group.
999         (::dejagnu::group::check_name): New procedure.
1000         (::dejagnu::group::current): New procedure.
1001         (::dejagnu::group::push): New procedure.
1002         (::dejagnu::group::pop): New procedure.
1003         (::dejagnu::group::pop_to_file): New procedure.
1004         (testcase): New procedure for multiplex commands.
1005         (testcase_group): New procedure implementing "testcase group".
1007         * testsuite/runtest.libs/testcase_group.test: New file.
1009 2020-06-05  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
1011         * NEWS: Document new "testsuite can call api" command.
1013         * doc/dejagnu.texi (testsuite procedure): Document new subcommand
1014         "testsuite can call api".
1016         * lib/framework.exp (testsuite): Add branch for "testsuite can".
1017         (testsuite_can): New procedure implementing "testsuite can".
1019         Add internal array ::dejagnu::apilist to store information for
1020         "testsuite can call api" for querying the availability of an API
1021         call.  This will allow test scripts to adapt and use new features
1022         while still being able to run under older versions of DejaGnu.
1024         * testsuite/runtest.libs/testsuite_can.test: New file.
1026 2020-06-02  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
1028         PR 41647
1029         * NEWS: Fix typo.  Fix Emacs mode tag.
1030         Document use of Tcl namespace ::dejagnu for internals.
1031         * runtest.exp (dejagnu::command_line): New namespace.
1032         (dejagnu::command_line::save_cmd_var): New procedure.
1033         (dejagnu::command_line::restore_cmd_vars): New procedure.
1034         (dejagnu::command_line::dump_cmd_vars): New procedure.
1035         * runtest.exp: Save internal variables set by command line
1036         arguments during the first pass and restore their values after
1037         loading testsuite init files.
1039 2020-06-01  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
1041         PR 41647
1042         * runtest.exp: Describe search for testsuite at verbose level 3.
1043         Print initial working directory at verbose level 1.
1045 2020-05-28  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
1047         PR 41587
1048         * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
1049         value to use an absolute file name.
1050         * testsuite/lib/report-card.exp: Likewise.
1051         * testsuite/runtest.main/options.exp: Set outdir in options-init
1052         instead of changing working directory in child runtest.
1054         * runtest.exp (logname): Move verbose display of logname to
1055         immediately after finding the user's login name.
1057         PR 41585
1058         * runtest.exp (libdir): Fix default value of global variable.
1060         * ChangeLog: Tidy irregular indentation.
1062 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1064         * doc/dejagnu.texi (target_compile procedure): Add documentation.
1066 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1068         * doc/dejagnu.texi (target_link procedure): New stub node.
1069         (default_link procedure): Document internal procedure.
1070         (default_target_assemble procedure): Likewise.
1071         (default_target_compile procedure): Likewise.
1073 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1075         * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
1076         mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
1078 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1080         * lib/target.exp (default_target_compile): Use "host_info"
1081         procedure to probe for a host configuration, instead of checking a
1082         local empty target_info array due to lacking "global target_info".
1084 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1086         * doc/dejagnu.texi (Adding a new board): Document that the
1087         "compiler" board_info field is optional and defaults to [find_gcc]
1088         if not given.
1089         (Board configuration file): Likewise.
1091         * lib/target.exp (default_target_compile): Establish a default C
1092         compiler by evaluating [find_gcc] if no other compiler is given.
1094         * baseboards/aarch64-sim.exp: Remove no-longer-needed
1095         "set_board_info compiler [find_gcc]" from this file.
1096         * baseboards/am33_2.0-libremote.exp: Likewise.
1097         * baseboards/androideabi.exp: Likewise.
1098         * baseboards/arm-ice.exp: Likewise.
1099         * baseboards/arm-sim.exp: Likewise.
1100         * baseboards/cris-sim.exp: Likewise.
1101         * baseboards/d30v-sim.exp: Likewise.
1102         * baseboards/fr30-sim.exp: Likewise.
1103         * baseboards/frv-sim.exp: Likewise.
1104         * baseboards/gdbserver-sample.exp: Likewise.
1105         * baseboards/iq2000-sim.exp: Likewise.
1106         * baseboards/linux-gdbserver.exp: Likewise.
1107         * baseboards/linux-libremote.exp: Likewise.
1108         * baseboards/mcore-moto-sim.exp: Likewise.
1109         * baseboards/mcore-sim.exp: Likewise.
1110         * baseboards/mips-sim-idt32.exp: Likewise.
1111         * baseboards/mips-sim-idt64.exp: Likewise.
1112         * baseboards/mips-sim-mti32.exp: Likewise.
1113         * baseboards/mips-sim-mti64.exp: Likewise.
1114         * baseboards/mips-sim-mti64_64.exp: Likewise.
1115         * baseboards/mips-sim-mti64_n32.exp: Likewise.
1116         * baseboards/mips-sim-sde32.exp: Likewise.
1117         * baseboards/mips-sim-sde64.exp: Likewise.
1118         * baseboards/mips-sim.exp: Likewise.
1119         * baseboards/mmixware-sim.exp: Likewise.
1120         * baseboards/mn10200-sim.exp: Likewise.
1121         * baseboards/mn10300-sim.exp: Likewise.
1122         * baseboards/moxie-sim.exp: Likewise.
1123         * baseboards/msp430-sim.exp: Likewise.
1124         * baseboards/powerpc-sim.exp: Likewise.
1125         * baseboards/powerpcle-sim.exp: Likewise.
1126         * baseboards/rx-sim.exp: Likewise.
1127         * baseboards/sh-sim.exp: Likewise.
1128         * baseboards/sparc-sim.exp: Likewise.
1129         * baseboards/sparc64-sim.exp: Likewise.
1130         * baseboards/sparclite-sim-le.exp: Likewise.
1131         * baseboards/sparclite-sim.exp: Likewise.
1132         * baseboards/unix.exp: Likewise.
1133         * baseboards/v850-sim.exp: Likewise.
1134         * baseboards/visium-sim.exp: Likewise.
1135         * baseboards/xtensa-sim.exp: Likewise.
1137 2020-05-24  Rob Savoye  <rob@senecass.com>
1139         * baseboards/pi.exp: New config file for cross testing to a
1140         Raspberry PI.
1142 2020-05-24  Tom Tromey  <tom@tromey.com>
1144         * .gitignore: Add files.
1146 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1148         * testsuite/runtest.libs/target.test: Use mockutil.tcl.
1149         Collect loading DejaGnu libraries into a single loop.
1150         Revise the mock board_info array.
1151         Add section headings for different test groups in this file.
1152         Add tests for default_target_compile in lib/target.exp.
1153         * testsuite/runtest.libs/mockutil.tcl: New file.
1155 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1157         * doc/dejagnu.texi (remote_exec procedure): Explicitly list
1158         optional arguments instead of simply copying the Tcl argument list
1159         or the remote_exec procedure.
1161 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1163         * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
1164         string instead of opening a temporary file named .tmp.
1165         * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
1167 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1169         * testsuite/runtest.libs/target.test: Rename fake "target_info"
1170         array to a fake "board_info" array, to align with changes made to
1171         the DejaGnu core on 29 January 1997 that moved the target
1172         configuration data into the global board_info array.
1174         * testsuite/runtest.libs/remote.test: Likewise.
1176 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1178         * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
1179         requests to run only some library tests.
1181 2020-05-18  Rob Savoye  <rob@senecass.com>
1183         * configure.ac: Extract the current branch.
1184         * Makefile.am: Change the frame_version in runtest.exp post
1185         install to add the branch and git revision to make it easier to
1186         support multiple versions during development.
1188 2020-05-15  Rob Savoye  <rob@senecass.com>
1190         * All files: Minor change, update copyright dates.
1192 2019-03-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1194         * runtest.exp (search_and_load_file): Join the directory and
1195         filename once using 'file join'.
1197 2019-01-24  Jacob Bachmeyer  <jcb62281@gmail.com>
1199         * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
1200         spacing so the Emacs move-by-sentence commands work correctly.
1202 2019-01-23  Ben Elliston  <bje@gnu.org>
1204         * doc/dejagnu.texi: Replace "config file" with "configuration
1205         file" throughout.
1207 2019-01-23  Jacob Bachmeyer  <jcb62281@gmail.com>
1209         * doc/dejagnu.texi (Command line option variables): Improve table
1210         formatting to fix overlapping columns and revise text slightly.
1212 2019-01-23  Jacob Bachmeyer  <jcb62281@gmail.com>
1214         * doc/dejagnu.texi (Global config file): Change example to use the
1215         Tcl "switch" command instead of the deprecated "case" command.
1217 2019-01-12  Jacob Bachmeyer  <jcb62281@gmail.com>
1219         * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
1220         the structure of the "runtests" argument.
1222 2019-01-12  Ben Elliston  <bje@gnu.org>
1224         * doc/dejagnu.texi: Various documentation fixes.
1226 2019-01-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1228         * testsuite/runtest.libs/clone_output.test: Use new test harness
1229         for verifying output of clone_output.
1231         * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
1232         template using store_test_output.
1233         (send_log): Likewise.
1234         (send_user): Likewise.
1235         (clear_test_output): New proc.
1236         (store_test_output): New proc.
1238         * lib/framework.exp (clone_output): Actually send errors to the
1239         error stream; bug found while improving testsuite.
1241 2019-01-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1243         * testsuite/runtest.libs/libs.exp (process_test): Handle blank
1244         lines from child process correctly.
1246 2019-01-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1248         * NEWS: Document report card.
1250         * Makefile.am (clean-local): Add target.
1251         (clean-local-check): Add target; mark as PHONY.
1252         (commands_DATA): Add "report-card" scripts.
1253         (dist_man_MANS): Add dejagnu-report-card.1 and split.
1254         (DEJATOOL): Add "report-card" tool.
1255         (TESTSUITE_FILES): Add testsuite for "report-card" tool.
1257         * commands/report-card.awk: New command script.
1259         * doc/dejagnu.texi (Invoking dejagnu report card): New node.
1260         * doc/dejagnu-report-card.1: New man page.
1262         * testsuite/lib/bohman_ssd.exp: New file.
1263         * testsuite/lib/report-card.exp: New file.
1264         * testsuite/report-card.all/onetest.exp: New file.
1265         * testsuite/report-card.all/passes.exp: New file.
1267 2019-01-02  Ben Elliston  <bje@gnu.org>
1269         * Makefile.am (DISTCLEANFILES): Don't use this.
1270         (CLEANFILES): Use this instead.
1271         * Makefile.in: Regenerate.
1273 2019-01-01  Ben Elliston  <bje@gnu.org>
1275         * configure.ac: Abort if AWK is not installed.
1276         * configure: Regenerate.
1278 2019-01-01  Ben Elliston  <bje@gnu.org>
1280         * config.guess: Update to latest version.
1281         * config.sub: Likewise.
1283 2019-01-01  Ben Elliston  <bje@gnu.org>
1285         * configure.ac: Add AC_PROG_AWK check.
1286         * configure: Regenerate.
1288 2018-12-29  Jacob Bachmeyer  <jcb62281@gmail.com>
1290         * dejagnu: Avoid use of semicolon as sed(1) command separator.
1291         POSIX does not clearly require sed(1) to support that feature.
1293 2018-12-28  Jacob Bachmeyer  <jcb62281@gmail.com>
1295         * testsuite/lib/util-defs.exp: Whitespace clean up.
1297 2018-12-21  Jacob Bachmeyer  <jcb62281@gmail.com>
1299         PR 33817
1300         * dejagnu: Improve command parsing to fix bug. Previously, the
1301         documented equivalence between "multi word command" and
1302         "multi-word-command" did not hold if no arguments were given.
1303         * testsuite/launcher.all/command.exp: Add tests.
1305 2018-12-20  Ben Elliston  <bje@gnu.org>
1307         * NEWS: Add item for new dejagnu command.
1309         * Makefile.am (EXTRA_DIST): Remove $(XML).
1310         * Makefile.in: Regenerate.
1312 2018-12-20  Jacob Bachmeyer  <jcb62281@gmail.com>
1314         * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
1315         contents of $(commands_DATA).
1316         (bin_SCRIPTS): Add "dejagnu" launcher script.
1317         (commandsdir): Installation directory for "dejagnu" subcommands is
1318         $(pkgdatadir)/commands.
1319         (commands_DATA): New, contains "commands/help.sh" as initial item.
1320         (TESTSUITE_FILES): Add testsuite for same.
1321         (DEJATOOL): Add "launcher" to list of tools to test.
1322         (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
1324         * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
1325         (Invoking dejagnu): New node for dejagnu(1) launcher script.
1326         (Invoking dejagnu help): New node.
1328         * doc/dejagnu.1: New man page.
1329         * doc/dejagnu-help.1: New man page.
1331         * dejagnu: New script.
1333         * commands/help.sh: New dejagnu subcommand for reading manpages.
1335         * testsuite/launcher.all/command.exp: New file.
1336         * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
1337         * testsuite/launcher.all/command/commands/bar.awk: New file.
1338         * testsuite/launcher.all/command/commands/bar.sh: New file.
1339         * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
1340         * testsuite/launcher.all/command/commands/foo.sh: New file.
1341         * testsuite/launcher.all/command/commands/foo.tcl: New file.
1342         * testsuite/launcher.all/help.exp: New file.
1343         * testsuite/launcher.all/interp.exp: New file.
1344         * testsuite/launcher.all/verbose.exp: New file.
1345         * testsuite/lib/launcher.exp: New file.
1347 2018-12-20  Jacob Bachmeyer  <jcb62281@gmail.com>
1349         * doc/dejagnu.texi (bt procedure): Fix Info links.
1351 2018-12-17  Ben Elliston  <bje@gnu.org>
1353         * doc/dejagnu.texi (Board config file): Fix up @ref.
1354         (Command line option variables): Likewise.
1355         (Debugging Procedures): Add an entry for 'bt' command.
1357 2018-12-16  Jacob Bachmeyer  <jcb62281@gmail.com>
1359         * runtest.exp: Move processing of -V|--version option to first
1360         pass through command line arguments instead of delaying it.
1362 2018-12-16  Jacob Bachmeyer  <jcb62281@gmail.com>
1364         * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
1365         * Makefile.in: Regenerate.
1367 2018-12-15  Ben Elliston  <bje@gnu.org>
1369         * doc/dejagnu.texi (telnet Procedure): Remove old node.
1370         (rlogin Procedure): Likewise.
1371         (rsh Procedure): Likewise.
1372         (tip Procedure): Likewise.
1373         (kermit Procedure): Likewise.
1374         (list_targets Procedure): Likewise.
1375         (prune_system_crud): Likewise.
1377 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1379         * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1380         (send_user): Likewise.
1381         * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1382         variable link at top-level.
1383         * testsuite/runtest.libs/utils.test: Adjust absolute path to
1384         config.status.
1385         * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1386         subdir, and objdir variables instead of extracting them from argv.
1387         Remove setval.tmp, which is now obsolete.
1388         * testsuite/runtest.libs/config.test: Likewise.
1389         * testsuite/runtest.libs/remote.test: Likewise.
1390         * testsuite/runtest.libs/target.test: Likewise.
1391         * testsuite/runtest.libs/testsuite_file.test: Likewise.
1392         * testsuite/runtest.libs/utils.test: Likewise.
1394         * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1395         (send_defaults): .. with this.
1396         (start_expect): Remove redundant code.
1398         * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1399         Remove unneeded test for EXPECT global variable.
1400         Use one Expect subprocess to run all test cases.
1401         (process_test): Redesign to use Expect subprocess and to use
1402         throwaway slave interpreters for running test cases.
1404 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1406         * testsuite/lib/runtest.exp (runtest_start): Remove.
1407         Move the sanity check in runtest_start to top-level and similarly
1408         check to ensure that $EXPECT can be found.  Make failure of either
1409         sanity check an immediate fatal error.
1410         Improve error messages for sanity checks to indicate which
1411         critical tool was not found.  Remove useless 'global RUNTEST'
1412         command at top-level.
1413         (runtest_version): Brace 'if' expression.
1415 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1417         * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1418         default runtest executable instead of implicitly searching PATH.
1419         Remove unused RUNTESTFLAGS Tcl variable.
1421 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1423         * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1424         variable links.
1426 2018-12-14  Jacob Bachmeyer  <jcb62281@gmail.com>
1428         * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1429         * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1431 2018-12-12  Ben Elliston  <bje@gnu.org>
1433         * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1434         lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1435         lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1436         some regular expressions in constant strings by placing them
1437         inside braces instead of quotes. This allows one level of
1438         backslash quoting to be removed.
1440 2018-12-12  Ben Elliston  <bje@gnu.org>
1442         * doc/dejagnu.texi: Acknowledge contributions to the manual from
1443         others.
1445 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1447         * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1448         * testsuite/runtest.all/load_lib.exp: Likewise.
1449         * testsuite/runtest.all/stats.exp: Likewise.
1451         * testsuite/runtest.all/stats.exp: Write local init file as
1452         "stats-init.exp" for status summary tests.  Use --local_init
1453         option to runtest to load that file instead of site.exp and move
1454         the inner test module to a nested testsuite.
1455         * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1456         * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1457         .. to here.
1459         * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1460         Wrap lines in test list and move short items to beginning of list.
1461         Write local init file as "options-init.exp" for options tests.
1462         Use --local_init option with nested runtest to load that file
1463         instead of site.exp; also create an empty nested testsuite.  Local
1464         init file arranges for inner runtest processes to run in a
1465         subdirectory in the object tree to eliminate filename clashes.
1466         Set tmpdir if not already set and remove entire temporary
1467         directory after running options tests.
1468         * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1470         * testsuite/runtest.all/clone_output.test: Move from here ..
1471         * testsuite/runtest.libs/clone_output.test: .. to here.
1472         * testsuite/runtest.all/config.test: Move from here ..
1473         * testsuite/runtest.libs/config.test: .. to here.
1474         * testsuite/runtest.all/default_procs.tcl: Move from here ..
1475         * testsuite/runtest.libs/default_procs.tcl: .. to here.
1476         * testsuite/runtest.all/libs.exp: Move from here ..
1477         * testsuite/runtest.libs/libs.exp: .. to here.
1478         * testsuite/runtest.all/load_lib.exp: Move from here ..
1479         * testsuite/runtest.libs/load_lib.exp: .. to here.
1480         * testsuite/runtest.all/remote.test: Move from here ..
1481         * testsuite/runtest.libs/remote.test: .. to here.
1482         * testsuite/runtest.all/target.test: Move from here ..
1483         * testsuite/runtest.libs/target.test: .. to here.
1484         * testsuite/runtest.all/testsuite_file.test: Move from here ..
1485         * testsuite/runtest.libs/testsuite_file.test: .. to here.
1486         * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1487         * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1488         * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1489         * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1490         * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1491         Move from here ..
1492         * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1493         .. to here.
1494         * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1495         * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1496         * testsuite/runtest.all/utils.test: Move from here ..
1497         * testsuite/runtest.libs/utils.test: .. to here.
1498         * testsuite/runtest.libs/utils.test: Update references to
1499         "runtest.all".
1501         * testsuite/runtest.all/options.exp: Move from here ..
1502         * testsuite/runtest.main/options.exp: .. to here.
1503         * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1504         from here ..
1505         * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1506         .. to here.
1507         * testsuite/runtest.all/stats.exp: Move from here ..
1508         * testsuite/runtest.main/stats.exp: .. to here.
1509         * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1510         Move from here ..
1511         * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1512         .. to here.
1514         * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1515         (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1516         * Makefile.in: Regenerate.
1518 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1520         * doc/dejagnu.texi: Clean up whitespace.  Some indented examples
1521         were changed to use the Texinfo '@ ' command (yes, a space
1522         character) to preserve correct indentation.  The '@ ' command is
1523         treated as a single space by Tex and makeinfo, but prevents Emacs
1524         from complaining about indentation using spaces instead of tabs.
1526 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1528         * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1529         directory exclusions by name in this procedure.
1531 2018-12-10  Ben Elliston  <bje@gnu.org>
1533         * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1534         glob patterns, not "shell wildcard characters" per se.
1536         * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1538 2018-12-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1540         * doc/dejagnu.texi (Writing a test case): Add warning about
1541         priority of Expect patterns, complete with example.
1542         * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1543         caused test results other than "PASS" to be skipped if a "PASS" is
1544         further along in the input buffer.  Describe problem in manual.
1545         (process_test): Ensure that the log file shows each test case run.
1546         (process_test): Directly run the test cases instead of using
1547         temporary files and "cat".  All output is always available in the
1548         log file, which is no longer overwritten by other tests.
1549         (process_test): Expect END markers from test case scripts.
1550         * testsuite/runtest.all/clone_output.test: Emit END markers.
1551         * testsuite/runtest.all/config.test: Likewise.
1552         * testsuite/runtest.all/remote.test: Likewise.
1553         * testsuite/runtest.all/target.test: Likewise.
1554         * testsuite/runtest.all/testsuite_file.test: Likewise.
1555         * testsuite/runtest.all/utils.test: Likewise.
1557 2018-12-10  Ben Elliston  <bje@gnu.org>
1559         * lib/utils.exp (grep): Use a proper Tcl list for options.
1561 2018-12-10  Ben Elliston  <bje@gnu.org>
1563         * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1565         * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1566         and catching the "no files matched glob pattern" error
1567         message. Catching the error message was the wrong thing to do
1568         because the foreach loop then iterates over each word in the error
1569         message as if they were matches.
1571 2018-12-10  Ben Elliston  <bje@gnu.org>
1573         * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1574         non-existent directory case.
1576 2018-12-10  Ben Elliston  <bje@gnu.org>
1578         * runtest.exp: Remove unnecessary quotes and braces around
1579         variable expansions.
1581         * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1583 2018-12-09  Ben Elliston  <bje@gnu.org>
1585         * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1586         (iterate_target_variants_two): Likewise.
1587         * lib/remote.exp (standard_download): Use 'eq' not '=='.
1588         (remote_upload): Likewise.
1589         * lib/framework.exp (open_logs): Likewise.
1590         (is_remote): Likewise.
1592 2018-12-09  Ben Elliston  <bje@gnu.org>
1594         * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1595         baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1596         baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1597         config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1598         config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1599         lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1600         lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1601         lib/utils.exp, testsuite/lib/libsup.exp,
1602         testsuite/runtest.all/options.exp,: Remove unnecessary braces
1603         around variable expansions.
1605 2018-12-09  Ben Elliston  <bje@gnu.org>
1607         * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1608         lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1609         lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1610         unnecessary quotes and braces around variable expansions.
1612 2018-12-09  Ben Elliston  <bje@gnu.org>
1614         * config/gdb-comm.exp: Remove unnecessary quotes.
1615         * config/gdb_stub.exp: Likewise.
1616         * config/vxworks.exp: Likewise.
1617         * config/unix.exp: Likewise.
1618         * config/sim.exp: Likewise.
1620 2018-12-09  Ben Elliston  <bje@gnu.org>
1622         * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1623         variable expansions.
1624         * testsuite/lib/util-defs.exp: Likewise.
1626 2018-12-09  Ben Elliston  <bje@gnu.org>
1628         * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1629         around variable expansions.
1630         * baseboards/basic-sid.exp: Likewise.
1631         * baseboards/cris-sim.exp: Likewise.
1632         * baseboards/generic-sim.exp: Likewise.
1633         * baseboards/mcore-moto-sim.exp: Likewise.
1634         * baseboards/multi-sim.exp: Likewise.
1636 2018-12-08  Ben Elliston  <bje@gnu.org>
1638         * NEWS: Tweak.
1640 2018-12-08  Ben Elliston  <bje@gnu.org>
1642         * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1643         variable expansions.
1644         * testsuite/runtest.all/clone_output.test: Likewise.
1645         * testsuite/runtest.all/target.test: Likewise.
1646         * testsuite/runtest.all/stats.exp: Likewise.
1647         * testsuite/runtest.all/remote.test: Likewise.
1648         * testsuite/runtest.all/config.test: Likewise.
1649         * testsuite/runtest.all/default_procs.tcl: Likewise.
1650         * testsuite/runtest.all/libs.exp: Likewise.
1651         * testsuite/runtest.all/options.exp: Likewise.
1653 2018-12-08  Jacob Bachmeyer  <jcb62281@gmail.com>
1655         * NEWS: Document 'testsuite' command.
1656         * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1657         point and "testsuite file" command.
1658         * lib/framework.exp (testsuite): New proc for multiplex commands.
1659         (testsuite_file): New proc implementing "testsuite file".
1660         * testsuite/runtest.all/testsuite_file.test: New file.
1661         * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1662         but also search $srcdir itself.
1663         (load_lib): Add explicit search for testsuite-local libraries.
1664         (load_tool_init): Use $testsuitedir in search.
1665         (load_config): Use $testsuitedir instead of $srcdir.
1666         (load_tool_target_config): Likewise.
1668         Add variable "testsuitedir" for testsuite root directory.
1670         Add internal global variables "testbuilddir" and "testdir" for use
1671         by "testsuite file".
1673         Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1674         duplicated path delimiters.
1676         Add warning if no tests are found and fallback method of searching
1677         $srcdir is used.
1679 2018-12-08  Ben Elliston  <bje@gnu.org>
1681         * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1682         expressions.
1683         * testsuite/lib/util-defs.exp (util_test): Likewise.
1684         * testsuite/runtest.all/stats.exp: Likewise.
1685         * testsuite/runtest.all/libs.exp: Likewise.
1687 2018-12-08  Jacob Bachmeyer  <jcb62281@gmail.com>
1689         * testsuite/runtest.all/default_procs.tcl:
1690         (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1691         (lib_regexp_test): Fix copy-paste-edit error.
1692         (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1693         Fix handling of errors raised by tested procedure.  Also ensure
1694         proper quoting of argument lists passed to eval and simplify
1695         the logic for producing return values.
1697 2018-12-08  Ben Elliston  <bje@gnu.org>
1699         * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1701 2018-12-08  Ben Elliston  <bje@gnu.org>
1703         * lib/tip.exp (tip_open): Put braces around if expression.
1705 2018-12-08  Ben Elliston  <bje@gnu.org>
1707         * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1708         lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1709         config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1710         baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1711         baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1712         baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1713         baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1714         baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1715         baseboards/arm-ice.exp, baseboards/androideabi.exp,
1716         testsuite/runtest.all/utils.test,
1717         testsuite/runtest.all/target.test: Replace string literal
1718         comparisons using == and != with 'eq' and 'ne'.
1720 2018-12-08  Ben Elliston  <bje@gnu.org>
1722         * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1723         lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1724         lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1725         config/vxworks.exp, config/unix.exp, config/sim.exp,
1726         config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1727         baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1728         baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1729         baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1730         testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1731         using == and != with 'eq' and 'ne'.
1733 2018-12-07  Jacob Bachmeyer  <jcb62281@gmail.com>
1735         * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1736         (lib_regexp_test): New.
1737         (lib_pat_test): Brace "if" conditions.
1738         (lib_pat_test): Remove spurious quotes in debugging output.
1739         (run_tests): Add support for comments in lists of procedure tests.
1741         * testsuite/runtest.all/config.test: Adjust to use run_tests
1742         procedure. Fixes issue cited in FIXME comment.
1744         * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1745         The old tests had the sense of the return value from lib_pat_test
1746         inverted and were failing but reported PASS.
1747         (find tests, relative_filename tests, runtest_file_p tests):
1748         Adjust to use run_tests procedure.
1750 2018-12-07  Ben Elliston  <bje@gnu.org>
1752         * doc/dejagnu.texi: Add more missing material.
1754 2018-12-07  Jacob Bachmeyer  <jcb62281@gmail.com>
1756         * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1757         (run_tests): Replace implicit "eval" with explicit "eval".  Tidy.
1758         (verbose): Remove unnecessary quotes.
1760 2018-12-06  Ben Elliston  <bje@gnu.org>
1762         * doc/dejagnu.texi: Add more missing material.
1764 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1766         * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1767         (lib_pat_test): Handle an argument list instead of only a single
1768         argument for the procedure under test.
1769         (lib_ret_test): Likewise.
1770         * testsuite/runtest.all/utils.test: Whitespace clean up.
1771         Adjust to pass argument lists for improved lib_pat_test.
1772         * testsuite/runtest.all/clone_output.test: Likewise.
1774 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1776         * lib/remote.exp (standard_load): Fix typo on empty string.
1777         * runtest.exp: Adjust expression to follow GNU conventions.
1778         * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1779         with "eq" instead of "ne".
1780         * testsuite/runtest.all/config.test: Likewise.
1782 2018-12-06  Ben Elliston  <bje@gnu.org>
1784         * runtest.exp: Replace [string match] commands involving literal
1785         strings and variables known to not be Tcl glob patterns with eq
1786         and ne.
1787         * config/unix.exp: Likewise.
1788         * lib/debugger.exp: Likewise.
1789         * lib/dg.exp: Likewise.
1790         * lib/framework.exp: Likewise.
1791         * lib/remote.exp: Likewise.
1792         * lib/utils.exp: Likewise.
1793         * baseboards/androideabi.exp: Likewise.
1794         * baseboards/multi-sim.exp: Likewise.
1795         * testsuite/lib/util-defs.exp: Likewise.
1796         * testsuite/runtest.all/config.test: Likewise.
1798 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1800         * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1801         * testsuite/runtest.all/target.test: Likewise.
1802         * testsuite/runtest.all/remote.test: Likewise.
1803         * testsuite/runtest.all/config.test: Likewise.
1804         * testsuite/runtest.all/clone_output.test: Likewise.
1806 2018-12-06  Ben Elliston  <bje@gnu.org>
1808         * runtest.exp: Replace '==' with 'eq' for string compares.
1809         Likewise, replace '!=' with 'ne'. Replace a few instances of
1810         [string length $str] == 0 with $str eq "".
1811         * config/gdb-comm.exp: Likewise.
1812         * lib/dg.exp: Likewise.
1813         * lib/framework.exp: Likewise.
1814         * lib/libgloss.exp: Likewise.
1815         * lib/remote.exp: Likewise.
1816         * lib/target.exp: Likewise.
1817         * lib/utils.exp: Likewise.
1819 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1821         * runtest.exp: Replace archaic use of [string match] with "eq".
1823 2018-12-06  Ben Elliston  <bje@gnu.org>
1825         * doc/dejagnu.texi (compile Procedure): Remove old node.
1826         (archive Procedure): Likewise.
1827         (ranlib Procedure): Likewise.
1829 2018-12-06  Ben Elliston  <bje@gnu.org>
1831         * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
1833 2018-12-06  Ben Elliston  <bje@gnu.org>
1835         * lib/telnet.exp (telnet_open): Remove connectmode global.
1836         * doc/dejagnu.texi (Procedures For Remote Communication): Remove
1837         mention of connectmode.
1839 2018-12-05  Ben Elliston  <bje@gnu.org>
1841         * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
1842         node.
1844 2018-12-05  Ben Elliston  <bje@gnu.org>
1846         * doc/dejagnu.texi: Add more missing material.
1848 2018-12-05  Ben Elliston  <bje@gnu.org>
1850         * testsuite/runtest.all/utils.test: Test runtest_file_p.
1852 2018-12-05  Jacob Bachmeyer  <jcb62281@gmail.com>
1854         * runtest.exp (load_config): Remove unused globals.
1855         (load_generic_config): Likewise.
1856         (load_board_description): Likewise.
1857         (load_base_board_description): Likewise.
1859 2018-12-05  Ben Elliston  <bje@gnu.org>
1861         * lib/utils.exp (grep): Handle -n.
1862         * doc/dejagnu.texi (grep procedure): Document it.
1863         * testsuite/runtest.all/utils.test: Add a test case.
1864         * NEWS: Add an item.
1866 2018-12-05  Ben Elliston  <bje@gnu.org>
1868         * testsuite/runtest.all/utils.test: Test diff.
1870 2018-12-04  Ben Elliston  <bje@gnu.org>
1872         * testsuite/runtest.all/utils.test: Test grep.
1874 2018-12-04  Ben Elliston  <bje@gnu.org>
1876         * testsuite/runtest.all/utils.test (which): Fail on the else path,
1877         don't pass in either case.
1879 2018-12-04  Ben Elliston  <bje@gnu.org>
1881         * doc/dejagnu.texi (Libgloss): Improve documentation.
1882         (Debugging Procedures): Likewise.
1884 2018-12-04  Ben Elliston  <bje@gnu.org>
1886         * lib/debugger.exp (dumprocs): Fix proc comment.
1888 2018-12-04  Ben Elliston  <bje@gnu.org>
1890         * doc/dejagnu.texi (Utility Procedures): Improve documentation for
1891         the procedures in this section.
1893 2018-12-04  Jacob Bachmeyer  <jcb62281@gmail.com>
1895         * NEWS: Document new relative_filename procedure and --local_init/
1896         --global_init command line options.
1898 2018-12-04  Jacob Bachmeyer  <jcb62281@gmail.com>
1900         * lib/utils.exp (relative_filename): New proc.
1901         * runtest.exp: Use it.
1902         * doc/dejagnu.texi (relative_filename procedure): Document it.
1903         * testsuite/runtest.all/utils.test: Add tests for relative_filename.
1905 2018-12-03  Ben Elliston  <bje@gnu.org>
1907         * dejagnu.h (TestState): Remove const char * variants of pass(),
1908         xpass(), fail(), xfail(), untested(), unresolved() for C++. A
1909         const char * will be implicitly converted to std::string.
1911 2018-12-03  Ben Elliston  <bje@gnu.org>
1913         * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
1914         removing the 'Reference' node and chapter. Make all subsubsections
1915         in this chapter unnumbered subheadings.
1917 2018-12-03  Jacob Bachmeyer  <jcb62281@gmail.com>
1919         * doc/dejagnu.texi: Fix Info node links.  The arguments to @node
1920         are: here, next, previous, up; not here, previous, next, up.
1922 2018-12-03  Ben Elliston  <bje@gnu.org>
1924         * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
1925         doc/texinfo.tex. With thanks to Jacob Bachmeyer.
1926         * Makefile.in: Regenerate.
1928 2018-12-03  Ben Elliston  <bje@gnu.org>
1930         * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
1931         (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
1932         prevents the distribution of the overridden texinfo.tex.
1933         * Makefile.in: Regenerate.
1934         * texinfo.tex: Move from here ..
1935         * doc/texinfo.tex: .. to here.
1937 2018-12-03  Ben Elliston  <bje@gnu.org>
1939         * lib/framework.exp (isremote): Add verbose message.
1941 2018-12-02  Ben Elliston  <bje@gnu.org>
1943         * lib/framework.exp (isremote): Pass $board to is_remote.
1945 2018-12-02  Ben Elliston  <bje@gnu.org>
1947         * doc/fdl.texi: New.
1948         * doc/dejagnu.texi (Variable Index): New.
1949         Add more concept index entries.
1950         (GNU Free Documentation License): New appendix.
1952 2018-12-02  Ben Elliston  <bje@gnu.org>
1954         * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
1955         index (@findex) entries for every built-in procedure.
1957 2018-12-02  Ben Elliston  <bje@gnu.org>
1959         * doc/dejagnu.texi: Start an index.
1961 2018-12-02  Ben Elliston  <bje@gnu.org>
1963         * doc/version.texi: New.
1965 2018-12-02  Ben Elliston  <bje@gnu.org>
1967         * doc/dejagnu.texi: Add title page and frontmatter. Include
1968         version.texi.
1969         * Makefile.in: Regenerate.
1970         * mdate-sh: Installed by automake --add-missing.
1972 2018-12-02  Ben Elliston  <bje@gnu.org>
1974         * doc/dejagnu.texi (diff procedure): Tidy up this node.
1976 2018-12-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1978         * runtest.exp (hex): Remove useless test before setting.
1979         (decimal): Likewise.
1981 2018-12-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1983         * doc/dejagnu.texi (Invoking runtest): Document new --local_init
1984         and --global_init command line options.
1985         * doc/runtest.1: Likewise.
1987         * runtest.exp: Remove useless tests before setting default values
1988         for variables: all_flag, binpath, debug, options, outdir, reboot,
1989         tracelevel, verbose, log_dialog.  They are set before loading any
1990         files or parsing the command line.
1992         * runtest.exp: Add options --local_init and --global_init for
1993         selecting alternate testsuite configuration files.
1995         * runtest.exp: Split variable "configfile" into "local_init_file"
1996         and "global_init_file" in preparation for adding command-line
1997         options to specify these independently.
1999         * runtest.exp (load_generic_config): Remove configfile global.
2000         (load_board_description): Likewise.
2001         (load_base_board_description): Likewise.
2003 2018-11-30  Ben Elliston  <bje@gnu.org>
2005         * lib/utils.exp (grep): Remove reference to "NULL" in comment.
2006         * testsuite/lib/util-defs.exp (util_start): Likewise.
2008 2018-11-30  Ben Elliston  <bje@gnu.org>
2010         * doc/dejagnu.texi: (verbose procedure): Improve documentation.
2011         (load_lib procedure): Likewise.
2013 2018-11-30  Ben Elliston  <bje@gnu.org>
2015         * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
2017 2018-11-30  Ben Elliston  <bje@gnu.org>
2019         * runtest.exp: Use isremote.
2020         * lib/target.exp: Likewise.
2021         * lib/remote.exp: Likewise.
2022         * lib/libgloss.exp: Likewise.
2023         * config/unix.exp: Likewise.
2024         * config/sim.exp: Likewise.
2025         * config/gdb_stub.exp: Likewise.
2026         * config/gdb-comm.exp: Likewise.
2027         * baseboards/basic-sim.exp: Likewise.
2028         * baseboards/androideabi.exp: Likewise.
2030 2018-11-30  Ben Elliston  <bje@gnu.org>
2032         * lib/framework.exp (isremote): New.
2033         * doc/dejagnu.texi (isremote procedure): Document it.
2034         * NEWS: Mention isremote.
2036 2018-11-30  Ben Elliston  <bje@gnu.org>
2038         * texinfo.tex: Update to latest upstream version.
2039         * INSTALL: Likewise.
2041 2018-11-29  Ben Elliston  <bje@gnu.org>
2043         * lib/framework.exp (istarget, ishost, istarget): Set the argument
2044         default value to the empty string.
2045         * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
2046         (getenv procedure): Re-word this node.
2047         (isbuild procedure): Update.
2048         (ishost procedure): Likewise.
2049         (istarget procedure): Likewise.
2050         * testsuite/runtest.all/config.test: Add test cases.
2052 2018-11-28  Ben Elliston  <bje@gnu.org>
2054         * config.guess: Update to latest version.
2055         * config.sub: Likewise.
2057 2018-11-28  Ben Elliston  <bje@gnu.org>
2059         * NEWS: Update.
2060         * configure.ac: Update version number.
2061         * configure: Regenerate.
2062         * doc/dejagnu.texi: Update version number.
2063         * runtest.exp: Update version number.
2065 2018-11-28  Ben Elliston  <bje@gnu.org>
2067         * Makefile.am (TESTSUITE_FILES): Update filenames.
2068         * Makefile.in: Regenerate.
2070 2018-11-28  Ben Elliston  <bje@gnu.org>
2072         * NEWS: Update.
2074         * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
2076 2018-11-25  Jacob Bachmeyer  <jcb62281@gmail.com>
2078         * lib/framework.exp: Clean up whitespace.
2080 2018-11-25  Ben Elliston  <bje@gnu.org>
2082         * config/gdb-comm.exp: Clean up whitespace.
2083         * config/gdb_stub.exp: Likewise.
2084         * config/sid.exp: Likewise.
2085         * config/sim.exp: Likewise.
2086         * config/unix.exp: Likewise.
2088 2018-11-23  Ben Elliston  <bje@gnu.org>
2090         * doc/dejagnu.texi (getdirs procedure): Improve documentation
2091         including documenting the -all option.
2092         (find procedure): Fix a typo.
2093         * lib/utils.exp (getdirs): Improve comments.
2095 2018-11-22  Jacob Bachmeyer  <jcb62281@gmail.com>
2097         * runtest.exp: Ensure that multipass pass variables are always
2098         restored.  Previously, they were only restored if the "Go digging
2099         for tests" branch was taken near the end of runtest.exp.
2101 2018-11-22  Ben Elliston  <bje@gnu.org>
2103         * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
2104         of the $DEJAGNU environment variable (see change below).
2106 2018-11-22  Jacob Bachmeyer  <jcb62281@gmail.com>
2108         * runtest.exp: Raise error if $DEJAGNU is defined but not found.
2110 2018-11-15  Jacob Bachmeyer  <jcb62281@gmail.com>
2112         * runtest.exp (load_tool_init): Search for tool init file instead
2113         of assuming exactly one location.
2115 2018-11-15  Ben Elliston  <bje@gnu.org>
2117         * runtest.exp (load_lib): Whitespace fix.
2119 2018-11-11  Jacob Bachmeyer  <jcb62281@gmail.com>
2121         * lib/ssh.exp: Clean up whitespace.
2122         * lib/remote.exp: Clean up whitespace.
2123         (remote_expect): Change literal tab to "\t" in regexp.
2125 2018-11-05  Ben Elliston  <bje@gnu.org>
2127         * config.guess: Update to latest version.
2128         * config.sub: Likewise.
2130 2018-11-02  Ben Elliston  <bje@gnu.org>
2132         * Makefile.in: Regenerate.
2134 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2136         * Makefile.am (DEJATOOL): List tools in testsuite.
2137         (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2138         * testsuite/config/default.exp: Rename from this ...
2139         * testsuite/lib/runtest.exp: ... to this.
2140         (runtest_exit): Remove spurious "close". This was causing per-tool
2141         testing to fail, since the testsuite for "runtest" never actually
2142         uses "spawn", so "close" ends up closing exp0, which is the
2143         terminal.  The ${tool}_exit proc is not called if the --tool
2144         option is not given, so this had no effect earlier.
2145         * testsuite/lib/libdejagnu.exp: New empty file.
2147 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2149         * runtest.exp (load_tool_init): Add message indicating the
2150         expected location of the tool init file.
2152 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2154         * contrib/sum2junit.sh (failures): Fix typo.
2156 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2158         * configure.ac (DEJAGNU): Add comments.
2160 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2162         * Makefile.am (DEJATOOL): List tools in testsuite.
2163         (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2164         * testsuite/config/default.exp: Rename from this ...
2165         * testsuite/lib/runtest.exp: ... to this.
2166         (runtest_exit): Remove spurious "close".  This was causing
2167         per-tool testing to fail, since the testsuite for "runtest" never
2168         actually uses "spawn", so "close" ends up closing exp0, which is
2169         the terminal.  The ${tool}_exit proc is not called if the --tool
2170         option is not given, so this had no effect earlier.
2171         * testsuite/lib/libdejagnu.exp: New empty file.
2173 2018-10-30  Ben Elliston  <bje@gnu.org>
2175         * Makefile.am (DISTCLEANFILES): Add testrun.xml.
2176         * Makefile.in: Regenerate with Automake 1.15.1.
2177         * aclocal.m4: Likewise.
2179 2018-10-30  Ben Elliston  <bje@gnu.org>
2181         * configure.ac (AC_CONFIG_SUBDIRS): Remove.
2182         * configure: Regenerate.
2184 2018-10-29  Ben Elliston  <bje@gnu.org>
2186         * README (Documentation): Update.
2188 2018-10-28  Jacob Bachmeyer  <jcb62281@gmail.com>
2190         * lib/framework.exp (record_test): Really fix message formatting.
2192 2018-10-29  Ben Elliston  <bje@gnu.org>
2194         Reported by Jacob Bachmeyer.
2195         * testsuite/runtest.all/utils.test: Fix missing end quote.
2197 2018-10-28  Jacob Bachmeyer  <jcb62281@gmail.com>
2199         * lib/framework.exp (record_test): Fix message formatting.
2201 2018-07-20  Ben Elliston  <bje@gnu.org>
2203         * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
2204         * contrib/mysql/sum2xml.sh: Likewise.
2206 2018-07-20  Ben Elliston  <bje@gnu.org>
2208         * contrib/compare_tests: Eliminate Shellcheck warnings.
2209         * contrib/mysql/sum2xml.sh: Likewise.
2211 2018-07-20  Ben Elliston  <bje@gnu.org>
2213         * compile, depcomp, install-sh: Latest upstream versions.
2215 2018-07-20  Ben Elliston  <bje@gnu.org>
2217         * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
2219 2018-07-19  Ben Elliston  <bje@gnu.org>
2221         * runtest: Use POSIX 'command', not 'type', to look for the Expect
2222         binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
2223         is undefined").
2225 2018-07-19  Ben Elliston  <bje@gnu.org>
2227         * config.guess: Update to latest version.
2228         * config.sub: Likewise.
2230 2018-07-06  Richard Biener  <rguenther@suse.de>
2232         * lib/remote.exp (close_wait_program): Use separate kill command
2233         for each pid.
2235 2017-10-16  Ben Elliston  <bje@gnu.org>
2237         * NEWS: Start a new section for the next release.
2238         * configure.ac (AC_INIT): Update version number.
2239         * configure: Regenerate.
2240         * runtest.exp (frame_version): Update version number.
2241         * doc/dejagnu.texi: Likewise.
2242         * doc/runtest.1: Update datestamp.
2244 2017-10-16  Ben Elliston  <bje@gnu.org>
2246         * config.guess: Update to version 2017-09-26.
2247         * config.sub: Likewise.
2249 2017-09-13  Ben Elliston  <bje@gnu.org>
2251         * lib/framework.exp (open_logs): Set XML version to 1.1.
2252         (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
2253         missing 'x' in escape sequence.
2255 2017-08-29  Ben Elliston  <bje@gnu.org>
2257         Revert these changes:
2259         2016-04-25  Ben Elliston  <bje@gnu.org>
2261         * testsuite/runtest.all/utils.test: Remove unsetenv test.
2263         2016-04-24  Ben Elliston  <bje@gnu.org>
2265         * lib/utils.exp (unsetenv): Remove proc.
2266         * doc/dejagnu.texi: Update documentation.
2267         * NEWS: Update.
2269 2017-08-19  Ben Elliston  <bje@gnu.org>
2271         * lib/framework.exp (xml_tag): Escape all of the non-printable
2272         control characters (ASCII codes 1 to 31 inclusive).
2274 2017-08-18  Tom Tromey  <tom@tromey.com>
2276         * runtest.exp: Fix --directory matching.
2278 2017-08-15  Ben Elliston  <bje@gnu.org>
2280         * lib/framework.exp (xml_tag): New proc.
2281         (log_summary): Use it.
2282         (record_test): Likewise.
2284 2017-08-15  Ben Elliston  <bje@gnu.org>
2286         * lib/framework.exp (open_logs): Set .xml filename correctly.
2287         * runtest.exp: Remove xml_file_name var.
2288         (usage): Update --xml option to not take an argument.
2289         (load_tool_init): Likewise.
2290         * doc/dejagnu.texi (Invoking runtest): Update documentation.
2291         * doc/runtest.1: Likewise.
2293 2017-08-01  Ben Elliston  <bje@gnu.org>
2295         * runtest.exp (usage): Improve --strace message.
2297 2017-08-01  Ben Elliston  <bje@gnu.org>
2299         * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
2301 2017-06-04  Ben Elliston  <bje@gnu.org>
2303         * lib/target.exp (push_target): Remove unnecessary global command.
2304         * testsuite/runtest.all/target.test: Overhaul tests.
2306 2017-06-04  Ben Elliston  <bje@gnu.org>
2308         * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
2310 2017-06-04  Tom de Vries  <tom@codesourcery.com>
2312         * testsuite/runtest.all/target.test: Remove list_targets test.
2314 2017-06-04  Tom de Vries  <tom@codesourcery.com>
2316         * testsuite/runtest.all/libs.exp (process_test): Dump entire
2317         output when there's no reportable output.
2318         * testsuite/runtest.all/remote.test (load_lib): New proc.
2319         * testsuite/runtest.all/target.test (load_lib): Same.
2321 2017-03-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2323         * lib/remote.exp (remote_download): Add logging message when
2324         source and destination file differ in name.
2326 2016-09-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2328         * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2330 2016-06-28  Ben Elliston  <bje@gnu.org>
2332         * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
2333         * configure: Regenerate.
2335 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2337         * configure.ac, dejagnu.h, runtest, runtest.exp,
2338         baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
2339         baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2340         baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2341         baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2342         baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2343         baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2344         baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
2345         baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
2346         baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
2347         baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
2348         baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
2349         baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
2350         baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
2351         baseboards/mips-sim-mti64_64.exp,
2352         baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
2353         baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
2354         baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2355         baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
2356         baseboards/mt-sid.exp, baseboards/multi-sim.exp,
2357         baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2358         baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2359         baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2360         baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2361         baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2362         baseboards/unix.exp, baseboards/v850-sim.exp,
2363         baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
2364         baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
2365         baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
2366         lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
2367         lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2368         lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2369         testsuite/config/default.exp, testsuite/lib/libsup.exp,
2370         testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2371         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2372         testsuite/runtest.all/stats-sub.exp,
2373         testsuite/runtest.all/stats.exp, config/adb.exp,
2374         config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2375         config/sid.exp, config/sim.exp, config/unix.exp,
2376         config/vxworks.exp: Update copyright date for 2016.
2378 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2380         * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2381         baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2382         baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2383         baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2384         baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2385         baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2386         baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2387         baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2388         baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2389         baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2390         baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2391         baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2392         baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2393         baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2394         baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2395         baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2396         baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2397         baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2398         baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2399         baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2400         baseboards/unix.exp, baseboards/v850-sim.exp,
2401         baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2402         baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2403         lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2404         lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2405         lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2406         lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2407         testsuite/config/default.exp, testsuite/lib/libsup.exp,
2408         testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2409         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2410         testsuite/runtest.all/options.exp,
2411         testsuite/runtest.all/stats-sub.exp,
2412         testsuite/runtest.all/stats.exp, config/default.exp,
2413         config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2414         config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2415         dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2416         statement.
2418 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2420         * doc/runtest.1: Use condensed years in copyright statement.
2422 2016-06-21  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2424         * runtest: Quote paths. Use test -z, -n for clarity.
2426 2016-06-21  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2428         * config/adb.exp (adb_exec) Improve verbose message.
2430 2016-06-03  Jim Wilson  <jim.wilson@linaro.org>
2432         * baseboards/aarch64-sim.exp: New file.
2433         * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2434         * Makefile.in: Regenerate.
2435         * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2437 2016-04-26  Ben Elliston  <bje@gnu.org>
2439         * doc/dejagnu.texi: Fill more paragraphs.
2441 2016-04-25  Ben Elliston  <bje@gnu.org>
2443         * testsuite/runtest.all/utils.test: Remove unsetenv test.
2445 2016-04-24  Ben Elliston  <bje@gnu.org>
2447         * lib/utils.exp (unsetenv): Remove proc.
2448         * doc/dejagnu.texi: Update documentation.
2449         * NEWS: Update.
2451 2016-04-19  Nick Clifton  <nickc@redhat.com>
2453         * baseboards/msp430-sim.exp: New file.
2454         * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2455         * Makefile.in: Regenerate.
2457 2016-04-18  Ben Elliston  <bje@gnu.org>
2459         * runtest: Remove quoting in final exec command.
2461 2016-04-17  Ben Elliston  <bje@gnu.org>
2463         * lib/remote.exp: Load ssh.exp lib.
2465 2016-04-17  Ben Elliston  <bje@gnu.org>
2467         * lib/rsh.exp (rsh_open): Fix description comment.
2469 2016-04-17  Ben Elliston  <bje@gnu.org>
2471         Reported by shellcheck.
2472         * runtest: Use $((..)) not `expr ..` and defensively double quote
2473         shell variables.
2475 2016-04-17  Ben Elliston  <bje@gnu.org>
2477         * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2478         * Makefile.in: Regenerate.
2480 2016-04-17  Ben Elliston  <bje@gnu.org>
2482         Reported by shellcheck.
2483         * runtest: Use $((..)) not `expr ..`.
2485 2016-04-17  Ben Elliston  <bje@gnu.org>
2487         * configure.ac (AC_INIT): Update version number.
2488         * configure: Regenerate.
2489         * runtest.exp (frame_version): Update version number.
2490         * doc/dejagnu.texi: Likewise.
2492 2016-04-17  Ben Elliston  <bje@gnu.org>
2494         * NEWS: Start a new section for the next release.
2496 2016-04-15  Ben Elliston  <bje@gnu.org>
2498         * Makefile.am (CONTRIB): Add new contrib scripts.
2499         * Makefile.in: Regenrate.
2501 2016-04-15  Ben Elliston  <bje@gnu.org>
2503         * lib/ssh.exp (ssh_exec): Handle regexp return status.
2505 2016-04-13  Ben Elliston  <bje@gnu.org>
2507         * lib/rsh.exp (rsh_exec): Improve verbose message.
2508         * lib/ssh.exp (ssh_exec): Likewise.
2509         * config/adb.exp: Likewise.
2511 2016-04-13  Ben Elliston  <bje@gnu.org>
2513         * runtest.exp: Improve --version (-v) output.
2514         * testsuite/runtest.all/options.exp: Update test case.
2516 2016-04-13  Christophe Lyon  <christophe.lyon@linaro.org>
2518         * lib/rsh.exp (rsh_exec): Handle regexp return status.
2520 2016-04-08  Ben Elliston  <bje@gnu.org>
2522         Reported by Faraz Shahbazker.
2523         * doc/dejagnu.texi (Global config file): Fix broken @node.
2524         (Local config file): Likewise.
2526 2016-04-07  Ben Elliston  <bje@gnu.org>
2528         * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2529         the command line with ';' and not &&.
2531 2016-04-07  Ben Elliston  <bje@gnu.org>
2533         Reported by Faraz Shahbazker.
2534         * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2536 2016-04-06  Yvan Roux  <yvan.roux@linaro.org>
2538         * lib/remote.exp (remnote_download): Create a remote directory if
2539         needed and use it.
2540         (remote_exec): Execute program inside remotedir when it exists.
2541         (standard_load): Set remotedir board field if not present.
2542         * config/unix.exp (unix_load): Handle remotedir in board field.
2543         (remotedir): Set board info field.
2544         * doc/dejagnu.texi (Board File Values): Document remotedir.
2546 2016-04-06  Ben Elliston  <bje@gnu.org>
2548         * doc/dejagnu.texi (Global config file): Put before node 'Local
2549         config file'.
2551 2016-04-05  Ben Elliston  <bje@gnu.org>
2553         * runtest.exp: Remove defunct and undocumented --tool_root option.
2555 2016-04-04  Ben Elliston  <bje@gnu.org>
2557         * doc/dejagnu.texi: More overhauling.
2559 2016-04-04  Ben Elliston  <bje@gnu.org>
2561         * lib/targetdb.exp (set_board_info): Improve comment.
2562         (add_board_info): Likewise.
2564 2016-04-04  Ben Elliston  <bje@gnu.org>
2566         * NEWS: Add some more detail.
2568 2016-04-04  Ben Elliston  <bje@gnu.org>
2570         * site.tmpl: Delete.
2571         * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2572         * Makefile.in: Regenerate.
2574 2016-04-03  Ben Elliston  <bje@gnu.org>
2576         * doc/dejagnu.texi: More overhauling.
2578 2016-04-03  Ben Elliston  <bje@gnu.org>
2580         * runtest.exp: Document the magical handling of -D[01].
2582 2016-04-03  Ben Elliston  <bje@gnu.org>
2584         * doc/runtest.1: Do not document obsolete --status option. It is
2585         still accepted for compatibility, but does nothing.
2587 2016-04-03  Ben Elliston  <bje@gnu.org>
2589         * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2591 2016-04-03  Ben Elliston  <bje@gnu.org>
2593         * doc/runtest.1 (OPTIONS): Sort options.
2595 2016-04-03  Ben Elliston  <bje@gnu.org>
2597         * doc/dejagnu.texi: More overhauling.
2599 2016-04-02  Ben Elliston  <bje@gnu.org>
2601         * doc/dejagnu.texi: Fill paragraphs.
2603 2016-04-02  Ben Elliston  <bje@gnu.org>
2605         * doc/dejagnu.texi: Fix capitalisation of procedure names
2606         throughout.  Use Tcl syntax in procedure prototypes, not C syntax.
2608 2016-04-02  Rob Savoye  <rob.savoye@linaro.org>
2610         * contrib/mysql/create-db.sql: New file.
2611         * contrib/mysql/importxml.sh: Likewise.
2612         * contrib/mysql/make-datafile.sh: Likewise.
2613         * contrib/mysql/plot.sh: Likewise.
2614         * contrib/mysql/README: Likewise.
2615         * contrib/mysql/sum2xml.sh: Likewise.
2617 2016-04-02  Ben Elliston  <bje@gnu.org>
2619         * config.guess: Update to version 2016-04-02.
2620         * config.sub: Update to version 2016-03-30.
2622 2016-04-02  Rob Savoye  <rob.savoye@linaro.org>
2624         * contrib/sum2junit.sh: New.
2626 2016-04-01  Ben Elliston  <bje@gnu.org>
2628         * doc/dejagnu.texi (connprocs): Document new SSH procs.
2630 2016-03-31  Rob Savoye  <rob.savoye@linaro.org>
2632         * lib/ssh.exp: New.
2633         * NEWS: Update.
2635 2016-03-30  Ben Elliston  <bje@gnu.org>
2637         * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2638         lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2639         runtest.exp: Fix spelling errors in comments.
2641 2016-03-30  Ben Elliston  <bje@gnu.org>
2643         * lib/remote.exp (remote_expect): Use perror not send_user.
2645 2016-03-29  Ben Elliston  <bje@gnu.org>
2647         * lib/remote.exp (remote_expect): Fix spelling error.
2649 2016-03-29  Rob Savoye  <rob.savoye@linaro.org>
2651         * runtest.exp: Only print "searching for <test name>" message at
2652         verbose level >= 2 -- too much noise.
2654 2016-03-29  Ben Elliston  <bje@gnu.org>
2656         * texinfo.tex: Update to latest master version.
2657         * INSTALL: Likewise.
2659 2016-03-29  Ben Elliston  <bje@gnu.org>
2661         * runtest.exp: More fixes identified by the Frink static analyser.
2662         * lib/dg.exp: Likewise.
2663         * config/adb.exp: Likewise.
2664         * config/vxworks.exp: Likewise.
2665         * baseboards/androideabi.exp: Likewise.
2666         * baseboards/basic-sid.exp: Likewise.
2667         * baseboards/multi-sim.exp: Likewise.
2669 2016-03-28  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2671         * dg.exp (dg-do): Do not change the previously selected action if
2672         a de-selected dg-do is encountered.
2674 2016-03-28  Ben Elliston  <bje@gnu.org>
2676         * lib/framework.exp (check_xml): Remove unused proc.
2678 2016-03-28  Rob Savoye  <rob.savoye@linaro.org>
2680         * lib/dmucs.exp: New.
2682 2016-03-28  Rob Savoye  <rob.savoye@linaro.org>
2684         * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2685         built compiler, then look in the path.
2687 2016-03-28  Ben Elliston  <bje@gnu.org>
2689         * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2690         /bin/which doesn't. Modern systems rely too heavily on symbolic
2691         links (eg. alternatives).
2693 2016-03-28  Ben Elliston  <bje@gnu.org>
2695         * baseboards/multi-sim.exp: Indent properly.
2697 2016-03-28  Ben Elliston  <bje@gnu.org>
2699         * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2700         rlogin. Identified by Frink.
2702 2016-03-28  Ben Elliston  <bje@gnu.org>
2704         * runtest.exp: Use 'array exists' for testing array existence
2705         rather than 'info exists'.
2707 2016-03-28  Ben Elliston  <bje@gnu.org>
2709         * runtest.exp: Fixes identified by the Frink static analyser:
2710           (1) use -- in switch commands for safety,
2711           (2) remove unreachable return commands after error commands,
2712           (3) replace abbreviated "info proc" with "info procs",
2713           (4) use -- in unset commands for safety where the variable name
2714               is itself a variable.
2715         * lib/dg.exp: Likewise.
2716         * lib/debugger.exp: Likewise.
2717         * lib/framework.exp: Likewise.
2718         * lib/remote.exp: Likewise.
2719         * lib/target.exp: Likewise.
2720         * lib/targetdb.exp: Likewise.
2721         * lib/telnet.exp: Likewise.
2722         * lib/utils.exp: Likewise.
2724 2016-03-28  Ben Elliston  <bje@gnu.org>
2726         * Makefile.am: Remove references to Docbook and friends.
2727         * configure.ac: Likewise.
2728         * Makefile.in: Regenerate.
2729         * configure: Regenerate.
2730         * doc/dejagnu.xml: Remove.
2731         * doc/legal.xml: Likewise.
2732         * doc/ref.xml: Likewise.
2733         * doc/user.xml: Likewise.
2735 2016-03-28  Ben Elliston  <bje@gnu.org>
2737         * lib/framework.exp (exp_continue): Remove old compatibility
2738         wrapper. Expect deprecated 'continue -expect' in August 1997.
2740 2016-03-28  Ben Elliston  <bje@gnu.org>
2742         * NEWS: Update.
2744 2016-03-28  Ben Elliston  <bje@gnu.org>
2746         * lib/utils.exp (which): Reimplement to more closely mimic the
2747         behaviour of the UNIX which utility.
2748         * testsuite/runtest.all/utils.test: Test proc which.
2750 2016-03-27  Ben Elliston  <bje@gnu.org>
2752         * lib/remote.exp (standard_wait): Append any trailing characters
2753         to $output that may be still in $expect_out(buffer) when eof is
2754         matched. Remove arbitrary limitation in the ".+" matching case,
2755         similar to the change to local_exec on 2016-02-17.
2757 2016-03-23  Ben Elliston  <bje@gnu.org>
2759         * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2760         mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2761         * Makefile.in: Regenerate.
2762         * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2763         baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2764         baseboards/vx68k.exp, baseboards/vx960.exp,
2765         baseboards/vxsparc.exp: Remove.
2767 2016-03-23  Ben Elliston  <bje@gnu.org>
2769         * baseboards/README: Remove mention of devo.
2770         * baseboards/iq2000-sim.exp: Likewise.
2771         * baseboards/moxie-sim.exp: Likewise.
2773 2016-03-23  Ben Elliston  <bje@gnu.org>
2775         * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2776         * Makefile.in: Regenerate.
2777         * baseboards/arm-ice.exp: Reinstate.
2778         * baseboards/arm-sim.exp: Likewise.
2780 2016-03-23  Ben Elliston  <bje@gnu.org>
2782         * Makefile.am (config_DATA): Update.
2783         (baseboard_DATA): Likewise.
2784         * Makefile.in: Regenerate.
2785         * NEWS: Update.
2787         Remove the following old config files:
2789         * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2790         cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2791         dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2792         m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2793         mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2794         proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2795         tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2797         Remove the following old baseboard files:
2799         * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2800         d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2801         fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2802         h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2803         i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2804         m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2805         mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2806         mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2807         powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2808         sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2809         tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2810         vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2811         xscale-cygmon.exp: Remove.
2813 2016-03-22  Ben Elliston  <bje@gnu.org>
2815         * lib/target.exp (only--Ls): Change '???' comment to a note. This
2816         isn't a serious shortcoming, but the comment should be retained.
2818 2016-03-22  Rob Savoye  <rob.savoye@linaro.org>
2820         * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
2821         the environment, use that as the spec file for bare metal testing.
2823 2016-03-22  Ben Elliston  <bje@gnu.org>
2825         * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
2826         * Makefile.in: Regenerate.
2828 2016-03-22  Rob Savoye  <rob.savoye@linaro.org>
2830         * config/aarch64-fv8.exp: Add support for testing armv8 using the
2831         ARM Foundation Model.
2833 2016-03-21  Ben Elliston  <bje@gnu.org>
2835         * runtest.exp: Whitespace, comment and typo fixes.
2836         * lib/dejagnu.exp: Likewise.
2837         * lib/remote.exp: Likewise.
2838         * lib/utils.exp: Likewise.
2840 2016-03-21  Ben Elliston  <bje@gnu.org>
2842         * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
2843         * baseboards/mmixware-sim.exp: Likewise.
2844         * config/sim.exp: Likewise.
2845         * runtest.exp: Likewise.
2847 2016-03-21  Ben Elliston  <bje@gnu.org>
2849         * lib/dg.exp (dg-get-options): Clean up regular expression and
2850         remove FIXME comment about it.
2852 2016-03-20  Ben Elliston  <bje@gnu.org>
2854         * baseboards/i960-sim.exp: Remove stale ??? comment.
2855         * config/vxworks.exp: Likewise.
2857 2016-03-20  Ben Elliston  <bje@gnu.org>
2859         * runtest.exp: Load .dejagnurc last not first.
2860         (load_file): Update comment about Tcl 7.5a2.
2861         * doc/user.xml (Customizing DejaGnu): Document new search order
2862         for site.exp files.
2863         * doc/dejagnu.texi: Regenerate.
2864         * NEWS: Update.
2866 2016-03-20  Ben Elliston  <bje@gnu.org>
2868         * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
2870 2016-03-20  Ben Elliston  <bje@gnu.org>
2872         * lib/dg.exp: Remove commented-out calls to send_user.
2874 2016-03-20  Ben Elliston  <bje@gnu.org>
2876         * runtest.exp (load_file): Remove old comment.
2878 2016-03-20  Ben Elliston  <bje@gnu.org>
2880         * lib/dg.exp (dg-test): There is no need to call unresolved to
2881         clear errcnt. Instead, pass 0 as argument 2 to perror.
2882         * runtest.exp (runtest): Likewise.
2884 2016-03-16  Ben Elliston  <bje@gnu.org>
2886         Revert this change (the GCC testsuite uses diff):
2888         2016-03-15  Ben Elliston  <bje@gnu.org>
2890         * lib/utils.exp (diff): Remove proc.
2891         * doc/ref.xml: Update documentation.
2892         * doc/dejagnu.texi: Regenerate.
2893         * NEWS: Update.
2895 2016-03-15  Ben Elliston  <bje@gnu.org>
2897         * testsuite/runtest.all/options.exp: Properly clean up log files
2898         left by the runtest under test.
2900 2016-03-15  Ben Elliston  <bje@gnu.org>
2902         * testsuite/runtest.all/load_lib.exp: Typo fixes.
2904 2016-03-15  Ben Elliston  <bje@gnu.org>
2906         * testsuite/runtest.all/options.exp: Add more tests.
2908 2016-03-15  Ben Elliston  <bje@gnu.org>
2910         * testsuite/libdejagnu/tunit.exp: Clean up.
2912 2016-03-15  Ben Elliston  <bje@gnu.org>
2914         * lib/utils.exp (diff): Remove proc.
2915         * doc/ref.xml: Update documentation.
2916         * doc/dejagnu.texi: Regenerate.
2917         * NEWS: Update.
2919 2016-03-15  Ben Elliston  <bje@gnu.org>
2921         Revert this change:
2922         2016-02-14  Steve Ellcey  <sellcey@mips.com>
2924         * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2925         GCC_UNDER_TEST.
2926         * baseboards/multi-sim.exp (rpath_flags): Ditto.
2928 2016-03-13  Ben Elliston  <bje@gnu.org>
2930         * lib/utils.exp: Whitespace fixes.
2932 2016-03-13  Ben Elliston  <bje@gnu.org>
2934         * lib/dg.exp (dg-process-target): Remove old commented code.
2935         * lib/dg.exp (dg-test): Likewise.
2937 2016-03-13  Ben Elliston  <bje@gnu.org>
2939         * lib/dg.exp: Improve top-of-file documentation.
2941 2016-03-05  Yvan Roux  <yvan.roux@linaro.org>
2943         * lib/remote.exp (remote_exec): Restore original timeout value.
2945 2016-03-04  Yvan Roux  <yvan.roux@linaro.org>
2947         * lib/remote.exp (standard_upload): Remove dead code.
2949 2016-02-24  Ben Elliston  <bje@gnu.org>
2951         * lib/utils.exp (prune): Restore this proc.
2952         * doc/ref.xml: Update documentation.
2953         * doc/dejagnu.texi: Regenerate.
2954         * NEWS: Update.
2956 2016-02-23  Iain Buclaw  <ibuclaw@gdcproject.org>
2958         * lib/libgloss.exp (find_gdc): New proc.
2959         * lib/target.exp (default_target_compile): Add D support.
2960         * NEWS: Update.
2962 2016-02-20  Ben Elliston  <bje@gnu.org>
2964         * lib/utils.exp (diff): Replace calls to verbose followed by
2965         send_log with a single call to verbose -log. Remove additional
2966         newlines from the log messages.
2968 2016-02-20  Ben Elliston  <bje@gnu.org>
2970         * lib/utils.exp (getdirs): Ignore .git and .svn directories.
2972 2016-02-20  Ben Elliston  <bje@gnu.org>
2974         * lib/utils.exp: Improve comments.
2975         * NEWS: Update.
2977 2016-02-20  Ben Elliston  <bje@gnu.org>
2979         * lib/utils.exp (prune): Remove proc.
2980         * doc/ref.xml: Update documentation.
2981         * doc/dejagnu.texi: Regenerate.
2983 2016-02-20  Ben Elliston  <bje@gnu.org>
2985         * lib/utils.exp (slay): Remove proc.
2986         * doc/ref.xml: Update documentation.
2987         * doc/dejagnu.texi: Regenerate.
2989 2016-02-20  Ben Elliston  <bje@gnu.org>
2991         * lib/utils.exp (absolute): Remove proc.
2992         * doc/ref.xml: Update documentation.
2993         * doc/dejagnu.texi: Regenerate.
2995 2016-02-20  Ben Elliston  <bje@gnu.org>
2997         * lib/utils.exp (psource): Remove proc.
2998         * doc/ref.xml: Update documentation.
2999         * doc/dejagnu.texi: Regenerate.
3001 2016-02-20  Ben Elliston  <bje@gnu.org>
3003         * lib/targetdb.exp (board_info): Simplify return logic.
3005 2016-02-19  Ben Elliston  <bje@gnu.org>
3007         * configure.ac: Require Tcl version 8.5 at a minimum.
3008         * configure: Regenerate.
3010 2016-02-18  Ben Elliston  <bje@gnu.org>
3012         * configure.ac: Require Tcl version 8.6 at a minimum.
3013         * configure: Regenerate.
3015 2016-02-17  Ben Elliston  <bje@gnu.org>
3017         * runtest.exp: Tweak "Test run by .." output.
3019 2016-02-17  Ben Elliston  <bje@gnu.org>
3021         * lib/target.exp (default_target_compile): Do not pass -log to
3022         verbose when outputting the captured compiler/assembler/linker
3023         diagnostic output as it will already be in the .log file courtesy
3024         of Expect.
3026 2016-02-17  Ben Elliston  <bje@gnu.org>
3028         * runtest.exp: Enable --status by default.
3029         (runtest): Set exit status to 2 if there is any error sourcing
3030         the Tcl scripts.
3031         * lib/framework.exp (unknown): Likewise, set exit status to 2.
3032         * doc/runtest.1: Clarify exit status codes.
3033         * NEWS: Update.
3035 2016-02-17  Ben Elliston  <bje@gnu.org>
3037         * lib/remote.exp (local_exec): Call exp_continue until eof is
3038         matched.
3040 2016-02-16  Ben Elliston  <bje@gnu.org>
3042         * runtest.exp: Use the traditional exit codes when runtest is
3043         interrupted. This makes it possible to tell if runtest ran to
3044         completion or not. Suggested by Michael Chastain.
3046 2016-02-15  Ben Elliston  <bje@gnu.org>
3048         * TODO: Add ideas produced from Cauldron 2013.
3050 2016-02-15  Ben Elliston  <bje@gnu.org>
3052         * TODO: Update.
3054 2016-02-15  Ben Elliston  <bje@gnu.org>
3056         * lib/dg.exp (dg-test): Remove comment about proc unresolved not
3057         setting exit_status to 1 -- it does.
3059 2016-02-15  Ben Elliston  <bje@gnu.org>
3061         * lib/framework.exp (cleanup): Remove do-nothing proc.
3062         (log_and_exit): Remove call to cleanup.
3063         * doc/ref.xml: Remove documentation for cleanup.
3064         * doc/dejagnu.texi: Regenerate.
3066 2016-02-15  Ben Elliston  <bje@gnu.org>
3068         Reported by David Malcolm.
3069         * lib/dejagnu.exp (text): Allow angle brackets in test messages.
3071 2016-02-15  Ben Elliston  <bje@gnu.org>
3073         * config.guess: Update to version 2016-02-11.
3074         * config.sub: Update to version 2016-01-01.
3076 2016-02-14  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
3078         * lib/remote.exp (remote_exec): Set global timeout for benefit of
3079         <remote>_exec.
3081 2016-02-14  Ben Elliston  <bje@gnu.org>
3083         * lib/remote.exp (local_exec): Improve comments.
3085 2016-02-14  Ben Elliston  <bje@gnu.org>
3087         * doc/runtest.1: Tweak.
3089 2016-02-14  Steve Ellcey  <sellcey@mips.com>
3091         * baseboards/multi-sim.exp (dynamic_linker_flag): Check
3092         GCC_UNDER_TEST.
3093         * baseboards/multi-sim.exp (rpath_flags): Ditto.
3095 2016-01-23  Simon Marchi  <simon.marchi@ericsson.com>
3097         * lib/remote.exp (standard_file): Reverse return logic for remote
3098         exists case.
3100 2016-01-23  Simon Marchi  <simon.marchi@ericsson.com>
3102         * lib/remote.exp (standard_file); Add else clause.
3104 2016-01-16  Ben Elliston  <bje@gnu.org>
3106         * runtest.exp (runtest): Improve comment about --status.
3108 2016-01-12  Simon Marchi  <simon.marchi@ericsson.com>
3110         * lib/remote.exp (standard_file): The [ operator does not actually
3111         output anything. It returns 0 or 1 as its exit code, so "exit `[
3112         -f $file ]`" always expands to "exit " (equivalent to exit 0).
3113         Instead, use test(1) to check for file existence.
3115 2015-12-20  Ben Elliston  <bje@gnu.org>
3117         * doc/dejagnu.xml: Begin overhauling.
3118         * doc/ref.xml: Likewise.
3119         * doc/user.xml: Likewise.
3120         * doc/dejagnu.texi: Regenerate.
3122 2015-12-20  Ben Elliston  <bje@gnu.org>
3124         * doc/runtest.1: Miscellaneous minor improvements.
3126 2015-12-09  Yoshinori Sato  <ysato@users.sourceforge.jp>
3128         * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
3129         * Makefile.in: Regenerate.
3131 2015-11-16  Brooks Moses  <bmoses@google.com>
3133         * config/unix.exp: Add ability to set test timeout from site.exp.
3134         * doc/user.xml: Document new test_timeout variable in site.exp.
3135         * doc/dejagnu.texi: Regenerate.
3137 2015-11-16  Ben Elliston  <bje@gnu.org>
3139         * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
3141 2015-11-16  Ben Elliston  <bje@gnu.org>
3143         * testsuite/runtest.all/options.exp: Remove some commented code.
3145 2015-11-16  Ben Elliston  <bje@gnu.org>
3147         * runtest.exp: Refer to "DejaGnu version", not "Framework
3148         version" in --version output.
3149         * testsuite/runtest.all/options.exp: Update test case.
3151 2015-11-14  Ben Elliston  <bje@gnu.org>
3153         * runtest.exp (usage): Improve help text.
3155 2015-11-12  Ben Elliston  <bje@gnu.org>
3157         * runtest.exp (usage): Sort options in usage.
3159 2015-11-12  Ben Elliston  <bje@gnu.org>
3161         * lib/framework.exp (note): Remove old commented-out code.
3163 2015-11-11  Ben Elliston  <bje@gnu.org>
3165         * doc/user.xml (Summary File): 'untested', not 'runtested'.
3166         * doc/dejagnu.texi: Regenerate.
3168 2015-11-11  Michael Forney  <forney@google.com>
3170         * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
3172 2015-11-11  Ben Elliston  <bje@gnu.org>
3174         * doc/dejagnu.texi: Regenerate.
3176 2015-11-10  Ben Elliston  <bje@gnu.org>
3178         * doc/user.xml: Fix runtest output formatting in <programlisting>.
3180 2015-11-10  Ben Elliston  <bje@gnu.org>
3182         * doc/dejagnu.xml: Update month and year.
3183         * doc/user.xml: Lots of editorial fixes from Daniel Thibault
3184         <Daniel.Thibault@drdc-rddc.gc.ca>.
3186 2015-09-10  Robert Suchanek  <Robert.Suchanek@imgtec.com>
3188         * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
3190 2015-07-30  Pedro Alves  <palves@redhat.com>
3192         * lib/remote.exp (close_wait_program): New procedure.
3193         (local_exec, standard_close): Use it.
3195 2015-05-23  Ben Elliston  <bje@gnu.org>
3197         * doc/dejagnu.xml: Fix broken URLs.
3198         * doc/dejagnu.texi: Regenerate.
3200 2015-05-23  Ben Elliston  <bje@gnu.org>
3202         * doc/user.xml: Fix 'crosscompilation'.
3204 2015-05-23  Ben Elliston  <bje@gnu.org>
3206         * doc/runtest.1 (log_dialog): Improve documentation.
3208 2015-05-16  Filipe Brandenburger  <filbranden@google.com>
3210         * configure.ac: Enable subdir-objects, require automake 1.14.
3211         * Makefile.in: Regenerate.
3213 2015-05-15  Filipe Brandenburger  <filbranden@google.com>
3215         * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
3216         possibly introduced in a conversion of .texi to SGML Docbook.
3217         * doc/user.xml: Likewise.
3218         * doc/ref.xml: Likewise.
3219         * doc/dejagnu.texi: Regenerate.
3221 2015-05-15  Filipe Brandenburger  <filbranden@google.com>
3223         * runtest.exp (runtest): Introduce new --log_dialog option.
3224         * doc/runtest.1: Document it.
3225         * doc/user.xml: Likewise.
3226         * doc/dejagnu.texi: Regenerate.
3228 2015-05-14  Steve Ellcey  <sellcey@imgtec.com>
3230         * baseboards/multi-sim.exp (get_library_dirlist): New.
3231         (dynamic_linker_flag): Use get_library_dirlist to find dynamic
3232         linker.
3233         (rpath_flags): Use get_library_dirlist to set rpath.
3235 2015-05-12  Steve Ellcey  <sellcey@imgtec.com>
3237         * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
3239 2015-03-30  Ben Elliston  <bje@gnu.org>
3241         Revert the following change which causes breakage reported here:
3242         https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
3244         2011-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3246         * runtest.exp (runtest): Call reset_vars at initialisation so that
3247         perror does not affect test results in other test scripts.
3249 2015-02-26  H.J. Lu  <hjl.tools@gmail.com>
3251         * lib/target.exp (default_target_compile): Prepend multilib_flags,
3252         instead of appending it.
3254 2015-02-18  Ben Elliston  <bje@gnu.org>
3256         * lib/framework.exp (log_and_exit): Set tool to "testrun" if
3257         unset.
3259 2015-02-05  Ben Elliston  <bje@gnu.org>
3261         * doc/runtest.1: Fix a spelling error.
3263 2015-02-04  Ben Elliston  <bje@gnu.org>
3265         * config.guess: Update to version 2015-01-01.
3266         * config.sub: Likewise.
3268 2015-01-22  Eric Botcazou  <ebotcazou@adacore.com>
3270         * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
3271         * Makefile.in: Regenerate.
3272         * baseboards/visium-sim.exp: New file.
3274 2014-11-25  Ben Elliston  <bje@gnu.org>
3276         * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
3277         Reported by David Malcolm.
3279 2014-10-28  Ben Elliston  <bje@gnu.org>
3281         * Makefile.in: Regenerate.
3283 2014-10-28  Ben Elliston  <bje@gnu.org>
3285         * example: Remove stale examples.
3287 2014-10-24  Steve Ellcey  <sellcey@mips.com>
3289         * dejagnu.h (pass): Make function static as well as inline.
3290         (xpass): Ditto.
3291         (fail): Ditto.
3292         (xfail): Ditto.
3293         (untested): Ditto.
3294         (unresolved): Ditto.
3295         (note): Ditto.
3296         (totals): Ditto.
3298 2014-10-14  Ben Elliston  <bje@gnu.org>
3300         * runtest.exp: Only match $directory, not *${directory}* when the
3301         user passes the --directory option. Reported by Sergey Alyoshin.
3303 2014-10-14  Ben Elliston  <bje@gnu.org>
3305         * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
3306         is not the right command keyword -- it is full_buffer. Reported by
3307         David Malcolm.
3309 2014-07-15  Maciej W. Rozycki  <macro@mips.com>
3310             Maciej W. Rozycki  <macro@codesourcery.com>
3312         * lib/targetdb.exp (add_board_info): New procedure.
3313         * doc/ref.xml (Add_board_info Procedure): New section.
3314         (Set_board_info Procedure): Add description.
3315         (Unset_board_info Procedure): Likewise.
3316         * doc/user.xml (Board Config File Values): Add `add_board_info'
3317         reference.  Reorder `gdb_init_command' table rows and remove a
3318         duplicate entry, reusing it for `gdb_init_commands'.
3320 2014-06-25  Rob Savoye  <rob.savoye@linaro.org>
3322         * runtest.exp: (lookfor-file): Fix bug were none of the relative
3323         paths were actually being used for file lookup.
3325 2014-06-06  Ben Elliston  <bje@gnu.org>
3327         * depcomp, install-sh, missing: Update to latest versions.
3328         * mkinstalldirs: Remove.
3329         * Makefile.in: Regenerate.
3331 2014-06-04  Ben Elliston  <bje@gnu.org>
3333         * Makefile.in: Regenerate with Automake 1.14.1.
3334         * compile: Add missing file.
3336 2014-06-04  Ben Elliston  <bje@gnu.org>
3338         * config.guess: Update to version 2014-03-23.
3339         * config.sub: Likewise.
3341 2014-06-04  Ben Elliston  <bje@gnu.org>
3343         * aclocal.m4: Regenerate with Automake 1.14.1.
3344         * configure: Regenerate with Autoconf 2.69.
3346 2014-03-15  Steve Ellcey  <sellcey@mips.com>
3348         * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
3350 2014-02-23  Steve Ellcey  <sellcey@mips.com>
3351             Richard Sandiford  <rdsandiford@googlemail.com>
3353         * config/sim.exp (sim_exec): New.
3354         (sim_file): New.
3356 2013-12-08  Richard Sandiford  <rdsandiford@googlemail.com>
3358         * lib/dg.exp (dg-test): Don't put the expected and actual output
3359         of a pattern test in the test name; send it to the log instead.
3361 2013-11-01  Steve Ellcey  <sellcey@mips.com>
3363         * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
3364         * Makefile.in: Regenerate.
3365         * baseboards/multi-sim.exp: New.
3367 2013-10-31  Anton Kolesov  <anton.kolesov@synopsys.com>
3369         * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
3370         (remote_reboot): Add comment explaining return value of this procedure.
3371         * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
3372         * doc/dejagnu.texi: Regenerate.
3374 2013-10-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
3376         * baseboards/androideabi.exp (process_multilib_options): Add option.
3377         * config/adb.exp: Remove hardcoded -static option.
3378         (adb_load): Add the possibility to change the temp directory. Also
3379         handle permission potential problems.
3380         (adb_exec): Do cd to android_tmp_dir first.
3382 2013-10-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
3384         * baseboards/unix.exp: Add gdb settings to not use hardware
3385         watchpoints in sparc64 running GNU/Linux.
3387 2013-06-17  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3389         * runtest.exp (libdirs): New global variable.
3390         (load_lib): Append libdirs to search_and_load_files directories.
3391         * doc/ref.xml (load_lib): Document global variable libdirs.
3392         * doc/dejagnu.texi: Regenerate.
3393         * testsuite/runtest.all/load_lib.exp: New testcase.
3394         * Makefile.am (TESTSUITE_FILES): Add new testcase.
3395         * Makefile.in: Regenerate.
3397 2013-06-15  Ben Elliston  <bje@gnu.org>
3399         * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3400         * Makefile.am: Export DEJAGNU.
3401         * configure: Likewise.
3402         * Makefile.in: Regenerate.
3404 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3406         * doc/user.xml: Fix typos.
3407         * doc/ref.xml: Likewise.
3408         * doc/dejagnu.texi: Regenerate.
3410 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3412         * doc/user.xml: Fix number of columns in table.
3413         * doc/dejagnu.texi: Regenerate.
3415 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3417         * doc/user.xml: Fix rendering errors around programlisting.
3418         * doc/ref.xml: Likewise.
3419         * doc/dejagnu.texi: Regenerate.
3421 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3423         * doc/user.xml: Fix spacing before productname.
3424         * doc/dejagnu.texi: Regenerate.
3426 2013-06-12  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3428         * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3429         magic "args" parameter name, as expect send_log proc accepts -- as
3430         a leading option.
3432 2013-06-08  Makoto Fujiwara  <makoto@ki.nu>
3434         * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3435         (config_DATA): Likewise for config_SCRIPTS.
3436         (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3437         (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3438         baseboard_SCRIPTS.
3439         * Makefile.in: Regenerate.
3441 2013-06-08  Ben Elliston  <bje@gnu.org>
3443         * configure: Regenerate with autoconf 2.69.
3444         * aclocal.m4: Regenerate.
3446 2013-03-31  Ben Elliston  <bje@gnu.org>
3448         * Makefile.am (html-local): Rename target from html.
3449         * Makefile.in: Regenerate with automake 1.12.6.
3450         * aclocal.m4: Likewise.
3451         * configure: Regenerate.
3453 2013-03-28  Gilles Espinasse  <g.esp@free.fr>
3455         * TODO: Remove todo item about warncnt and errcnt.
3457 2013-03-28  Gilles Espinasse  <g.esp@free.fr>
3459         * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3461 2013-03-26  Ben Elliston  <bje@gnu.org>
3463         * config.guess: Update to version 2013-02-12.
3464         * config.sub: Likewise.
3466 2013-02-16  Rob Savoye  <rob@build.welcomehome.org>
3468         * config/adb.exp: Add adb_file so we can remotely delete test
3469         cases to save on limited disk space. Don't remove the file after
3470         executing it, leave that for the test driver instead.
3472 2013-02-15  Rob Savoye  <rob@welcomehome.org>
3474         * config/adb.exp: Remove the test case after executing
3475         it. Otherwise we can fill up all the diskspace on a small target
3476         pretty fast.
3478 2013-02-11  Rob Savoye  <rob@welcomehome.org>
3480         * baseboards/androideabi.exp: Board support for Android using ADB.
3481         * config/adb.exp: Config support for Android using ADB.
3482         * Makefile.am (dist): Add new config and board files.
3483         * aclocal.m4, Makefile.in, configure, example/calc/configure,
3484         example/mathhelper/configure: Regenerated with newer autotools.
3486 2012-12-05  Ben Elliston  <bje@gnu.org>
3488         * example/hello: Remove.
3489         * configure.ac: Likewise.
3490         * configure: Regenerate.
3492 2012-10-04  Steve Ellcey  <sellcey@mips.com>
3494         * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3495         * Makefile.in: Regenerate.
3496         * baseboards/mips-sim-mti32.exp: New.
3497         * baseboards/mips-sim-mti64.exp: New.
3498         * baseboards/mips-sim-mti64_n32.exp: New.
3499         * baseboards/mips-sim-mti64_64.exp: New.
3500         * baseboards/mips-sim-sde32.exp: New.
3501         * baseboards/mips-sim-sde64.exp: New.
3503 2012-10-04  Ben Elliston  <bje@gnu.org>
3505         * aclocal.m4: Regenerate with automake 1.11.3.
3506         * Makefile.in: Likewise.
3507         * configure: Regenerate with autoconf 2.68.
3509 2012-08-22  Steve Ellcey  <sellcey@mips.com>
3511         * baseboards/generic-sim.exp: New baseboard definition.
3513 2012-06-15  Andreas Schwab  <schwab@linux-m68k.org>
3515         * lib/framework.exp (clone_output): Protect from leading dash in
3516         $message.
3517         * runtest.exp (verbose): Likewise.
3519 2012-06-11  Tom Tromey  <tromey@redhat.com>
3521         * doc/runtest.1: Update.
3522         * runtest.exp (xml_file_name): New global.
3523         (usage): Update.
3524         Handle optional argument to --xml.
3525         * lib/framework.exp (open_logs): Respect xml_file_name.
3527 2012-03-24  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3529         * runtest.exp (load_tool_init): Fix typo in -de option handling.
3531 2012-03-24  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3533         * doc/runtest.1: Correct name of debug file.
3535 2012-02-25  Ben Elliston  <bje@gnu.org>
3537         * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3538         for runtest.exp as a last resort (for usrmove environments, where
3539         /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3541 2011-12-30  Ben Elliston  <bje@gnu.org>
3543         * doc/user.xml: Various spelling and consistency fixes.
3544         * doc/ref.xml: Likewise.
3545         (exit_remote_shell): Remove, as this procedure is defunct.
3546         * doc/dejagnu.texi: Regenerate.
3548 2011-12-30  Ben Elliston  <bje@gnu.org>
3550         * config.guess: Update to version 2011-12-29.
3551         * config.sub: Update to version 2011-11-11.
3553 2011-06-30  Tom Tromey  <tromey@redhat.com>
3555         * doc/ref.xml: Document find_gfortran.
3556         * doc/dejagnu.texi: Regenerate.
3557         * lib/target.exp (default_target_compile): Handle f90.
3558         (default_target_compile): Likewise.
3559         * lib/libgloss.exp (find_gfortran): New proc.
3561 2011-06-30  Ben Elliston  <bje@gnu.org>
3563         * Makefile.am (all-local): New rule.
3564         * Makefile.in: Regenerate.
3566 2011-04-12  Ben Elliston  <bje@gnu.org>
3568         * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3569         rm", for better portability.
3570         * config/netware.exp (${board}_load): Likewise.
3571         * lib/dg.exp (dg-test): Likewise.
3572         * lib/framework.exp (open_logs): Likewise.
3573         * lib/remote.exp (standard_file): Likewise.
3574         * runtest.exp: Likewise.
3575         * testsuite/runtest.all/options.exp: Likewise.
3577 2011-03-15  Ben Elliston  <bje@gnu.org>
3579         * runtest.exp: Whitespace cleanups.
3580         * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3581         lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3582         lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3584 2011-03-15  Ben Elliston  <bje@gnu.org>
3586         * runtest: Remove trailing semicolons.
3587         * lib/rsh.exp: Likewise.
3589 2011-03-15  H.J. Lu  <hjl.tools@gmail.com>
3591         * lib/remote.exp (local_exec): Ignore SIGHUP.
3593 2011-03-14  Ben Elliston  <bje@gnu.org>
3595         * runtest.exp (frame_version): Set to 1.5.1.
3596         * configure.ac (AC_INIT): Set version to 1.5.1.
3597         * configure: Regenerate.
3598         * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3599         * doc/dejagnu.texi: Regenerate.
3601 2011-03-14  Ben Elliston  <bje@gnu.org>
3603         * dejagnu.h: Whitespace cleanups.
3605 2011-03-14  Ben Elliston  <bje@gnu.org>
3607         * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3608         * baseboards/mt-sid.exp: Likewise.
3609         * baseboards/tx39-sim.exp: Likewise.
3610         * lib/target.exp (default_target_compile): Likewise.
3612 2011-03-14  Ben Elliston  <bje@gnu.org>
3614         Reported by Flash Sheridan <flash@pobox.com>:
3615         * doc/user.xml (Testing "Hello world" locally): Improve the
3616         example test script and make it robust to failures.  Tidy some
3617         formatting errors.
3618         * doc/dejagnu.texi: Regenerate.
3620 2011-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3622         * runtest.exp (runtest): Call reset_vars at initialisation so that
3623         perror does not affect test results in other test scripts.
3625 2011-03-09  Ben Elliston  <bje@gnu.org>
3627         * NEWS: Start a new section for post-1.5 changes.
3629 2011-03-09  Ben Elliston  <bje@gnu.org>
3631         * DejaGnu 1.5 released.
3633 2011-03-09  Ben Elliston  <bje@gnu.org>
3635         * Makefile.am (DISTCLEANFILES): Define.
3636         * Makefile.in: Regenerate.
3637         * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3638         * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3639         * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3640         mkdir" instead of exec'ing mkdir(1).
3642 2011-03-07  Ben Elliston  <bje@gnu.org>
3644         * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3645         * Makefile.in: Regenerate.
3647 2011-03-06  Ben Elliston  <bje@gnu.org>
3649         * configure.ac (AC_INIT): Set version to 1.5.
3650         * configure: Regenerate.
3651         * runtest.exp (frame_version): Set to 1.5.
3652         * doc/dejagnu.texi: Regenerate.
3654 2011-03-04  Ben Elliston  <bje@gnu.org>
3656         * texinfo.tex: Import latest version from ftp://tug.org/tex.
3658 2011-03-04  Ben Elliston  <bje@gnu.org>
3660         * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3661         * Makefile.in: Regenerate.
3663 2011-03-03  Ben Elliston  <bje@gnu.org>
3665         * Makefile.am: Bump to GPL version 3.
3666         * configure.ac: Likewise.
3667         * Makefile.in: Regenerate.
3668         * aclocal.m4: Likewise.
3669         * configure: Likewise.
3671 2011-03-03  Ben Elliston  <bje@gnu.org>
3673         * config.guess: Update to most recent version.
3674         * config.sub: Likewise.
3676 2011-03-03  Ben Elliston  <bje@gnu.org>
3678         * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3679         proc to ::tcl_unknown.  If ::tcl_unknown returns a failure result,
3680         then fall back to the conventional DejaGnu handling.  Report from
3681         David Byron <dbyron@dbyron.com>.
3683 2011-03-03  Maciej W. Rozycki  <macro@codesourcery.com>
3685         * lib/remote.exp (remote_expect): Pass all exception conditions up
3686         to the caller.
3688 2011-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3690         * lib/dg.exp (dg-test): Support nested calls.
3692 2010-04-13  Ben Elliston  <bje@gnu.org>
3694         * testglue.c: Remove duplicated prototypes for abort and exit.
3696 2010-03-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3698         * doc/user.xml (Tcl Variables For Command Line Options): Correct
3699         column count.
3701 2010-01-21  Jie Zhang  <jie.zhang@analog.com>
3703         * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3705 2010-01-15  Anthony Green  <green@moxielogic.com>
3707         * baseboards/moxie-sim.exp: New baseboard.
3709 2009-12-10  DJ Delorie  <dj@redhat.com>
3711         * baseboards/rx-sim.exp: New baseboard.
3713 2009-10-15  Ben Elliston  <bje@gnu.org>
3715         * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3716         This web page has disappeared.
3718 2009-07-06  Ben Elliston  <bje@gnu.org>
3720         * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3721         <option> not <emphasis>.  Apply other grammatical fixes from
3722         Reuben Thomas.
3723         * doc/dejagnu.texi: Regenerate.
3725 2009-07-06  Ben Elliston  <bje@gnu.org>
3727         * configure.ac: Check for docbook2x-texi.
3728         * configure: Regenerate.
3730 2009-07-06  Ben Elliston  <bje@gnu.org>
3732         From Reuben Thomas  <rrt@sc3d.org>:
3733         * doc/runtest.1: Fix some formatting issues.
3735 2009-06-16  Ben Elliston  <bje@gnu.org>
3737         * config.guess: Update to most recent version.
3738         * config.sub: Likewise.
3740 2009-06-16  Ben Elliston  <bje@gnu.org>
3742         * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3743         * Makefile.in: Regenerate.
3744         * packaging: Remove directory and its contents.
3746 2009-06-10  Maciej W. Rozycki  <macro@codesourcery.com>
3748         * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3749         breakpoints.
3751 2008-12-03  Ben Elliston  <bje@gnu.org>
3753         * COPYING: Update to GPL version 3.
3755 2008-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3757         * doc/ref.xml, doc/user.xml: Fix typos.
3758         * doc/dejagnu.texi: Regenerate.
3760 2008-04-06  Daniel Jacobowitz  <drow@false.org>
3762         * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3763         * Makefile.in: Regenerate.
3764         * dejagnu.exp (host_execute): Improve regexp matching.
3765         * testsuite/libdejagnu/unit.cc: C++ fixes.
3767 2008-04-06  Daniel Jacobowitz  <drow@false.org>
3769         * lib/utils.exp (diff): Open both files as binary.
3771 2008-04-06  Daniel Jacobowitz  <dan@codesourcery.com>
3773         * dejagnu.h (totals): Correct typos.
3775 2008-04-06  Daniel Jacobowitz  <dan@codesourcery.com>
3777         * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3778         * doc/dejagnu.texi: Regenerate.
3780 2008-02-25  Ben Elliston  <bje@gnu.org>
3782         * doc/runtest.1: Update date of last revision.
3784 2008-02-11  Hans-Peter Nilsson  <hp@axis.com>
3786         * baseboards/h8300.exp: Use -- before switch argument that may
3787         begin with "-".
3788         * baseboards/cris-sim.exp: Ditto.
3790 2008-02-11  Hans-Peter Nilsson  <hp@axis.com>
3792         * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3793         iq2000-sim.exp and m32r-linux-sim.exp.
3794         * Makefile.in: Regenerate.
3796 2008-02-08  Ben Elliston  <bje@gnu.org>
3798         * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3800 2007-12-28  Joseph Myers  <joseph@codesourcery.com>
3802         * lib/target.exp (default_link): Initialize nobjects before use.
3804 2007-12-06  Ben Elliston  <bje@gnu.org>
3806         * lib/dg.exp (dg_bogus): Comment fix.
3808 2007-10-31  DJ Delorie  <dj@redhat.com>
3810         * lib/framework.exp (open_logs): Line buffer the .sum file.
3812 2007-09-04  Matt Kraai  <kraai@ftbfs.org>
3814         * doc/user.xml (Configuration): Fix typos.
3815         * doc/dejagnu.texi: Regenerate.
3817 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
3819         * lib/remote.exp (standard_send): Correct quoting.
3821 2007-05-17  Ben Elliston  <bje@gnu.org>
3823         * doc/user.xml: Correct the syntax for running apt-get on a Debian
3824         GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
3826 2007-04-30  Bob Wilson  <bob.wilson@acm.org>
3828         * baseboards/xtensa-sim.exp: Set target_install.  Stop using
3829         basic-sim.exp.  Run the simulator with --turbo option.  Replace
3830         needs_status_wrapper with the simulator's --exit_with_target_code
3831         option.
3833 2006-10-15  Rob Savoye  <rob@bertha.welcomehome.org>
3835         * dejagnu.h: Add support for for expected failures and
3836         unexpected successes.
3838 2005-05-06  Andrew Fyfe <a.fyfe@tiscali.co.uk>
3840         * doc/Makefile.am: Fix install path for man page.
3841         * Makefiles: Regenerated.
3843 2006-08-29  Ben Elliston  <bje@gnu.org>
3845         * runtest.exp (usage): Use "triplet" instead of "config name".
3847 2006-07-13  Daniel Jacobowitz  <dan@codesourcery.com>
3849         * Makefile.am (DOCBOOK2RTF): Fix typo.
3850         * Makefile.in: Regenerated.
3851         * lib/libgloss.exp (process_multilib_options): Use -- to handle
3852         options starting with hyphens.
3854 2006-06-23  Eric Botcazou  <ebotcazou@adacore.com>
3856         * libgloss.exp (find_gnatmake): Rewrite.
3858 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
3860         * rsh.exp (rsh_exec): Handle inp and outp arguments.  Use
3861         local_exec to run rsh.  Return failure if rsh times out.
3862         * remote.exp (local_exec): Handle "|& cat" we added when deciding
3863         whether to return output.
3865 2006-06-09  Ben Elliston  <bje@gnu.org>
3867         * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
3868         multiple cases, not a list (case uses lists, switch does not).
3869         Pass -glob to switch where applicable to emulate case behaviour.
3870         * baseboards/h8300.exp: Likewise.
3871         * lib/framework.exp (clone_output): Likewise.
3872         (clear_xfail): Likewise.
3873         (clear_kfail): Likewise.
3874         * lib/libgloss.exp (process_multilib_options): Likewise.
3875         * runtest.exp: Likewise.
3877 2006-06-06  Ben Elliston  <bje@gnu.org>
3879         * Makefile.am (CONTRIB): New.
3880         (EXTRA_DIST): Add $(CONTRIB).
3881         (doc/dejagnu.texi): Set directory-category param to docbook2texi.
3882         * Makefile.in: Regenerate.
3883         * doc/dejagnu.texi: Likewise.
3885 2006-06-06  Ben Elliston  <bje@gnu.org>
3887         * runtest.exp (load_lib): Typo fix.
3889 2006-06-06  Ben Elliston  <bje@gnu.org>
3891         * dejagnu.h: Tidy comments.
3892         (_BUFFER_SIZE_): Remove to minimise namespace pollution.
3893         (wait): Define this function unconditionally.  Conditionally
3894         compile the function body if _DEJAGNU_WAIT_ is defined.
3895         (buffer): Set the buffer size explicitly.
3896         (pass): Use sizeof (buffer).  Call wait() unconditionally.
3897         (fail, untested, unresolved, note): Likewise.
3898         (enum teststate): Tidy whitespace.
3900 2006-06-06  Ben Elliston  <bje@gnu.org>
3902         * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
3903         * doc/dejagnu.texi: Regenerate.
3905 2006-06-06  Ben Elliston  <bje@gnu.org>
3907         Import from GCC tree:
3908         2006-06-02  Richard Earnshaw  <rearnsha@arm.com>
3909                     Mike Stump  <mrs@apple.com>
3911         * compare_tests: Handle multilibs better.
3913 2006-06-06  Ben Elliston  <bje@gnu.org>
3915         * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
3917         * configure.ac: Check for docbook2texi, not docbook2x-texi.  The
3918         wrapper script changed its name again in the latest release.
3919         * configure: Regenerate.
3920         * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
3921         (DOCBOOK2TEXI): .. to this.
3922         (doc/dejagnu.texi): Do not use output-file parameter to deposit
3923         the .texi file into the source directory; use mv(1) instead. Set
3924         directory-description parameter.
3925         * Makefile.in: Likewise.
3927 2006-06-02  Ben Elliston  <bje@gnu.org>
3929         * config/sim.exp (sim_upload): Match up argument names.
3931 2006-06-02  Ben Elliston  <bje@gnu.org>
3933         * config.guess: Update to most recent version.
3934         * config.sub: Likewise.
3936 2006-06-02  Ben Elliston  <bje@gnu.org>
3938         * config/dos.exp (dos_open): Only run global board_info once at
3939         the beginning of the proc; remove duplicates.
3940         (dos_load): Use file join to separate path components.
3941         (dos_copy_upload): Likewise.
3942         * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
3943         an error.
3945 2006-06-02  Ben Elliston  <bje@gnu.org>
3947         * contrib/compare_tests: Import from the GCC contrib directory.
3949 2006-05-24  Ben Elliston  <bje@gnu.org>
3951         * runtest.exp (verbose): Brace some expressions.
3952         (load_file, search_and_load_file): Likewise.
3953         (runtest): Likewise.
3955 2006-05-23  Ben Elliston  <bje@gnu.org>
3957         * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
3958         * config/i960.exp (i960_spawn): Initialise status.
3959         * config/netware.exp (${board}_init): Brace some if expressions.
3960         * lib/dg.exp (dg-test): Brace some expressions.
3961         * lib/framework.exp (clone_output, log_and_exit, log_summary,
3962         record_test, pass, fail): Likewise.
3963         * lib/libgloss.exp (get_multilibs): Likewise.
3964         * lib/remote.exp (standard_transmit, unix_clean_filename,
3965         remote_load, check_for_board_status, remote_expect): Likewise.
3966         * lib/rsh.exp (rsh_exec): Likewise.
3968 2006-05-22  Ben Elliston  <bje@gnu.org>
3970         * baseboards/cris-sim.exp: Use switch, not case.
3971         * baseboards/h8300.exp: Likewise.
3972         * config/base68k.exp (base68k_ld): Brace an if expression.
3974 2006-05-22  Ben Elliston  <bje@gnu.org>
3976         * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
3977         baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
3978         baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
3979         baseboards/mmixware-sim.exp, baseboards/op50n.exp,
3980         baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
3981         baseboards/usparc-cygmon.exp, config/base-config.exp,
3982         config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
3983         config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
3984         config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
3985         config/netware.exp, config/sid.exp, config/sim.exp,
3986         config/tic80.exp, config/unix.exp, config/vxworks.exp,
3987         lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3988         lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
3989         lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
3990         lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
3991         expressions throughout.
3993 2006-05-22  Ben Elliston  <bje@gnu.org>
3995         * lib/framework.exp (open_logs): Use file join where applicable.
3996         * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
3997         newlib_include_flags, g++_link_flags, libstdc++_link_flags,
3998         get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
3999         * lib/utils.exp (which): Likewise.
4000         * runtest.exp (search_and_load_file, lookfor_file,
4001         load_tool_init): Likewise.
4003         * lib/debugger.exp (watcharray): Add `array' parameter.  Rename
4004         `type' parameter to `op' and update all uses in the proc.
4005         (watchvar): Add `ignore' parameter for scalar variables.
4006         Likewise, rename `type' to `op' and update throughout the proc.
4008         * runtest.exp: Use switch, not case.
4009         * lib/framework.exp (clone_output): Likewise.
4010         (clear_xfail): Likewise.
4011         (clear_kfail): Likewise.
4012         (set_warning_threshold): Make warning_threshold global.
4013         (get_warning_threshold): Likewise.
4014         * lib/libgloss.exp (process_multilib_options): Use switch, not
4015         case.
4016         * lib/remote.exp (local_exec): Only run global errorInfo once.
4017         (standard_upload): Fix error in variable use ($file -> $srcfile).
4018         * lib/utils.exp (grep): Use switch, not case.
4019         (slay): Fix mismatched bracket.
4021         * lib/debugger.exp (watcharray): Use switch, not case.
4022         (watchvar): Likewise.
4023         (bt): Add an explanatory comment.
4025 2006-04-03  Ben Elliston  <bje@gnu.org>
4027         * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
4028         lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
4029         lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
4031 2006-01-02  Ben Elliston  <bje@gnu.org>
4033         * configure.ac (AC_INIT): Set version to 1.4.99.
4034         * configure: Regenerate.
4036 2006-01-01  Ben Elliston  <bje@gnu.org>
4038         * testsuite/runtest.all/utils.test: Add runtest_file_p.
4040 2006-01-01  Ben Elliston  <bje@gnu.org>
4042         * runtest.exp (frame_version): Set to 1.4.99.
4044 2006-01-01  Ben Elliston  <bje@gnu.org>
4046         * dejagnu.h: Update copyright notice.  Use C-style /* .. */
4047         comments for portability with ISO C compilers.
4048         * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
4050 2006-01-01  Ben Elliston  <bje@gnu.org>
4052         * runtest.exp: Update copyright notice.
4053         * example/calc/testsuite/calc.test/calc.exp: Likewise.
4054         * example/calc/testsuite/config/unix.exp: Likewise.
4055         * testsuite/libdejagnu/tunit.exp: Likewise.
4056         * testsuite/runtest.all/libs.exp: Likewise.
4057         * testsuite/runtest.all/options.exp: Likewise.
4058         * testsuite/runtest.all/stats-sub.exp: Likewise.
4059         * testsuite/runtest.all/stats.exp: Likewise.
4061 2006-01-01  Ben Elliston  <bje@gnu.org>
4063         * config/default.exp, config/unix.exp, config/vxworks.exp,
4064         lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
4065         lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
4066         Formatting fixes.
4067         * dejagnu.h, testsuite/config/default.exp,
4068         testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
4069         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
4070         testsuite/runtest.all/options.exp,
4071         testsuite/runtest.all/stats-sub.exp,
4072         testsuite/runtest.all/stats.exp: Update copyright notice and FSF
4073         office address. Remove bug reporting address, as it is now
4074         maintained centrally in the README file.
4076 2005-12-31  Ben Elliston  <bje@gnu.org>
4078         * testsuite/runtest.all/utils.test: Don't bother mentioning
4079         absolute, psource, prune and slay as untested procedures.
4081 2005-12-31  Ben Elliston  <bje@gnu.org>
4083         * doc/ref.xml (Utility Procedures): Note that the following
4084         procedures are deprecated: absolute, psource, prune, slay.
4085         * NEWS: Likewise.
4086         * doc/dejagnu.texi: Regenerate.
4088 2005-12-24  Ben Elliston  <bje@gnu.org>
4090         * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
4091         case the command fails and zeroes the Texinfo source file.  Move
4092         the output (if successful) by its default filename using mv(1).
4093         * Makefile.in: Regenerate.
4095 2005-12-24  Ben Elliston  <bje@gnu.org>
4097         * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
4098         * configure: Regenerate.
4099         * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
4100         (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
4101         (dejagnu.pdf): Use $(DOCBOOK2PDF).
4102         (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
4103         (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
4104         (html): Likewise, use $(DOCBOOK2HTML).
4105         (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
4106         which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
4107         * Makefile.in: Regenerate.
4109 2005-12-24  Ben Elliston  <bje@gnu.org>
4111         * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
4112         (XML): Remove $(srcdir) from each filename; VPATH suffices.
4113         (PACKAGING_METAFILES): Remove.
4114         * Makefile.in: Regenerate.
4116 2005-12-24  Ben Elliston  <bje@gnu.org>
4118         * README: Rewrite.
4120 2005-12-24  Ben Elliston  <bje@gnu.org>
4122         * COPYING: Update.
4124 2005-12-24  Ben Elliston  <bje@gnu.org>
4126         * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
4127         subdirectory.
4129 2005-12-24  Ben Elliston  <bje@gnu.org>
4131         * Makefile.am (RUNTEST): Simplify, as Automake already generates
4132         similar logic in Makefile.in.
4133         * Makefile.in: Regenerate.
4135 2005-12-24  Ben Elliston  <bje@gnu.org>
4137         * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
4138         libdejagnu tests are run too.
4139         * Makefile.in: Regenerate.
4141 2005-12-24  Ben Elliston  <bje@gnu.org>
4143         * configure: Regenerate.
4145         * lib/remote.exp: Tidy.
4146         * lib/targetdb.exp: Likewise.
4147         * lib/target.exp (prune_warnings): Improve comments.
4148         * lib/dejagnu.exp: Likewise.
4149         * lib/utils.exp: Likewise.
4151         * NEWS: Update.
4153 2005-12-24  Ben Elliston  <bje@gnu.org>
4155         * doc/dejagnu.xml: Don't use apostrophes in section titles.
4156         * doc/dejagnu.texi: Regenerate.
4158 2005-12-24  Ben Elliston  <bje@gnu.org>
4160         * Makefile.am (XML): Include $(srcdir) in filenames.
4161         * Makefile.in: Regenerate.
4163 2005-12-24  Ben Elliston  <bje@gnu.org>
4165         * doc/C/Makefile.am: Remove.
4166         * doc/C/Makefile.in: Likewise.
4168         * Makefile.am (SUBDIRS): Remove.
4169         (EXTRA_DIST): Append $(XML).
4170         (dist_man_MANS): Define.
4171         (info_TEXINFOS): Likewise.
4172         (XML): List XML source files.
4173         (dejagnu.pdf): New target.
4174         (dejagnu.ps): Likewise.
4175         (dejagnu.rtf): Likewise.
4176         (html): Likewise.
4177         (dejagnu.texi): Special rule to build Texinfo source.
4178         * Makefile.in: Regenerate.
4179         * configure.ac: Don't search for docbook2dvi.
4180         Search for docbook2rtf and docbook2pdf.
4181         Don't output doc/Makefile or doc/C/Makefile.
4182         * configure: Regenerate.
4183         * doc/texinfo.tex: Move from here ..
4184         * texinfo.tex: .. to here.
4185         * doc/Makefile.am: Remove.
4186         * doc/Makefile.in: Likewise.
4187         * doc/C/dejagnu.omf: Likewise.
4188         * doc/C/topic.dat: Likewise.
4189         * doc/C/dejagnu.xml: Move from here ..
4190         * doc/dejagnu.xml: .. to here.
4191         * doc/C/legal.xml: Move from here ..
4192         * doc/legal.xml: .. to here.
4193         * doc/C/ref.xml: Move from here ..
4194         * doc/ref.xml: .. to here.
4195         * doc/C/user.xml: Move from here ..
4196         * doc/user.xml: .. to here.
4197         * doc/dejagnu.texi: Rebuild from XML source.
4199 2005-12-23  Ben Elliston  <bje@gnu.org>
4201         * doc/runtest.1: Update manual page.
4203 2005-12-23  Ben Elliston  <bje@gnu.org>
4205         * doc/overview.sgml: Remove in favour of XML versions.
4206         * doc/ref.sgml: Ditto.
4207         * doc/user.sgml: Ditto.
4208         * doc/texinfo.tex: Import new version.
4210 2005-12-20  Ben Elliston  <bje@gnu.org>
4212         * Makefile.am (SUBDIRS): Remove testsuite, example.
4213         (EXTRA_DIST): Add $(TESTSUITE_FILES).
4214         (TESTSUITE_FILES): New.
4215         (RUNTEST, RUNTESTDEFAULTFLAGS): New.
4216         (AM_CXXFLAGS): Set.
4217         (check_PROGRAMS): New.
4218         (unit_SOURCES): New.
4219         * Makefile.in: Regenerate.
4220         * configure.ac (AC_OUTPUT): Don't output example/Makefile,
4221         testsuite/Makefile or testsuite/libdejagnu/Makefile.
4222         * configure: Regenerate.
4223         * testsuite/Makefile.am: Remove.
4224         * testsuite/Makefile.in: Likewise.
4225         * testsuite/libdejagnu/Makefile.am: Likewise.
4226         * testsuite/libdejagnu/Makefile.in: Likewise.
4228 2005-12-20  Ben Elliston  <bje@gnu.org>
4230         * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
4231         * Makefile.in: Regenerate.
4233 2005-12-20  Ben Elliston  <bje@gnu.org>
4235         * configure: Regenerate with autoconf 2.59.
4236         * aclocal.m4: Regenerate with aclocal 1.9.6.
4237         * Makefile.in: Regenerate with automake 1.9.6.
4238         * doc/Makefile.in: Likewise.
4239         * doc/C/Makefile.in: Likewise.
4240         * example/Makefile.in: Likewise.
4241         * testsuite/Makefile.in: Likewise.
4242         * testsuite/libdejagnu/Makefile.in: Likewise.
4244 2005-12-20  Nathan Sidwell  <nathan@codesourcery.com>
4246         * baseboards/ms1-sid.exp: Rename from this ..
4247         * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
4249 2005-12-20  Ben Elliston  <bje@gnu.org>
4251         * config.guess: Update to most recent version.
4252         * config.sub: Likewise.
4254 2005-09-24  Ben Elliston  <bje@gnu.org>
4256         * packaging/pkg/pkginfo (EMAIL): Update mail address.
4258         * lib/rsh.exp: Tidy comments.
4260 2005-07-07  Ben Elliston  <bje@gnu.org>
4262         * lib/telnet.exp (telnet_transmit): Remove; use standard method.
4264 2005-07-07  Ben Elliston  <bje@gnu.org>
4266         * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
4267         * Makefile.in: Regenerate.
4269 2005-07-06  Ben Elliston  <bje@gnu.org>
4271         * lib/tip.exp (tip_open): Improve comments.
4272         (tip_download): Likewise.
4274 2005-07-06  Ben Elliston  <bje@gnu.org>
4276         * lib/telnet.exp (telnet_open): Improve option handling.  Clarify
4277         documentation for each proc.
4279 2005-07-06  Ben Elliston  <bje@gnu.org>
4281         * aclocal.m4: Regenerate with aclocal 1.9.
4282         * configure: Regenerate with autoconf 2.59.
4283         * doc/C/Makefile.am: Remove stray include.
4284         * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
4285         example/Makefile.in, testsuite/Makefile.in,
4286         testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
4288 2005-07-06  Ben Elliston  <bje@gnu.org>
4290         Import some missing hunks from this patch on sourceware:
4292         2004-11-11  Nick Clifton  <nickc@redhat.com>
4294         * lib/libgloss.exp (libio_include_flags, g++_include_flags,
4295         winsup_include_flags): Revert previous patch, restoring the use of
4296         -I, for all libraries except newlib.  Newlib needs -isystem to
4297         avoid the problems with <limits.h> but the C++ and winsup
4298         libraries need -I because -isystem generates an implicit 'extern
4299         "C"' which may not be appropriate for certain targets.
4301 2005-07-06  Aldy Hernandez  <aldyh@redhat.com>
4303         * baseboards/ms1-sid.exp: New.
4305 2005-07-01  Ben Elliston  <bje@gnu.org>
4307         Unify some changes with the 1.4 branch:
4309         2004-10-28  Nick Clifton  <nickc@redhat.com>
4310         * baseboards/iq2000-sim.exp: New file.
4312         2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4313         * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4314         noresults to zero.
4316         2004-05-13  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4317         * baseboards/m32r-linux-sim.exp: Add New file.
4319 2005-06-24  Ben Elliston  <bje@gnu.org>
4321         * MAINTAINERS: Update my email address.
4323 2005-06-24  Ben Elliston  <bje@gnu.org>
4325         * Update the FSF's physical address throughout.
4327 2005-06-22  Ben Elliston  <bje@gnu.org>
4329         * config.guess: Update to most recent version.
4330         * config.sub: Likewise.
4332 2005-04-28  Mark Kettenis  <kettenis@gnu.org>
4334         * lib/target.exp (prune_warnings): Add a few more linker
4335         warning patterns for OpenBSD.
4337 2005-03-20  Mark Kettenis  <kettenis@gnu.org>
4339         * lib/target.exp (prune_warnings): Add linker warning patterns for
4340         OpenBSD.
4342 2005-01-29  Hans-Peter Nilsson  <hp@axis.com>
4344         * baseboards/cris-sim.exp: New file.
4346 2004-11-19  Nick Clifton  <nickc@redhat.com>
4348         * lib/libgloss.exp (newlib_include_flags): Document why -isystem
4349         is used instead of -I.
4350         (libio_include_flags): Use -I instead of -isystem and
4351         document why.
4352         (g++_include_flags): Use -I instead of -isystem.
4353         (libstdc++_include_flags): Likewise.
4355 2004-11-04  Ben Elliston  <bje@gnu.org>
4357         * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
4358         mark the test as unresolved, rather than warning.
4360 2004-10-27  Nick Clifton  <nickc@redhat.com>
4362         * baseboards/iq2000-sim.exp: New file.
4364 2004-08-20  Daniel Jacobowitz  <dan@debian.org>
4366         * testglue.c: Prototype abort(3) and exit(3).
4368 2004-08-14  Paul Brook  <paul@codesourcery.com>
4370         * config/sim.exp (sim_download, sim_upload): New procs.
4372 2004-06-30  Ben Elliston  <bje@gnu.org>
4374         * config.guess: Update to current revision.
4375         * config.sub: Likewise.
4377 2004-06-12  Ben Elliston  <bje@gnu.org>
4379         * config.guess: Update to current revision.
4380         * config.sub: Likewise.
4382 2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4384         * testglue.c: Prototype abort and exit.
4386 2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4388         * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4389         string.
4391 Tue Feb 25 05:19:57 UTC 2003  Brendan Conoboy  <blc@@redhat.com>
4393         * lib/remote.exp (call_remote): Remove multilibs from the board
4394         name when rebooting a board.
4396 2004-06-03  Alexandre Oliva  <aoliva@redhat.com>
4398         * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4399         noresults to zero.
4401 2004-06-07  Ben Elliston  <bje@gnu.org>
4403         * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4405 2004-03-29  Joel Brobecker  <brobecker@gnat.com>
4407         * lib/libgloss.exp (find_gnatmake): New procedure.
4408         * lib/target.exp (default_target_compile): Add support for Ada.
4410 2004-04-16  Kazuhiro Inaoka  <inaoka dot kazuhiro at renesas dot com>
4412         * baseboards/m32r-linux-sim.exp: Add New file.
4414 2004-04-02  Rob Savoye  <rob@direwolf.welcomehome.org>
4416         * configure.ac, example/Makefile.am: Add example/mathhelper.
4417         * configure, alocal.m4, example/Makefile.in: Regenerated.
4419 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4421         * example/mathhelper: New example for using the unit testing API.
4423 2004-03-05  Daniel Jacobowitz  <drow@mvista.com>
4425         * lib/remote.exp (standard_spawn): Fix rsh username support.
4427 2004-03-06  Rob Savoye  <rob@althea.welcomehome.org>
4429         * doc/C: New directory for DocBook XML files.
4430         * doc/C/dejagnu.omf: New config file for scrollkeeper.
4431         * doc/C/topic.dat: New config file for the GNOME help system.
4432         * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4433         overview.sgml.
4434         * doc/C/ref.xml: DocBook XML formatted verion of what was
4435         ref.sgml.
4436         * doc/C/user.xml: DocBook XML formatted verion of what was
4437         user.sgml.
4439 2004-02-17  Ben Elliston  <bje@wasabisystems.com>
4441         * runtest.exp: Do not trap SIGSEGV.
4443 2004-02-16  Ben Elliston  <bje@wasabisystems.com>
4445         * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4446         * configure: Regenerate.
4448 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4450         * doc/runtest.1: Improve some wording. Update last revision date.
4452 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4454         * NEWS: Document yesterday's work.
4456         * runtest: Improve comments.
4458 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4460         * TODO: Update.
4462         * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4464 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4466         * configure.ac: Quote strings throughout in good Autoconf style.
4467         Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4468         expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4469         existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4470         is at version 8.3 or greater.
4471         * configure: Regenerate.
4472         * acinclude.m4: Remove.
4473         * aclocal.m4: Regenerate.
4474         * Makefile.in: Likewise.
4475         * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4476         (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4477         (%.html: %.sgml): Use $(DOCBOOK2HTML).
4478         * doc/Makefile.in: Regenerate.
4479         * example/Makefile.in: Likewise.
4480         * testsuite/Makefile.in: Likewise.
4481         * testsuite/libdejagnu/Makefile.in: Likewise.
4482         * TODO: Update.
4484 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
4486         * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4487         * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4488         baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4489         baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4490         baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4491         baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4492         baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4493         baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4494         baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4495         baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4496         baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4497         baseboards/vr5000-ddb.exp: Likewise.
4499 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4501         * runtest: Terminate with an error if expect cannot be found.
4502         * TODO: Update.
4504 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4506         * configure.ac: Use AC_PATH_PROG to find expect(1).
4507         (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4508         * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4509         (DJ_AC_STL): Likewise.
4510         * configure: Regenerate.
4511         * aclocal.m4: Likewise.
4512         * configure: Likewise.
4513         * Makefile.in: Likewise.
4514         * doc/Makefile.in: Likewise.
4515         * example/Makefile.in: Likewise.
4516         * testsuite/Makefile.in: Likewise.
4517         * testsuite/libdejagnu/Makefile.in: Likewise.
4518         * TODO: Update.
4520 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4522         * runtest.1: Remove any mention of mondfe.
4524 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4526         * TODO: Add an item about timeouts.
4528 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
4530         * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4532 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4534         * lib/standard.exp: Tidy.
4536 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4538         * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4539         (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4540         (baseboard_SCRIPTS): Remove a29k-udi.exp.
4541         * Makefile.in: Regenerate.
4542         * baseboards/a29k-udi.exp: Remove.
4543         * baseboards/dos.exp: Update comments.
4544         * config/udi.exp: Remove.
4545         * config/vrtx.exp: Remove.
4546         * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4547         * doc/ref.sgml: Likewise.
4548         * doc/user.sgml: Likewise.
4549         * lib/mondfe.exp: Remove.
4550         * lib/xsh.exp: Likewise.
4551         * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4552         * packaging/pkg/prototype: Update.
4553         * NEWS: Update.
4555 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4557         * Makefile.am (rpmspec): Remove.
4558         (rpm): Additionally depend on dejagnu.spec.
4559         ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4560         directory.  This saves duplicated code in the solpkg and hpdepot
4561         targets.
4562         (solpkg): Depend on $(PKGDIR)/dejagnu.
4563         (hpdepot): Likewise.
4564         * Makefile.in: Regenerate.
4566 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4568         * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4569         * Makefile.in: Regenerate.
4570         * testsuite/Makefile.am (CLEANFILES): Remove.
4571         (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4572         * testsuite/Makefile.in: Regenerate.
4574 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4576         * lib/util-defs.exp: Move from here ..
4577         * testsuite/lib/util-defs.exp: .. to here.
4578         * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4579         * Makefile.in: Regenerate.
4580         * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4581         * testsuite/Makefile.in: Regenerate.
4582         * doc/ref.sgml (File Map): Remove util-defs.exp.
4583         * packaging/pkg/prototype: Update file list.
4585 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4587         * NEWS: Document changes since 1.4.4.
4589 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4591         * example/Makefile.am (check-recursive): Remove target.
4592         * example/Makefile.in: Regenerate.
4594 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4596         * dejagnu.h: Conform with GNU coding standard.
4598 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4600         * Makefile.am (PKGING): Remove.
4601         (PACKAGING_METAFILES): Update accordingly.
4602         (CLEANFILES, check-DEJAGNU): Remove.
4603         (tarball): Remove; use `dist'.
4604         (deb): Update target recipe to use `make dist'.
4606 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4608         * Clean.tcl: Remove.
4610         * Makefile.am (SUBDIRS): Add testsuite, example directories.
4611         (EXTRA_DIST): Define.
4612         (pkgdata_SCRIPTS): Add lib/*.exp files.
4613         (DATE, TCLSH): Remove.
4614         (configdir, config_DATA, config_SCRIPTS): Define.
4615         (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4616         (pkgdata_DATA): Likewise.
4617         (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4618         (PKGING, PACKAGING_METAFILES): New macros.
4619         (clean-local): Remove.
4620         (rpm): Depend on dist.
4621         (deb): Likewise.
4622         (dist-hook): Remove.
4623         (lib_dest, lib_files): Likewise.
4624         (baseboard_dest, baseboard_files): Likewise.
4625         (include_dest, config_dest, config_files): Likewise.
4626         (install-data-local): Likewise.
4627         (uninstall-local): Likewise.
4628         (site.exp): Likewise.
4629         * Makefile.in: Regenerate.
4631         * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4632         (force): Likewise.
4633         (EXTRA_DIST): Define.
4634         (site.exp): Remove target.
4635         * testsuite/Makefile.in: Regenerate.
4636         * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4637         (noinst_PROGRAMS): Rename from this ..
4638         (check_PROGRAMS): .. to this.
4639         * testsuite/libdejagnu/Makefile.in: Regenerate.
4641         * doc/Makefile.am (man_MANS): Rename from this ..
4642         (dist_man_MANS): .. to this.
4643         (info_TEXINFOS): Define.
4644         (TARGETS): Remove overview.rtf.
4645         (EXTRA_DIST): Define.
4646         (%.rtf: %.sgml): Remove rule.
4647         (%.gif: %.fig): Likewise.
4648         (%.epsi: %.eps): Likewise.
4649         (%.eps: %.fig): Likewise.
4650         (clean, realclean, distclean): Remove.
4651         (install-docs): Don't install overview.rtf.
4652         * doc/Makefile.in: Regenerate.
4653         * doc/texinfo.tex: New file.
4655         * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4656         (check_PROGRAMS): .. to this.
4657         (EXTRA_DIST): Add test cases and calc.1 man page.
4658         * example/calc/Makefile.in: Regenerate.
4659         * example/calc/aclocal.m4: Likewise.
4660         * example/calc/configure: Likewise.
4661         * example/calc/stamp-h.in: Remove.
4662         * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4663         (check_PROGRAMS): .. to this.
4664         (EXTRA_DIST): Define.
4665         * example/hello/Makefile.in: Regenerate.
4666         * example/hello/aclocal.m4: Likewise.
4667         * example/hello/configure: Likewise.
4668         * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4669         * example/hello/testsuite/Makefile.in: Regenerate.
4671 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4673         * configure.ac: Remove commented out code.
4674         * configure: Regenerate.
4676 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4678         * site.tmpl: Tidy.
4680 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4682         * INSTALL: Import latest version.
4683         * depcomp: Likewise.
4684         * install-sh: Likewise.
4685         * missing: Likewise.
4687 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4689         * configure.in: Rename from this ..
4690         * configure.ac: .. to this.  Require Autoconf 2.50.
4691         * Makefile.in: Regenerate.
4692         * doc/Makefile.in: Likewise.
4693         * example/Makefile.in: Likewise.
4694         * testsuite/Makefile.in: Likewise.
4695         * testsuite/libdejagnu/Makefile.in: Likewise.
4697 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4699         * lib/target.exp (prune_warnings): Add spaces where required in
4700         NetBSD warnings.  Supersedes a patch in pkgsrc's devel/dejagnu.
4702 2004-02-05  Ben Elliston  <bje@wasabisystems.com>
4704         * config.guess: Update to current revision.
4705         * config.sub: Likewise.
4707 2004-02-04  Ben Elliston  <bje@wasabisystems.com>
4709         * configure.in (AC_NO_EXECUTABLES): Remove.
4710         * configure: Rebuild with Autoconf 2.59.
4711         * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4712         (DJ_AC_PATH_TCLSH): Likewise.
4713         (DJ_AC_PATH_DOCBOOK): Likewise.
4714         * aclocal.m4: Rebuild.
4715         * Makefile.in: Rebuild with Automake 1.8.2.
4716         * doc/Makefile.in: Likewise.
4717         * example/Makefile.in: Likewise.
4718         * testsuite/Makefile.in: Likewise.
4719         * testsuite/libdejagnu/Makefile.in: Likewise.
4721 2004-01-30  Ben Elliston  <bje@wasabisystems.com>
4723         Import orphaned patches from sources.redhat.com:
4725         2002-05-02  Fernando Nasser  <fnasser@redhat.com>
4726         * doc/dejagnu.texi: Document KFAIL and KPASS.
4728         2002-02-20  Richard Henderson  <rth@redhat.com>
4729         * lib/target.exp (prune_warnings): Revert early "In function"
4730         strip, as this breaks g++.dg tests.  Match dangerous regexp
4731         without the "In function" header.
4733         2002-02-09  Richard Henderson  <rth@redhat.com>
4734         * lib/target.exp (prune_warnings): Strip "In function" etc early.
4735         Adjust "dangerous" regexp for glibc's tmpnam warning.
4737         2001-09-10  Jim Blandy  <jimb@redhat.com>
4738         * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4739         so we get the version of the `outbyte' function that does console
4740         output in a way that GDB's rom68k target recognizes.  Note that
4741         the board can now do output.
4743         2000-04-25  Felix Lee  <flee@cygnus.com>
4744         * baseboards/tx39-sim.exp: Use idt, not dve linker script.  Delete
4745         misleading comments and null statements.
4747 2004-01-30  Ben Elliston  <bje@wasabisystems.com>
4749         * DejaGnu 1.4.4 released.
4751 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4753         * Makefile.am (tarball): Depend on book1.html, not overview.html.
4754         Don't echo needless messages. Portably copy the source tree to
4755         dejagnu-${VERSION}.  Portably copy documentation files from the
4756         source tree to the distribution directory.  Don't copy RPM-related
4757         files -- leave that to the rpm target.
4758         (snapshot): Remove target.
4759         (overview.html): Rename target from this ..
4760         (book1.htm): .. to this.
4761         (rpm): Portably copy tar file to SOURCES directory.
4762         (deb): Depend on book1.html, not overview.html.
4763         (dist-hook): Depend on book1.html, not overview.html.
4764         * Makefile.in: Rebuild.
4765         * doc/Makefile.am (TARGETS): Depend on book1.html.
4766         (book1.html): Depend on html/book1.html.
4767         (overview.dvi): Remove target.
4768         * doc/Makefile.in: Rebuild.
4770 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4772         * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4773         (cleanfiles): Concatenate regular filenames that match .*.
4775 2004-01-12  Ben Elliston  <bje@wasabisystems.com>
4777         * baseboards/frv-sim.exp: Remove reference to devo/sim.
4779 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4781         * doc/overview: Remove all files.
4783 2003-12-03  Ben Elliston  <bje@wasabisystems.com>
4785         * testsuite/runtest.all/utils.test: Fix a test for proc find which
4786         assumed that "subsubfile1" would appear at the end of the returned
4787         list.  Adjust to use a more robust regular expression.
4789 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
4791         * doc/overview.sgml (version): Update.
4792         * doc/overview/installation.html: Likewise.
4794         * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4795         * packaging/pkg/pkginfo: Likewise.
4796         * packaging/depot/dejagnu.psf: Likewise.
4798 2003-10-25  Ben Elliston  <bje@wasabisystems.com>
4800         * runtest.exp (frame_version): Bump version.
4801         * configure.in (AM_INIT_AUTOMAKE): Likewise.
4802         * configure: Regenerate.
4804 2003-10-16  Rob Savoye   <rob@welcomehome.org>
4806         * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4808 2003-10-13  Ben Elliston  <bje@wasabisystems.com>
4810         * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4812 2003-10-11  Corinna Vinschen  <vinschen@redhat.com>
4814         * baseboards/sh-sim.exp: New file.
4816 2003-10-11  Ben Elliston  <bje@wasabisystems.com>
4818         * NEWS: Tidy.
4819         * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
4821 2003-10-08  Ben Elliston  <bje@wasabisystems.com>
4823         * i960glue.c: Remove.
4824         * packaging/pkg/prototype: Remove i960glue.c.
4826 2003-10-07  Ben Elliston  <bje@wasabisystems.com>
4828         * contrib/README: Remove.
4829         * contrib/testit: Remove bitrotten script.
4830         * contrib/test-g++: Likewise.
4831         * contrib/test-tool: Likewise.
4833 2003-08-23  Ben Elliston  <bje@wasabisystems.com>
4835         * TODO: Tidy.
4836         * contrib/README: Bring up to date.
4838 2003-08-23  Corinna Vinschen  <vinschen@redhat.com>
4840         * config/sid.exp: Add gdb settings to use no hardware watchpoints.
4842 2003-08-23  Ben Elliston  <bje@wasabisystems.com>
4844         * README: Update section on reporting bugs.
4846 2003-08-22  Ben Elliston  <bje@wasabisystems.com>
4848         * lib/kermit.exp: Document procs.
4849         * lib/ftp.exp: Likewise.
4851 2003-08-19  Ben Elliston  <bje@wasabisystems.com>
4853         * contrib/testit: Run wish via /usr/bin/env for portability.
4855 2003-08-18  Ben Elliston  <bje@wasabisystems.com>
4857         * Makefile.am: Tidy comments and unused command lines.
4858         * Makefile.in: Regenerate.
4859         * testsuite/libdejagnu/Makefile.in: Likewise.
4861         * contrib/bluegnu2.0.3: Remove unsupported subtree.
4863 2003-08-18  Ben Elliston  <bje@wasabisystems.com>
4865         * MAINTAINERS: New file.
4867 2003-08-17  Ben Elliston  <bje@wasabisystems.com>
4869         * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
4870         * doc/Makefile.in: Regenerate.
4872 2003-08-16  Ben Elliston  <bje@wasabisystems.com>
4874         * doc/overview.sgml (overview): Start overhauling chapter.
4876         * doc/README.Writers: New document on style conventions.
4877         * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
4878         * doc/user.sgml: Likewise.
4879         * doc/overview.sgml: Likewise.
4880         * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
4882 2003-08-12  Ben Elliston  <bje@wasabisystems.com>
4884         * Makefile.am (tarball): Update path to dejagnu.spec.
4885         (rpmspec): Likewise.
4886         (deb): Likewise, update path to package metafiles.
4887         (solpkg): Likewise.
4888         (hpdepot): Likewise.
4889         * Makefile.in: Regenerate.
4890         * aclocal.m4: Likewise.
4891         * configure: Likewise.
4892         * doc/Makefile.in: Likewise.
4893         * example/Makefile.in: Likewise.
4894         * testsuite/Makefile.in: Likewise.
4895         * deb: Move from here ..
4896         * packaging/deb: .. to here.
4897         * redhat: Move from here ..
4898         * packaging/rpm: .. to here.
4899         * depot: Move from here ..
4900         * packaging/depot: .. to here.
4901         * pkg: Move from here ..
4902         * packaging/pkg: .. to here.
4904         * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
4905         (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
4906         * testsuite/libdejagnu/Makefile.in: Regenerate.
4908 2003-08-07  Ben Elliston  <bje@wasabisystems.com>
4910         * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
4911         to increment count rather than count++ as in C.
4913 2003-08-06  Ben Elliston  <bje@wasabisystems.com>
4915         * lib/remote.exp: Replace "TCL" with "Tcl".
4917 2003-07-30  Ben Elliston  <bje@wasabisystems.com>
4919         * doc/runtest.1: Replace "TCL" with "Tcl".
4920         Make last revision date current.
4922 2003-07-29  Ben Elliston  <bje@wasabisystems.com>
4924         * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
4925         URLs and other stylistic improvements.
4926         * doc/ref.sgml: Likewise.
4927         * doc/user.sgml: Likewise.
4929 2003-07-25  Mike Stump  <mrs@apple.com>
4931         * lib/target.exp (prune_warnings): Handle "nfs server .* not
4932         responding" and "nfs server .* is alive again".
4934 2003-07-20  Ben Elliston  <bje@wasabisystems.com>
4936         * config.guess: Update to most recent version.
4937         * config.sub: Ditto.
4938         * AUTHORS: Add self to list of maintainers.
4940 2003-07-25  Jim Dein  <jdein@deinji5.apple.com> (RIP)
4942         * lib/utils.exp (find): Fix double recursion bug.
4944 2002-02-25  Jackie Smith Cashion  <jsmith@redhat.com>
4946         * baseboards/am33_2.0-libremote.exp: New file.
4948 2000-11-21  Drew Moseley  <dmoseley@redhat.com>
4950         * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
4951         ASB2303 board.
4953 2000-08-10  Drew Moseley  <dmoseley@cygnus.com>
4955         * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
4956         ASB2303 board.
4958 2003-06-13  Phil Edwards <pme@devphil.com>
4960         * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
4961         baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
4962         only -T[linker] instead of -Wl,-T[linker].
4964 2003-06-13  Jason Thorpe  <thorpej@wasabisystems.com>
4966         * lib/target.exp (prune_warnings): Add two more linker
4967         warning patterns for warnings generated by modern verions
4968         of NetBSD.
4970 2003-05-12  H.J. Lu <hongjiu.lu@intel.com>
4972         * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
4974 2003-05-09  H.J. Lu <hongjiu.lu@intel.com>
4976         * runtest: Fix a typo.
4978 2003-05-03  Nitin Dhavale <nitinpdhavale@indiatimes.com>
4980         * doc/user.sgml: Clarify how to set the verbose option.
4982 2003-03-28 Chris Demetriou <cgd@broadcom.com>
4984         * lib/framework.exp (check_conditional_xfail): Adjust so that
4985         an empty 'includes' list matches all sets of flags.
4986         * doc/dejagnu.texi: Document the above.
4987         * doc/ref.sgml: Likewise.
4989 2003-03-27  David Heine <dlheine@tensilica.com>
4991         * baseboards/xtensa-sim.exp: Fix a syntax error.
4993 2003-03-16  Rob Savoye  <rob@direwolf.welcomehome.org>
4995         * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
4996         than stomp on it. This is based on a patch from Brendan Conoboy
4997         <blc@redhat.com>.
4998         * Most files: Update copyright dates.
5000 2003-03-13  Mike Stump  <mrs@apple.com>
5002         * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
5003         help ensure uniqueness.
5005 2003-03-05  Alexandre Oliva  <aoliva@redhat.com>
5007         * lib/remote.exp (standard_download, standard_upload): Support
5008         nfsdir and nfsroot_server.
5010 See ChangeLog-1992 for earlier changes.