Move unit test summary counters into global struct in dejagnu.h
[dejagnu.git] / ChangeLog
blob21828470dfe315b35f27a92a45467278e56bc1c1
1 2022-11-30  Jacob Bachmeyer  <jcb@gnu.org>
3         * dejagnu.h (DG__status): New struct for test counters.
4         (passed, failed, xpassed, xfailed, untest, unresolve, unsupport):
5         Move all counters into new struct, changing all functions.
7         * doc/dejagnu.texi (C unit testing API): Document use of "DG_"
8         prefix in dejagnu.h and "DG__" for internal symbols.
9         (C++ unit testing API): Likewise.  Also declare namespace
10         "DejaGnu" reserved for future expansion.
12 2022-11-29  Jacob Bachmeyer  <jcb@gnu.org>
14         * Makefile.in: Regenerate.
15         * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-ccxxmix.
16         (testsuite_libdejagnu_unit_ccxxmix_SOURCES): Add.
17         * testsuite/libdejagnu/unit.exp: Add tests for C/C++ mixed usage.
18         * testsuite/libdejagnu/unit-ccxxmix.cxx: New file.
20         * testsuite/libdejagnu/unit.exp: Add note that tests for the
21         framework side of the unit testing protocol are located in
22         testsuite/runtest.main/stats.exp and its nested testsuite.
24         * Makefile.in: Regenerate.
25         * Makefile.am (check_PROGRAMS): Remove unit.
26         (unit_SOURCES): Remove.
27         * testsuite/libdejagnu/tunit.exp: Remove file.
28         * testsuite/libdejagnu/unit.cc: Remove file.
29         The limited coverage of this test is now included in unit.exp
30         and unit-cxx, and supporting this test required some leaky
31         abstractions in dejagnu.h that can now be cleaned up.
33         * Makefile.in: Regenerate.
34         * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-cxx.
35         (testsuite_libdejagnu_unit_cxx_SOURCES): Add.
36         * testsuite/libdejagnu/unit.exp: Add tests for C++ unit test API.
37         * testsuite/libdejagnu/unit-cxx.cxx: New file.
39         * dejagnu.h (TestState::totals): Emit header line, like the C version.
41         * dejagnu.h (TestState::note): New method, like C note().
42         * doc/dejagnu.texi (C++ unit testing API): Add note() method.
44         * doc/dejagnu.texi (C++ unit testing API): Fix incorrect
45         documentation.  The C and C++ interfaces share the same global
46         counters, as do all C++ TestState objects.
48 2022-11-28  Jacob Bachmeyer  <jcb@gnu.org>
50         * dejagnu.h: Remove _DEJAGNU_WAIT_ conditional and revise comment
51         to explain improved solution to the problem for which it seems to
52         have been intended as a workaround.
53         (wait): Remove this function.  It conflicted with POSIX wait(2);
54         this conflict was reported as PR59586.
56         * testsuite/runtest.main/stats.exp: Add test for UNSUPPORTED
57         result from a unit test program.
58         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
59         Update to account for addition of END marker and UNSUPPORTED to
60         DejaGnu unit testing protocol.
62         * dejagnu.h: Add UNSUPPORTED test result.
63         (unsupport): New counter variable for UNSUPPORTED results.
64         (unsupported): New function in C API.
65         (TestState::unsupported): New function in C++ API.
66         (outstate_list): Add UNSUPPORTED entry.
67         (teststate::laststate): Likewise.
68         (totals): Mention number of unsupported tests.
69         (TestState::totals): Likewise for C++ API.
70         * lib/dejagnu.exp (host_execute): Add UNSUPPORTED test result.
71         * doc/dejagnu.texi (DejaGnu unit test protocol): Document same.
72         (C unit testing API): Document new function for same.
73         (C++ unit testing API): Document new function for same.
75         * testsuite/libdejagnu/unit-c.c: Add test for UNSUPPORTED.
76         * testsuite/libdejagnu/unit.exp: Likewise.
78         * testsuite/libdejagnu/unit.exp: Add test for NOTE message.
80 2022-11-26  Jacob Bachmeyer  <jcb@gnu.org>
82         * Makefile.in: Regenerate.
83         * Makefile.am (AM_CXXFLAGS): Change this...
84         (AM_CPPFLAGS): ...to this.  (Also remove -g flag.)
85         (check_PROGRAMS): Add testsuite/libdejagnu/unit-c.
86         (testsuite_libdejagnu_unit_c_SOURCES): Add.
87         (TESTSUITE_FILES): Update.
88         * testsuite/libdejagnu/unit-c.c: New file.
89         * testsuite/libdejagnu/unit.exp: New file.
91         * dejagnu.h (xpass): Fix use of wrong counter.
92         (xfail): Likewise.
93         (totals): Report unexpected passes if any occurred.
95         * doc/dejagnu.texi (DejaGnu unit test protocol): Add end marker
96         line using "END" to allow detecting tests that exit prematurely.
97         The "Totals:" line was previously used for this purpose, but it
98         does not match the pattern documented as reserved for carrying
99         unit test results and information.
101         * lib/dejagnu.exp (host_execute): Remove test for "Totals" line.
102         (host_execute): Add corresponding support for the new line types.
104         * dejagnu.h (totals): Add end marker.
105         (TestState::totals): Likewise.
107 2022-10-04  Jacob Bachmeyer  <jcb@gnu.org>
109         PR58065
111         * lib/dg.exp (dg-test): Store results of analyzing messages in a
112         list, then report them to the framework after giving the pruning
113         callback an opportunity to skip the test case.
115         * testsuite/runtest.libs/dg.test: Add tests for skipping tests
116         based on special result codes from mock-dg-prune.
117         (mock-dg-test): Add directive for output text.
118         (mock-dg-prune): Recognize special markers for
119         UNRESOLVED/UNSUPPORTED/UNTESTED result codes.
121 2022-10-01  Jacob Bachmeyer  <jcb@gnu.org>
123         PR58065
125         * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks):
126         Report test failure instead of raising errors.
128         * testsuite/runtest.libs/dg.test: Add more unit tests.
129         (eval_tests): Copy this procedure...
130         * testsuite/runtest.libs/target.test (eval_tests): ...from here.
132 2022-09-30  Jacob Bachmeyer  <jcb@gnu.org>
134         PR58065
136         * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks): Add
137         usage comment and option to match number of calls for test.
138         (create_test_interpreter): Add support for mockvfs.
140         * testsuite/runtest.libs/dg.test: New file.
142 2022-09-29  Jacob Bachmeyer  <jcb@gnu.org>
144         PR58065
146         * testsuite/runtest.libs/mockvfs.tcl: New file.
148 2022-09-26  Jacob Bachmeyer  <jcb@gnu.org>
150         * testsuite/runtest.libs/libs.exp (process_test): Add forward
151         slash to the list of characters recognized as text.
153 2022-01-21  Jacob Bachmeyer  <jcb@gnu.org>
155         PR53427
157         * runtest.exp (runtest): Reset the global warning and error
158         counters before running each test file.  This prevents an error
159         "left over" from a previous test file from causing the first test
160         in the next file to be spuriously reported as UNRESOLVED.
162         * Makefile.am (TESTSUITE_FILES): Add new files.
164         * testsuite/runtest.main/pr53427.exp: New file for regression test.
165         * testsuite/runtest.main/nested/testsuite/pr53427.test/a.exp: Likewise.
166         * testsuite/runtest.main/nested/testsuite/pr53427.test/b.exp: Likewise.
168 2021-06-29  Jacob Bachmeyer  <jcb@gnu.org>
170         PR49250
172         * runtest.exp: Adjust detection logic for deprecated broken legacy
173         case of a testsuite not actually in a testsuite/ directory.
175         This was never supported but happened to work in older versions.
177 2021-05-22  Jacob Bachmeyer  <jcb@gnu.org>
179         * Makefile.am (TESTSUITE_FILES): Correct oversight.
181         * configure, Makefile.in, aclocal.m4: Regenerate.
183         * runtest.exp, configure.ac, doc/version.texi: Update version.
185         * dejagnu: Fix error message.
187         * config.guess: Import patched version; patches sent upstream.
189         * commands/help.sh: Add test mode in which man(1) is never
190         actually invoked.  The ability to reference a manpage by absolute
191         file name seems to be unique to Free systems.
192         * testsuite/launcher.all/help.exp: Amend test list to use new
193         testing mode in "dejagnu help" command.  This mode should also
194         work on Solaris, so the logic for skipping the tests is removed.
196 2021-05-20  Jacob Bachmeyer  <jcb@gnu.org>
198         * dejagnu: Search for a POSIX Awk and validate that at least a
199         simple Awk program actually works.
200         * testsuite/launcher.all/command.exp: Add tests for error produced
201         when no Awk is found and a help message is requested.
203         * lib/dejagnu.exp: Avoid reporting next test as UNRESOLVED when
204         reporting error due to missing size(1) while loading file.
206         * testsuite/lib/runtest.exp (runtest_copy_nested_testsuite_log):
207         New procedure.  Dumps log from nested run into main test log.
209         * testsuite/runtest.libs/utils.test: Change test for [which make]
210         to [which sh] because make(1) is not always available on non-GNU
211         systems but sh(1) exists on any Unix.  GNU make is often installed
212         as "gmake" on non-GNU systems and may be the only "make" utility.
214         * testsuite/runtest.main/pr42399.exp (test_pr42399): Revise to
215         ensure that a failure to produce any output at all in the inner
216         test will be detected.  This was discovered on Solaris 10.
218         * testsuite/runtest.main/stats.exp: Copy stat.log from nested
219         testsuite run to the main test log upon test failure.
221         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
222         Explicitly pass /dev/null to unit-sub.awk because /usr/bin/awk on
223         Solaris 10 does not seem to recognize assignment to ARGV.
224         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
225         Likewise.
227 2021-05-18  Jacob Bachmeyer  <jcb@gnu.org>
229         * dejagnu: Redirect input from /dev/null when testing if awk is
230         GNU Awk; this avoids a hang on Solaris 10 where awk treats
231         --version as an Awk program and attempts to read input.
232         (command): Rework the initial setting of this variable to avoid
233         limitations in Solaris 10 awk.
235         * testsuite/report-card.all/onetest.exp: Avoid Tcl error when item
236         and totals lines are missing entirely.
238         * testsuite/runtest.main/pr48155.exp: Fix assumption about exit
239         code from /bin/false, which is different on Solaris.
241 2021-05-05  Jacob Bachmeyer  <jcb@gnu.org>
243         PR48155
245         * Makefile.am (TESTSUITE_FILES): Update.
246         (CLEANFILES): Add special init file for PR48155 nested tests.
248         * testsuite/runtest.main/pr48155.exp: New file.
249         * testsuite/runtest.main/pr48155-csh.sh: New trivial file.  This
250         script emulates the behavior of the C shell if an attempt is made
251         to use it to run the config.guess script.
253 2021-05-04  Jacob Bachmeyer  <jcb@gnu.org>
255         PR48155
257         * runtest.exp: Tighten regexp used to validate output from
258         config.guess.  The previous regexp would accept an error produced
259         if config.guess was incorrectly run using the C shell.
261 2021-04-28  Jacob Bachmeyer  <jcb@gnu.org>
263         * configure, Makefile.in: Regenerate.
265         * runtest.exp, configure.ac, doc/version.texi: Update version.
267         * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
268         to work around Automake limitation of assuming that v7 is default.
270 2021-04-20  Jacob Bachmeyer  <jcb@gnu.org>
272         * configure.ac: Set Automake options to use the ancient and
273         universal V7 format when building distribution tarballs.  The
274         limitations of this format are not expected to impact DejaGnu; the
275         "ustar" format will be used instead if this is proved wrong.
277         * Makefile.am (TAR_OPTIONS): Add exported environment variable to
278         set options when building distribution tarballs.  Ensure that all
279         files in distribution tarballs will be recorded as owned by root.
281 2021-04-16  Jacob Bachmeyer  <jcb@gnu.org>
283         PR47382
285         * dejagnu (command): Use Awk instead of non-portable basename(1)
286         and a non-portable sed(1) pattern to initially set this variable.
288         * dejagnu: Use shell "case" pattern match instead of non-portable
289         "grep -q" to determine if "awk" is GNU Awk.
291         * dejagnu: Use Awk instead of non-portable "grep -q" to verify
292         that a file contains a help message.  Also use Awk to extract help
293         messages from files, instead of a complex dynamic sed(1) program.
295         * configure.ac: Remove experimental support for propagating
296         CONFIG_SHELL to scripts in the source directory.
298         * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
299         running config.guess.  Check the result carefully and stop with an
300         error immediately if running config.guess does not produce
301         something that plausibly resembles a triplet.  Advise the user
302         that SHELL or CONFIG_SHELL may need to be set in the environment.
304 2021-04-15  Jacob Bachmeyer  <jcb@gnu.org>
306         PR47382
308         * dejagnu: Avoid using $? for an exit code; it is convenient until
309         the tests fail because the script is run on Solaris where false
310         returns 255 instead of 1 and the test harness expects exit code 1.
312 2021-04-14  Jacob Bachmeyer  <jcb@gnu.org>
314         PR47382
316         * dejagnu: Replace use of "expr :" with shell "case" pattern
317         match to avoid limitations of Solaris 10 expr(1).
319 2021-04-14  Jacob Bachmeyer  <jcb@gnu.org>
321         * lib/specs.exp, testsuite/runtest.libs/specs.test: New files.
323 2021-04-08  Jacob Bachmeyer  <jcb@gnu.org>
325         * configure: Regenerate.
327         * runtest.exp, configure.ac, doc/version.texi: Update version.
329         * configure.ac: Change "dnl" comments that should appear in
330         configure to regular comments.
331         Add experimental support for propagating CONFIG_SHELL to the
332         config.sub and config.guess scripts in the source directory.
334 2021-04-01  Jacob Bachmeyer  <jcb@gnu.org>
336         PR47533
338         * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
339         message to better fit GNU conventions, with thanks to Tom Tromey
340         for the reporting this issue.
342         PR47382
344         * runtest: Remove use of non-portable "if !" that causes problems
345         with /bin/sh on Solaris 10.
347         * dejagnu (Variants): Split the declaration of this read-only
348         variable into an assignment followed by marking it read-only,
349         instead of doing both in one statement.  The Solaris 10 /bin/sh
350         does not accept the combined form.
352 2021-03-30  Jacob Bachmeyer  <jcb@gnu.org>
354         * configure: Regenerate.
356         * runtest.exp, configure.ac, doc/version.texi: Update version.
358 2021-03-26  Jacob Bachmeyer  <jcb@gnu.org>
360         PR47386
362         * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
363         since Solaris man(1) does not accept explicit filenames.  The
364         manpages will be installed as usual, and the "dejagnu help"
365         command should work after installation.
367         Also set PAGER for testing, since other systems might also ignore
368         MANPAGER and that would cause the test to hang.
370         * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
371         copies of the output produced to the log.
373         * commands/help.sh: Extend PR47382 fix (below) to this file.
375         PR47385
377         * testsuite/lib/runtest.exp: Remove support for automatically
378         locating an Expect executable in the old Cygnus tree layout.
380 2021-03-25  Jacob Bachmeyer  <jcb@gnu.org>
382         PR47382
384         * dejagnu, runtest: Remove use of "$()" command substitution and
385         "$(())" arithmetic substitution shell constructs.  The /bin/sh on
386         Solaris 10 does not support them.  They were replaced with the
387         traditional backticks for command substitution and backticks and
388         the expr command for arithmetic substitution.
390         Also add markers to explicitly disable shellcheck warnings that
391         would lead to reintroducing these problems.
393         Also avoid the non-portable "`..."..."...`" construct on a warning
394         in the GNU Autoconf manual, section "Shell Substitutions",
395         although this introduces additional variables.
397 2021-03-22  Jacob Bachmeyer  <jcb@gnu.org>
399         * configure: Regenerate.
401         * runtest.exp, configure.ac, doc/version.texi: Update version.
403         * config.guess, config.sub: Import from upstream.
405         * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
407 2021-03-15  Jacob Bachmeyer  <jcb@gnu.org>
409         * Makefile.am, Makefile.in: Update accordingly.
411         * contrib/compare_tests: Remove.  This file lacked a GPL notice.
412         This file was imported from GCC many years ago.  The GCC version
413         has benefited from continued development, while ours has not.
415         * testsuite/runtest.libs/load_lib.exp: Remove.  This file lacked a
416         GPL notice and an attempt to contact the contributor produced no
417         response.  The tests in this file will need to be rewritten in any
418         case; there is a bug in load_lib that they should expose and there
419         is now additional infrastructure for tests of this type that was
420         not available when this file was written.
422 2020-12-27  Jacob Bachmeyer  <jcb@gnu.org>
424         * testsuite/runtest.libs/libs.exp (process_test): Report running
425         test scripts as each test script is run.
426         Also, at top-level, sort the list of tests to run.
428         * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
429         from new "testsuite can call api" feature test API entrypoint.
430         * lib/framework.exp (testsuite_can): Likewise.
431         * testsuite/runtest.libs/testsuite_can.test: Likewise.
432         * NEWS: Likewise.
434 2020-12-16  Jacob Bachmeyer  <jcb@gnu.org>
436         * configure: Regenerate.
438         * configure.ac: Remove Tcl version check.
440         Apply patch from Nick Clifton:
442         * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
444         Apply patch from Dimitar Dimitrov:
446         * baseboards/pru-sim.exp: New file.
448         * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
449         * Makefile.in (baseboard_DATA): Likewise.
451 2020-12-15  Jacob Bachmeyer  <jcb@gnu.org>
453         * configure: Regenerate.
454         * Makefile.in: Regenerate.
456         * Makefile.am (RUNTEST): Explain override of Automake default.
458         * configure.ac: Update for autoconf 2.69 using autoupdate.
459         * configure.ac: Remove search for expect now handled by Automake.
461         Apply patch from Dimitar Dimitrov:
463         * Makefile.am (dejagnu_TEXINFOS): Change this...
464         * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
466         This fixes an incorrectly recorded dependency.
468 2020-11-17  Jacob Bachmeyer  <jcb@gnu.org>
470         PR44636 / PR44693
472         * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
473         that conflated the tool init file with the target interface file.
474         (Make Check): Add cross-reference to the GNU Automake manual for
475         more details.
477 2020-11-10  Jacob Bachmeyer  <jcb@gnu.org>
479         PR44545
481         * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
482         Use [file normalize] to ensure that link targets are unambiguous.
483         (link_dejagnu_launcher_test_item): Avoid spurious errors when test
484         environment has already been prepared in a previous run.
486         * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
487         New procedure to collect existing repeated testsuite code.
488         * testsuite/launcher.all/command.exp: Establish testing
489         environment using link_dejagnu_launcher_test_item procedure.
491 2020-11-09  Jacob Bachmeyer  <jcb@gnu.org>
493         * aclocal.m4: Regenerate.
494         * configure: Regenerate.
495         * Makefile.in: Regenerate.
497         * configure.ac: Revert development version branch tagging hook.
498         * Makefile.am: Likewise.
500         These caused failures (reported in PR44462 as a secondary issue)
501         when a source tree is copied out of a Git directory.
503 2020-08-31  Jacob Bachmeyer  <jcb@gnu.org>
505         * doc/runtest.1: Add brief GFDL notice.  License notice in the
506         formatted manpage should now describe DejaGnu as a whole.
508         * NEWS: Prepare for release.
510 2020-08-18  Jacob Bachmeyer  <jcb@gnu.org>
512         * testsuite/runtest.libs/testsuite_file.test: Add missing
513         copyright and GPL notice.
514         * testsuite/runtest.libs/testsuite_can.test: Likewise.
515         * testsuite/runtest.libs/testcase_group.test: Likewise.
517 2020-08-12  Jacob Bachmeyer  <jcb@gnu.org>
519         * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
520         (Running unit tests): Add node.
521         (DejaGnu unit test protocol): Add node.
522         (C unit testing API): Update to reflect current API.  Move mention
523         of dejagnu.h header here in preparation for future expanded
524         language support.
525         (C++ unit testing API): Likewise.  Mention caveat that the C unit
526         test API is also available in C++ programs.
528 2020-08-10  Jacob Bachmeyer  <jcb@gnu.org>
530         * baseboards/qemu.exp: Tidy whitespace.
532 2020-08-10  Jacob Bachmeyer  <jcb@gnu.org>
534         Merge patch from Kito Cheng to add support for RISC-V sim target.
536         * baseboards/riscv-sim.exp: New file.
537         * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
538         * Makefile.in (baseboard_DATA): Likewise.
540 2020-08-02  Jacob Bachmeyer  <jcb@gnu.org>
542         * Makefile.am (TESTSUITE_FILES): Add files that were introduced
543         during development but were mistakenly not added at that time.
544         (baseboard_DATA): Sort baseboard file list.
545         (baseboard_DATA): Add missing files.
546         (dejagnu_TEXINFOS): New; add GNU FDL file.
547         (CONTRIB): Add experimental Python unit test module.
549         * Makefile.in (TESTSUITE_FILES): Likewise.
550         (baseboard_DATA): Likewise.
552         * testsuite/dejagnu.py:  Move from here...
553         * contrib/dejagnu.py: ...to here.
555 2020-08-02  Rob Savoye  <rob@senecass.com>
557         * Makefile.in: Regenerate so make dist works.
559 2020-07-25  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
561         * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
562         procedure "perror" instead of the Tcl command "error".
563         (Writing a test case): Reorganize node and give basic hints about
564         Tcl quoting and backslash escape rules.
565         (Writing a test case): Describe synchronization issues and warn
566         that prefixes of valid input can be presented for matching.
567         (Writing a test case): Fix markup from conversion from DocBook.
569 2020-07-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
571         PR42399
573         * NEWS: Document changes to host_execute.
575         * lib/dejagnu.exp (host_execute): Revise expect matching to
576         combine all unit test protocol lines into one pattern.
577         (host_execute): Rework other expect patterns.
578         (host_execute): Ensure that all output from child process is read
579         until the child closes its output to avoid sending early SIGPIPE.
580         (host_execute): Report an ERROR (and cause the next test to be
581         recorded as UNRESOLVED) if the Expect matching buffer overflows.
582         (host_execute): Remove dependency on global "text" variable.
584         * Makefile.am (TESTSUITE_FILES): Update.
586         * testsuite/runtest.main/stats.exp: Generalize infrastructure and
587         add tests for DejaGnu unit testing support.
588         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
589         New file.
590         * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
591         New file.
593 2020-07-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
595         PR42399
597         * Makefile.am (TESTSUITE_FILES): Update.
599         * lib/dejagnu.exp (host_execute): Allow the executable to be
600         specified with an absolute file name.
601         (host_execute): Fix argument handling to allow passing more than
602         one argument to the executable.  Return early if given no
603         arguments at all instead of trying to execute "./".
605         * testsuite/runtest.main/pr42399.exp: New file.
606         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
607         New file.
608         * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
609         New file.
611 2020-07-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
613         * Makefile.am (CLEANFILES): Update.
614         (TESTSUITE_FILES): Update to reflect testsuite reorganization.
616         * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
617         procedure.
618         (runtest_cleanup_nested_testsuite): New procedure.
620         * testsuite/runtest.main/error.exp: Use the tool name "error" to
621         select the proper subset of the nested testsuite.  Use new
622         procedures for handling nested testsuite.  Use common
623         nested-init.exp local init file for nested testsuite.  Let local
624         init file nested-init.exp handle setting "outdir" variable.
625         * testsuite/runtest.main/options.exp: Likewise; "null" tool.
626         * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
628         * testsuite/runtest.main/nested/: Combine nested testsuites.
629         * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
630         Move from here...
631         * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
632         ...to here.
633         * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
634         Move from here...
635         * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
636         ...to here.
637         * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
638         Move from here...
639         * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
640         ...to here.
641         * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
642         Move from here...
643         * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
644         ...to here.
645         * testsuite/runtest.main/options/testsuite/null.test/null.exp:
646         Move from here...
647         * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
648         ...to here.
649         * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
650         Move from here...
651         * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
652         ...to here.
654 2020-07-16  Rob Savoye  <rob@senecass.com>
656         * baseboards/qemu.exp: Works now with qemu instead of sim.
658 2020-07-06  Rob Savoye  <rob@senecass.com>
660         * baseboards/qemu.exp: Initial working support to use qemu for
661         bare metal testing.
662         * Makefile.am: Install qemu.exp.
663         * autogen.sh: Add script borrowed from my Gnash project to
664         regenerate configure/build files.
665         * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
666         * doc/dejagnu.texi: Update copyright date.
668 2020-06-29  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
670         PR 41824 / PR 41918
672         * NEWS: Add item for repeated error messages.
674         * lib/framework.exp (log_and_exit): Add separator lines around the
675         error dumps repeated at the end of a run.
677 2020-06-26  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
679         PR 41824 / PR 41918
681         * NEWS: Remove items for --keep_going / --no_keep_going options.
683         * Makefile.am (CLEANFILES): Adjust for renames.
684         (TESTSUITE_FILES): Likewise.
686         * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
687         --no_keep_going options.
688         (A POSIX Conforming Test Framework): Document that Tcl errors in
689         test scripts produce UNRESOLVED results as placeholders.
691         * doc/runtest.1: Likewise.
693         * lib/framework.exp (log_and_exit): Print collected Tcl errors.
695         * runtest.exp (dejagnu::error): New internal namespace.
696         (runtest): Collect Tcl errors caught while executing test scripts.
697         (dejagnu::opt): Remove internal namespace.
698         Remove --keep_going / --no_keep_going options.  No longer abort on
699         any Tcl errors; instead store them and repeat the messages at the
700         end of the run.
702         * testsuite/runtest.main/abort.exp: Rename from this ...
703         * testsuite/runtest.main/error.exp: ... to this and revise tests.
705         * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
706         Rename from this...
707         * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
708         ... to this.
709         * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
710         Rename from this...
711         * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
712         ... to this.
713         * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
714         Rename from this...
715         * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
716         ... to this.
718 2020-06-24  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
720         PR 41824 / PR 41918
722         * NEWS: Revise relevant items.
724         * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
725         * doc/runtest.1: Document --no_keep_going option.  Remove
726         long-obsolete --name option.  The --name option had been removed
727         from runtest before the code was imported into what became the
728         current repository.
730         * runtest.exp: Add option --no_keep_going to stop immediately if a
731         test script aborts due to a Tcl error.  Remove vestiges of
732         long-obsolete --name option.  Make --keep_going option default.
734         * testsuite/runtest.main/abort.exp: Adjust tests to use
735         --no_keep_going and --keep_going instead of assuming a default.
737 2020-06-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
739         Merge patches from Maciej W. Rozycki to fix timeout handling.
741         * lib/remote.exp (close_wait_program): Use `catch' in killing
742         pending force-kills.
744         * lib/remote.exp (close_wait_program): Only kill the pending
745         force-kills if the PID list has a single entry.
746         (local_exec): Set the channel about to be closed to the
747         nonblocking mode if we didn't see an EOF.
748         (standard_close): Likewise, unconditionally.
750 2020-06-22  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
752         * NEWS: Mention "linker=" option and added language support.
754         * doc/dejagnu.texi (target_compile procedure): Document new
755         "linker=" option to target_compile.
757         * lib/target.exp (default_target_compile): Actually use internal
758         option for separate linker provided for Go language support.  This
759         seems to have been accidentally omitted from Tom Tromey's patches.
760         (default_target_compile): Add "linker=" option, similar to
761         "compiler=" option, but the former overrides the latter when
762         building an executable.
763         (default_target_compile): Ensure that "--emit obj" is spaced from
764         previous item when used to compile Rust.  Use "--emit asm" instead
765         of "-S" when generating assembly from Rust sources.
767         * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
768         Also add tests for the new "early_flags=" and "linker=" options.
770 2020-06-20  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
772         * doc/dejagnu.texi (Libgloss): Update menu.
773         (find_go procedure, find_go_linker procedure): New nodes.
774         (find_rustc procedure): New node.
776 2020-06-19  Tom Tromey  <tromey@adacore.com>
778         * doc/dejagnu.texi (target_compile procedure): Document Go
779         additions.
780         * lib/target.exp (default_target_compile): Handle Go.
781         * lib/libgloss.exp (find_go, find_go_linker): New procs.
783 2020-06-19  Tom Tromey  <tromey@adacore.com>
785         * doc/dejagnu.texi (target_compile procedure): Document rust
786         additions.
787         * lib/target.exp (default_target_compile): Handle rust.
788         * lib/libgloss.exp (find_rustc): New proc.
790 2020-06-19  Tom Tromey  <tromey@adacore.com>
792         * lib/target.exp (default_target_compile): Add early_flags.
793         * doc/dejagnu.texi (target_compile procedure): Document
794         early_flags.
796 2020-06-19  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
798         Merge patches from Tom de Vries <tdevries <at> suse.de> and write
799         ChangeLog entries.
801         * testsuite/runtest.main/abort.exp: Add tests that verify handling
802         of arithmetic errors (divide-by-zero) in a procedure called within
803         a test script.
805         * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
807 2020-06-18  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
809         PR 41824 / PR 41918
811         Thanks to Tom de Vries for raising these concerns and offering the
812         initial testsuite patch that led to these changes.
814         * NEWS: Add item for consistent abort-on-error handling.
816         * lib/framework.exp (unknown): Always link global variables.  Tidy.
817         Silently propagate errors raised in autoloaded procedures and move
818         the UNRESOLVED result and aborting the test run to...
819         * runtest.exp (runtest): Report an UNRESOLVED result if a test
820         script aborts due to a Tcl error.  Link global errorCode and
821         report its value if an error occurs.  For consistency, abort the
822         test run on any Tcl error in a test script instead of only when
823         calling an undefined procedure.
825         * testsuite/runtest.main/abort.exp: Add tests to verify handling
826         of arithmetic errors (divide-by-zero) in an auto-loaded procedure
827         called from a test script.  Adjust other patterns.
829         * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
830         New file.
832 2020-06-17  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
834         PR 41824
836         * NEWS: Add item for --keep_going option.
838         * Makefile.am (CLEANFILES): Add abort-init.exp to list.
839         (TESTSUITE_FILES): Add new testsuite files to list.
841         * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
842         command line option.
843         * doc/runtest.1: Likewise.
845         * lib/framework.exp (unknown): Report an UNRESOLVED result if an
846         unknown command is invoked.  Avoid exiting and propagate the error
847         from Tcl's "unknown" procedure if --keep_going was
848         specified. Brace procedure argument list.
849         * runtest.exp (dejagnu::opt): New namespace.
850         Add option --keep_going to continue running tests after a test
851         script aborts due to calling an undefined command.
853         * testsuite/runtest.main/abort.exp: New file.
854         * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
855         New file.
856         * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
857         New file.
859 2020-06-17  Tom de Vries  <tdevries <at> suse.de>
861         * lib/framework.exp (unknown): Propagate return value of auto-loaded
862         command.
864 2020-06-15  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
866         Merge patches from Linaro:
868         2018-09-28  Christophe Lyon <christophe.lyon@linaro.org>
869         * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
870         machine, to avoid race conditions.
872         2016-04-25  Yvan Roux <yvan.roux@linaro.org>
873         * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
874         * lib/ssh.exp (ssh_exec): Likewise.
876         2016-06-28  Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
877         * config/unix.exp (unix_load): Prepend the value of an
878         "exec_shell" board_info key to the command if it is defined.
880 2020-06-06  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
882         * NEWS: Document "testcase" command.
884         * doc/dejagnu.texi (testcase procedure): Document multiplex entry
885         point and "testcase group" command.
887         * lib/framework.exp: Add internal namespace ::dejagnu::group.
888         (::dejagnu::group::check_name): New procedure.
889         (::dejagnu::group::current): New procedure.
890         (::dejagnu::group::push): New procedure.
891         (::dejagnu::group::pop): New procedure.
892         (::dejagnu::group::pop_to_file): New procedure.
893         (testcase): New procedure for multiplex commands.
894         (testcase_group): New procedure implementing "testcase group".
896         * testsuite/runtest.libs/testcase_group.test: New file.
898 2020-06-05  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
900         * NEWS: Document new "testsuite can call api" command.
902         * doc/dejagnu.texi (testsuite procedure): Document new subcommand
903         "testsuite can call api".
905         * lib/framework.exp (testsuite): Add branch for "testsuite can".
906         (testsuite_can): New procedure implementing "testsuite can".
908         Add internal array ::dejagnu::apilist to store information for
909         "testsuite can call api" for querying the availability of an API
910         call.  This will allow test scripts to adapt and use new features
911         while still being able to run under older versions of DejaGnu.
913         * testsuite/runtest.libs/testsuite_can.test: New file.
915 2020-06-02  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
917         PR 41647
918         * NEWS: Fix typo.  Fix Emacs mode tag.
919         Document use of Tcl namespace ::dejagnu for internals.
920         * runtest.exp (dejagnu::command_line): New namespace.
921         (dejagnu::command_line::save_cmd_var): New procedure.
922         (dejagnu::command_line::restore_cmd_vars): New procedure.
923         (dejagnu::command_line::dump_cmd_vars): New procedure.
924         * runtest.exp: Save internal variables set by command line
925         arguments during the first pass and restore their values after
926         loading testsuite init files.
928 2020-06-01  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
930         PR 41647
931         * runtest.exp: Describe search for testsuite at verbose level 3.
932         Print initial working directory at verbose level 1.
934 2020-05-28  Jacob Bachmeyer  <jcb62281+dev@gmail.com>
936         PR 41587
937         * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
938         value to use an absolute file name.
939         * testsuite/lib/report-card.exp: Likewise.
940         * testsuite/runtest.main/options.exp: Set outdir in options-init
941         instead of changing working directory in child runtest.
943         * runtest.exp (logname): Move verbose display of logname to
944         immediately after finding the user's login name.
946         PR 41585
947         * runtest.exp (libdir): Fix default value of global variable.
949         * ChangeLog: Tidy irregular indentation.
951 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
953         * doc/dejagnu.texi (target_compile procedure): Add documentation.
955 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
957         * doc/dejagnu.texi (target_link procedure): New stub node.
958         (default_link procedure): Document internal procedure.
959         (default_target_assemble procedure): Likewise.
960         (default_target_compile procedure): Likewise.
962 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
964         * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
965         mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
967 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
969         * lib/target.exp (default_target_compile): Use "host_info"
970         procedure to probe for a host configuration, instead of checking a
971         local empty target_info array due to lacking "global target_info".
973 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
975         * doc/dejagnu.texi (Adding a new board): Document that the
976         "compiler" board_info field is optional and defaults to [find_gcc]
977         if not given.
978         (Board configuration file): Likewise.
980         * lib/target.exp (default_target_compile): Establish a default C
981         compiler by evaluating [find_gcc] if no other compiler is given.
983         * baseboards/aarch64-sim.exp: Remove no-longer-needed
984         "set_board_info compiler [find_gcc]" from this file.
985         * baseboards/am33_2.0-libremote.exp: Likewise.
986         * baseboards/androideabi.exp: Likewise.
987         * baseboards/arm-ice.exp: Likewise.
988         * baseboards/arm-sim.exp: Likewise.
989         * baseboards/cris-sim.exp: Likewise.
990         * baseboards/d30v-sim.exp: Likewise.
991         * baseboards/fr30-sim.exp: Likewise.
992         * baseboards/frv-sim.exp: Likewise.
993         * baseboards/gdbserver-sample.exp: Likewise.
994         * baseboards/iq2000-sim.exp: Likewise.
995         * baseboards/linux-gdbserver.exp: Likewise.
996         * baseboards/linux-libremote.exp: Likewise.
997         * baseboards/mcore-moto-sim.exp: Likewise.
998         * baseboards/mcore-sim.exp: Likewise.
999         * baseboards/mips-sim-idt32.exp: Likewise.
1000         * baseboards/mips-sim-idt64.exp: Likewise.
1001         * baseboards/mips-sim-mti32.exp: Likewise.
1002         * baseboards/mips-sim-mti64.exp: Likewise.
1003         * baseboards/mips-sim-mti64_64.exp: Likewise.
1004         * baseboards/mips-sim-mti64_n32.exp: Likewise.
1005         * baseboards/mips-sim-sde32.exp: Likewise.
1006         * baseboards/mips-sim-sde64.exp: Likewise.
1007         * baseboards/mips-sim.exp: Likewise.
1008         * baseboards/mmixware-sim.exp: Likewise.
1009         * baseboards/mn10200-sim.exp: Likewise.
1010         * baseboards/mn10300-sim.exp: Likewise.
1011         * baseboards/moxie-sim.exp: Likewise.
1012         * baseboards/msp430-sim.exp: Likewise.
1013         * baseboards/powerpc-sim.exp: Likewise.
1014         * baseboards/powerpcle-sim.exp: Likewise.
1015         * baseboards/rx-sim.exp: Likewise.
1016         * baseboards/sh-sim.exp: Likewise.
1017         * baseboards/sparc-sim.exp: Likewise.
1018         * baseboards/sparc64-sim.exp: Likewise.
1019         * baseboards/sparclite-sim-le.exp: Likewise.
1020         * baseboards/sparclite-sim.exp: Likewise.
1021         * baseboards/unix.exp: Likewise.
1022         * baseboards/v850-sim.exp: Likewise.
1023         * baseboards/visium-sim.exp: Likewise.
1024         * baseboards/xtensa-sim.exp: Likewise.
1026 2020-05-24  Rob Savoye  <rob@senecass.com>
1028         * baseboards/pi.exp: New config file for cross testing to a
1029         Raspberry PI.
1031 2020-05-24  Tom Tromey  <tom@tromey.com>
1033         * .gitignore: Add files.
1035 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1037         * testsuite/runtest.libs/target.test: Use mockutil.tcl.
1038         Collect loading DejaGnu libraries into a single loop.
1039         Revise the mock board_info array.
1040         Add section headings for different test groups in this file.
1041         Add tests for default_target_compile in lib/target.exp.
1042         * testsuite/runtest.libs/mockutil.tcl: New file.
1044 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1046         * doc/dejagnu.texi (remote_exec procedure): Explicitly list
1047         optional arguments instead of simply copying the Tcl argument list
1048         or the remote_exec procedure.
1050 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1052         * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
1053         string instead of opening a temporary file named .tmp.
1054         * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
1056 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1058         * testsuite/runtest.libs/target.test: Rename fake "target_info"
1059         array to a fake "board_info" array, to align with changes made to
1060         the DejaGnu core on 29 January 1997 that moved the target
1061         configuration data into the global board_info array.
1063         * testsuite/runtest.libs/remote.test: Likewise.
1065 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1067         * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
1068         requests to run only some library tests.
1070 2020-05-18  Rob Savoye  <rob@senecass.com>
1072         * configure.ac: Extract the current branch.
1073         * Makefile.am: Change the frame_version in runtest.exp post
1074         install to add the branch and git revision to make it easier to
1075         support multiple versions during development.
1077 2020-05-15  Rob Savoye  <rob@senecass.com>
1079         * All files: Minor change, update copyright dates.
1081 2019-03-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1083         * runtest.exp (search_and_load_file): Join the directory and
1084         filename once using 'file join'.
1086 2019-01-24  Jacob Bachmeyer  <jcb62281@gmail.com>
1088         * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
1089         spacing so the Emacs move-by-sentence commands work correctly.
1091 2019-01-23  Ben Elliston  <bje@gnu.org>
1093         * doc/dejagnu.texi: Replace "config file" with "configuration
1094         file" throughout.
1096 2019-01-23  Jacob Bachmeyer  <jcb62281@gmail.com>
1098         * doc/dejagnu.texi (Command line option variables): Improve table
1099         formatting to fix overlapping columns and revise text slightly.
1101 2019-01-23  Jacob Bachmeyer  <jcb62281@gmail.com>
1103         * doc/dejagnu.texi (Global config file): Change example to use the
1104         Tcl "switch" command instead of the deprecated "case" command.
1106 2019-01-12  Jacob Bachmeyer  <jcb62281@gmail.com>
1108         * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
1109         the structure of the "runtests" argument.
1111 2019-01-12  Ben Elliston  <bje@gnu.org>
1113         * doc/dejagnu.texi: Various documentation fixes.
1115 2019-01-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1117         * testsuite/runtest.libs/clone_output.test: Use new test harness
1118         for verifying output of clone_output.
1120         * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
1121         template using store_test_output.
1122         (send_log): Likewise.
1123         (send_user): Likewise.
1124         (clear_test_output): New proc.
1125         (store_test_output): New proc.
1127         * lib/framework.exp (clone_output): Actually send errors to the
1128         error stream; bug found while improving testsuite.
1130 2019-01-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1132         * testsuite/runtest.libs/libs.exp (process_test): Handle blank
1133         lines from child process correctly.
1135 2019-01-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1137         * NEWS: Document report card.
1139         * Makefile.am (clean-local): Add target.
1140         (clean-local-check): Add target; mark as PHONY.
1141         (commands_DATA): Add "report-card" scripts.
1142         (dist_man_MANS): Add dejagnu-report-card.1 and split.
1143         (DEJATOOL): Add "report-card" tool.
1144         (TESTSUITE_FILES): Add testsuite for "report-card" tool.
1146         * commands/report-card.awk: New command script.
1148         * doc/dejagnu.texi (Invoking dejagnu report card): New node.
1149         * doc/dejagnu-report-card.1: New man page.
1151         * testsuite/lib/bohman_ssd.exp: New file.
1152         * testsuite/lib/report-card.exp: New file.
1153         * testsuite/report-card.all/onetest.exp: New file.
1154         * testsuite/report-card.all/passes.exp: New file.
1156 2019-01-02  Ben Elliston  <bje@gnu.org>
1158         * Makefile.am (DISTCLEANFILES): Don't use this.
1159         (CLEANFILES): Use this instead.
1160         * Makefile.in: Regenerate.
1162 2019-01-01  Ben Elliston  <bje@gnu.org>
1164         * configure.ac: Abort if AWK is not installed.
1165         * configure: Regenerate.
1167 2019-01-01  Ben Elliston  <bje@gnu.org>
1169         * config.guess: Update to latest version.
1170         * config.sub: Likewise.
1172 2019-01-01  Ben Elliston  <bje@gnu.org>
1174         * configure.ac: Add AC_PROG_AWK check.
1175         * configure: Regenerate.
1177 2018-12-29  Jacob Bachmeyer  <jcb62281@gmail.com>
1179         * dejagnu: Avoid use of semicolon as sed(1) command separator.
1180         POSIX does not clearly require sed(1) to support that feature.
1182 2018-12-28  Jacob Bachmeyer  <jcb62281@gmail.com>
1184         * testsuite/lib/util-defs.exp: Whitespace clean up.
1186 2018-12-21  Jacob Bachmeyer  <jcb62281@gmail.com>
1188         PR 33817
1189         * dejagnu: Improve command parsing to fix bug. Previously, the
1190         documented equivalence between "multi word command" and
1191         "multi-word-command" did not hold if no arguments were given.
1192         * testsuite/launcher.all/command.exp: Add tests.
1194 2018-12-20  Ben Elliston  <bje@gnu.org>
1196         * NEWS: Add item for new dejagnu command.
1198         * Makefile.am (EXTRA_DIST): Remove $(XML).
1199         * Makefile.in: Regenerate.
1201 2018-12-20  Jacob Bachmeyer  <jcb62281@gmail.com>
1203         * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
1204         contents of $(commands_DATA).
1205         (bin_SCRIPTS): Add "dejagnu" launcher script.
1206         (commandsdir): Installation directory for "dejagnu" subcommands is
1207         $(pkgdatadir)/commands.
1208         (commands_DATA): New, contains "commands/help.sh" as initial item.
1209         (TESTSUITE_FILES): Add testsuite for same.
1210         (DEJATOOL): Add "launcher" to list of tools to test.
1211         (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
1213         * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
1214         (Invoking dejagnu): New node for dejagnu(1) launcher script.
1215         (Invoking dejagnu help): New node.
1217         * doc/dejagnu.1: New man page.
1218         * doc/dejagnu-help.1: New man page.
1220         * dejagnu: New script.
1222         * commands/help.sh: New dejagnu subcommand for reading manpages.
1224         * testsuite/launcher.all/command.exp: New file.
1225         * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
1226         * testsuite/launcher.all/command/commands/bar.awk: New file.
1227         * testsuite/launcher.all/command/commands/bar.sh: New file.
1228         * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
1229         * testsuite/launcher.all/command/commands/foo.sh: New file.
1230         * testsuite/launcher.all/command/commands/foo.tcl: New file.
1231         * testsuite/launcher.all/help.exp: New file.
1232         * testsuite/launcher.all/interp.exp: New file.
1233         * testsuite/launcher.all/verbose.exp: New file.
1234         * testsuite/lib/launcher.exp: New file.
1236 2018-12-20  Jacob Bachmeyer  <jcb62281@gmail.com>
1238         * doc/dejagnu.texi (bt procedure): Fix Info links.
1240 2018-12-17  Ben Elliston  <bje@gnu.org>
1242         * doc/dejagnu.texi (Board config file): Fix up @ref.
1243         (Command line option variables): Likewise.
1244         (Debugging Procedures): Add an entry for 'bt' command.
1246 2018-12-16  Jacob Bachmeyer  <jcb62281@gmail.com>
1248         * runtest.exp: Move processing of -V|--version option to first
1249         pass through command line arguments instead of delaying it.
1251 2018-12-16  Jacob Bachmeyer  <jcb62281@gmail.com>
1253         * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
1254         * Makefile.in: Regenerate.
1256 2018-12-15  Ben Elliston  <bje@gnu.org>
1258         * doc/dejagnu.texi (telnet Procedure): Remove old node.
1259         (rlogin Procedure): Likewise.
1260         (rsh Procedure): Likewise.
1261         (tip Procedure): Likewise.
1262         (kermit Procedure): Likewise.
1263         (list_targets Procedure): Likewise.
1264         (prune_system_crud): Likewise.
1266 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1268         * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1269         (send_user): Likewise.
1270         * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1271         variable link at top-level.
1272         * testsuite/runtest.libs/utils.test: Adjust absolute path to
1273         config.status.
1274         * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1275         subdir, and objdir variables instead of extracting them from argv.
1276         Remove setval.tmp, which is now obsolete.
1277         * testsuite/runtest.libs/config.test: Likewise.
1278         * testsuite/runtest.libs/remote.test: Likewise.
1279         * testsuite/runtest.libs/target.test: Likewise.
1280         * testsuite/runtest.libs/testsuite_file.test: Likewise.
1281         * testsuite/runtest.libs/utils.test: Likewise.
1283         * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1284         (send_defaults): .. with this.
1285         (start_expect): Remove redundant code.
1287         * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1288         Remove unneeded test for EXPECT global variable.
1289         Use one Expect subprocess to run all test cases.
1290         (process_test): Redesign to use Expect subprocess and to use
1291         throwaway slave interpreters for running test cases.
1293 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1295         * testsuite/lib/runtest.exp (runtest_start): Remove.
1296         Move the sanity check in runtest_start to top-level and similarly
1297         check to ensure that $EXPECT can be found.  Make failure of either
1298         sanity check an immediate fatal error.
1299         Improve error messages for sanity checks to indicate which
1300         critical tool was not found.  Remove useless 'global RUNTEST'
1301         command at top-level.
1302         (runtest_version): Brace 'if' expression.
1304 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1306         * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1307         default runtest executable instead of implicitly searching PATH.
1308         Remove unused RUNTESTFLAGS Tcl variable.
1310 2018-12-15  Jacob Bachmeyer  <jcb62281@gmail.com>
1312         * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1313         variable links.
1315 2018-12-14  Jacob Bachmeyer  <jcb62281@gmail.com>
1317         * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1318         * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1320 2018-12-12  Ben Elliston  <bje@gnu.org>
1322         * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1323         lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1324         lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1325         some regular expressions in constant strings by placing them
1326         inside braces instead of quotes. This allows one level of
1327         backslash quoting to be removed.
1329 2018-12-12  Ben Elliston  <bje@gnu.org>
1331         * doc/dejagnu.texi: Acknowledge contributions to the manual from
1332         others.
1334 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1336         * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1337         * testsuite/runtest.all/load_lib.exp: Likewise.
1338         * testsuite/runtest.all/stats.exp: Likewise.
1340         * testsuite/runtest.all/stats.exp: Write local init file as
1341         "stats-init.exp" for status summary tests.  Use --local_init
1342         option to runtest to load that file instead of site.exp and move
1343         the inner test module to a nested testsuite.
1344         * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1345         * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1346         .. to here.
1348         * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1349         Wrap lines in test list and move short items to beginning of list.
1350         Write local init file as "options-init.exp" for options tests.
1351         Use --local_init option with nested runtest to load that file
1352         instead of site.exp; also create an empty nested testsuite.  Local
1353         init file arranges for inner runtest processes to run in a
1354         subdirectory in the object tree to eliminate filename clashes.
1355         Set tmpdir if not already set and remove entire temporary
1356         directory after running options tests.
1357         * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1359         * testsuite/runtest.all/clone_output.test: Move from here ..
1360         * testsuite/runtest.libs/clone_output.test: .. to here.
1361         * testsuite/runtest.all/config.test: Move from here ..
1362         * testsuite/runtest.libs/config.test: .. to here.
1363         * testsuite/runtest.all/default_procs.tcl: Move from here ..
1364         * testsuite/runtest.libs/default_procs.tcl: .. to here.
1365         * testsuite/runtest.all/libs.exp: Move from here ..
1366         * testsuite/runtest.libs/libs.exp: .. to here.
1367         * testsuite/runtest.all/load_lib.exp: Move from here ..
1368         * testsuite/runtest.libs/load_lib.exp: .. to here.
1369         * testsuite/runtest.all/remote.test: Move from here ..
1370         * testsuite/runtest.libs/remote.test: .. to here.
1371         * testsuite/runtest.all/target.test: Move from here ..
1372         * testsuite/runtest.libs/target.test: .. to here.
1373         * testsuite/runtest.all/testsuite_file.test: Move from here ..
1374         * testsuite/runtest.libs/testsuite_file.test: .. to here.
1375         * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1376         * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1377         * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1378         * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1379         * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1380         Move from here ..
1381         * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1382         .. to here.
1383         * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1384         * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1385         * testsuite/runtest.all/utils.test: Move from here ..
1386         * testsuite/runtest.libs/utils.test: .. to here.
1387         * testsuite/runtest.libs/utils.test: Update references to
1388         "runtest.all".
1390         * testsuite/runtest.all/options.exp: Move from here ..
1391         * testsuite/runtest.main/options.exp: .. to here.
1392         * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1393         from here ..
1394         * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1395         .. to here.
1396         * testsuite/runtest.all/stats.exp: Move from here ..
1397         * testsuite/runtest.main/stats.exp: .. to here.
1398         * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1399         Move from here ..
1400         * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1401         .. to here.
1403         * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1404         (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1405         * Makefile.in: Regenerate.
1407 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1409         * doc/dejagnu.texi: Clean up whitespace.  Some indented examples
1410         were changed to use the Texinfo '@ ' command (yes, a space
1411         character) to preserve correct indentation.  The '@ ' command is
1412         treated as a single space by Tex and makeinfo, but prevents Emacs
1413         from complaining about indentation using spaces instead of tabs.
1415 2018-12-11  Jacob Bachmeyer  <jcb62281@gmail.com>
1417         * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1418         directory exclusions by name in this procedure.
1420 2018-12-10  Ben Elliston  <bje@gnu.org>
1422         * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1423         glob patterns, not "shell wildcard characters" per se.
1425         * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1427 2018-12-10  Jacob Bachmeyer  <jcb62281@gmail.com>
1429         * doc/dejagnu.texi (Writing a test case): Add warning about
1430         priority of Expect patterns, complete with example.
1431         * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1432         caused test results other than "PASS" to be skipped if a "PASS" is
1433         further along in the input buffer.  Describe problem in manual.
1434         (process_test): Ensure that the log file shows each test case run.
1435         (process_test): Directly run the test cases instead of using
1436         temporary files and "cat".  All output is always available in the
1437         log file, which is no longer overwritten by other tests.
1438         (process_test): Expect END markers from test case scripts.
1439         * testsuite/runtest.all/clone_output.test: Emit END markers.
1440         * testsuite/runtest.all/config.test: Likewise.
1441         * testsuite/runtest.all/remote.test: Likewise.
1442         * testsuite/runtest.all/target.test: Likewise.
1443         * testsuite/runtest.all/testsuite_file.test: Likewise.
1444         * testsuite/runtest.all/utils.test: Likewise.
1446 2018-12-10  Ben Elliston  <bje@gnu.org>
1448         * lib/utils.exp (grep): Use a proper Tcl list for options.
1450 2018-12-10  Ben Elliston  <bje@gnu.org>
1452         * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1454         * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1455         and catching the "no files matched glob pattern" error
1456         message. Catching the error message was the wrong thing to do
1457         because the foreach loop then iterates over each word in the error
1458         message as if they were matches.
1460 2018-12-10  Ben Elliston  <bje@gnu.org>
1462         * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1463         non-existent directory case.
1465 2018-12-10  Ben Elliston  <bje@gnu.org>
1467         * runtest.exp: Remove unnecessary quotes and braces around
1468         variable expansions.
1470         * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1472 2018-12-09  Ben Elliston  <bje@gnu.org>
1474         * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1475         (iterate_target_variants_two): Likewise.
1476         * lib/remote.exp (standard_download): Use 'eq' not '=='.
1477         (remote_upload): Likewise.
1478         * lib/framework.exp (open_logs): Likewise.
1479         (is_remote): Likewise.
1481 2018-12-09  Ben Elliston  <bje@gnu.org>
1483         * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1484         baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1485         baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1486         config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1487         config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1488         lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1489         lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1490         lib/utils.exp, testsuite/lib/libsup.exp,
1491         testsuite/runtest.all/options.exp,: Remove unnecessary braces
1492         around variable expansions.
1494 2018-12-09  Ben Elliston  <bje@gnu.org>
1496         * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1497         lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1498         lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1499         unnecessary quotes and braces around variable expansions.
1501 2018-12-09  Ben Elliston  <bje@gnu.org>
1503         * config/gdb-comm.exp: Remove unnecessary quotes.
1504         * config/gdb_stub.exp: Likewise.
1505         * config/vxworks.exp: Likewise.
1506         * config/unix.exp: Likewise.
1507         * config/sim.exp: Likewise.
1509 2018-12-09  Ben Elliston  <bje@gnu.org>
1511         * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1512         variable expansions.
1513         * testsuite/lib/util-defs.exp: Likewise.
1515 2018-12-09  Ben Elliston  <bje@gnu.org>
1517         * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1518         around variable expansions.
1519         * baseboards/basic-sid.exp: Likewise.
1520         * baseboards/cris-sim.exp: Likewise.
1521         * baseboards/generic-sim.exp: Likewise.
1522         * baseboards/mcore-moto-sim.exp: Likewise.
1523         * baseboards/multi-sim.exp: Likewise.
1525 2018-12-08  Ben Elliston  <bje@gnu.org>
1527         * NEWS: Tweak.
1529 2018-12-08  Ben Elliston  <bje@gnu.org>
1531         * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1532         variable expansions.
1533         * testsuite/runtest.all/clone_output.test: Likewise.
1534         * testsuite/runtest.all/target.test: Likewise.
1535         * testsuite/runtest.all/stats.exp: Likewise.
1536         * testsuite/runtest.all/remote.test: Likewise.
1537         * testsuite/runtest.all/config.test: Likewise.
1538         * testsuite/runtest.all/default_procs.tcl: Likewise.
1539         * testsuite/runtest.all/libs.exp: Likewise.
1540         * testsuite/runtest.all/options.exp: Likewise.
1542 2018-12-08  Jacob Bachmeyer  <jcb62281@gmail.com>
1544         * NEWS: Document 'testsuite' command.
1545         * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1546         point and "testsuite file" command.
1547         * lib/framework.exp (testsuite): New proc for multiplex commands.
1548         (testsuite_file): New proc implementing "testsuite file".
1549         * testsuite/runtest.all/testsuite_file.test: New file.
1550         * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1551         but also search $srcdir itself.
1552         (load_lib): Add explicit search for testsuite-local libraries.
1553         (load_tool_init): Use $testsuitedir in search.
1554         (load_config): Use $testsuitedir instead of $srcdir.
1555         (load_tool_target_config): Likewise.
1557         Add variable "testsuitedir" for testsuite root directory.
1559         Add internal global variables "testbuilddir" and "testdir" for use
1560         by "testsuite file".
1562         Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1563         duplicated path delimiters.
1565         Add warning if no tests are found and fallback method of searching
1566         $srcdir is used.
1568 2018-12-08  Ben Elliston  <bje@gnu.org>
1570         * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1571         expressions.
1572         * testsuite/lib/util-defs.exp (util_test): Likewise.
1573         * testsuite/runtest.all/stats.exp: Likewise.
1574         * testsuite/runtest.all/libs.exp: Likewise.
1576 2018-12-08  Jacob Bachmeyer  <jcb62281@gmail.com>
1578         * testsuite/runtest.all/default_procs.tcl:
1579         (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1580         (lib_regexp_test): Fix copy-paste-edit error.
1581         (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1582         Fix handling of errors raised by tested procedure.  Also ensure
1583         proper quoting of argument lists passed to eval and simplify
1584         the logic for producing return values.
1586 2018-12-08  Ben Elliston  <bje@gnu.org>
1588         * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1590 2018-12-08  Ben Elliston  <bje@gnu.org>
1592         * lib/tip.exp (tip_open): Put braces around if expression.
1594 2018-12-08  Ben Elliston  <bje@gnu.org>
1596         * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1597         lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1598         config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1599         baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1600         baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1601         baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1602         baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1603         baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1604         baseboards/arm-ice.exp, baseboards/androideabi.exp,
1605         testsuite/runtest.all/utils.test,
1606         testsuite/runtest.all/target.test: Replace string literal
1607         comparisons using == and != with 'eq' and 'ne'.
1609 2018-12-08  Ben Elliston  <bje@gnu.org>
1611         * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1612         lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1613         lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1614         config/vxworks.exp, config/unix.exp, config/sim.exp,
1615         config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1616         baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1617         baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1618         baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1619         testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1620         using == and != with 'eq' and 'ne'.
1622 2018-12-07  Jacob Bachmeyer  <jcb62281@gmail.com>
1624         * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1625         (lib_regexp_test): New.
1626         (lib_pat_test): Brace "if" conditions.
1627         (lib_pat_test): Remove spurious quotes in debugging output.
1628         (run_tests): Add support for comments in lists of procedure tests.
1630         * testsuite/runtest.all/config.test: Adjust to use run_tests
1631         procedure. Fixes issue cited in FIXME comment.
1633         * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1634         The old tests had the sense of the return value from lib_pat_test
1635         inverted and were failing but reported PASS.
1636         (find tests, relative_filename tests, runtest_file_p tests):
1637         Adjust to use run_tests procedure.
1639 2018-12-07  Ben Elliston  <bje@gnu.org>
1641         * doc/dejagnu.texi: Add more missing material.
1643 2018-12-07  Jacob Bachmeyer  <jcb62281@gmail.com>
1645         * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1646         (run_tests): Replace implicit "eval" with explicit "eval".  Tidy.
1647         (verbose): Remove unnecessary quotes.
1649 2018-12-06  Ben Elliston  <bje@gnu.org>
1651         * doc/dejagnu.texi: Add more missing material.
1653 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1655         * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1656         (lib_pat_test): Handle an argument list instead of only a single
1657         argument for the procedure under test.
1658         (lib_ret_test): Likewise.
1659         * testsuite/runtest.all/utils.test: Whitespace clean up.
1660         Adjust to pass argument lists for improved lib_pat_test.
1661         * testsuite/runtest.all/clone_output.test: Likewise.
1663 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1665         * lib/remote.exp (standard_load): Fix typo on empty string.
1666         * runtest.exp: Adjust expression to follow GNU conventions.
1667         * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1668         with "eq" instead of "ne".
1669         * testsuite/runtest.all/config.test: Likewise.
1671 2018-12-06  Ben Elliston  <bje@gnu.org>
1673         * runtest.exp: Replace [string match] commands involving literal
1674         strings and variables known to not be Tcl glob patterns with eq
1675         and ne.
1676         * config/unix.exp: Likewise.
1677         * lib/debugger.exp: Likewise.
1678         * lib/dg.exp: Likewise.
1679         * lib/framework.exp: Likewise.
1680         * lib/remote.exp: Likewise.
1681         * lib/utils.exp: Likewise.
1682         * baseboards/androideabi.exp: Likewise.
1683         * baseboards/multi-sim.exp: Likewise.
1684         * testsuite/lib/util-defs.exp: Likewise.
1685         * testsuite/runtest.all/config.test: Likewise.
1687 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1689         * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1690         * testsuite/runtest.all/target.test: Likewise.
1691         * testsuite/runtest.all/remote.test: Likewise.
1692         * testsuite/runtest.all/config.test: Likewise.
1693         * testsuite/runtest.all/clone_output.test: Likewise.
1695 2018-12-06  Ben Elliston  <bje@gnu.org>
1697         * runtest.exp: Replace '==' with 'eq' for string compares.
1698         Likewise, replace '!=' with 'ne'. Replace a few instances of
1699         [string length $str] == 0 with $str eq "".
1700         * config/gdb-comm.exp: Likewise.
1701         * lib/dg.exp: Likewise.
1702         * lib/framework.exp: Likewise.
1703         * lib/libgloss.exp: Likewise.
1704         * lib/remote.exp: Likewise.
1705         * lib/target.exp: Likewise.
1706         * lib/utils.exp: Likewise.
1708 2018-12-06  Jacob Bachmeyer  <jcb62281@gmail.com>
1710         * runtest.exp: Replace archaic use of [string match] with "eq".
1712 2018-12-06  Ben Elliston  <bje@gnu.org>
1714         * doc/dejagnu.texi (compile Procedure): Remove old node.
1715         (archive Procedure): Likewise.
1716         (ranlib Procedure): Likewise.
1718 2018-12-06  Ben Elliston  <bje@gnu.org>
1720         * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
1722 2018-12-06  Ben Elliston  <bje@gnu.org>
1724         * lib/telnet.exp (telnet_open): Remove connectmode global.
1725         * doc/dejagnu.texi (Procedures For Remote Communication): Remove
1726         mention of connectmode.
1728 2018-12-05  Ben Elliston  <bje@gnu.org>
1730         * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
1731         node.
1733 2018-12-05  Ben Elliston  <bje@gnu.org>
1735         * doc/dejagnu.texi: Add more missing material.
1737 2018-12-05  Ben Elliston  <bje@gnu.org>
1739         * testsuite/runtest.all/utils.test: Test runtest_file_p.
1741 2018-12-05  Jacob Bachmeyer  <jcb62281@gmail.com>
1743         * runtest.exp (load_config): Remove unused globals.
1744         (load_generic_config): Likewise.
1745         (load_board_description): Likewise.
1746         (load_base_board_description): Likewise.
1748 2018-12-05  Ben Elliston  <bje@gnu.org>
1750         * lib/utils.exp (grep): Handle -n.
1751         * doc/dejagnu.texi (grep procedure): Document it.
1752         * testsuite/runtest.all/utils.test: Add a test case.
1753         * NEWS: Add an item.
1755 2018-12-05  Ben Elliston  <bje@gnu.org>
1757         * testsuite/runtest.all/utils.test: Test diff.
1759 2018-12-04  Ben Elliston  <bje@gnu.org>
1761         * testsuite/runtest.all/utils.test: Test grep.
1763 2018-12-04  Ben Elliston  <bje@gnu.org>
1765         * testsuite/runtest.all/utils.test (which): Fail on the else path,
1766         don't pass in either case.
1768 2018-12-04  Ben Elliston  <bje@gnu.org>
1770         * doc/dejagnu.texi (Libgloss): Improve documentation.
1771         (Debugging Procedures): Likewise.
1773 2018-12-04  Ben Elliston  <bje@gnu.org>
1775         * lib/debugger.exp (dumprocs): Fix proc comment.
1777 2018-12-04  Ben Elliston  <bje@gnu.org>
1779         * doc/dejagnu.texi (Utility Procedures): Improve documentation for
1780         the procedures in this section.
1782 2018-12-04  Jacob Bachmeyer  <jcb62281@gmail.com>
1784         * NEWS: Document new relative_filename procedure and --local_init/
1785         --global_init command line options.
1787 2018-12-04  Jacob Bachmeyer  <jcb62281@gmail.com>
1789         * lib/utils.exp (relative_filename): New proc.
1790         * runtest.exp: Use it.
1791         * doc/dejagnu.texi (relative_filename procedure): Document it.
1792         * testsuite/runtest.all/utils.test: Add tests for relative_filename.
1794 2018-12-03  Ben Elliston  <bje@gnu.org>
1796         * dejagnu.h (TestState): Remove const char * variants of pass(),
1797         xpass(), fail(), xfail(), untested(), unresolved() for C++. A
1798         const char * will be implicitly converted to std::string.
1800 2018-12-03  Ben Elliston  <bje@gnu.org>
1802         * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
1803         removing the 'Reference' node and chapter. Make all subsubsections
1804         in this chapter unnumbered subheadings.
1806 2018-12-03  Jacob Bachmeyer  <jcb62281@gmail.com>
1808         * doc/dejagnu.texi: Fix Info node links.  The arguments to @node
1809         are: here, next, previous, up; not here, previous, next, up.
1811 2018-12-03  Ben Elliston  <bje@gnu.org>
1813         * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
1814         doc/texinfo.tex. With thanks to Jacob Bachmeyer.
1815         * Makefile.in: Regenerate.
1817 2018-12-03  Ben Elliston  <bje@gnu.org>
1819         * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
1820         (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
1821         prevents the distribution of the overridden texinfo.tex.
1822         * Makefile.in: Regenerate.
1823         * texinfo.tex: Move from here ..
1824         * doc/texinfo.tex: .. to here.
1826 2018-12-03  Ben Elliston  <bje@gnu.org>
1828         * lib/framework.exp (isremote): Add verbose message.
1830 2018-12-02  Ben Elliston  <bje@gnu.org>
1832         * lib/framework.exp (isremote): Pass $board to is_remote.
1834 2018-12-02  Ben Elliston  <bje@gnu.org>
1836         * doc/fdl.texi: New.
1837         * doc/dejagnu.texi (Variable Index): New.
1838         Add more concept index entries.
1839         (GNU Free Documentation License): New appendix.
1841 2018-12-02  Ben Elliston  <bje@gnu.org>
1843         * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
1844         index (@findex) entries for every built-in procedure.
1846 2018-12-02  Ben Elliston  <bje@gnu.org>
1848         * doc/dejagnu.texi: Start an index.
1850 2018-12-02  Ben Elliston  <bje@gnu.org>
1852         * doc/version.texi: New.
1854 2018-12-02  Ben Elliston  <bje@gnu.org>
1856         * doc/dejagnu.texi: Add title page and frontmatter. Include
1857         version.texi.
1858         * Makefile.in: Regenerate.
1859         * mdate-sh: Installed by automake --add-missing.
1861 2018-12-02  Ben Elliston  <bje@gnu.org>
1863         * doc/dejagnu.texi (diff procedure): Tidy up this node.
1865 2018-12-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1867         * runtest.exp (hex): Remove useless test before setting.
1868         (decimal): Likewise.
1870 2018-12-02  Jacob Bachmeyer  <jcb62281@gmail.com>
1872         * doc/dejagnu.texi (Invoking runtest): Document new --local_init
1873         and --global_init command line options.
1874         * doc/runtest.1: Likewise.
1876         * runtest.exp: Remove useless tests before setting default values
1877         for variables: all_flag, binpath, debug, options, outdir, reboot,
1878         tracelevel, verbose, log_dialog.  They are set before loading any
1879         files or parsing the command line.
1881         * runtest.exp: Add options --local_init and --global_init for
1882         selecting alternate testsuite configuration files.
1884         * runtest.exp: Split variable "configfile" into "local_init_file"
1885         and "global_init_file" in preparation for adding command-line
1886         options to specify these independently.
1888         * runtest.exp (load_generic_config): Remove configfile global.
1889         (load_board_description): Likewise.
1890         (load_base_board_description): Likewise.
1892 2018-11-30  Ben Elliston  <bje@gnu.org>
1894         * lib/utils.exp (grep): Remove reference to "NULL" in comment.
1895         * testsuite/lib/util-defs.exp (util_start): Likewise.
1897 2018-11-30  Ben Elliston  <bje@gnu.org>
1899         * doc/dejagnu.texi: (verbose procedure): Improve documentation.
1900         (load_lib procedure): Likewise.
1902 2018-11-30  Ben Elliston  <bje@gnu.org>
1904         * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
1906 2018-11-30  Ben Elliston  <bje@gnu.org>
1908         * runtest.exp: Use isremote.
1909         * lib/target.exp: Likewise.
1910         * lib/remote.exp: Likewise.
1911         * lib/libgloss.exp: Likewise.
1912         * config/unix.exp: Likewise.
1913         * config/sim.exp: Likewise.
1914         * config/gdb_stub.exp: Likewise.
1915         * config/gdb-comm.exp: Likewise.
1916         * baseboards/basic-sim.exp: Likewise.
1917         * baseboards/androideabi.exp: Likewise.
1919 2018-11-30  Ben Elliston  <bje@gnu.org>
1921         * lib/framework.exp (isremote): New.
1922         * doc/dejagnu.texi (isremote procedure): Document it.
1923         * NEWS: Mention isremote.
1925 2018-11-30  Ben Elliston  <bje@gnu.org>
1927         * texinfo.tex: Update to latest upstream version.
1928         * INSTALL: Likewise.
1930 2018-11-29  Ben Elliston  <bje@gnu.org>
1932         * lib/framework.exp (istarget, ishost, istarget): Set the argument
1933         default value to the empty string.
1934         * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
1935         (getenv procedure): Re-word this node.
1936         (isbuild procedure): Update.
1937         (ishost procedure): Likewise.
1938         (istarget procedure): Likewise.
1939         * testsuite/runtest.all/config.test: Add test cases.
1941 2018-11-28  Ben Elliston  <bje@gnu.org>
1943         * config.guess: Update to latest version.
1944         * config.sub: Likewise.
1946 2018-11-28  Ben Elliston  <bje@gnu.org>
1948         * NEWS: Update.
1949         * configure.ac: Update version number.
1950         * configure: Regenerate.
1951         * doc/dejagnu.texi: Update version number.
1952         * runtest.exp: Update version number.
1954 2018-11-28  Ben Elliston  <bje@gnu.org>
1956         * Makefile.am (TESTSUITE_FILES): Update filenames.
1957         * Makefile.in: Regenerate.
1959 2018-11-28  Ben Elliston  <bje@gnu.org>
1961         * NEWS: Update.
1963         * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
1965 2018-11-25  Jacob Bachmeyer  <jcb62281@gmail.com>
1967         * lib/framework.exp: Clean up whitespace.
1969 2018-11-25  Ben Elliston  <bje@gnu.org>
1971         * config/gdb-comm.exp: Clean up whitespace.
1972         * config/gdb_stub.exp: Likewise.
1973         * config/sid.exp: Likewise.
1974         * config/sim.exp: Likewise.
1975         * config/unix.exp: Likewise.
1977 2018-11-23  Ben Elliston  <bje@gnu.org>
1979         * doc/dejagnu.texi (getdirs procedure): Improve documentation
1980         including documenting the -all option.
1981         (find procedure): Fix a typo.
1982         * lib/utils.exp (getdirs): Improve comments.
1984 2018-11-22  Jacob Bachmeyer  <jcb62281@gmail.com>
1986         * runtest.exp: Ensure that multipass pass variables are always
1987         restored.  Previously, they were only restored if the "Go digging
1988         for tests" branch was taken near the end of runtest.exp.
1990 2018-11-22  Ben Elliston  <bje@gnu.org>
1992         * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
1993         of the $DEJAGNU environment variable (see change below).
1995 2018-11-22  Jacob Bachmeyer  <jcb62281@gmail.com>
1997         * runtest.exp: Raise error if $DEJAGNU is defined but not found.
1999 2018-11-15  Jacob Bachmeyer  <jcb62281@gmail.com>
2001         * runtest.exp (load_tool_init): Search for tool init file instead
2002         of assuming exactly one location.
2004 2018-11-15  Ben Elliston  <bje@gnu.org>
2006         * runtest.exp (load_lib): Whitespace fix.
2008 2018-11-11  Jacob Bachmeyer  <jcb62281@gmail.com>
2010         * lib/ssh.exp: Clean up whitespace.
2011         * lib/remote.exp: Clean up whitespace.
2012         (remote_expect): Change literal tab to "\t" in regexp.
2014 2018-11-05  Ben Elliston  <bje@gnu.org>
2016         * config.guess: Update to latest version.
2017         * config.sub: Likewise.
2019 2018-11-02  Ben Elliston  <bje@gnu.org>
2021         * Makefile.in: Regenerate.
2023 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2025         * Makefile.am (DEJATOOL): List tools in testsuite.
2026         (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2027         * testsuite/config/default.exp: Rename from this ...
2028         * testsuite/lib/runtest.exp: ... to this.
2029         (runtest_exit): Remove spurious "close". This was causing per-tool
2030         testing to fail, since the testsuite for "runtest" never actually
2031         uses "spawn", so "close" ends up closing exp0, which is the
2032         terminal.  The ${tool}_exit proc is not called if the --tool
2033         option is not given, so this had no effect earlier.
2034         * testsuite/lib/libdejagnu.exp: New empty file.
2036 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2038         * runtest.exp (load_tool_init): Add message indicating the
2039         expected location of the tool init file.
2041 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2043         * contrib/sum2junit.sh (failures): Fix typo.
2045 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2047         * configure.ac (DEJAGNU): Add comments.
2049 2018-10-31  Jacob Bachmeyer  <jcb62281@gmail.com>
2051         * Makefile.am (DEJATOOL): List tools in testsuite.
2052         (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2053         * testsuite/config/default.exp: Rename from this ...
2054         * testsuite/lib/runtest.exp: ... to this.
2055         (runtest_exit): Remove spurious "close".  This was causing
2056         per-tool testing to fail, since the testsuite for "runtest" never
2057         actually uses "spawn", so "close" ends up closing exp0, which is
2058         the terminal.  The ${tool}_exit proc is not called if the --tool
2059         option is not given, so this had no effect earlier.
2060         * testsuite/lib/libdejagnu.exp: New empty file.
2062 2018-10-30  Ben Elliston  <bje@gnu.org>
2064         * Makefile.am (DISTCLEANFILES): Add testrun.xml.
2065         * Makefile.in: Regenerate with Automake 1.15.1.
2066         * aclocal.m4: Likewise.
2068 2018-10-30  Ben Elliston  <bje@gnu.org>
2070         * configure.ac (AC_CONFIG_SUBDIRS): Remove.
2071         * configure: Regenerate.
2073 2018-10-29  Ben Elliston  <bje@gnu.org>
2075         * README (Documentation): Update.
2077 2018-10-28  Jacob Bachmeyer  <jcb62281@gmail.com>
2079         * lib/framework.exp (record_test): Really fix message formatting.
2081 2018-10-29  Ben Elliston  <bje@gnu.org>
2083         Reported by Jacob Bachmeyer.
2084         * testsuite/runtest.all/utils.test: Fix missing end quote.
2086 2018-10-28  Jacob Bachmeyer  <jcb62281@gmail.com>
2088         * lib/framework.exp (record_test): Fix message formatting.
2090 2018-07-20  Ben Elliston  <bje@gnu.org>
2092         * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
2093         * contrib/mysql/sum2xml.sh: Likewise.
2095 2018-07-20  Ben Elliston  <bje@gnu.org>
2097         * contrib/compare_tests: Eliminate Shellcheck warnings.
2098         * contrib/mysql/sum2xml.sh: Likewise.
2100 2018-07-20  Ben Elliston  <bje@gnu.org>
2102         * compile, depcomp, install-sh: Latest upstream versions.
2104 2018-07-20  Ben Elliston  <bje@gnu.org>
2106         * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
2108 2018-07-19  Ben Elliston  <bje@gnu.org>
2110         * runtest: Use POSIX 'command', not 'type', to look for the Expect
2111         binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
2112         is undefined").
2114 2018-07-19  Ben Elliston  <bje@gnu.org>
2116         * config.guess: Update to latest version.
2117         * config.sub: Likewise.
2119 2018-07-06  Richard Biener  <rguenther@suse.de>
2121         * lib/remote.exp (close_wait_program): Use separate kill command
2122         for each pid.
2124 2017-10-16  Ben Elliston  <bje@gnu.org>
2126         * NEWS: Start a new section for the next release.
2127         * configure.ac (AC_INIT): Update version number.
2128         * configure: Regenerate.
2129         * runtest.exp (frame_version): Update version number.
2130         * doc/dejagnu.texi: Likewise.
2131         * doc/runtest.1: Update datestamp.
2133 2017-10-16  Ben Elliston  <bje@gnu.org>
2135         * config.guess: Update to version 2017-09-26.
2136         * config.sub: Likewise.
2138 2017-09-13  Ben Elliston  <bje@gnu.org>
2140         * lib/framework.exp (open_logs): Set XML version to 1.1.
2141         (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
2142         missing 'x' in escape sequence.
2144 2017-08-29  Ben Elliston  <bje@gnu.org>
2146         Revert these changes:
2148         2016-04-25  Ben Elliston  <bje@gnu.org>
2150         * testsuite/runtest.all/utils.test: Remove unsetenv test.
2152         2016-04-24  Ben Elliston  <bje@gnu.org>
2154         * lib/utils.exp (unsetenv): Remove proc.
2155         * doc/dejagnu.texi: Update documentation.
2156         * NEWS: Update.
2158 2017-08-19  Ben Elliston  <bje@gnu.org>
2160         * lib/framework.exp (xml_tag): Escape all of the non-printable
2161         control characters (ASCII codes 1 to 31 inclusive).
2163 2017-08-18  Tom Tromey  <tom@tromey.com>
2165         * runtest.exp: Fix --directory matching.
2167 2017-08-15  Ben Elliston  <bje@gnu.org>
2169         * lib/framework.exp (xml_tag): New proc.
2170         (log_summary): Use it.
2171         (record_test): Likewise.
2173 2017-08-15  Ben Elliston  <bje@gnu.org>
2175         * lib/framework.exp (open_logs): Set .xml filename correctly.
2176         * runtest.exp: Remove xml_file_name var.
2177         (usage): Update --xml option to not take an argument.
2178         (load_tool_init): Likewise.
2179         * doc/dejagnu.texi (Invoking runtest): Update documentation.
2180         * doc/runtest.1: Likewise.
2182 2017-08-01  Ben Elliston  <bje@gnu.org>
2184         * runtest.exp (usage): Improve --strace message.
2186 2017-08-01  Ben Elliston  <bje@gnu.org>
2188         * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
2190 2017-06-04  Ben Elliston  <bje@gnu.org>
2192         * lib/target.exp (push_target): Remove unnecessary global command.
2193         * testsuite/runtest.all/target.test: Overhaul tests.
2195 2017-06-04  Ben Elliston  <bje@gnu.org>
2197         * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
2199 2017-06-04  Tom de Vries  <tom@codesourcery.com>
2201         * testsuite/runtest.all/target.test: Remove list_targets test.
2203 2017-06-04  Tom de Vries  <tom@codesourcery.com>
2205         * testsuite/runtest.all/libs.exp (process_test): Dump entire
2206         output when there's no reportable output.
2207         * testsuite/runtest.all/remote.test (load_lib): New proc.
2208         * testsuite/runtest.all/target.test (load_lib): Same.
2210 2017-03-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2212         * lib/remote.exp (remote_download): Add logging message when
2213         source and destination file differ in name.
2215 2016-09-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
2217         * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2219 2016-06-28  Ben Elliston  <bje@gnu.org>
2221         * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
2222         * configure: Regenerate.
2224 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2226         * configure.ac, dejagnu.h, runtest, runtest.exp,
2227         baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
2228         baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2229         baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2230         baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2231         baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2232         baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2233         baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
2234         baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
2235         baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
2236         baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
2237         baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
2238         baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
2239         baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
2240         baseboards/mips-sim-mti64_64.exp,
2241         baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
2242         baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
2243         baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2244         baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
2245         baseboards/mt-sid.exp, baseboards/multi-sim.exp,
2246         baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2247         baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2248         baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2249         baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2250         baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2251         baseboards/unix.exp, baseboards/v850-sim.exp,
2252         baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
2253         baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
2254         baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
2255         lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
2256         lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2257         lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2258         testsuite/config/default.exp, testsuite/lib/libsup.exp,
2259         testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2260         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2261         testsuite/runtest.all/stats-sub.exp,
2262         testsuite/runtest.all/stats.exp, config/adb.exp,
2263         config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2264         config/sid.exp, config/sim.exp, config/unix.exp,
2265         config/vxworks.exp: Update copyright date for 2016.
2267 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2269         * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2270         baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2271         baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2272         baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2273         baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2274         baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2275         baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2276         baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2277         baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2278         baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2279         baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2280         baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2281         baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2282         baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2283         baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2284         baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2285         baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2286         baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2287         baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2288         baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2289         baseboards/unix.exp, baseboards/v850-sim.exp,
2290         baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2291         baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2292         lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2293         lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2294         lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2295         lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2296         testsuite/config/default.exp, testsuite/lib/libsup.exp,
2297         testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2298         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2299         testsuite/runtest.all/options.exp,
2300         testsuite/runtest.all/stats-sub.exp,
2301         testsuite/runtest.all/stats.exp, config/default.exp,
2302         config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2303         config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2304         dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2305         statement.
2307 2016-06-22  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2309         * doc/runtest.1: Use condensed years in copyright statement.
2311 2016-06-21  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2313         * runtest: Quote paths. Use test -z, -n for clarity.
2315 2016-06-21  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
2317         * config/adb.exp (adb_exec) Improve verbose message.
2319 2016-06-03  Jim Wilson  <jim.wilson@linaro.org>
2321         * baseboards/aarch64-sim.exp: New file.
2322         * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2323         * Makefile.in: Regenerate.
2324         * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2326 2016-04-26  Ben Elliston  <bje@gnu.org>
2328         * doc/dejagnu.texi: Fill more paragraphs.
2330 2016-04-25  Ben Elliston  <bje@gnu.org>
2332         * testsuite/runtest.all/utils.test: Remove unsetenv test.
2334 2016-04-24  Ben Elliston  <bje@gnu.org>
2336         * lib/utils.exp (unsetenv): Remove proc.
2337         * doc/dejagnu.texi: Update documentation.
2338         * NEWS: Update.
2340 2016-04-19  Nick Clifton  <nickc@redhat.com>
2342         * baseboards/msp430-sim.exp: New file.
2343         * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2344         * Makefile.in: Regenerate.
2346 2016-04-18  Ben Elliston  <bje@gnu.org>
2348         * runtest: Remove quoting in final exec command.
2350 2016-04-17  Ben Elliston  <bje@gnu.org>
2352         * lib/remote.exp: Load ssh.exp lib.
2354 2016-04-17  Ben Elliston  <bje@gnu.org>
2356         * lib/rsh.exp (rsh_open): Fix description comment.
2358 2016-04-17  Ben Elliston  <bje@gnu.org>
2360         Reported by shellcheck.
2361         * runtest: Use $((..)) not `expr ..` and defensively double quote
2362         shell variables.
2364 2016-04-17  Ben Elliston  <bje@gnu.org>
2366         * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2367         * Makefile.in: Regenerate.
2369 2016-04-17  Ben Elliston  <bje@gnu.org>
2371         Reported by shellcheck.
2372         * runtest: Use $((..)) not `expr ..`.
2374 2016-04-17  Ben Elliston  <bje@gnu.org>
2376         * configure.ac (AC_INIT): Update version number.
2377         * configure: Regenerate.
2378         * runtest.exp (frame_version): Update version number.
2379         * doc/dejagnu.texi: Likewise.
2381 2016-04-17  Ben Elliston  <bje@gnu.org>
2383         * NEWS: Start a new section for the next release.
2385 2016-04-15  Ben Elliston  <bje@gnu.org>
2387         * Makefile.am (CONTRIB): Add new contrib scripts.
2388         * Makefile.in: Regenrate.
2390 2016-04-15  Ben Elliston  <bje@gnu.org>
2392         * lib/ssh.exp (ssh_exec): Handle regexp return status.
2394 2016-04-13  Ben Elliston  <bje@gnu.org>
2396         * lib/rsh.exp (rsh_exec): Improve verbose message.
2397         * lib/ssh.exp (ssh_exec): Likewise.
2398         * config/adb.exp: Likewise.
2400 2016-04-13  Ben Elliston  <bje@gnu.org>
2402         * runtest.exp: Improve --version (-v) output.
2403         * testsuite/runtest.all/options.exp: Update test case.
2405 2016-04-13  Christophe Lyon  <christophe.lyon@linaro.org>
2407         * lib/rsh.exp (rsh_exec): Handle regexp return status.
2409 2016-04-08  Ben Elliston  <bje@gnu.org>
2411         Reported by Faraz Shahbazker.
2412         * doc/dejagnu.texi (Global config file): Fix broken @node.
2413         (Local config file): Likewise.
2415 2016-04-07  Ben Elliston  <bje@gnu.org>
2417         * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2418         the command line with ';' and not &&.
2420 2016-04-07  Ben Elliston  <bje@gnu.org>
2422         Reported by Faraz Shahbazker.
2423         * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2425 2016-04-06  Yvan Roux  <yvan.roux@linaro.org>
2427         * lib/remote.exp (remnote_download): Create a remote directory if
2428         needed and use it.
2429         (remote_exec): Execute program inside remotedir when it exists.
2430         (standard_load): Set remotedir board field if not present.
2431         * config/unix.exp (unix_load): Handle remotedir in board field.
2432         (remotedir): Set board info field.
2433         * doc/dejagnu.texi (Board File Values): Document remotedir.
2435 2016-04-06  Ben Elliston  <bje@gnu.org>
2437         * doc/dejagnu.texi (Global config file): Put before node 'Local
2438         config file'.
2440 2016-04-05  Ben Elliston  <bje@gnu.org>
2442         * runtest.exp: Remove defunct and undocumented --tool_root option.
2444 2016-04-04  Ben Elliston  <bje@gnu.org>
2446         * doc/dejagnu.texi: More overhauling.
2448 2016-04-04  Ben Elliston  <bje@gnu.org>
2450         * lib/targetdb.exp (set_board_info): Improve comment.
2451         (add_board_info): Likewise.
2453 2016-04-04  Ben Elliston  <bje@gnu.org>
2455         * NEWS: Add some more detail.
2457 2016-04-04  Ben Elliston  <bje@gnu.org>
2459         * site.tmpl: Delete.
2460         * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2461         * Makefile.in: Regenerate.
2463 2016-04-03  Ben Elliston  <bje@gnu.org>
2465         * doc/dejagnu.texi: More overhauling.
2467 2016-04-03  Ben Elliston  <bje@gnu.org>
2469         * runtest.exp: Document the magical handling of -D[01].
2471 2016-04-03  Ben Elliston  <bje@gnu.org>
2473         * doc/runtest.1: Do not document obsolete --status option. It is
2474         still accepted for compatibility, but does nothing.
2476 2016-04-03  Ben Elliston  <bje@gnu.org>
2478         * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2480 2016-04-03  Ben Elliston  <bje@gnu.org>
2482         * doc/runtest.1 (OPTIONS): Sort options.
2484 2016-04-03  Ben Elliston  <bje@gnu.org>
2486         * doc/dejagnu.texi: More overhauling.
2488 2016-04-02  Ben Elliston  <bje@gnu.org>
2490         * doc/dejagnu.texi: Fill paragraphs.
2492 2016-04-02  Ben Elliston  <bje@gnu.org>
2494         * doc/dejagnu.texi: Fix capitalisation of procedure names
2495         throughout.  Use Tcl syntax in procedure prototypes, not C syntax.
2497 2016-04-02  Rob Savoye  <rob.savoye@linaro.org>
2499         * contrib/mysql/create-db.sql: New file.
2500         * contrib/mysql/importxml.sh: Likewise.
2501         * contrib/mysql/make-datafile.sh: Likewise.
2502         * contrib/mysql/plot.sh: Likewise.
2503         * contrib/mysql/README: Likewise.
2504         * contrib/mysql/sum2xml.sh: Likewise.
2506 2016-04-02  Ben Elliston  <bje@gnu.org>
2508         * config.guess: Update to version 2016-04-02.
2509         * config.sub: Update to version 2016-03-30.
2511 2016-04-02  Rob Savoye  <rob.savoye@linaro.org>
2513         * contrib/sum2junit.sh: New.
2515 2016-04-01  Ben Elliston  <bje@gnu.org>
2517         * doc/dejagnu.texi (connprocs): Document new SSH procs.
2519 2016-03-31  Rob Savoye  <rob.savoye@linaro.org>
2521         * lib/ssh.exp: New.
2522         * NEWS: Update.
2524 2016-03-30  Ben Elliston  <bje@gnu.org>
2526         * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2527         lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2528         runtest.exp: Fix spelling errors in comments.
2530 2016-03-30  Ben Elliston  <bje@gnu.org>
2532         * lib/remote.exp (remote_expect): Use perror not send_user.
2534 2016-03-29  Ben Elliston  <bje@gnu.org>
2536         * lib/remote.exp (remote_expect): Fix spelling error.
2538 2016-03-29  Rob Savoye  <rob.savoye@linaro.org>
2540         * runtest.exp: Only print "searching for <test name>" message at
2541         verbose level >= 2 -- too much noise.
2543 2016-03-29  Ben Elliston  <bje@gnu.org>
2545         * texinfo.tex: Update to latest master version.
2546         * INSTALL: Likewise.
2548 2016-03-29  Ben Elliston  <bje@gnu.org>
2550         * runtest.exp: More fixes identified by the Frink static analyser.
2551         * lib/dg.exp: Likewise.
2552         * config/adb.exp: Likewise.
2553         * config/vxworks.exp: Likewise.
2554         * baseboards/androideabi.exp: Likewise.
2555         * baseboards/basic-sid.exp: Likewise.
2556         * baseboards/multi-sim.exp: Likewise.
2558 2016-03-28  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2560         * dg.exp (dg-do): Do not change the previously selected action if
2561         a de-selected dg-do is encountered.
2563 2016-03-28  Ben Elliston  <bje@gnu.org>
2565         * lib/framework.exp (check_xml): Remove unused proc.
2567 2016-03-28  Rob Savoye  <rob.savoye@linaro.org>
2569         * lib/dmucs.exp: New.
2571 2016-03-28  Rob Savoye  <rob.savoye@linaro.org>
2573         * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2574         built compiler, then look in the path.
2576 2016-03-28  Ben Elliston  <bje@gnu.org>
2578         * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2579         /bin/which doesn't. Modern systems rely too heavily on symbolic
2580         links (eg. alternatives).
2582 2016-03-28  Ben Elliston  <bje@gnu.org>
2584         * baseboards/multi-sim.exp: Indent properly.
2586 2016-03-28  Ben Elliston  <bje@gnu.org>
2588         * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2589         rlogin. Identified by Frink.
2591 2016-03-28  Ben Elliston  <bje@gnu.org>
2593         * runtest.exp: Use 'array exists' for testing array existence
2594         rather than 'info exists'.
2596 2016-03-28  Ben Elliston  <bje@gnu.org>
2598         * runtest.exp: Fixes identified by the Frink static analyser:
2599           (1) use -- in switch commands for safety,
2600           (2) remove unreachable return commands after error commands,
2601           (3) replace abbreviated "info proc" with "info procs",
2602           (4) use -- in unset commands for safety where the variable name
2603               is itself a variable.
2604         * lib/dg.exp: Likewise.
2605         * lib/debugger.exp: Likewise.
2606         * lib/framework.exp: Likewise.
2607         * lib/remote.exp: Likewise.
2608         * lib/target.exp: Likewise.
2609         * lib/targetdb.exp: Likewise.
2610         * lib/telnet.exp: Likewise.
2611         * lib/utils.exp: Likewise.
2613 2016-03-28  Ben Elliston  <bje@gnu.org>
2615         * Makefile.am: Remove references to Docbook and friends.
2616         * configure.ac: Likewise.
2617         * Makefile.in: Regenerate.
2618         * configure: Regenerate.
2619         * doc/dejagnu.xml: Remove.
2620         * doc/legal.xml: Likewise.
2621         * doc/ref.xml: Likewise.
2622         * doc/user.xml: Likewise.
2624 2016-03-28  Ben Elliston  <bje@gnu.org>
2626         * lib/framework.exp (exp_continue): Remove old compatibility
2627         wrapper. Expect deprecated 'continue -expect' in August 1997.
2629 2016-03-28  Ben Elliston  <bje@gnu.org>
2631         * NEWS: Update.
2633 2016-03-28  Ben Elliston  <bje@gnu.org>
2635         * lib/utils.exp (which): Reimplement to more closely mimic the
2636         behaviour of the UNIX which utility.
2637         * testsuite/runtest.all/utils.test: Test proc which.
2639 2016-03-27  Ben Elliston  <bje@gnu.org>
2641         * lib/remote.exp (standard_wait): Append any trailing characters
2642         to $output that may be still in $expect_out(buffer) when eof is
2643         matched. Remove arbitrary limitation in the ".+" matching case,
2644         similar to the change to local_exec on 2016-02-17.
2646 2016-03-23  Ben Elliston  <bje@gnu.org>
2648         * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2649         mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2650         * Makefile.in: Regenerate.
2651         * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2652         baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2653         baseboards/vx68k.exp, baseboards/vx960.exp,
2654         baseboards/vxsparc.exp: Remove.
2656 2016-03-23  Ben Elliston  <bje@gnu.org>
2658         * baseboards/README: Remove mention of devo.
2659         * baseboards/iq2000-sim.exp: Likewise.
2660         * baseboards/moxie-sim.exp: Likewise.
2662 2016-03-23  Ben Elliston  <bje@gnu.org>
2664         * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2665         * Makefile.in: Regenerate.
2666         * baseboards/arm-ice.exp: Reinstate.
2667         * baseboards/arm-sim.exp: Likewise.
2669 2016-03-23  Ben Elliston  <bje@gnu.org>
2671         * Makefile.am (config_DATA): Update.
2672         (baseboard_DATA): Likewise.
2673         * Makefile.in: Regenerate.
2674         * NEWS: Update.
2676         Remove the following old config files:
2678         * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2679         cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2680         dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2681         m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2682         mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2683         proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2684         tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2686         Remove the following old baseboard files:
2688         * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2689         d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2690         fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2691         h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2692         i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2693         m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2694         mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2695         mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2696         powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2697         sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2698         tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2699         vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2700         xscale-cygmon.exp: Remove.
2702 2016-03-22  Ben Elliston  <bje@gnu.org>
2704         * lib/target.exp (only--Ls): Change '???' comment to a note. This
2705         isn't a serious shortcoming, but the comment should be retained.
2707 2016-03-22  Rob Savoye  <rob.savoye@linaro.org>
2709         * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
2710         the environment, use that as the spec file for bare metal testing.
2712 2016-03-22  Ben Elliston  <bje@gnu.org>
2714         * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
2715         * Makefile.in: Regenerate.
2717 2016-03-22  Rob Savoye  <rob.savoye@linaro.org>
2719         * config/aarch64-fv8.exp: Add support for testing armv8 using the
2720         ARM Foundation Model.
2722 2016-03-21  Ben Elliston  <bje@gnu.org>
2724         * runtest.exp: Whitespace, comment and typo fixes.
2725         * lib/dejagnu.exp: Likewise.
2726         * lib/remote.exp: Likewise.
2727         * lib/utils.exp: Likewise.
2729 2016-03-21  Ben Elliston  <bje@gnu.org>
2731         * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
2732         * baseboards/mmixware-sim.exp: Likewise.
2733         * config/sim.exp: Likewise.
2734         * runtest.exp: Likewise.
2736 2016-03-21  Ben Elliston  <bje@gnu.org>
2738         * lib/dg.exp (dg-get-options): Clean up regular expression and
2739         remove FIXME comment about it.
2741 2016-03-20  Ben Elliston  <bje@gnu.org>
2743         * baseboards/i960-sim.exp: Remove stale ??? comment.
2744         * config/vxworks.exp: Likewise.
2746 2016-03-20  Ben Elliston  <bje@gnu.org>
2748         * runtest.exp: Load .dejagnurc last not first.
2749         (load_file): Update comment about Tcl 7.5a2.
2750         * doc/user.xml (Customizing DejaGnu): Document new search order
2751         for site.exp files.
2752         * doc/dejagnu.texi: Regenerate.
2753         * NEWS: Update.
2755 2016-03-20  Ben Elliston  <bje@gnu.org>
2757         * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
2759 2016-03-20  Ben Elliston  <bje@gnu.org>
2761         * lib/dg.exp: Remove commented-out calls to send_user.
2763 2016-03-20  Ben Elliston  <bje@gnu.org>
2765         * runtest.exp (load_file): Remove old comment.
2767 2016-03-20  Ben Elliston  <bje@gnu.org>
2769         * lib/dg.exp (dg-test): There is no need to call unresolved to
2770         clear errcnt. Instead, pass 0 as argument 2 to perror.
2771         * runtest.exp (runtest): Likewise.
2773 2016-03-16  Ben Elliston  <bje@gnu.org>
2775         Revert this change (the GCC testsuite uses diff):
2777         2016-03-15  Ben Elliston  <bje@gnu.org>
2779         * lib/utils.exp (diff): Remove proc.
2780         * doc/ref.xml: Update documentation.
2781         * doc/dejagnu.texi: Regenerate.
2782         * NEWS: Update.
2784 2016-03-15  Ben Elliston  <bje@gnu.org>
2786         * testsuite/runtest.all/options.exp: Properly clean up log files
2787         left by the runtest under test.
2789 2016-03-15  Ben Elliston  <bje@gnu.org>
2791         * testsuite/runtest.all/load_lib.exp: Typo fixes.
2793 2016-03-15  Ben Elliston  <bje@gnu.org>
2795         * testsuite/runtest.all/options.exp: Add more tests.
2797 2016-03-15  Ben Elliston  <bje@gnu.org>
2799         * testsuite/libdejagnu/tunit.exp: Clean up.
2801 2016-03-15  Ben Elliston  <bje@gnu.org>
2803         * lib/utils.exp (diff): Remove proc.
2804         * doc/ref.xml: Update documentation.
2805         * doc/dejagnu.texi: Regenerate.
2806         * NEWS: Update.
2808 2016-03-15  Ben Elliston  <bje@gnu.org>
2810         Revert this change:
2811         2016-02-14  Steve Ellcey  <sellcey@mips.com>
2813         * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2814         GCC_UNDER_TEST.
2815         * baseboards/multi-sim.exp (rpath_flags): Ditto.
2817 2016-03-13  Ben Elliston  <bje@gnu.org>
2819         * lib/utils.exp: Whitespace fixes.
2821 2016-03-13  Ben Elliston  <bje@gnu.org>
2823         * lib/dg.exp (dg-process-target): Remove old commented code.
2824         * lib/dg.exp (dg-test): Likewise.
2826 2016-03-13  Ben Elliston  <bje@gnu.org>
2828         * lib/dg.exp: Improve top-of-file documentation.
2830 2016-03-05  Yvan Roux  <yvan.roux@linaro.org>
2832         * lib/remote.exp (remote_exec): Restore original timeout value.
2834 2016-03-04  Yvan Roux  <yvan.roux@linaro.org>
2836         * lib/remote.exp (standard_upload): Remove dead code.
2838 2016-02-24  Ben Elliston  <bje@gnu.org>
2840         * lib/utils.exp (prune): Restore this proc.
2841         * doc/ref.xml: Update documentation.
2842         * doc/dejagnu.texi: Regenerate.
2843         * NEWS: Update.
2845 2016-02-23  Iain Buclaw  <ibuclaw@gdcproject.org>
2847         * lib/libgloss.exp (find_gdc): New proc.
2848         * lib/target.exp (default_target_compile): Add D support.
2849         * NEWS: Update.
2851 2016-02-20  Ben Elliston  <bje@gnu.org>
2853         * lib/utils.exp (diff): Replace calls to verbose followed by
2854         send_log with a single call to verbose -log. Remove additional
2855         newlines from the log messages.
2857 2016-02-20  Ben Elliston  <bje@gnu.org>
2859         * lib/utils.exp (getdirs): Ignore .git and .svn directories.
2861 2016-02-20  Ben Elliston  <bje@gnu.org>
2863         * lib/utils.exp: Improve comments.
2864         * NEWS: Update.
2866 2016-02-20  Ben Elliston  <bje@gnu.org>
2868         * lib/utils.exp (prune): Remove proc.
2869         * doc/ref.xml: Update documentation.
2870         * doc/dejagnu.texi: Regenerate.
2872 2016-02-20  Ben Elliston  <bje@gnu.org>
2874         * lib/utils.exp (slay): Remove proc.
2875         * doc/ref.xml: Update documentation.
2876         * doc/dejagnu.texi: Regenerate.
2878 2016-02-20  Ben Elliston  <bje@gnu.org>
2880         * lib/utils.exp (absolute): Remove proc.
2881         * doc/ref.xml: Update documentation.
2882         * doc/dejagnu.texi: Regenerate.
2884 2016-02-20  Ben Elliston  <bje@gnu.org>
2886         * lib/utils.exp (psource): Remove proc.
2887         * doc/ref.xml: Update documentation.
2888         * doc/dejagnu.texi: Regenerate.
2890 2016-02-20  Ben Elliston  <bje@gnu.org>
2892         * lib/targetdb.exp (board_info): Simplify return logic.
2894 2016-02-19  Ben Elliston  <bje@gnu.org>
2896         * configure.ac: Require Tcl version 8.5 at a minimum.
2897         * configure: Regenerate.
2899 2016-02-18  Ben Elliston  <bje@gnu.org>
2901         * configure.ac: Require Tcl version 8.6 at a minimum.
2902         * configure: Regenerate.
2904 2016-02-17  Ben Elliston  <bje@gnu.org>
2906         * runtest.exp: Tweak "Test run by .." output.
2908 2016-02-17  Ben Elliston  <bje@gnu.org>
2910         * lib/target.exp (default_target_compile): Do not pass -log to
2911         verbose when outputting the captured compiler/assembler/linker
2912         diagnostic output as it will already be in the .log file courtesy
2913         of Expect.
2915 2016-02-17  Ben Elliston  <bje@gnu.org>
2917         * runtest.exp: Enable --status by default.
2918         (runtest): Set exit status to 2 if there is any error sourcing
2919         the Tcl scripts.
2920         * lib/framework.exp (unknown): Likewise, set exit status to 2.
2921         * doc/runtest.1: Clarify exit status codes.
2922         * NEWS: Update.
2924 2016-02-17  Ben Elliston  <bje@gnu.org>
2926         * lib/remote.exp (local_exec): Call exp_continue until eof is
2927         matched.
2929 2016-02-16  Ben Elliston  <bje@gnu.org>
2931         * runtest.exp: Use the traditional exit codes when runtest is
2932         interrupted. This makes it possible to tell if runtest ran to
2933         completion or not. Suggested by Michael Chastain.
2935 2016-02-15  Ben Elliston  <bje@gnu.org>
2937         * TODO: Add ideas produced from Cauldron 2013.
2939 2016-02-15  Ben Elliston  <bje@gnu.org>
2941         * TODO: Update.
2943 2016-02-15  Ben Elliston  <bje@gnu.org>
2945         * lib/dg.exp (dg-test): Remove comment about proc unresolved not
2946         setting exit_status to 1 -- it does.
2948 2016-02-15  Ben Elliston  <bje@gnu.org>
2950         * lib/framework.exp (cleanup): Remove do-nothing proc.
2951         (log_and_exit): Remove call to cleanup.
2952         * doc/ref.xml: Remove documentation for cleanup.
2953         * doc/dejagnu.texi: Regenerate.
2955 2016-02-15  Ben Elliston  <bje@gnu.org>
2957         Reported by David Malcolm.
2958         * lib/dejagnu.exp (text): Allow angle brackets in test messages.
2960 2016-02-15  Ben Elliston  <bje@gnu.org>
2962         * config.guess: Update to version 2016-02-11.
2963         * config.sub: Update to version 2016-01-01.
2965 2016-02-14  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
2967         * lib/remote.exp (remote_exec): Set global timeout for benefit of
2968         <remote>_exec.
2970 2016-02-14  Ben Elliston  <bje@gnu.org>
2972         * lib/remote.exp (local_exec): Improve comments.
2974 2016-02-14  Ben Elliston  <bje@gnu.org>
2976         * doc/runtest.1: Tweak.
2978 2016-02-14  Steve Ellcey  <sellcey@mips.com>
2980         * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2981         GCC_UNDER_TEST.
2982         * baseboards/multi-sim.exp (rpath_flags): Ditto.
2984 2016-01-23  Simon Marchi  <simon.marchi@ericsson.com>
2986         * lib/remote.exp (standard_file): Reverse return logic for remote
2987         exists case.
2989 2016-01-23  Simon Marchi  <simon.marchi@ericsson.com>
2991         * lib/remote.exp (standard_file); Add else clause.
2993 2016-01-16  Ben Elliston  <bje@gnu.org>
2995         * runtest.exp (runtest): Improve comment about --status.
2997 2016-01-12  Simon Marchi  <simon.marchi@ericsson.com>
2999         * lib/remote.exp (standard_file): The [ operator does not actually
3000         output anything. It returns 0 or 1 as its exit code, so "exit `[
3001         -f $file ]`" always expands to "exit " (equivalent to exit 0).
3002         Instead, use test(1) to check for file existence.
3004 2015-12-20  Ben Elliston  <bje@gnu.org>
3006         * doc/dejagnu.xml: Begin overhauling.
3007         * doc/ref.xml: Likewise.
3008         * doc/user.xml: Likewise.
3009         * doc/dejagnu.texi: Regenerate.
3011 2015-12-20  Ben Elliston  <bje@gnu.org>
3013         * doc/runtest.1: Miscellaneous minor improvements.
3015 2015-12-09  Yoshinori Sato  <ysato@users.sourceforge.jp>
3017         * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
3018         * Makefile.in: Regenerate.
3020 2015-11-16  Brooks Moses  <bmoses@google.com>
3022         * config/unix.exp: Add ability to set test timeout from site.exp.
3023         * doc/user.xml: Document new test_timeout variable in site.exp.
3024         * doc/dejagnu.texi: Regenerate.
3026 2015-11-16  Ben Elliston  <bje@gnu.org>
3028         * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
3030 2015-11-16  Ben Elliston  <bje@gnu.org>
3032         * testsuite/runtest.all/options.exp: Remove some commented code.
3034 2015-11-16  Ben Elliston  <bje@gnu.org>
3036         * runtest.exp: Refer to "DejaGnu version", not "Framework
3037         version" in --version output.
3038         * testsuite/runtest.all/options.exp: Update test case.
3040 2015-11-14  Ben Elliston  <bje@gnu.org>
3042         * runtest.exp (usage): Improve help text.
3044 2015-11-12  Ben Elliston  <bje@gnu.org>
3046         * runtest.exp (usage): Sort options in usage.
3048 2015-11-12  Ben Elliston  <bje@gnu.org>
3050         * lib/framework.exp (note): Remove old commented-out code.
3052 2015-11-11  Ben Elliston  <bje@gnu.org>
3054         * doc/user.xml (Summary File): 'untested', not 'runtested'.
3055         * doc/dejagnu.texi: Regenerate.
3057 2015-11-11  Michael Forney  <forney@google.com>
3059         * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
3061 2015-11-11  Ben Elliston  <bje@gnu.org>
3063         * doc/dejagnu.texi: Regenerate.
3065 2015-11-10  Ben Elliston  <bje@gnu.org>
3067         * doc/user.xml: Fix runtest output formatting in <programlisting>.
3069 2015-11-10  Ben Elliston  <bje@gnu.org>
3071         * doc/dejagnu.xml: Update month and year.
3072         * doc/user.xml: Lots of editorial fixes from Daniel Thibault
3073         <Daniel.Thibault@drdc-rddc.gc.ca>.
3075 2015-09-10  Robert Suchanek  <Robert.Suchanek@imgtec.com>
3077         * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
3079 2015-07-30  Pedro Alves  <palves@redhat.com>
3081         * lib/remote.exp (close_wait_program): New procedure.
3082         (local_exec, standard_close): Use it.
3084 2015-05-23  Ben Elliston  <bje@gnu.org>
3086         * doc/dejagnu.xml: Fix broken URLs.
3087         * doc/dejagnu.texi: Regenerate.
3089 2015-05-23  Ben Elliston  <bje@gnu.org>
3091         * doc/user.xml: Fix 'crosscompilation'.
3093 2015-05-23  Ben Elliston  <bje@gnu.org>
3095         * doc/runtest.1 (log_dialog): Improve documentation.
3097 2015-05-16  Filipe Brandenburger  <filbranden@google.com>
3099         * configure.ac: Enable subdir-objects, require automake 1.14.
3100         * Makefile.in: Regenerate.
3102 2015-05-15  Filipe Brandenburger  <filbranden@google.com>
3104         * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
3105         possibly introduced in a conversion of .texi to SGML Docbook.
3106         * doc/user.xml: Likewise.
3107         * doc/ref.xml: Likewise.
3108         * doc/dejagnu.texi: Regenerate.
3110 2015-05-15  Filipe Brandenburger  <filbranden@google.com>
3112         * runtest.exp (runtest): Introduce new --log_dialog option.
3113         * doc/runtest.1: Document it.
3114         * doc/user.xml: Likewise.
3115         * doc/dejagnu.texi: Regenerate.
3117 2015-05-14  Steve Ellcey  <sellcey@imgtec.com>
3119         * baseboards/multi-sim.exp (get_library_dirlist): New.
3120         (dynamic_linker_flag): Use get_library_dirlist to find dynamic
3121         linker.
3122         (rpath_flags): Use get_library_dirlist to set rpath.
3124 2015-05-12  Steve Ellcey  <sellcey@imgtec.com>
3126         * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
3128 2015-03-30  Ben Elliston  <bje@gnu.org>
3130         Revert the following change which causes breakage reported here:
3131         https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
3133         2011-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3135         * runtest.exp (runtest): Call reset_vars at initialisation so that
3136         perror does not affect test results in other test scripts.
3138 2015-02-26  H.J. Lu  <hjl.tools@gmail.com>
3140         * lib/target.exp (default_target_compile): Prepend multilib_flags,
3141         instead of appending it.
3143 2015-02-18  Ben Elliston  <bje@gnu.org>
3145         * lib/framework.exp (log_and_exit): Set tool to "testrun" if
3146         unset.
3148 2015-02-05  Ben Elliston  <bje@gnu.org>
3150         * doc/runtest.1: Fix a spelling error.
3152 2015-02-04  Ben Elliston  <bje@gnu.org>
3154         * config.guess: Update to version 2015-01-01.
3155         * config.sub: Likewise.
3157 2015-01-22  Eric Botcazou  <ebotcazou@adacore.com>
3159         * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
3160         * Makefile.in: Regenerate.
3161         * baseboards/visium-sim.exp: New file.
3163 2014-11-25  Ben Elliston  <bje@gnu.org>
3165         * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
3166         Reported by David Malcolm.
3168 2014-10-28  Ben Elliston  <bje@gnu.org>
3170         * Makefile.in: Regenerate.
3172 2014-10-28  Ben Elliston  <bje@gnu.org>
3174         * example: Remove stale examples.
3176 2014-10-24  Steve Ellcey  <sellcey@mips.com>
3178         * dejagnu.h (pass): Make function static as well as inline.
3179         (xpass): Ditto.
3180         (fail): Ditto.
3181         (xfail): Ditto.
3182         (untested): Ditto.
3183         (unresolved): Ditto.
3184         (note): Ditto.
3185         (totals): Ditto.
3187 2014-10-14  Ben Elliston  <bje@gnu.org>
3189         * runtest.exp: Only match $directory, not *${directory}* when the
3190         user passes the --directory option. Reported by Sergey Alyoshin.
3192 2014-10-14  Ben Elliston  <bje@gnu.org>
3194         * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
3195         is not the right command keyword -- it is full_buffer. Reported by
3196         David Malcolm.
3198 2014-07-15  Maciej W. Rozycki  <macro@mips.com>
3199             Maciej W. Rozycki  <macro@codesourcery.com>
3201         * lib/targetdb.exp (add_board_info): New procedure.
3202         * doc/ref.xml (Add_board_info Procedure): New section.
3203         (Set_board_info Procedure): Add description.
3204         (Unset_board_info Procedure): Likewise.
3205         * doc/user.xml (Board Config File Values): Add `add_board_info'
3206         reference.  Reorder `gdb_init_command' table rows and remove a
3207         duplicate entry, reusing it for `gdb_init_commands'.
3209 2014-06-25  Rob Savoye  <rob.savoye@linaro.org>
3211         * runtest.exp: (lookfor-file): Fix bug were none of the relative
3212         paths were actually being used for file lookup.
3214 2014-06-06  Ben Elliston  <bje@gnu.org>
3216         * depcomp, install-sh, missing: Update to latest versions.
3217         * mkinstalldirs: Remove.
3218         * Makefile.in: Regenerate.
3220 2014-06-04  Ben Elliston  <bje@gnu.org>
3222         * Makefile.in: Regenerate with Automake 1.14.1.
3223         * compile: Add missing file.
3225 2014-06-04  Ben Elliston  <bje@gnu.org>
3227         * config.guess: Update to version 2014-03-23.
3228         * config.sub: Likewise.
3230 2014-06-04  Ben Elliston  <bje@gnu.org>
3232         * aclocal.m4: Regenerate with Automake 1.14.1.
3233         * configure: Regenerate with Autoconf 2.69.
3235 2014-03-15  Steve Ellcey  <sellcey@mips.com>
3237         * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
3239 2014-02-23  Steve Ellcey  <sellcey@mips.com>
3240             Richard Sandiford  <rdsandiford@googlemail.com>
3242         * config/sim.exp (sim_exec): New.
3243         (sim_file): New.
3245 2013-12-08  Richard Sandiford  <rdsandiford@googlemail.com>
3247         * lib/dg.exp (dg-test): Don't put the expected and actual output
3248         of a pattern test in the test name; send it to the log instead.
3250 2013-11-01  Steve Ellcey  <sellcey@mips.com>
3252         * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
3253         * Makefile.in: Regenerate.
3254         * baseboards/multi-sim.exp: New.
3256 2013-10-31  Anton Kolesov  <anton.kolesov@synopsys.com>
3258         * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
3259         (remote_reboot): Add comment explaining return value of this procedure.
3260         * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
3261         * doc/dejagnu.texi: Regenerate.
3263 2013-10-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
3265         * baseboards/androideabi.exp (process_multilib_options): Add option.
3266         * config/adb.exp: Remove hardcoded -static option.
3267         (adb_load): Add the possibility to change the temp directory. Also
3268         handle permission potential problems.
3269         (adb_exec): Do cd to android_tmp_dir first.
3271 2013-10-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
3273         * baseboards/unix.exp: Add gdb settings to not use hardware
3274         watchpoints in sparc64 running GNU/Linux.
3276 2013-06-17  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3278         * runtest.exp (libdirs): New global variable.
3279         (load_lib): Append libdirs to search_and_load_files directories.
3280         * doc/ref.xml (load_lib): Document global variable libdirs.
3281         * doc/dejagnu.texi: Regenerate.
3282         * testsuite/runtest.all/load_lib.exp: New testcase.
3283         * Makefile.am (TESTSUITE_FILES): Add new testcase.
3284         * Makefile.in: Regenerate.
3286 2013-06-15  Ben Elliston  <bje@gnu.org>
3288         * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3289         * Makefile.am: Export DEJAGNU.
3290         * configure: Likewise.
3291         * Makefile.in: Regenerate.
3293 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3295         * doc/user.xml: Fix typos.
3296         * doc/ref.xml: Likewise.
3297         * doc/dejagnu.texi: Regenerate.
3299 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3301         * doc/user.xml: Fix number of columns in table.
3302         * doc/dejagnu.texi: Regenerate.
3304 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3306         * doc/user.xml: Fix rendering errors around programlisting.
3307         * doc/ref.xml: Likewise.
3308         * doc/dejagnu.texi: Regenerate.
3310 2013-06-15  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3312         * doc/user.xml: Fix spacing before productname.
3313         * doc/dejagnu.texi: Regenerate.
3315 2013-06-12  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3317         * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3318         magic "args" parameter name, as expect send_log proc accepts -- as
3319         a leading option.
3321 2013-06-08  Makoto Fujiwara  <makoto@ki.nu>
3323         * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3324         (config_DATA): Likewise for config_SCRIPTS.
3325         (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3326         (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3327         baseboard_SCRIPTS.
3328         * Makefile.in: Regenerate.
3330 2013-06-08  Ben Elliston  <bje@gnu.org>
3332         * configure: Regenerate with autoconf 2.69.
3333         * aclocal.m4: Regenerate.
3335 2013-03-31  Ben Elliston  <bje@gnu.org>
3337         * Makefile.am (html-local): Rename target from html.
3338         * Makefile.in: Regenerate with automake 1.12.6.
3339         * aclocal.m4: Likewise.
3340         * configure: Regenerate.
3342 2013-03-28  Gilles Espinasse  <g.esp@free.fr>
3344         * TODO: Remove todo item about warncnt and errcnt.
3346 2013-03-28  Gilles Espinasse  <g.esp@free.fr>
3348         * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3350 2013-03-26  Ben Elliston  <bje@gnu.org>
3352         * config.guess: Update to version 2013-02-12.
3353         * config.sub: Likewise.
3355 2013-02-16  Rob Savoye  <rob@build.welcomehome.org>
3357         * config/adb.exp: Add adb_file so we can remotely delete test
3358         cases to save on limited disk space. Don't remove the file after
3359         executing it, leave that for the test driver instead.
3361 2013-02-15  Rob Savoye  <rob@welcomehome.org>
3363         * config/adb.exp: Remove the test case after executing
3364         it. Otherwise we can fill up all the diskspace on a small target
3365         pretty fast.
3367 2013-02-11  Rob Savoye  <rob@welcomehome.org>
3369         * baseboards/androideabi.exp: Board support for Android using ADB.
3370         * config/adb.exp: Config support for Android using ADB.
3371         * Makefile.am (dist): Add new config and board files.
3372         * aclocal.m4, Makefile.in, configure, example/calc/configure,
3373         example/mathhelper/configure: Regenerated with newer autotools.
3375 2012-12-05  Ben Elliston  <bje@gnu.org>
3377         * example/hello: Remove.
3378         * configure.ac: Likewise.
3379         * configure: Regenerate.
3381 2012-10-04  Steve Ellcey  <sellcey@mips.com>
3383         * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3384         * Makefile.in: Regenerate.
3385         * baseboards/mips-sim-mti32.exp: New.
3386         * baseboards/mips-sim-mti64.exp: New.
3387         * baseboards/mips-sim-mti64_n32.exp: New.
3388         * baseboards/mips-sim-mti64_64.exp: New.
3389         * baseboards/mips-sim-sde32.exp: New.
3390         * baseboards/mips-sim-sde64.exp: New.
3392 2012-10-04  Ben Elliston  <bje@gnu.org>
3394         * aclocal.m4: Regenerate with automake 1.11.3.
3395         * Makefile.in: Likewise.
3396         * configure: Regenerate with autoconf 2.68.
3398 2012-08-22  Steve Ellcey  <sellcey@mips.com>
3400         * baseboards/generic-sim.exp: New baseboard definition.
3402 2012-06-15  Andreas Schwab  <schwab@linux-m68k.org>
3404         * lib/framework.exp (clone_output): Protect from leading dash in
3405         $message.
3406         * runtest.exp (verbose): Likewise.
3408 2012-06-11  Tom Tromey  <tromey@redhat.com>
3410         * doc/runtest.1: Update.
3411         * runtest.exp (xml_file_name): New global.
3412         (usage): Update.
3413         Handle optional argument to --xml.
3414         * lib/framework.exp (open_logs): Respect xml_file_name.
3416 2012-03-24  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3418         * runtest.exp (load_tool_init): Fix typo in -de option handling.
3420 2012-03-24  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3422         * doc/runtest.1: Correct name of debug file.
3424 2012-02-25  Ben Elliston  <bje@gnu.org>
3426         * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3427         for runtest.exp as a last resort (for usrmove environments, where
3428         /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3430 2011-12-30  Ben Elliston  <bje@gnu.org>
3432         * doc/user.xml: Various spelling and consistency fixes.
3433         * doc/ref.xml: Likewise.
3434         (exit_remote_shell): Remove, as this procedure is defunct.
3435         * doc/dejagnu.texi: Regenerate.
3437 2011-12-30  Ben Elliston  <bje@gnu.org>
3439         * config.guess: Update to version 2011-12-29.
3440         * config.sub: Update to version 2011-11-11.
3442 2011-06-30  Tom Tromey  <tromey@redhat.com>
3444         * doc/ref.xml: Document find_gfortran.
3445         * doc/dejagnu.texi: Regenerate.
3446         * lib/target.exp (default_target_compile): Handle f90.
3447         (default_target_compile): Likewise.
3448         * lib/libgloss.exp (find_gfortran): New proc.
3450 2011-06-30  Ben Elliston  <bje@gnu.org>
3452         * Makefile.am (all-local): New rule.
3453         * Makefile.in: Regenerate.
3455 2011-04-12  Ben Elliston  <bje@gnu.org>
3457         * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3458         rm", for better portability.
3459         * config/netware.exp (${board}_load): Likewise.
3460         * lib/dg.exp (dg-test): Likewise.
3461         * lib/framework.exp (open_logs): Likewise.
3462         * lib/remote.exp (standard_file): Likewise.
3463         * runtest.exp: Likewise.
3464         * testsuite/runtest.all/options.exp: Likewise.
3466 2011-03-15  Ben Elliston  <bje@gnu.org>
3468         * runtest.exp: Whitespace cleanups.
3469         * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3470         lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3471         lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3473 2011-03-15  Ben Elliston  <bje@gnu.org>
3475         * runtest: Remove trailing semicolons.
3476         * lib/rsh.exp: Likewise.
3478 2011-03-15  H.J. Lu  <hjl.tools@gmail.com>
3480         * lib/remote.exp (local_exec): Ignore SIGHUP.
3482 2011-03-14  Ben Elliston  <bje@gnu.org>
3484         * runtest.exp (frame_version): Set to 1.5.1.
3485         * configure.ac (AC_INIT): Set version to 1.5.1.
3486         * configure: Regenerate.
3487         * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3488         * doc/dejagnu.texi: Regenerate.
3490 2011-03-14  Ben Elliston  <bje@gnu.org>
3492         * dejagnu.h: Whitespace cleanups.
3494 2011-03-14  Ben Elliston  <bje@gnu.org>
3496         * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3497         * baseboards/mt-sid.exp: Likewise.
3498         * baseboards/tx39-sim.exp: Likewise.
3499         * lib/target.exp (default_target_compile): Likewise.
3501 2011-03-14  Ben Elliston  <bje@gnu.org>
3503         Reported by Flash Sheridan <flash@pobox.com>:
3504         * doc/user.xml (Testing "Hello world" locally): Improve the
3505         example test script and make it robust to failures.  Tidy some
3506         formatting errors.
3507         * doc/dejagnu.texi: Regenerate.
3509 2011-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
3511         * runtest.exp (runtest): Call reset_vars at initialisation so that
3512         perror does not affect test results in other test scripts.
3514 2011-03-09  Ben Elliston  <bje@gnu.org>
3516         * NEWS: Start a new section for post-1.5 changes.
3518 2011-03-09  Ben Elliston  <bje@gnu.org>
3520         * DejaGnu 1.5 released.
3522 2011-03-09  Ben Elliston  <bje@gnu.org>
3524         * Makefile.am (DISTCLEANFILES): Define.
3525         * Makefile.in: Regenerate.
3526         * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3527         * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3528         * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3529         mkdir" instead of exec'ing mkdir(1).
3531 2011-03-07  Ben Elliston  <bje@gnu.org>
3533         * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3534         * Makefile.in: Regenerate.
3536 2011-03-06  Ben Elliston  <bje@gnu.org>
3538         * configure.ac (AC_INIT): Set version to 1.5.
3539         * configure: Regenerate.
3540         * runtest.exp (frame_version): Set to 1.5.
3541         * doc/dejagnu.texi: Regenerate.
3543 2011-03-04  Ben Elliston  <bje@gnu.org>
3545         * texinfo.tex: Import latest version from ftp://tug.org/tex.
3547 2011-03-04  Ben Elliston  <bje@gnu.org>
3549         * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3550         * Makefile.in: Regenerate.
3552 2011-03-03  Ben Elliston  <bje@gnu.org>
3554         * Makefile.am: Bump to GPL version 3.
3555         * configure.ac: Likewise.
3556         * Makefile.in: Regenerate.
3557         * aclocal.m4: Likewise.
3558         * configure: Likewise.
3560 2011-03-03  Ben Elliston  <bje@gnu.org>
3562         * config.guess: Update to most recent version.
3563         * config.sub: Likewise.
3565 2011-03-03  Ben Elliston  <bje@gnu.org>
3567         * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3568         proc to ::tcl_unknown.  If ::tcl_unknown returns a failure result,
3569         then fall back to the conventional DejaGnu handling.  Report from
3570         David Byron <dbyron@dbyron.com>.
3572 2011-03-03  Maciej W. Rozycki  <macro@codesourcery.com>
3574         * lib/remote.exp (remote_expect): Pass all exception conditions up
3575         to the caller.
3577 2011-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3579         * lib/dg.exp (dg-test): Support nested calls.
3581 2010-04-13  Ben Elliston  <bje@gnu.org>
3583         * testglue.c: Remove duplicated prototypes for abort and exit.
3585 2010-03-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3587         * doc/user.xml (Tcl Variables For Command Line Options): Correct
3588         column count.
3590 2010-01-21  Jie Zhang  <jie.zhang@analog.com>
3592         * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3594 2010-01-15  Anthony Green  <green@moxielogic.com>
3596         * baseboards/moxie-sim.exp: New baseboard.
3598 2009-12-10  DJ Delorie  <dj@redhat.com>
3600         * baseboards/rx-sim.exp: New baseboard.
3602 2009-10-15  Ben Elliston  <bje@gnu.org>
3604         * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3605         This web page has disappeared.
3607 2009-07-06  Ben Elliston  <bje@gnu.org>
3609         * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3610         <option> not <emphasis>.  Apply other grammatical fixes from
3611         Reuben Thomas.
3612         * doc/dejagnu.texi: Regenerate.
3614 2009-07-06  Ben Elliston  <bje@gnu.org>
3616         * configure.ac: Check for docbook2x-texi.
3617         * configure: Regenerate.
3619 2009-07-06  Ben Elliston  <bje@gnu.org>
3621         From Reuben Thomas  <rrt@sc3d.org>:
3622         * doc/runtest.1: Fix some formatting issues.
3624 2009-06-16  Ben Elliston  <bje@gnu.org>
3626         * config.guess: Update to most recent version.
3627         * config.sub: Likewise.
3629 2009-06-16  Ben Elliston  <bje@gnu.org>
3631         * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3632         * Makefile.in: Regenerate.
3633         * packaging: Remove directory and its contents.
3635 2009-06-10  Maciej W. Rozycki  <macro@codesourcery.com>
3637         * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3638         breakpoints.
3640 2008-12-03  Ben Elliston  <bje@gnu.org>
3642         * COPYING: Update to GPL version 3.
3644 2008-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3646         * doc/ref.xml, doc/user.xml: Fix typos.
3647         * doc/dejagnu.texi: Regenerate.
3649 2008-04-06  Daniel Jacobowitz  <drow@false.org>
3651         * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3652         * Makefile.in: Regenerate.
3653         * dejagnu.exp (host_execute): Improve regexp matching.
3654         * testsuite/libdejagnu/unit.cc: C++ fixes.
3656 2008-04-06  Daniel Jacobowitz  <drow@false.org>
3658         * lib/utils.exp (diff): Open both files as binary.
3660 2008-04-06  Daniel Jacobowitz  <dan@codesourcery.com>
3662         * dejagnu.h (totals): Correct typos.
3664 2008-04-06  Daniel Jacobowitz  <dan@codesourcery.com>
3666         * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3667         * doc/dejagnu.texi: Regenerate.
3669 2008-02-25  Ben Elliston  <bje@gnu.org>
3671         * doc/runtest.1: Update date of last revision.
3673 2008-02-11  Hans-Peter Nilsson  <hp@axis.com>
3675         * baseboards/h8300.exp: Use -- before switch argument that may
3676         begin with "-".
3677         * baseboards/cris-sim.exp: Ditto.
3679 2008-02-11  Hans-Peter Nilsson  <hp@axis.com>
3681         * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3682         iq2000-sim.exp and m32r-linux-sim.exp.
3683         * Makefile.in: Regenerate.
3685 2008-02-08  Ben Elliston  <bje@gnu.org>
3687         * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3689 2007-12-28  Joseph Myers  <joseph@codesourcery.com>
3691         * lib/target.exp (default_link): Initialize nobjects before use.
3693 2007-12-06  Ben Elliston  <bje@gnu.org>
3695         * lib/dg.exp (dg_bogus): Comment fix.
3697 2007-10-31  DJ Delorie  <dj@redhat.com>
3699         * lib/framework.exp (open_logs): Line buffer the .sum file.
3701 2007-09-04  Matt Kraai  <kraai@ftbfs.org>
3703         * doc/user.xml (Configuration): Fix typos.
3704         * doc/dejagnu.texi: Regenerate.
3706 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
3708         * lib/remote.exp (standard_send): Correct quoting.
3710 2007-05-17  Ben Elliston  <bje@gnu.org>
3712         * doc/user.xml: Correct the syntax for running apt-get on a Debian
3713         GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
3715 2007-04-30  Bob Wilson  <bob.wilson@acm.org>
3717         * baseboards/xtensa-sim.exp: Set target_install.  Stop using
3718         basic-sim.exp.  Run the simulator with --turbo option.  Replace
3719         needs_status_wrapper with the simulator's --exit_with_target_code
3720         option.
3722 2006-10-15  Rob Savoye  <rob@bertha.welcomehome.org>
3724         * dejagnu.h: Add support for for expected failures and
3725         unexpected successes.
3727 2005-05-06  Andrew Fyfe <a.fyfe@tiscali.co.uk>
3729         * doc/Makefile.am: Fix install path for man page.
3730         * Makefiles: Regenerated.
3732 2006-08-29  Ben Elliston  <bje@gnu.org>
3734         * runtest.exp (usage): Use "triplet" instead of "config name".
3736 2006-07-13  Daniel Jacobowitz  <dan@codesourcery.com>
3738         * Makefile.am (DOCBOOK2RTF): Fix typo.
3739         * Makefile.in: Regenerated.
3740         * lib/libgloss.exp (process_multilib_options): Use -- to handle
3741         options starting with hyphens.
3743 2006-06-23  Eric Botcazou  <ebotcazou@adacore.com>
3745         * libgloss.exp (find_gnatmake): Rewrite.
3747 2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
3749         * rsh.exp (rsh_exec): Handle inp and outp arguments.  Use
3750         local_exec to run rsh.  Return failure if rsh times out.
3751         * remote.exp (local_exec): Handle "|& cat" we added when deciding
3752         whether to return output.
3754 2006-06-09  Ben Elliston  <bje@gnu.org>
3756         * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
3757         multiple cases, not a list (case uses lists, switch does not).
3758         Pass -glob to switch where applicable to emulate case behaviour.
3759         * baseboards/h8300.exp: Likewise.
3760         * lib/framework.exp (clone_output): Likewise.
3761         (clear_xfail): Likewise.
3762         (clear_kfail): Likewise.
3763         * lib/libgloss.exp (process_multilib_options): Likewise.
3764         * runtest.exp: Likewise.
3766 2006-06-06  Ben Elliston  <bje@gnu.org>
3768         * Makefile.am (CONTRIB): New.
3769         (EXTRA_DIST): Add $(CONTRIB).
3770         (doc/dejagnu.texi): Set directory-category param to docbook2texi.
3771         * Makefile.in: Regenerate.
3772         * doc/dejagnu.texi: Likewise.
3774 2006-06-06  Ben Elliston  <bje@gnu.org>
3776         * runtest.exp (load_lib): Typo fix.
3778 2006-06-06  Ben Elliston  <bje@gnu.org>
3780         * dejagnu.h: Tidy comments.
3781         (_BUFFER_SIZE_): Remove to minimise namespace pollution.
3782         (wait): Define this function unconditionally.  Conditionally
3783         compile the function body if _DEJAGNU_WAIT_ is defined.
3784         (buffer): Set the buffer size explicitly.
3785         (pass): Use sizeof (buffer).  Call wait() unconditionally.
3786         (fail, untested, unresolved, note): Likewise.
3787         (enum teststate): Tidy whitespace.
3789 2006-06-06  Ben Elliston  <bje@gnu.org>
3791         * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
3792         * doc/dejagnu.texi: Regenerate.
3794 2006-06-06  Ben Elliston  <bje@gnu.org>
3796         Import from GCC tree:
3797         2006-06-02  Richard Earnshaw  <rearnsha@arm.com>
3798                     Mike Stump  <mrs@apple.com>
3800         * compare_tests: Handle multilibs better.
3802 2006-06-06  Ben Elliston  <bje@gnu.org>
3804         * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
3806         * configure.ac: Check for docbook2texi, not docbook2x-texi.  The
3807         wrapper script changed its name again in the latest release.
3808         * configure: Regenerate.
3809         * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
3810         (DOCBOOK2TEXI): .. to this.
3811         (doc/dejagnu.texi): Do not use output-file parameter to deposit
3812         the .texi file into the source directory; use mv(1) instead. Set
3813         directory-description parameter.
3814         * Makefile.in: Likewise.
3816 2006-06-02  Ben Elliston  <bje@gnu.org>
3818         * config/sim.exp (sim_upload): Match up argument names.
3820 2006-06-02  Ben Elliston  <bje@gnu.org>
3822         * config.guess: Update to most recent version.
3823         * config.sub: Likewise.
3825 2006-06-02  Ben Elliston  <bje@gnu.org>
3827         * config/dos.exp (dos_open): Only run global board_info once at
3828         the beginning of the proc; remove duplicates.
3829         (dos_load): Use file join to separate path components.
3830         (dos_copy_upload): Likewise.
3831         * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
3832         an error.
3834 2006-06-02  Ben Elliston  <bje@gnu.org>
3836         * contrib/compare_tests: Import from the GCC contrib directory.
3838 2006-05-24  Ben Elliston  <bje@gnu.org>
3840         * runtest.exp (verbose): Brace some expressions.
3841         (load_file, search_and_load_file): Likewise.
3842         (runtest): Likewise.
3844 2006-05-23  Ben Elliston  <bje@gnu.org>
3846         * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
3847         * config/i960.exp (i960_spawn): Initialise status.
3848         * config/netware.exp (${board}_init): Brace some if expressions.
3849         * lib/dg.exp (dg-test): Brace some expressions.
3850         * lib/framework.exp (clone_output, log_and_exit, log_summary,
3851         record_test, pass, fail): Likewise.
3852         * lib/libgloss.exp (get_multilibs): Likewise.
3853         * lib/remote.exp (standard_transmit, unix_clean_filename,
3854         remote_load, check_for_board_status, remote_expect): Likewise.
3855         * lib/rsh.exp (rsh_exec): Likewise.
3857 2006-05-22  Ben Elliston  <bje@gnu.org>
3859         * baseboards/cris-sim.exp: Use switch, not case.
3860         * baseboards/h8300.exp: Likewise.
3861         * config/base68k.exp (base68k_ld): Brace an if expression.
3863 2006-05-22  Ben Elliston  <bje@gnu.org>
3865         * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
3866         baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
3867         baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
3868         baseboards/mmixware-sim.exp, baseboards/op50n.exp,
3869         baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
3870         baseboards/usparc-cygmon.exp, config/base-config.exp,
3871         config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
3872         config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
3873         config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
3874         config/netware.exp, config/sid.exp, config/sim.exp,
3875         config/tic80.exp, config/unix.exp, config/vxworks.exp,
3876         lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3877         lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
3878         lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
3879         lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
3880         expressions throughout.
3882 2006-05-22  Ben Elliston  <bje@gnu.org>
3884         * lib/framework.exp (open_logs): Use file join where applicable.
3885         * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
3886         newlib_include_flags, g++_link_flags, libstdc++_link_flags,
3887         get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
3888         * lib/utils.exp (which): Likewise.
3889         * runtest.exp (search_and_load_file, lookfor_file,
3890         load_tool_init): Likewise.
3892         * lib/debugger.exp (watcharray): Add `array' parameter.  Rename
3893         `type' parameter to `op' and update all uses in the proc.
3894         (watchvar): Add `ignore' parameter for scalar variables.
3895         Likewise, rename `type' to `op' and update throughout the proc.
3897         * runtest.exp: Use switch, not case.
3898         * lib/framework.exp (clone_output): Likewise.
3899         (clear_xfail): Likewise.
3900         (clear_kfail): Likewise.
3901         (set_warning_threshold): Make warning_threshold global.
3902         (get_warning_threshold): Likewise.
3903         * lib/libgloss.exp (process_multilib_options): Use switch, not
3904         case.
3905         * lib/remote.exp (local_exec): Only run global errorInfo once.
3906         (standard_upload): Fix error in variable use ($file -> $srcfile).
3907         * lib/utils.exp (grep): Use switch, not case.
3908         (slay): Fix mismatched bracket.
3910         * lib/debugger.exp (watcharray): Use switch, not case.
3911         (watchvar): Likewise.
3912         (bt): Add an explanatory comment.
3914 2006-04-03  Ben Elliston  <bje@gnu.org>
3916         * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
3917         lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
3918         lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
3920 2006-01-02  Ben Elliston  <bje@gnu.org>
3922         * configure.ac (AC_INIT): Set version to 1.4.99.
3923         * configure: Regenerate.
3925 2006-01-01  Ben Elliston  <bje@gnu.org>
3927         * testsuite/runtest.all/utils.test: Add runtest_file_p.
3929 2006-01-01  Ben Elliston  <bje@gnu.org>
3931         * runtest.exp (frame_version): Set to 1.4.99.
3933 2006-01-01  Ben Elliston  <bje@gnu.org>
3935         * dejagnu.h: Update copyright notice.  Use C-style /* .. */
3936         comments for portability with ISO C compilers.
3937         * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
3939 2006-01-01  Ben Elliston  <bje@gnu.org>
3941         * runtest.exp: Update copyright notice.
3942         * example/calc/testsuite/calc.test/calc.exp: Likewise.
3943         * example/calc/testsuite/config/unix.exp: Likewise.
3944         * testsuite/libdejagnu/tunit.exp: Likewise.
3945         * testsuite/runtest.all/libs.exp: Likewise.
3946         * testsuite/runtest.all/options.exp: Likewise.
3947         * testsuite/runtest.all/stats-sub.exp: Likewise.
3948         * testsuite/runtest.all/stats.exp: Likewise.
3950 2006-01-01  Ben Elliston  <bje@gnu.org>
3952         * config/default.exp, config/unix.exp, config/vxworks.exp,
3953         lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
3954         lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
3955         Formatting fixes.
3956         * dejagnu.h, testsuite/config/default.exp,
3957         testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
3958         testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
3959         testsuite/runtest.all/options.exp,
3960         testsuite/runtest.all/stats-sub.exp,
3961         testsuite/runtest.all/stats.exp: Update copyright notice and FSF
3962         office address. Remove bug reporting address, as it is now
3963         maintained centrally in the README file.
3965 2005-12-31  Ben Elliston  <bje@gnu.org>
3967         * testsuite/runtest.all/utils.test: Don't bother mentioning
3968         absolute, psource, prune and slay as untested procedures.
3970 2005-12-31  Ben Elliston  <bje@gnu.org>
3972         * doc/ref.xml (Utility Procedures): Note that the following
3973         procedures are deprecated: absolute, psource, prune, slay.
3974         * NEWS: Likewise.
3975         * doc/dejagnu.texi: Regenerate.
3977 2005-12-24  Ben Elliston  <bje@gnu.org>
3979         * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
3980         case the command fails and zeroes the Texinfo source file.  Move
3981         the output (if successful) by its default filename using mv(1).
3982         * Makefile.in: Regenerate.
3984 2005-12-24  Ben Elliston  <bje@gnu.org>
3986         * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
3987         * configure: Regenerate.
3988         * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
3989         (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
3990         (dejagnu.pdf): Use $(DOCBOOK2PDF).
3991         (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
3992         (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
3993         (html): Likewise, use $(DOCBOOK2HTML).
3994         (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
3995         which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
3996         * Makefile.in: Regenerate.
3998 2005-12-24  Ben Elliston  <bje@gnu.org>
4000         * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
4001         (XML): Remove $(srcdir) from each filename; VPATH suffices.
4002         (PACKAGING_METAFILES): Remove.
4003         * Makefile.in: Regenerate.
4005 2005-12-24  Ben Elliston  <bje@gnu.org>
4007         * README: Rewrite.
4009 2005-12-24  Ben Elliston  <bje@gnu.org>
4011         * COPYING: Update.
4013 2005-12-24  Ben Elliston  <bje@gnu.org>
4015         * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
4016         subdirectory.
4018 2005-12-24  Ben Elliston  <bje@gnu.org>
4020         * Makefile.am (RUNTEST): Simplify, as Automake already generates
4021         similar logic in Makefile.in.
4022         * Makefile.in: Regenerate.
4024 2005-12-24  Ben Elliston  <bje@gnu.org>
4026         * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
4027         libdejagnu tests are run too.
4028         * Makefile.in: Regenerate.
4030 2005-12-24  Ben Elliston  <bje@gnu.org>
4032         * configure: Regenerate.
4034         * lib/remote.exp: Tidy.
4035         * lib/targetdb.exp: Likewise.
4036         * lib/target.exp (prune_warnings): Improve comments.
4037         * lib/dejagnu.exp: Likewise.
4038         * lib/utils.exp: Likewise.
4040         * NEWS: Update.
4042 2005-12-24  Ben Elliston  <bje@gnu.org>
4044         * doc/dejagnu.xml: Don't use apostrophes in section titles.
4045         * doc/dejagnu.texi: Regenerate.
4047 2005-12-24  Ben Elliston  <bje@gnu.org>
4049         * Makefile.am (XML): Include $(srcdir) in filenames.
4050         * Makefile.in: Regenerate.
4052 2005-12-24  Ben Elliston  <bje@gnu.org>
4054         * doc/C/Makefile.am: Remove.
4055         * doc/C/Makefile.in: Likewise.
4057         * Makefile.am (SUBDIRS): Remove.
4058         (EXTRA_DIST): Append $(XML).
4059         (dist_man_MANS): Define.
4060         (info_TEXINFOS): Likewise.
4061         (XML): List XML source files.
4062         (dejagnu.pdf): New target.
4063         (dejagnu.ps): Likewise.
4064         (dejagnu.rtf): Likewise.
4065         (html): Likewise.
4066         (dejagnu.texi): Special rule to build Texinfo source.
4067         * Makefile.in: Regenerate.
4068         * configure.ac: Don't search for docbook2dvi.
4069         Search for docbook2rtf and docbook2pdf.
4070         Don't output doc/Makefile or doc/C/Makefile.
4071         * configure: Regenerate.
4072         * doc/texinfo.tex: Move from here ..
4073         * texinfo.tex: .. to here.
4074         * doc/Makefile.am: Remove.
4075         * doc/Makefile.in: Likewise.
4076         * doc/C/dejagnu.omf: Likewise.
4077         * doc/C/topic.dat: Likewise.
4078         * doc/C/dejagnu.xml: Move from here ..
4079         * doc/dejagnu.xml: .. to here.
4080         * doc/C/legal.xml: Move from here ..
4081         * doc/legal.xml: .. to here.
4082         * doc/C/ref.xml: Move from here ..
4083         * doc/ref.xml: .. to here.
4084         * doc/C/user.xml: Move from here ..
4085         * doc/user.xml: .. to here.
4086         * doc/dejagnu.texi: Rebuild from XML source.
4088 2005-12-23  Ben Elliston  <bje@gnu.org>
4090         * doc/runtest.1: Update manual page.
4092 2005-12-23  Ben Elliston  <bje@gnu.org>
4094         * doc/overview.sgml: Remove in favour of XML versions.
4095         * doc/ref.sgml: Ditto.
4096         * doc/user.sgml: Ditto.
4097         * doc/texinfo.tex: Import new version.
4099 2005-12-20  Ben Elliston  <bje@gnu.org>
4101         * Makefile.am (SUBDIRS): Remove testsuite, example.
4102         (EXTRA_DIST): Add $(TESTSUITE_FILES).
4103         (TESTSUITE_FILES): New.
4104         (RUNTEST, RUNTESTDEFAULTFLAGS): New.
4105         (AM_CXXFLAGS): Set.
4106         (check_PROGRAMS): New.
4107         (unit_SOURCES): New.
4108         * Makefile.in: Regenerate.
4109         * configure.ac (AC_OUTPUT): Don't output example/Makefile,
4110         testsuite/Makefile or testsuite/libdejagnu/Makefile.
4111         * configure: Regenerate.
4112         * testsuite/Makefile.am: Remove.
4113         * testsuite/Makefile.in: Likewise.
4114         * testsuite/libdejagnu/Makefile.am: Likewise.
4115         * testsuite/libdejagnu/Makefile.in: Likewise.
4117 2005-12-20  Ben Elliston  <bje@gnu.org>
4119         * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
4120         * Makefile.in: Regenerate.
4122 2005-12-20  Ben Elliston  <bje@gnu.org>
4124         * configure: Regenerate with autoconf 2.59.
4125         * aclocal.m4: Regenerate with aclocal 1.9.6.
4126         * Makefile.in: Regenerate with automake 1.9.6.
4127         * doc/Makefile.in: Likewise.
4128         * doc/C/Makefile.in: Likewise.
4129         * example/Makefile.in: Likewise.
4130         * testsuite/Makefile.in: Likewise.
4131         * testsuite/libdejagnu/Makefile.in: Likewise.
4133 2005-12-20  Nathan Sidwell  <nathan@codesourcery.com>
4135         * baseboards/ms1-sid.exp: Rename from this ..
4136         * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
4138 2005-12-20  Ben Elliston  <bje@gnu.org>
4140         * config.guess: Update to most recent version.
4141         * config.sub: Likewise.
4143 2005-09-24  Ben Elliston  <bje@gnu.org>
4145         * packaging/pkg/pkginfo (EMAIL): Update mail address.
4147         * lib/rsh.exp: Tidy comments.
4149 2005-07-07  Ben Elliston  <bje@gnu.org>
4151         * lib/telnet.exp (telnet_transmit): Remove; use standard method.
4153 2005-07-07  Ben Elliston  <bje@gnu.org>
4155         * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
4156         * Makefile.in: Regenerate.
4158 2005-07-06  Ben Elliston  <bje@gnu.org>
4160         * lib/tip.exp (tip_open): Improve comments.
4161         (tip_download): Likewise.
4163 2005-07-06  Ben Elliston  <bje@gnu.org>
4165         * lib/telnet.exp (telnet_open): Improve option handling.  Clarify
4166         documentation for each proc.
4168 2005-07-06  Ben Elliston  <bje@gnu.org>
4170         * aclocal.m4: Regenerate with aclocal 1.9.
4171         * configure: Regenerate with autoconf 2.59.
4172         * doc/C/Makefile.am: Remove stray include.
4173         * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
4174         example/Makefile.in, testsuite/Makefile.in,
4175         testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
4177 2005-07-06  Ben Elliston  <bje@gnu.org>
4179         Import some missing hunks from this patch on sourceware:
4181         2004-11-11  Nick Clifton  <nickc@redhat.com>
4183         * lib/libgloss.exp (libio_include_flags, g++_include_flags,
4184         winsup_include_flags): Revert previous patch, restoring the use of
4185         -I, for all libraries except newlib.  Newlib needs -isystem to
4186         avoid the problems with <limits.h> but the C++ and winsup
4187         libraries need -I because -isystem generates an implicit 'extern
4188         "C"' which may not be appropriate for certain targets.
4190 2005-07-06  Aldy Hernandez  <aldyh@redhat.com>
4192         * baseboards/ms1-sid.exp: New.
4194 2005-07-01  Ben Elliston  <bje@gnu.org>
4196         Unify some changes with the 1.4 branch:
4198         2004-10-28  Nick Clifton  <nickc@redhat.com>
4199         * baseboards/iq2000-sim.exp: New file.
4201         2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4202         * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4203         noresults to zero.
4205         2004-05-13  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
4206         * baseboards/m32r-linux-sim.exp: Add New file.
4208 2005-06-24  Ben Elliston  <bje@gnu.org>
4210         * MAINTAINERS: Update my email address.
4212 2005-06-24  Ben Elliston  <bje@gnu.org>
4214         * Update the FSF's physical address throughout.
4216 2005-06-22  Ben Elliston  <bje@gnu.org>
4218         * config.guess: Update to most recent version.
4219         * config.sub: Likewise.
4221 2005-04-28  Mark Kettenis  <kettenis@gnu.org>
4223         * lib/target.exp (prune_warnings): Add a few more linker
4224         warning patterns for OpenBSD.
4226 2005-03-20  Mark Kettenis  <kettenis@gnu.org>
4228         * lib/target.exp (prune_warnings): Add linker warning patterns for
4229         OpenBSD.
4231 2005-01-29  Hans-Peter Nilsson  <hp@axis.com>
4233         * baseboards/cris-sim.exp: New file.
4235 2004-11-19  Nick Clifton  <nickc@redhat.com>
4237         * lib/libgloss.exp (newlib_include_flags): Document why -isystem
4238         is used instead of -I.
4239         (libio_include_flags): Use -I instead of -isystem and
4240         document why.
4241         (g++_include_flags): Use -I instead of -isystem.
4242         (libstdc++_include_flags): Likewise.
4244 2004-11-04  Ben Elliston  <bje@gnu.org>
4246         * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
4247         mark the test as unresolved, rather than warning.
4249 2004-10-27  Nick Clifton  <nickc@redhat.com>
4251         * baseboards/iq2000-sim.exp: New file.
4253 2004-08-20  Daniel Jacobowitz  <dan@debian.org>
4255         * testglue.c: Prototype abort(3) and exit(3).
4257 2004-08-14  Paul Brook  <paul@codesourcery.com>
4259         * config/sim.exp (sim_download, sim_upload): New procs.
4261 2004-06-30  Ben Elliston  <bje@gnu.org>
4263         * config.guess: Update to current revision.
4264         * config.sub: Likewise.
4266 2004-06-12  Ben Elliston  <bje@gnu.org>
4268         * config.guess: Update to current revision.
4269         * config.sub: Likewise.
4271 2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4273         * testglue.c: Prototype abort and exit.
4275 2004-06-08  Alexandre Oliva  <aoliva@redhat.com>
4277         * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4278         string.
4280 Tue Feb 25 05:19:57 UTC 2003  Brendan Conoboy  <blc@@redhat.com>
4282         * lib/remote.exp (call_remote): Remove multilibs from the board
4283         name when rebooting a board.
4285 2004-06-03  Alexandre Oliva  <aoliva@redhat.com>
4287         * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4288         noresults to zero.
4290 2004-06-07  Ben Elliston  <bje@gnu.org>
4292         * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4294 2004-03-29  Joel Brobecker  <brobecker@gnat.com>
4296         * lib/libgloss.exp (find_gnatmake): New procedure.
4297         * lib/target.exp (default_target_compile): Add support for Ada.
4299 2004-04-16  Kazuhiro Inaoka  <inaoka dot kazuhiro at renesas dot com>
4301         * baseboards/m32r-linux-sim.exp: Add New file.
4303 2004-04-02  Rob Savoye  <rob@direwolf.welcomehome.org>
4305         * configure.ac, example/Makefile.am: Add example/mathhelper.
4306         * configure, alocal.m4, example/Makefile.in: Regenerated.
4308 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4310         * example/mathhelper: New example for using the unit testing API.
4312 2004-03-05  Daniel Jacobowitz  <drow@mvista.com>
4314         * lib/remote.exp (standard_spawn): Fix rsh username support.
4316 2004-03-06  Rob Savoye  <rob@althea.welcomehome.org>
4318         * doc/C: New directory for DocBook XML files.
4319         * doc/C/dejagnu.omf: New config file for scrollkeeper.
4320         * doc/C/topic.dat: New config file for the GNOME help system.
4321         * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4322         overview.sgml.
4323         * doc/C/ref.xml: DocBook XML formatted verion of what was
4324         ref.sgml.
4325         * doc/C/user.xml: DocBook XML formatted verion of what was
4326         user.sgml.
4328 2004-02-17  Ben Elliston  <bje@wasabisystems.com>
4330         * runtest.exp: Do not trap SIGSEGV.
4332 2004-02-16  Ben Elliston  <bje@wasabisystems.com>
4334         * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4335         * configure: Regenerate.
4337 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4339         * doc/runtest.1: Improve some wording. Update last revision date.
4341 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4343         * NEWS: Document yesterday's work.
4345         * runtest: Improve comments.
4347 2004-02-09  Ben Elliston  <bje@wasabisystems.com>
4349         * TODO: Update.
4351         * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4353 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4355         * configure.ac: Quote strings throughout in good Autoconf style.
4356         Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4357         expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4358         existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4359         is at version 8.3 or greater.
4360         * configure: Regenerate.
4361         * acinclude.m4: Remove.
4362         * aclocal.m4: Regenerate.
4363         * Makefile.in: Likewise.
4364         * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4365         (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4366         (%.html: %.sgml): Use $(DOCBOOK2HTML).
4367         * doc/Makefile.in: Regenerate.
4368         * example/Makefile.in: Likewise.
4369         * testsuite/Makefile.in: Likewise.
4370         * testsuite/libdejagnu/Makefile.in: Likewise.
4371         * TODO: Update.
4373 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
4375         * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4376         * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4377         baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4378         baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4379         baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4380         baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4381         baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4382         baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4383         baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4384         baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4385         baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4386         baseboards/vr5000-ddb.exp: Likewise.
4388 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4390         * runtest: Terminate with an error if expect cannot be found.
4391         * TODO: Update.
4393 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4395         * configure.ac: Use AC_PATH_PROG to find expect(1).
4396         (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4397         * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4398         (DJ_AC_STL): Likewise.
4399         * configure: Regenerate.
4400         * aclocal.m4: Likewise.
4401         * configure: Likewise.
4402         * Makefile.in: Likewise.
4403         * doc/Makefile.in: Likewise.
4404         * example/Makefile.in: Likewise.
4405         * testsuite/Makefile.in: Likewise.
4406         * testsuite/libdejagnu/Makefile.in: Likewise.
4407         * TODO: Update.
4409 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4411         * runtest.1: Remove any mention of mondfe.
4413 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4415         * TODO: Add an item about timeouts.
4417 2004-02-08  Daniel Jacobowitz  <drow@mvista.com>
4419         * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4421 2004-02-08  Ben Elliston  <bje@wasabisystems.com>
4423         * lib/standard.exp: Tidy.
4425 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4427         * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4428         (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4429         (baseboard_SCRIPTS): Remove a29k-udi.exp.
4430         * Makefile.in: Regenerate.
4431         * baseboards/a29k-udi.exp: Remove.
4432         * baseboards/dos.exp: Update comments.
4433         * config/udi.exp: Remove.
4434         * config/vrtx.exp: Remove.
4435         * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4436         * doc/ref.sgml: Likewise.
4437         * doc/user.sgml: Likewise.
4438         * lib/mondfe.exp: Remove.
4439         * lib/xsh.exp: Likewise.
4440         * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4441         * packaging/pkg/prototype: Update.
4442         * NEWS: Update.
4444 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4446         * Makefile.am (rpmspec): Remove.
4447         (rpm): Additionally depend on dejagnu.spec.
4448         ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4449         directory.  This saves duplicated code in the solpkg and hpdepot
4450         targets.
4451         (solpkg): Depend on $(PKGDIR)/dejagnu.
4452         (hpdepot): Likewise.
4453         * Makefile.in: Regenerate.
4455 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4457         * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4458         * Makefile.in: Regenerate.
4459         * testsuite/Makefile.am (CLEANFILES): Remove.
4460         (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4461         * testsuite/Makefile.in: Regenerate.
4463 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4465         * lib/util-defs.exp: Move from here ..
4466         * testsuite/lib/util-defs.exp: .. to here.
4467         * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4468         * Makefile.in: Regenerate.
4469         * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4470         * testsuite/Makefile.in: Regenerate.
4471         * doc/ref.sgml (File Map): Remove util-defs.exp.
4472         * packaging/pkg/prototype: Update file list.
4474 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4476         * NEWS: Document changes since 1.4.4.
4478 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4480         * example/Makefile.am (check-recursive): Remove target.
4481         * example/Makefile.in: Regenerate.
4483 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4485         * dejagnu.h: Conform with GNU coding standard.
4487 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4489         * Makefile.am (PKGING): Remove.
4490         (PACKAGING_METAFILES): Update accordingly.
4491         (CLEANFILES, check-DEJAGNU): Remove.
4492         (tarball): Remove; use `dist'.
4493         (deb): Update target recipe to use `make dist'.
4495 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4497         * Clean.tcl: Remove.
4499         * Makefile.am (SUBDIRS): Add testsuite, example directories.
4500         (EXTRA_DIST): Define.
4501         (pkgdata_SCRIPTS): Add lib/*.exp files.
4502         (DATE, TCLSH): Remove.
4503         (configdir, config_DATA, config_SCRIPTS): Define.
4504         (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4505         (pkgdata_DATA): Likewise.
4506         (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4507         (PKGING, PACKAGING_METAFILES): New macros.
4508         (clean-local): Remove.
4509         (rpm): Depend on dist.
4510         (deb): Likewise.
4511         (dist-hook): Remove.
4512         (lib_dest, lib_files): Likewise.
4513         (baseboard_dest, baseboard_files): Likewise.
4514         (include_dest, config_dest, config_files): Likewise.
4515         (install-data-local): Likewise.
4516         (uninstall-local): Likewise.
4517         (site.exp): Likewise.
4518         * Makefile.in: Regenerate.
4520         * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4521         (force): Likewise.
4522         (EXTRA_DIST): Define.
4523         (site.exp): Remove target.
4524         * testsuite/Makefile.in: Regenerate.
4525         * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4526         (noinst_PROGRAMS): Rename from this ..
4527         (check_PROGRAMS): .. to this.
4528         * testsuite/libdejagnu/Makefile.in: Regenerate.
4530         * doc/Makefile.am (man_MANS): Rename from this ..
4531         (dist_man_MANS): .. to this.
4532         (info_TEXINFOS): Define.
4533         (TARGETS): Remove overview.rtf.
4534         (EXTRA_DIST): Define.
4535         (%.rtf: %.sgml): Remove rule.
4536         (%.gif: %.fig): Likewise.
4537         (%.epsi: %.eps): Likewise.
4538         (%.eps: %.fig): Likewise.
4539         (clean, realclean, distclean): Remove.
4540         (install-docs): Don't install overview.rtf.
4541         * doc/Makefile.in: Regenerate.
4542         * doc/texinfo.tex: New file.
4544         * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4545         (check_PROGRAMS): .. to this.
4546         (EXTRA_DIST): Add test cases and calc.1 man page.
4547         * example/calc/Makefile.in: Regenerate.
4548         * example/calc/aclocal.m4: Likewise.
4549         * example/calc/configure: Likewise.
4550         * example/calc/stamp-h.in: Remove.
4551         * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4552         (check_PROGRAMS): .. to this.
4553         (EXTRA_DIST): Define.
4554         * example/hello/Makefile.in: Regenerate.
4555         * example/hello/aclocal.m4: Likewise.
4556         * example/hello/configure: Likewise.
4557         * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4558         * example/hello/testsuite/Makefile.in: Regenerate.
4560 2004-02-07  Ben Elliston  <bje@wasabisystems.com>
4562         * configure.ac: Remove commented out code.
4563         * configure: Regenerate.
4565 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4567         * site.tmpl: Tidy.
4569 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4571         * INSTALL: Import latest version.
4572         * depcomp: Likewise.
4573         * install-sh: Likewise.
4574         * missing: Likewise.
4576 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4578         * configure.in: Rename from this ..
4579         * configure.ac: .. to this.  Require Autoconf 2.50.
4580         * Makefile.in: Regenerate.
4581         * doc/Makefile.in: Likewise.
4582         * example/Makefile.in: Likewise.
4583         * testsuite/Makefile.in: Likewise.
4584         * testsuite/libdejagnu/Makefile.in: Likewise.
4586 2004-02-06  Ben Elliston  <bje@wasabisystems.com>
4588         * lib/target.exp (prune_warnings): Add spaces where required in
4589         NetBSD warnings.  Supersedes a patch in pkgsrc's devel/dejagnu.
4591 2004-02-05  Ben Elliston  <bje@wasabisystems.com>
4593         * config.guess: Update to current revision.
4594         * config.sub: Likewise.
4596 2004-02-04  Ben Elliston  <bje@wasabisystems.com>
4598         * configure.in (AC_NO_EXECUTABLES): Remove.
4599         * configure: Rebuild with Autoconf 2.59.
4600         * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4601         (DJ_AC_PATH_TCLSH): Likewise.
4602         (DJ_AC_PATH_DOCBOOK): Likewise.
4603         * aclocal.m4: Rebuild.
4604         * Makefile.in: Rebuild with Automake 1.8.2.
4605         * doc/Makefile.in: Likewise.
4606         * example/Makefile.in: Likewise.
4607         * testsuite/Makefile.in: Likewise.
4608         * testsuite/libdejagnu/Makefile.in: Likewise.
4610 2004-01-30  Ben Elliston  <bje@wasabisystems.com>
4612         Import orphaned patches from sources.redhat.com:
4614         2002-05-02  Fernando Nasser  <fnasser@redhat.com>
4615         * doc/dejagnu.texi: Document KFAIL and KPASS.
4617         2002-02-20  Richard Henderson  <rth@redhat.com>
4618         * lib/target.exp (prune_warnings): Revert early "In function"
4619         strip, as this breaks g++.dg tests.  Match dangerous regexp
4620         without the "In function" header.
4622         2002-02-09  Richard Henderson  <rth@redhat.com>
4623         * lib/target.exp (prune_warnings): Strip "In function" etc early.
4624         Adjust "dangerous" regexp for glibc's tmpnam warning.
4626         2001-09-10  Jim Blandy  <jimb@redhat.com>
4627         * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4628         so we get the version of the `outbyte' function that does console
4629         output in a way that GDB's rom68k target recognizes.  Note that
4630         the board can now do output.
4632         2000-04-25  Felix Lee  <flee@cygnus.com>
4633         * baseboards/tx39-sim.exp: Use idt, not dve linker script.  Delete
4634         misleading comments and null statements.
4636 2004-01-30  Ben Elliston  <bje@wasabisystems.com>
4638         * DejaGnu 1.4.4 released.
4640 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4642         * Makefile.am (tarball): Depend on book1.html, not overview.html.
4643         Don't echo needless messages. Portably copy the source tree to
4644         dejagnu-${VERSION}.  Portably copy documentation files from the
4645         source tree to the distribution directory.  Don't copy RPM-related
4646         files -- leave that to the rpm target.
4647         (snapshot): Remove target.
4648         (overview.html): Rename target from this ..
4649         (book1.htm): .. to this.
4650         (rpm): Portably copy tar file to SOURCES directory.
4651         (deb): Depend on book1.html, not overview.html.
4652         (dist-hook): Depend on book1.html, not overview.html.
4653         * Makefile.in: Rebuild.
4654         * doc/Makefile.am (TARGETS): Depend on book1.html.
4655         (book1.html): Depend on html/book1.html.
4656         (overview.dvi): Remove target.
4657         * doc/Makefile.in: Rebuild.
4659 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4661         * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4662         (cleanfiles): Concatenate regular filenames that match .*.
4664 2004-01-12  Ben Elliston  <bje@wasabisystems.com>
4666         * baseboards/frv-sim.exp: Remove reference to devo/sim.
4668 2004-01-27  Ben Elliston  <bje@wasabisystems.com>
4670         * doc/overview: Remove all files.
4672 2003-12-03  Ben Elliston  <bje@wasabisystems.com>
4674         * testsuite/runtest.all/utils.test: Fix a test for proc find which
4675         assumed that "subsubfile1" would appear at the end of the returned
4676         list.  Adjust to use a more robust regular expression.
4678 2003-11-26  Ben Elliston  <bje@wasabisystems.com>
4680         * doc/overview.sgml (version): Update.
4681         * doc/overview/installation.html: Likewise.
4683         * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4684         * packaging/pkg/pkginfo: Likewise.
4685         * packaging/depot/dejagnu.psf: Likewise.
4687 2003-10-25  Ben Elliston  <bje@wasabisystems.com>
4689         * runtest.exp (frame_version): Bump version.
4690         * configure.in (AM_INIT_AUTOMAKE): Likewise.
4691         * configure: Regenerate.
4693 2003-10-16  Rob Savoye   <rob@welcomehome.org>
4695         * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4697 2003-10-13  Ben Elliston  <bje@wasabisystems.com>
4699         * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4701 2003-10-11  Corinna Vinschen  <vinschen@redhat.com>
4703         * baseboards/sh-sim.exp: New file.
4705 2003-10-11  Ben Elliston  <bje@wasabisystems.com>
4707         * NEWS: Tidy.
4708         * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
4710 2003-10-08  Ben Elliston  <bje@wasabisystems.com>
4712         * i960glue.c: Remove.
4713         * packaging/pkg/prototype: Remove i960glue.c.
4715 2003-10-07  Ben Elliston  <bje@wasabisystems.com>
4717         * contrib/README: Remove.
4718         * contrib/testit: Remove bitrotten script.
4719         * contrib/test-g++: Likewise.
4720         * contrib/test-tool: Likewise.
4722 2003-08-23  Ben Elliston  <bje@wasabisystems.com>
4724         * TODO: Tidy.
4725         * contrib/README: Bring up to date.
4727 2003-08-23  Corinna Vinschen  <vinschen@redhat.com>
4729         * config/sid.exp: Add gdb settings to use no hardware watchpoints.
4731 2003-08-23  Ben Elliston  <bje@wasabisystems.com>
4733         * README: Update section on reporting bugs.
4735 2003-08-22  Ben Elliston  <bje@wasabisystems.com>
4737         * lib/kermit.exp: Document procs.
4738         * lib/ftp.exp: Likewise.
4740 2003-08-19  Ben Elliston  <bje@wasabisystems.com>
4742         * contrib/testit: Run wish via /usr/bin/env for portability.
4744 2003-08-18  Ben Elliston  <bje@wasabisystems.com>
4746         * Makefile.am: Tidy comments and unused command lines.
4747         * Makefile.in: Regenerate.
4748         * testsuite/libdejagnu/Makefile.in: Likewise.
4750         * contrib/bluegnu2.0.3: Remove unsupported subtree.
4752 2003-08-18  Ben Elliston  <bje@wasabisystems.com>
4754         * MAINTAINERS: New file.
4756 2003-08-17  Ben Elliston  <bje@wasabisystems.com>
4758         * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
4759         * doc/Makefile.in: Regenerate.
4761 2003-08-16  Ben Elliston  <bje@wasabisystems.com>
4763         * doc/overview.sgml (overview): Start overhauling chapter.
4765         * doc/README.Writers: New document on style conventions.
4766         * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
4767         * doc/user.sgml: Likewise.
4768         * doc/overview.sgml: Likewise.
4769         * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
4771 2003-08-12  Ben Elliston  <bje@wasabisystems.com>
4773         * Makefile.am (tarball): Update path to dejagnu.spec.
4774         (rpmspec): Likewise.
4775         (deb): Likewise, update path to package metafiles.
4776         (solpkg): Likewise.
4777         (hpdepot): Likewise.
4778         * Makefile.in: Regenerate.
4779         * aclocal.m4: Likewise.
4780         * configure: Likewise.
4781         * doc/Makefile.in: Likewise.
4782         * example/Makefile.in: Likewise.
4783         * testsuite/Makefile.in: Likewise.
4784         * deb: Move from here ..
4785         * packaging/deb: .. to here.
4786         * redhat: Move from here ..
4787         * packaging/rpm: .. to here.
4788         * depot: Move from here ..
4789         * packaging/depot: .. to here.
4790         * pkg: Move from here ..
4791         * packaging/pkg: .. to here.
4793         * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
4794         (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
4795         * testsuite/libdejagnu/Makefile.in: Regenerate.
4797 2003-08-07  Ben Elliston  <bje@wasabisystems.com>
4799         * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
4800         to increment count rather than count++ as in C.
4802 2003-08-06  Ben Elliston  <bje@wasabisystems.com>
4804         * lib/remote.exp: Replace "TCL" with "Tcl".
4806 2003-07-30  Ben Elliston  <bje@wasabisystems.com>
4808         * doc/runtest.1: Replace "TCL" with "Tcl".
4809         Make last revision date current.
4811 2003-07-29  Ben Elliston  <bje@wasabisystems.com>
4813         * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
4814         URLs and other stylistic improvements.
4815         * doc/ref.sgml: Likewise.
4816         * doc/user.sgml: Likewise.
4818 2003-07-25  Mike Stump  <mrs@apple.com>
4820         * lib/target.exp (prune_warnings): Handle "nfs server .* not
4821         responding" and "nfs server .* is alive again".
4823 2003-07-20  Ben Elliston  <bje@wasabisystems.com>
4825         * config.guess: Update to most recent version.
4826         * config.sub: Ditto.
4827         * AUTHORS: Add self to list of maintainers.
4829 2003-07-25  Jim Dein  <jdein@deinji5.apple.com> (RIP)
4831         * lib/utils.exp (find): Fix double recursion bug.
4833 2002-02-25  Jackie Smith Cashion  <jsmith@redhat.com>
4835         * baseboards/am33_2.0-libremote.exp: New file.
4837 2000-11-21  Drew Moseley  <dmoseley@redhat.com>
4839         * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
4840         ASB2303 board.
4842 2000-08-10  Drew Moseley  <dmoseley@cygnus.com>
4844         * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
4845         ASB2303 board.
4847 2003-06-13  Phil Edwards <pme@devphil.com>
4849         * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
4850         baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
4851         only -T[linker] instead of -Wl,-T[linker].
4853 2003-06-13  Jason Thorpe  <thorpej@wasabisystems.com>
4855         * lib/target.exp (prune_warnings): Add two more linker
4856         warning patterns for warnings generated by modern verions
4857         of NetBSD.
4859 2003-05-12  H.J. Lu <hongjiu.lu@intel.com>
4861         * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
4863 2003-05-09  H.J. Lu <hongjiu.lu@intel.com>
4865         * runtest: Fix a typo.
4867 2003-05-03  Nitin Dhavale <nitinpdhavale@indiatimes.com>
4869         * doc/user.sgml: Clarify how to set the verbose option.
4871 2003-03-28 Chris Demetriou <cgd@broadcom.com>
4873         * lib/framework.exp (check_conditional_xfail): Adjust so that
4874         an empty 'includes' list matches all sets of flags.
4875         * doc/dejagnu.texi: Document the above.
4876         * doc/ref.sgml: Likewise.
4878 2003-03-27  David Heine <dlheine@tensilica.com>
4880         * baseboards/xtensa-sim.exp: Fix a syntax error.
4882 2003-03-16  Rob Savoye  <rob@direwolf.welcomehome.org>
4884         * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
4885         than stomp on it. This is based on a patch from Brendan Conoboy
4886         <blc@redhat.com>.
4887         * Most files: Update copyright dates.
4889 2003-03-13  Mike Stump  <mrs@apple.com>
4891         * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
4892         help ensure uniqueness.
4894 2003-03-05  Alexandre Oliva  <aoliva@redhat.com>
4896         * lib/remote.exp (standard_download, standard_upload): Support
4897         nfsdir and nfsroot_server.
4899 See ChangeLog-1992 for earlier changes.