1 2021-05-22 Jacob Bachmeyer <jcb@gnu.org>
3 * dejagnu: Fix error message.
5 * config.guess: Import patched version; patches sent upstream.
7 * commands/help.sh: Add test mode in which man(1) is never
8 actually invoked. The ability to reference a manpage by absolute
9 file name seems to be unique to Free systems.
10 * testsuite/launcher.all/help.exp: Amend test list to use new
11 testing mode in "dejagnu help" command. This mode should also
12 work on Solaris, so the logic for skipping the tests is removed.
14 2021-05-20 Jacob Bachmeyer <jcb@gnu.org>
16 * dejagnu: Search for a POSIX Awk and validate that at least a
17 simple Awk program actually works.
18 * testsuite/launcher.all/command.exp: Add tests for error produced
19 when no Awk is found and a help message is requested.
21 * lib/dejagnu.exp: Avoid reporting next test as UNRESOLVED when
22 reporting error due to missing size(1) while loading file.
24 * testsuite/lib/runtest.exp (runtest_copy_nested_testsuite_log):
25 New procedure. Dumps log from nested run into main test log.
27 * testsuite/runtest.libs/utils.test: Change test for [which make]
28 to [which sh] because make(1) is not always available on non-GNU
29 systems but sh(1) exists on any Unix. GNU make is often installed
30 as "gmake" on non-GNU systems and may be the only "make" utility.
32 * testsuite/runtest.main/pr42399.exp (test_pr42399): Revise to
33 ensure that a failure to produce any output at all in the inner
34 test will be detected. This was discovered on Solaris 10.
36 * testsuite/runtest.main/stats.exp: Copy stat.log from nested
37 testsuite run to the main test log upon test failure.
39 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
40 Explicitly pass /dev/null to unit-sub.awk because /usr/bin/awk on
41 Solaris 10 does not seem to recognize assignment to ARGV.
42 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
45 2021-05-18 Jacob Bachmeyer <jcb@gnu.org>
47 * dejagnu: Redirect input from /dev/null when testing if awk is
48 GNU Awk; this avoids a hang on Solaris 10 where awk treats
49 --version as an Awk program and attempts to read input.
50 (command): Rework the initial setting of this variable to avoid
51 limitations in Solaris 10 awk.
53 * testsuite/report-card.all/onetest.exp: Avoid Tcl error when item
54 and totals lines are missing entirely.
56 * testsuite/runtest.main/pr48155.exp: Fix assumption about exit
57 code from /bin/false, which is different on Solaris.
59 2021-05-05 Jacob Bachmeyer <jcb@gnu.org>
63 * Makefile.am (TESTSUITE_FILES): Update.
64 (CLEANFILES): Add special init file for PR48155 nested tests.
66 * testsuite/runtest.main/pr48155.exp: New file.
67 * testsuite/runtest.main/pr48155-csh.sh: New trivial file. This
68 script emulates the behavior of the C shell if an attempt is made
69 to use it to run the config.guess script.
71 2021-05-04 Jacob Bachmeyer <jcb@gnu.org>
75 * runtest.exp: Tighten regexp used to validate output from
76 config.guess. The previous regexp would accept an error produced
77 if config.guess was incorrectly run using the C shell.
79 2021-04-28 Jacob Bachmeyer <jcb@gnu.org>
81 * configure, Makefile.in: Regenerate.
83 * runtest.exp, configure.ac, doc/version.texi: Update version.
85 * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
86 to work around Automake limitation of assuming that v7 is default.
88 2021-04-20 Jacob Bachmeyer <jcb@gnu.org>
90 * configure.ac: Set Automake options to use the ancient and
91 universal V7 format when building distribution tarballs. The
92 limitations of this format are not expected to impact DejaGnu; the
93 "ustar" format will be used instead if this is proved wrong.
95 * Makefile.am (TAR_OPTIONS): Add exported environment variable to
96 set options when building distribution tarballs. Ensure that all
97 files in distribution tarballs will be recorded as owned by root.
99 2021-04-16 Jacob Bachmeyer <jcb@gnu.org>
103 * dejagnu (command): Use Awk instead of non-portable basename(1)
104 and a non-portable sed(1) pattern to initially set this variable.
106 * dejagnu: Use shell "case" pattern match instead of non-portable
107 "grep -q" to determine if "awk" is GNU Awk.
109 * dejagnu: Use Awk instead of non-portable "grep -q" to verify
110 that a file contains a help message. Also use Awk to extract help
111 messages from files, instead of a complex dynamic sed(1) program.
113 * configure.ac: Remove experimental support for propagating
114 CONFIG_SHELL to scripts in the source directory.
116 * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
117 running config.guess. Check the result carefully and stop with an
118 error immediately if running config.guess does not produce
119 something that plausibly resembles a triplet. Advise the user
120 that SHELL or CONFIG_SHELL may need to be set in the environment.
122 2021-04-15 Jacob Bachmeyer <jcb@gnu.org>
126 * dejagnu: Avoid using $? for an exit code; it is convenient until
127 the tests fail because the script is run on Solaris where false
128 returns 255 instead of 1 and the test harness expects exit code 1.
130 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
134 * dejagnu: Replace use of "expr :" with shell "case" pattern
135 match to avoid limitations of Solaris 10 expr(1).
137 2021-04-08 Jacob Bachmeyer <jcb@gnu.org>
139 * configure: Regenerate.
141 * runtest.exp, configure.ac, doc/version.texi: Update version.
143 * configure.ac: Change "dnl" comments that should appear in
144 configure to regular comments.
145 Add experimental support for propagating CONFIG_SHELL to the
146 config.sub and config.guess scripts in the source directory.
148 2021-04-01 Jacob Bachmeyer <jcb@gnu.org>
152 * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
153 message to better fit GNU conventions, with thanks to Tom Tromey
154 for the reporting this issue.
158 * runtest: Remove use of non-portable "if !" that causes problems
159 with /bin/sh on Solaris 10.
161 * dejagnu (Variants): Split the declaration of this read-only
162 variable into an assignment followed by marking it read-only,
163 instead of doing both in one statement. The Solaris 10 /bin/sh
164 does not accept the combined form.
166 2021-03-30 Jacob Bachmeyer <jcb@gnu.org>
168 * configure: Regenerate.
170 * runtest.exp, configure.ac, doc/version.texi: Update version.
172 2021-03-26 Jacob Bachmeyer <jcb@gnu.org>
176 * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
177 since Solaris man(1) does not accept explicit filenames. The
178 manpages will be installed as usual, and the "dejagnu help"
179 command should work after installation.
181 Also set PAGER for testing, since other systems might also ignore
182 MANPAGER and that would cause the test to hang.
184 * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
185 copies of the output produced to the log.
187 * commands/help.sh: Extend PR47382 fix (below) to this file.
191 * testsuite/lib/runtest.exp: Remove support for automatically
192 locating an Expect executable in the old Cygnus tree layout.
194 2021-03-25 Jacob Bachmeyer <jcb@gnu.org>
198 * dejagnu, runtest: Remove use of "$()" command substitution and
199 "$(())" arithmetic substitution shell constructs. The /bin/sh on
200 Solaris 10 does not support them. They were replaced with the
201 traditional backticks for command substitution and backticks and
202 the expr command for arithmetic substitution.
204 Also add markers to explicitly disable shellcheck warnings that
205 would lead to reintroducing these problems.
207 Also avoid the non-portable "`..."..."...`" construct on a warning
208 in the GNU Autoconf manual, section "Shell Substitutions",
209 although this introduces additional variables.
211 2021-03-22 Jacob Bachmeyer <jcb@gnu.org>
213 * configure: Regenerate.
215 * runtest.exp, configure.ac, doc/version.texi: Update version.
217 * config.guess, config.sub: Import from upstream.
219 * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
221 2021-03-15 Jacob Bachmeyer <jcb@gnu.org>
223 * Makefile.am, Makefile.in: Update accordingly.
225 * contrib/compare_tests: Remove. This file lacked a GPL notice.
226 This file was imported from GCC many years ago. The GCC version
227 has benefited from continued development, while ours has not.
229 * testsuite/runtest.libs/load_lib.exp: Remove. This file lacked a
230 GPL notice and an attempt to contact the contributor produced no
231 response. The tests in this file will need to be rewritten in any
232 case; there is a bug in load_lib that they should expose and there
233 is now additional infrastructure for tests of this type that was
234 not available when this file was written.
236 2020-12-27 Jacob Bachmeyer <jcb@gnu.org>
238 * testsuite/runtest.libs/libs.exp (process_test): Report running
239 test scripts as each test script is run.
240 Also, at top-level, sort the list of tests to run.
242 * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
243 from new "testsuite can call api" feature test API entrypoint.
244 * lib/framework.exp (testsuite_can): Likewise.
245 * testsuite/runtest.libs/testsuite_can.test: Likewise.
248 2020-12-16 Jacob Bachmeyer <jcb@gnu.org>
250 * configure: Regenerate.
252 * configure.ac: Remove Tcl version check.
254 Apply patch from Nick Clifton:
256 * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
258 Apply patch from Dimitar Dimitrov:
260 * baseboards/pru-sim.exp: New file.
262 * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
263 * Makefile.in (baseboard_DATA): Likewise.
265 2020-12-15 Jacob Bachmeyer <jcb@gnu.org>
267 * configure: Regenerate.
268 * Makefile.in: Regenerate.
270 * Makefile.am (RUNTEST): Explain override of Automake default.
272 * configure.ac: Update for autoconf 2.69 using autoupdate.
273 * configure.ac: Remove search for expect now handled by Automake.
275 Apply patch from Dimitar Dimitrov:
277 * Makefile.am (dejagnu_TEXINFOS): Change this...
278 * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
280 This fixes an incorrectly recorded dependency.
282 2020-11-17 Jacob Bachmeyer <jcb@gnu.org>
286 * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
287 that conflated the tool init file with the target interface file.
288 (Make Check): Add cross-reference to the GNU Automake manual for
291 2020-11-10 Jacob Bachmeyer <jcb@gnu.org>
295 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
296 Use [file normalize] to ensure that link targets are unambiguous.
297 (link_dejagnu_launcher_test_item): Avoid spurious errors when test
298 environment has already been prepared in a previous run.
300 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
301 New procedure to collect existing repeated testsuite code.
302 * testsuite/launcher.all/command.exp: Establish testing
303 environment using link_dejagnu_launcher_test_item procedure.
305 2020-11-09 Jacob Bachmeyer <jcb@gnu.org>
307 * aclocal.m4: Regenerate.
308 * configure: Regenerate.
309 * Makefile.in: Regenerate.
311 * configure.ac: Revert development version branch tagging hook.
312 * Makefile.am: Likewise.
314 These caused failures (reported in PR44462 as a secondary issue)
315 when a source tree is copied out of a Git directory.
317 2020-08-31 Jacob Bachmeyer <jcb@gnu.org>
319 * doc/runtest.1: Add brief GFDL notice. License notice in the
320 formatted manpage should now describe DejaGnu as a whole.
322 * NEWS: Prepare for release.
324 2020-08-18 Jacob Bachmeyer <jcb@gnu.org>
326 * testsuite/runtest.libs/testsuite_file.test: Add missing
327 copyright and GPL notice.
328 * testsuite/runtest.libs/testsuite_can.test: Likewise.
329 * testsuite/runtest.libs/testcase_group.test: Likewise.
331 2020-08-12 Jacob Bachmeyer <jcb@gnu.org>
333 * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
334 (Running unit tests): Add node.
335 (DejaGnu unit test protocol): Add node.
336 (C unit testing API): Update to reflect current API. Move mention
337 of dejagnu.h header here in preparation for future expanded
339 (C++ unit testing API): Likewise. Mention caveat that the C unit
340 test API is also available in C++ programs.
342 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
344 * baseboards/qemu.exp: Tidy whitespace.
346 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
348 Merge patch from Kito Cheng to add support for RISC-V sim target.
350 * baseboards/riscv-sim.exp: New file.
351 * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
352 * Makefile.in (baseboard_DATA): Likewise.
354 2020-08-02 Jacob Bachmeyer <jcb@gnu.org>
356 * Makefile.am (TESTSUITE_FILES): Add files that were introduced
357 during development but were mistakenly not added at that time.
358 (baseboard_DATA): Sort baseboard file list.
359 (baseboard_DATA): Add missing files.
360 (dejagnu_TEXINFOS): New; add GNU FDL file.
361 (CONTRIB): Add experimental Python unit test module.
363 * Makefile.in (TESTSUITE_FILES): Likewise.
364 (baseboard_DATA): Likewise.
366 * testsuite/dejagnu.py: Move from here...
367 * contrib/dejagnu.py: ...to here.
369 2020-08-02 Rob Savoye <rob@senecass.com>
371 * Makefile.in: Regenerate so make dist works.
373 2020-07-25 Jacob Bachmeyer <jcb62281+dev@gmail.com>
375 * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
376 procedure "perror" instead of the Tcl command "error".
377 (Writing a test case): Reorganize node and give basic hints about
378 Tcl quoting and backslash escape rules.
379 (Writing a test case): Describe synchronization issues and warn
380 that prefixes of valid input can be presented for matching.
381 (Writing a test case): Fix markup from conversion from DocBook.
383 2020-07-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
387 * NEWS: Document changes to host_execute.
389 * lib/dejagnu.exp (host_execute): Revise expect matching to
390 combine all unit test protocol lines into one pattern.
391 (host_execute): Rework other expect patterns.
392 (host_execute): Ensure that all output from child process is read
393 until the child closes its output to avoid sending early SIGPIPE.
394 (host_execute): Report an ERROR (and cause the next test to be
395 recorded as UNRESOLVED) if the Expect matching buffer overflows.
396 (host_execute): Remove dependency on global "text" variable.
398 * Makefile.am (TESTSUITE_FILES): Update.
400 * testsuite/runtest.main/stats.exp: Generalize infrastructure and
401 add tests for DejaGnu unit testing support.
402 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
404 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
407 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
411 * Makefile.am (TESTSUITE_FILES): Update.
413 * lib/dejagnu.exp (host_execute): Allow the executable to be
414 specified with an absolute file name.
415 (host_execute): Fix argument handling to allow passing more than
416 one argument to the executable. Return early if given no
417 arguments at all instead of trying to execute "./".
419 * testsuite/runtest.main/pr42399.exp: New file.
420 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
422 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
425 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
427 * Makefile.am (CLEANFILES): Update.
428 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
430 * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
432 (runtest_cleanup_nested_testsuite): New procedure.
434 * testsuite/runtest.main/error.exp: Use the tool name "error" to
435 select the proper subset of the nested testsuite. Use new
436 procedures for handling nested testsuite. Use common
437 nested-init.exp local init file for nested testsuite. Let local
438 init file nested-init.exp handle setting "outdir" variable.
439 * testsuite/runtest.main/options.exp: Likewise; "null" tool.
440 * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
442 * testsuite/runtest.main/nested/: Combine nested testsuites.
443 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
445 * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
447 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
449 * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
451 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
453 * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
455 * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
457 * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
459 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
461 * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
463 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
465 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
468 2020-07-16 Rob Savoye <rob@senecass.com>
470 * baseboards/qemu.exp: Works now with qemu instead of sim.
472 2020-07-06 Rob Savoye <rob@senecass.com>
474 * baseboards/qemu.exp: Initial working support to use qemu for
476 * Makefile.am: Install qemu.exp.
477 * autogen.sh: Add script borrowed from my Gnash project to
478 regenerate configure/build files.
479 * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
480 * doc/dejagnu.texi: Update copyright date.
482 2020-06-29 Jacob Bachmeyer <jcb62281+dev@gmail.com>
486 * NEWS: Add item for repeated error messages.
488 * lib/framework.exp (log_and_exit): Add separator lines around the
489 error dumps repeated at the end of a run.
491 2020-06-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
495 * NEWS: Remove items for --keep_going / --no_keep_going options.
497 * Makefile.am (CLEANFILES): Adjust for renames.
498 (TESTSUITE_FILES): Likewise.
500 * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
501 --no_keep_going options.
502 (A POSIX Conforming Test Framework): Document that Tcl errors in
503 test scripts produce UNRESOLVED results as placeholders.
505 * doc/runtest.1: Likewise.
507 * lib/framework.exp (log_and_exit): Print collected Tcl errors.
509 * runtest.exp (dejagnu::error): New internal namespace.
510 (runtest): Collect Tcl errors caught while executing test scripts.
511 (dejagnu::opt): Remove internal namespace.
512 Remove --keep_going / --no_keep_going options. No longer abort on
513 any Tcl errors; instead store them and repeat the messages at the
516 * testsuite/runtest.main/abort.exp: Rename from this ...
517 * testsuite/runtest.main/error.exp: ... to this and revise tests.
519 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
521 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
523 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
525 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
527 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
529 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
532 2020-06-24 Jacob Bachmeyer <jcb62281+dev@gmail.com>
536 * NEWS: Revise relevant items.
538 * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
539 * doc/runtest.1: Document --no_keep_going option. Remove
540 long-obsolete --name option. The --name option had been removed
541 from runtest before the code was imported into what became the
544 * runtest.exp: Add option --no_keep_going to stop immediately if a
545 test script aborts due to a Tcl error. Remove vestiges of
546 long-obsolete --name option. Make --keep_going option default.
548 * testsuite/runtest.main/abort.exp: Adjust tests to use
549 --no_keep_going and --keep_going instead of assuming a default.
551 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
553 Merge patches from Maciej W. Rozycki to fix timeout handling.
555 * lib/remote.exp (close_wait_program): Use `catch' in killing
558 * lib/remote.exp (close_wait_program): Only kill the pending
559 force-kills if the PID list has a single entry.
560 (local_exec): Set the channel about to be closed to the
561 nonblocking mode if we didn't see an EOF.
562 (standard_close): Likewise, unconditionally.
564 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
566 * NEWS: Mention "linker=" option and added language support.
568 * doc/dejagnu.texi (target_compile procedure): Document new
569 "linker=" option to target_compile.
571 * lib/target.exp (default_target_compile): Actually use internal
572 option for separate linker provided for Go language support. This
573 seems to have been accidentally omitted from Tom Tromey's patches.
574 (default_target_compile): Add "linker=" option, similar to
575 "compiler=" option, but the former overrides the latter when
576 building an executable.
577 (default_target_compile): Ensure that "--emit obj" is spaced from
578 previous item when used to compile Rust. Use "--emit asm" instead
579 of "-S" when generating assembly from Rust sources.
581 * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
582 Also add tests for the new "early_flags=" and "linker=" options.
584 2020-06-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
586 * doc/dejagnu.texi (Libgloss): Update menu.
587 (find_go procedure, find_go_linker procedure): New nodes.
588 (find_rustc procedure): New node.
590 2020-06-19 Tom Tromey <tromey@adacore.com>
592 * doc/dejagnu.texi (target_compile procedure): Document Go
594 * lib/target.exp (default_target_compile): Handle Go.
595 * lib/libgloss.exp (find_go, find_go_linker): New procs.
597 2020-06-19 Tom Tromey <tromey@adacore.com>
599 * doc/dejagnu.texi (target_compile procedure): Document rust
601 * lib/target.exp (default_target_compile): Handle rust.
602 * lib/libgloss.exp (find_rustc): New proc.
604 2020-06-19 Tom Tromey <tromey@adacore.com>
606 * lib/target.exp (default_target_compile): Add early_flags.
607 * doc/dejagnu.texi (target_compile procedure): Document
610 2020-06-19 Jacob Bachmeyer <jcb62281+dev@gmail.com>
612 Merge patches from Tom de Vries <tdevries <at> suse.de> and write
615 * testsuite/runtest.main/abort.exp: Add tests that verify handling
616 of arithmetic errors (divide-by-zero) in a procedure called within
619 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
621 2020-06-18 Jacob Bachmeyer <jcb62281+dev@gmail.com>
625 Thanks to Tom de Vries for raising these concerns and offering the
626 initial testsuite patch that led to these changes.
628 * NEWS: Add item for consistent abort-on-error handling.
630 * lib/framework.exp (unknown): Always link global variables. Tidy.
631 Silently propagate errors raised in autoloaded procedures and move
632 the UNRESOLVED result and aborting the test run to...
633 * runtest.exp (runtest): Report an UNRESOLVED result if a test
634 script aborts due to a Tcl error. Link global errorCode and
635 report its value if an error occurs. For consistency, abort the
636 test run on any Tcl error in a test script instead of only when
637 calling an undefined procedure.
639 * testsuite/runtest.main/abort.exp: Add tests to verify handling
640 of arithmetic errors (divide-by-zero) in an auto-loaded procedure
641 called from a test script. Adjust other patterns.
643 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
646 2020-06-17 Jacob Bachmeyer <jcb62281+dev@gmail.com>
650 * NEWS: Add item for --keep_going option.
652 * Makefile.am (CLEANFILES): Add abort-init.exp to list.
653 (TESTSUITE_FILES): Add new testsuite files to list.
655 * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
657 * doc/runtest.1: Likewise.
659 * lib/framework.exp (unknown): Report an UNRESOLVED result if an
660 unknown command is invoked. Avoid exiting and propagate the error
661 from Tcl's "unknown" procedure if --keep_going was
662 specified. Brace procedure argument list.
663 * runtest.exp (dejagnu::opt): New namespace.
664 Add option --keep_going to continue running tests after a test
665 script aborts due to calling an undefined command.
667 * testsuite/runtest.main/abort.exp: New file.
668 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
670 * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
673 2020-06-17 Tom de Vries <tdevries <at> suse.de>
675 * lib/framework.exp (unknown): Propagate return value of auto-loaded
678 2020-06-15 Jacob Bachmeyer <jcb62281+dev@gmail.com>
680 Merge patches from Linaro:
682 2018-09-28 Christophe Lyon <christophe.lyon@linaro.org>
683 * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
684 machine, to avoid race conditions.
686 2016-04-25 Yvan Roux <yvan.roux@linaro.org>
687 * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
688 * lib/ssh.exp (ssh_exec): Likewise.
690 2016-06-28 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
691 * config/unix.exp (unix_load): Prepend the value of an
692 "exec_shell" board_info key to the command if it is defined.
694 2020-06-06 Jacob Bachmeyer <jcb62281+dev@gmail.com>
696 * NEWS: Document "testcase" command.
698 * doc/dejagnu.texi (testcase procedure): Document multiplex entry
699 point and "testcase group" command.
701 * lib/framework.exp: Add internal namespace ::dejagnu::group.
702 (::dejagnu::group::check_name): New procedure.
703 (::dejagnu::group::current): New procedure.
704 (::dejagnu::group::push): New procedure.
705 (::dejagnu::group::pop): New procedure.
706 (::dejagnu::group::pop_to_file): New procedure.
707 (testcase): New procedure for multiplex commands.
708 (testcase_group): New procedure implementing "testcase group".
710 * testsuite/runtest.libs/testcase_group.test: New file.
712 2020-06-05 Jacob Bachmeyer <jcb62281+dev@gmail.com>
714 * NEWS: Document new "testsuite can call api" command.
716 * doc/dejagnu.texi (testsuite procedure): Document new subcommand
717 "testsuite can call api".
719 * lib/framework.exp (testsuite): Add branch for "testsuite can".
720 (testsuite_can): New procedure implementing "testsuite can".
722 Add internal array ::dejagnu::apilist to store information for
723 "testsuite can call api" for querying the availability of an API
724 call. This will allow test scripts to adapt and use new features
725 while still being able to run under older versions of DejaGnu.
727 * testsuite/runtest.libs/testsuite_can.test: New file.
729 2020-06-02 Jacob Bachmeyer <jcb62281+dev@gmail.com>
732 * NEWS: Fix typo. Fix Emacs mode tag.
733 Document use of Tcl namespace ::dejagnu for internals.
734 * runtest.exp (dejagnu::command_line): New namespace.
735 (dejagnu::command_line::save_cmd_var): New procedure.
736 (dejagnu::command_line::restore_cmd_vars): New procedure.
737 (dejagnu::command_line::dump_cmd_vars): New procedure.
738 * runtest.exp: Save internal variables set by command line
739 arguments during the first pass and restore their values after
740 loading testsuite init files.
742 2020-06-01 Jacob Bachmeyer <jcb62281+dev@gmail.com>
745 * runtest.exp: Describe search for testsuite at verbose level 3.
746 Print initial working directory at verbose level 1.
748 2020-05-28 Jacob Bachmeyer <jcb62281+dev@gmail.com>
751 * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
752 value to use an absolute file name.
753 * testsuite/lib/report-card.exp: Likewise.
754 * testsuite/runtest.main/options.exp: Set outdir in options-init
755 instead of changing working directory in child runtest.
757 * runtest.exp (logname): Move verbose display of logname to
758 immediately after finding the user's login name.
761 * runtest.exp (libdir): Fix default value of global variable.
763 * ChangeLog: Tidy irregular indentation.
765 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
767 * doc/dejagnu.texi (target_compile procedure): Add documentation.
769 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
771 * doc/dejagnu.texi (target_link procedure): New stub node.
772 (default_link procedure): Document internal procedure.
773 (default_target_assemble procedure): Likewise.
774 (default_target_compile procedure): Likewise.
776 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
778 * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
779 mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
781 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
783 * lib/target.exp (default_target_compile): Use "host_info"
784 procedure to probe for a host configuration, instead of checking a
785 local empty target_info array due to lacking "global target_info".
787 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
789 * doc/dejagnu.texi (Adding a new board): Document that the
790 "compiler" board_info field is optional and defaults to [find_gcc]
792 (Board configuration file): Likewise.
794 * lib/target.exp (default_target_compile): Establish a default C
795 compiler by evaluating [find_gcc] if no other compiler is given.
797 * baseboards/aarch64-sim.exp: Remove no-longer-needed
798 "set_board_info compiler [find_gcc]" from this file.
799 * baseboards/am33_2.0-libremote.exp: Likewise.
800 * baseboards/androideabi.exp: Likewise.
801 * baseboards/arm-ice.exp: Likewise.
802 * baseboards/arm-sim.exp: Likewise.
803 * baseboards/cris-sim.exp: Likewise.
804 * baseboards/d30v-sim.exp: Likewise.
805 * baseboards/fr30-sim.exp: Likewise.
806 * baseboards/frv-sim.exp: Likewise.
807 * baseboards/gdbserver-sample.exp: Likewise.
808 * baseboards/iq2000-sim.exp: Likewise.
809 * baseboards/linux-gdbserver.exp: Likewise.
810 * baseboards/linux-libremote.exp: Likewise.
811 * baseboards/mcore-moto-sim.exp: Likewise.
812 * baseboards/mcore-sim.exp: Likewise.
813 * baseboards/mips-sim-idt32.exp: Likewise.
814 * baseboards/mips-sim-idt64.exp: Likewise.
815 * baseboards/mips-sim-mti32.exp: Likewise.
816 * baseboards/mips-sim-mti64.exp: Likewise.
817 * baseboards/mips-sim-mti64_64.exp: Likewise.
818 * baseboards/mips-sim-mti64_n32.exp: Likewise.
819 * baseboards/mips-sim-sde32.exp: Likewise.
820 * baseboards/mips-sim-sde64.exp: Likewise.
821 * baseboards/mips-sim.exp: Likewise.
822 * baseboards/mmixware-sim.exp: Likewise.
823 * baseboards/mn10200-sim.exp: Likewise.
824 * baseboards/mn10300-sim.exp: Likewise.
825 * baseboards/moxie-sim.exp: Likewise.
826 * baseboards/msp430-sim.exp: Likewise.
827 * baseboards/powerpc-sim.exp: Likewise.
828 * baseboards/powerpcle-sim.exp: Likewise.
829 * baseboards/rx-sim.exp: Likewise.
830 * baseboards/sh-sim.exp: Likewise.
831 * baseboards/sparc-sim.exp: Likewise.
832 * baseboards/sparc64-sim.exp: Likewise.
833 * baseboards/sparclite-sim-le.exp: Likewise.
834 * baseboards/sparclite-sim.exp: Likewise.
835 * baseboards/unix.exp: Likewise.
836 * baseboards/v850-sim.exp: Likewise.
837 * baseboards/visium-sim.exp: Likewise.
838 * baseboards/xtensa-sim.exp: Likewise.
840 2020-05-24 Rob Savoye <rob@senecass.com>
842 * baseboards/pi.exp: New config file for cross testing to a
845 2020-05-24 Tom Tromey <tom@tromey.com>
847 * .gitignore: Add files.
849 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
851 * testsuite/runtest.libs/target.test: Use mockutil.tcl.
852 Collect loading DejaGnu libraries into a single loop.
853 Revise the mock board_info array.
854 Add section headings for different test groups in this file.
855 Add tests for default_target_compile in lib/target.exp.
856 * testsuite/runtest.libs/mockutil.tcl: New file.
858 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
860 * doc/dejagnu.texi (remote_exec procedure): Explicitly list
861 optional arguments instead of simply copying the Tcl argument list
862 or the remote_exec procedure.
864 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
866 * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
867 string instead of opening a temporary file named .tmp.
868 * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
870 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
872 * testsuite/runtest.libs/target.test: Rename fake "target_info"
873 array to a fake "board_info" array, to align with changes made to
874 the DejaGnu core on 29 January 1997 that moved the target
875 configuration data into the global board_info array.
877 * testsuite/runtest.libs/remote.test: Likewise.
879 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
881 * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
882 requests to run only some library tests.
884 2020-05-18 Rob Savoye <rob@senecass.com>
886 * configure.ac: Extract the current branch.
887 * Makefile.am: Change the frame_version in runtest.exp post
888 install to add the branch and git revision to make it easier to
889 support multiple versions during development.
891 2020-05-15 Rob Savoye <rob@senecass.com>
893 * All files: Minor change, update copyright dates.
895 2019-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
897 * runtest.exp (search_and_load_file): Join the directory and
898 filename once using 'file join'.
900 2019-01-24 Jacob Bachmeyer <jcb62281@gmail.com>
902 * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
903 spacing so the Emacs move-by-sentence commands work correctly.
905 2019-01-23 Ben Elliston <bje@gnu.org>
907 * doc/dejagnu.texi: Replace "config file" with "configuration
910 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
912 * doc/dejagnu.texi (Command line option variables): Improve table
913 formatting to fix overlapping columns and revise text slightly.
915 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
917 * doc/dejagnu.texi (Global config file): Change example to use the
918 Tcl "switch" command instead of the deprecated "case" command.
920 2019-01-12 Jacob Bachmeyer <jcb62281@gmail.com>
922 * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
923 the structure of the "runtests" argument.
925 2019-01-12 Ben Elliston <bje@gnu.org>
927 * doc/dejagnu.texi: Various documentation fixes.
929 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
931 * testsuite/runtest.libs/clone_output.test: Use new test harness
932 for verifying output of clone_output.
934 * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
935 template using store_test_output.
936 (send_log): Likewise.
937 (send_user): Likewise.
938 (clear_test_output): New proc.
939 (store_test_output): New proc.
941 * lib/framework.exp (clone_output): Actually send errors to the
942 error stream; bug found while improving testsuite.
944 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
946 * testsuite/runtest.libs/libs.exp (process_test): Handle blank
947 lines from child process correctly.
949 2019-01-02 Jacob Bachmeyer <jcb62281@gmail.com>
951 * NEWS: Document report card.
953 * Makefile.am (clean-local): Add target.
954 (clean-local-check): Add target; mark as PHONY.
955 (commands_DATA): Add "report-card" scripts.
956 (dist_man_MANS): Add dejagnu-report-card.1 and split.
957 (DEJATOOL): Add "report-card" tool.
958 (TESTSUITE_FILES): Add testsuite for "report-card" tool.
960 * commands/report-card.awk: New command script.
962 * doc/dejagnu.texi (Invoking dejagnu report card): New node.
963 * doc/dejagnu-report-card.1: New man page.
965 * testsuite/lib/bohman_ssd.exp: New file.
966 * testsuite/lib/report-card.exp: New file.
967 * testsuite/report-card.all/onetest.exp: New file.
968 * testsuite/report-card.all/passes.exp: New file.
970 2019-01-02 Ben Elliston <bje@gnu.org>
972 * Makefile.am (DISTCLEANFILES): Don't use this.
973 (CLEANFILES): Use this instead.
974 * Makefile.in: Regenerate.
976 2019-01-01 Ben Elliston <bje@gnu.org>
978 * configure.ac: Abort if AWK is not installed.
979 * configure: Regenerate.
981 2019-01-01 Ben Elliston <bje@gnu.org>
983 * config.guess: Update to latest version.
984 * config.sub: Likewise.
986 2019-01-01 Ben Elliston <bje@gnu.org>
988 * configure.ac: Add AC_PROG_AWK check.
989 * configure: Regenerate.
991 2018-12-29 Jacob Bachmeyer <jcb62281@gmail.com>
993 * dejagnu: Avoid use of semicolon as sed(1) command separator.
994 POSIX does not clearly require sed(1) to support that feature.
996 2018-12-28 Jacob Bachmeyer <jcb62281@gmail.com>
998 * testsuite/lib/util-defs.exp: Whitespace clean up.
1000 2018-12-21 Jacob Bachmeyer <jcb62281@gmail.com>
1003 * dejagnu: Improve command parsing to fix bug. Previously, the
1004 documented equivalence between "multi word command" and
1005 "multi-word-command" did not hold if no arguments were given.
1006 * testsuite/launcher.all/command.exp: Add tests.
1008 2018-12-20 Ben Elliston <bje@gnu.org>
1010 * NEWS: Add item for new dejagnu command.
1012 * Makefile.am (EXTRA_DIST): Remove $(XML).
1013 * Makefile.in: Regenerate.
1015 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
1017 * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
1018 contents of $(commands_DATA).
1019 (bin_SCRIPTS): Add "dejagnu" launcher script.
1020 (commandsdir): Installation directory for "dejagnu" subcommands is
1021 $(pkgdatadir)/commands.
1022 (commands_DATA): New, contains "commands/help.sh" as initial item.
1023 (TESTSUITE_FILES): Add testsuite for same.
1024 (DEJATOOL): Add "launcher" to list of tools to test.
1025 (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
1027 * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
1028 (Invoking dejagnu): New node for dejagnu(1) launcher script.
1029 (Invoking dejagnu help): New node.
1031 * doc/dejagnu.1: New man page.
1032 * doc/dejagnu-help.1: New man page.
1034 * dejagnu: New script.
1036 * commands/help.sh: New dejagnu subcommand for reading manpages.
1038 * testsuite/launcher.all/command.exp: New file.
1039 * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
1040 * testsuite/launcher.all/command/commands/bar.awk: New file.
1041 * testsuite/launcher.all/command/commands/bar.sh: New file.
1042 * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
1043 * testsuite/launcher.all/command/commands/foo.sh: New file.
1044 * testsuite/launcher.all/command/commands/foo.tcl: New file.
1045 * testsuite/launcher.all/help.exp: New file.
1046 * testsuite/launcher.all/interp.exp: New file.
1047 * testsuite/launcher.all/verbose.exp: New file.
1048 * testsuite/lib/launcher.exp: New file.
1050 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
1052 * doc/dejagnu.texi (bt procedure): Fix Info links.
1054 2018-12-17 Ben Elliston <bje@gnu.org>
1056 * doc/dejagnu.texi (Board config file): Fix up @ref.
1057 (Command line option variables): Likewise.
1058 (Debugging Procedures): Add an entry for 'bt' command.
1060 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1062 * runtest.exp: Move processing of -V|--version option to first
1063 pass through command line arguments instead of delaying it.
1065 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1067 * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
1068 * Makefile.in: Regenerate.
1070 2018-12-15 Ben Elliston <bje@gnu.org>
1072 * doc/dejagnu.texi (telnet Procedure): Remove old node.
1073 (rlogin Procedure): Likewise.
1074 (rsh Procedure): Likewise.
1075 (tip Procedure): Likewise.
1076 (kermit Procedure): Likewise.
1077 (list_targets Procedure): Likewise.
1078 (prune_system_crud): Likewise.
1080 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1082 * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1083 (send_user): Likewise.
1084 * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1085 variable link at top-level.
1086 * testsuite/runtest.libs/utils.test: Adjust absolute path to
1088 * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1089 subdir, and objdir variables instead of extracting them from argv.
1090 Remove setval.tmp, which is now obsolete.
1091 * testsuite/runtest.libs/config.test: Likewise.
1092 * testsuite/runtest.libs/remote.test: Likewise.
1093 * testsuite/runtest.libs/target.test: Likewise.
1094 * testsuite/runtest.libs/testsuite_file.test: Likewise.
1095 * testsuite/runtest.libs/utils.test: Likewise.
1097 * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1098 (send_defaults): .. with this.
1099 (start_expect): Remove redundant code.
1101 * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1102 Remove unneeded test for EXPECT global variable.
1103 Use one Expect subprocess to run all test cases.
1104 (process_test): Redesign to use Expect subprocess and to use
1105 throwaway slave interpreters for running test cases.
1107 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1109 * testsuite/lib/runtest.exp (runtest_start): Remove.
1110 Move the sanity check in runtest_start to top-level and similarly
1111 check to ensure that $EXPECT can be found. Make failure of either
1112 sanity check an immediate fatal error.
1113 Improve error messages for sanity checks to indicate which
1114 critical tool was not found. Remove useless 'global RUNTEST'
1115 command at top-level.
1116 (runtest_version): Brace 'if' expression.
1118 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1120 * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1121 default runtest executable instead of implicitly searching PATH.
1122 Remove unused RUNTESTFLAGS Tcl variable.
1124 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1126 * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1129 2018-12-14 Jacob Bachmeyer <jcb62281@gmail.com>
1131 * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1132 * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1134 2018-12-12 Ben Elliston <bje@gnu.org>
1136 * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1137 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1138 lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1139 some regular expressions in constant strings by placing them
1140 inside braces instead of quotes. This allows one level of
1141 backslash quoting to be removed.
1143 2018-12-12 Ben Elliston <bje@gnu.org>
1145 * doc/dejagnu.texi: Acknowledge contributions to the manual from
1148 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1150 * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1151 * testsuite/runtest.all/load_lib.exp: Likewise.
1152 * testsuite/runtest.all/stats.exp: Likewise.
1154 * testsuite/runtest.all/stats.exp: Write local init file as
1155 "stats-init.exp" for status summary tests. Use --local_init
1156 option to runtest to load that file instead of site.exp and move
1157 the inner test module to a nested testsuite.
1158 * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1159 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1162 * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1163 Wrap lines in test list and move short items to beginning of list.
1164 Write local init file as "options-init.exp" for options tests.
1165 Use --local_init option with nested runtest to load that file
1166 instead of site.exp; also create an empty nested testsuite. Local
1167 init file arranges for inner runtest processes to run in a
1168 subdirectory in the object tree to eliminate filename clashes.
1169 Set tmpdir if not already set and remove entire temporary
1170 directory after running options tests.
1171 * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1173 * testsuite/runtest.all/clone_output.test: Move from here ..
1174 * testsuite/runtest.libs/clone_output.test: .. to here.
1175 * testsuite/runtest.all/config.test: Move from here ..
1176 * testsuite/runtest.libs/config.test: .. to here.
1177 * testsuite/runtest.all/default_procs.tcl: Move from here ..
1178 * testsuite/runtest.libs/default_procs.tcl: .. to here.
1179 * testsuite/runtest.all/libs.exp: Move from here ..
1180 * testsuite/runtest.libs/libs.exp: .. to here.
1181 * testsuite/runtest.all/load_lib.exp: Move from here ..
1182 * testsuite/runtest.libs/load_lib.exp: .. to here.
1183 * testsuite/runtest.all/remote.test: Move from here ..
1184 * testsuite/runtest.libs/remote.test: .. to here.
1185 * testsuite/runtest.all/target.test: Move from here ..
1186 * testsuite/runtest.libs/target.test: .. to here.
1187 * testsuite/runtest.all/testsuite_file.test: Move from here ..
1188 * testsuite/runtest.libs/testsuite_file.test: .. to here.
1189 * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1190 * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1191 * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1192 * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1193 * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1195 * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1197 * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1198 * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1199 * testsuite/runtest.all/utils.test: Move from here ..
1200 * testsuite/runtest.libs/utils.test: .. to here.
1201 * testsuite/runtest.libs/utils.test: Update references to
1204 * testsuite/runtest.all/options.exp: Move from here ..
1205 * testsuite/runtest.main/options.exp: .. to here.
1206 * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1208 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1210 * testsuite/runtest.all/stats.exp: Move from here ..
1211 * testsuite/runtest.main/stats.exp: .. to here.
1212 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1214 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1217 * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1218 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1219 * Makefile.in: Regenerate.
1221 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1223 * doc/dejagnu.texi: Clean up whitespace. Some indented examples
1224 were changed to use the Texinfo '@ ' command (yes, a space
1225 character) to preserve correct indentation. The '@ ' command is
1226 treated as a single space by Tex and makeinfo, but prevents Emacs
1227 from complaining about indentation using spaces instead of tabs.
1229 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1231 * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1232 directory exclusions by name in this procedure.
1234 2018-12-10 Ben Elliston <bje@gnu.org>
1236 * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1237 glob patterns, not "shell wildcard characters" per se.
1239 * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1241 2018-12-10 Jacob Bachmeyer <jcb62281@gmail.com>
1243 * doc/dejagnu.texi (Writing a test case): Add warning about
1244 priority of Expect patterns, complete with example.
1245 * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1246 caused test results other than "PASS" to be skipped if a "PASS" is
1247 further along in the input buffer. Describe problem in manual.
1248 (process_test): Ensure that the log file shows each test case run.
1249 (process_test): Directly run the test cases instead of using
1250 temporary files and "cat". All output is always available in the
1251 log file, which is no longer overwritten by other tests.
1252 (process_test): Expect END markers from test case scripts.
1253 * testsuite/runtest.all/clone_output.test: Emit END markers.
1254 * testsuite/runtest.all/config.test: Likewise.
1255 * testsuite/runtest.all/remote.test: Likewise.
1256 * testsuite/runtest.all/target.test: Likewise.
1257 * testsuite/runtest.all/testsuite_file.test: Likewise.
1258 * testsuite/runtest.all/utils.test: Likewise.
1260 2018-12-10 Ben Elliston <bje@gnu.org>
1262 * lib/utils.exp (grep): Use a proper Tcl list for options.
1264 2018-12-10 Ben Elliston <bje@gnu.org>
1266 * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1268 * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1269 and catching the "no files matched glob pattern" error
1270 message. Catching the error message was the wrong thing to do
1271 because the foreach loop then iterates over each word in the error
1272 message as if they were matches.
1274 2018-12-10 Ben Elliston <bje@gnu.org>
1276 * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1277 non-existent directory case.
1279 2018-12-10 Ben Elliston <bje@gnu.org>
1281 * runtest.exp: Remove unnecessary quotes and braces around
1282 variable expansions.
1284 * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1286 2018-12-09 Ben Elliston <bje@gnu.org>
1288 * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1289 (iterate_target_variants_two): Likewise.
1290 * lib/remote.exp (standard_download): Use 'eq' not '=='.
1291 (remote_upload): Likewise.
1292 * lib/framework.exp (open_logs): Likewise.
1293 (is_remote): Likewise.
1295 2018-12-09 Ben Elliston <bje@gnu.org>
1297 * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1298 baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1299 baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1300 config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1301 config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1302 lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1303 lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1304 lib/utils.exp, testsuite/lib/libsup.exp,
1305 testsuite/runtest.all/options.exp,: Remove unnecessary braces
1306 around variable expansions.
1308 2018-12-09 Ben Elliston <bje@gnu.org>
1310 * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1311 lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1312 lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1313 unnecessary quotes and braces around variable expansions.
1315 2018-12-09 Ben Elliston <bje@gnu.org>
1317 * config/gdb-comm.exp: Remove unnecessary quotes.
1318 * config/gdb_stub.exp: Likewise.
1319 * config/vxworks.exp: Likewise.
1320 * config/unix.exp: Likewise.
1321 * config/sim.exp: Likewise.
1323 2018-12-09 Ben Elliston <bje@gnu.org>
1325 * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1326 variable expansions.
1327 * testsuite/lib/util-defs.exp: Likewise.
1329 2018-12-09 Ben Elliston <bje@gnu.org>
1331 * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1332 around variable expansions.
1333 * baseboards/basic-sid.exp: Likewise.
1334 * baseboards/cris-sim.exp: Likewise.
1335 * baseboards/generic-sim.exp: Likewise.
1336 * baseboards/mcore-moto-sim.exp: Likewise.
1337 * baseboards/multi-sim.exp: Likewise.
1339 2018-12-08 Ben Elliston <bje@gnu.org>
1343 2018-12-08 Ben Elliston <bje@gnu.org>
1345 * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1346 variable expansions.
1347 * testsuite/runtest.all/clone_output.test: Likewise.
1348 * testsuite/runtest.all/target.test: Likewise.
1349 * testsuite/runtest.all/stats.exp: Likewise.
1350 * testsuite/runtest.all/remote.test: Likewise.
1351 * testsuite/runtest.all/config.test: Likewise.
1352 * testsuite/runtest.all/default_procs.tcl: Likewise.
1353 * testsuite/runtest.all/libs.exp: Likewise.
1354 * testsuite/runtest.all/options.exp: Likewise.
1356 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1358 * NEWS: Document 'testsuite' command.
1359 * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1360 point and "testsuite file" command.
1361 * lib/framework.exp (testsuite): New proc for multiplex commands.
1362 (testsuite_file): New proc implementing "testsuite file".
1363 * testsuite/runtest.all/testsuite_file.test: New file.
1364 * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1365 but also search $srcdir itself.
1366 (load_lib): Add explicit search for testsuite-local libraries.
1367 (load_tool_init): Use $testsuitedir in search.
1368 (load_config): Use $testsuitedir instead of $srcdir.
1369 (load_tool_target_config): Likewise.
1371 Add variable "testsuitedir" for testsuite root directory.
1373 Add internal global variables "testbuilddir" and "testdir" for use
1374 by "testsuite file".
1376 Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1377 duplicated path delimiters.
1379 Add warning if no tests are found and fallback method of searching
1382 2018-12-08 Ben Elliston <bje@gnu.org>
1384 * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1386 * testsuite/lib/util-defs.exp (util_test): Likewise.
1387 * testsuite/runtest.all/stats.exp: Likewise.
1388 * testsuite/runtest.all/libs.exp: Likewise.
1390 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1392 * testsuite/runtest.all/default_procs.tcl:
1393 (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1394 (lib_regexp_test): Fix copy-paste-edit error.
1395 (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1396 Fix handling of errors raised by tested procedure. Also ensure
1397 proper quoting of argument lists passed to eval and simplify
1398 the logic for producing return values.
1400 2018-12-08 Ben Elliston <bje@gnu.org>
1402 * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1404 2018-12-08 Ben Elliston <bje@gnu.org>
1406 * lib/tip.exp (tip_open): Put braces around if expression.
1408 2018-12-08 Ben Elliston <bje@gnu.org>
1410 * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1411 lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1412 config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1413 baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1414 baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1415 baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1416 baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1417 baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1418 baseboards/arm-ice.exp, baseboards/androideabi.exp,
1419 testsuite/runtest.all/utils.test,
1420 testsuite/runtest.all/target.test: Replace string literal
1421 comparisons using == and != with 'eq' and 'ne'.
1423 2018-12-08 Ben Elliston <bje@gnu.org>
1425 * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1426 lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1427 lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1428 config/vxworks.exp, config/unix.exp, config/sim.exp,
1429 config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1430 baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1431 baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1432 baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1433 testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1434 using == and != with 'eq' and 'ne'.
1436 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1438 * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1439 (lib_regexp_test): New.
1440 (lib_pat_test): Brace "if" conditions.
1441 (lib_pat_test): Remove spurious quotes in debugging output.
1442 (run_tests): Add support for comments in lists of procedure tests.
1444 * testsuite/runtest.all/config.test: Adjust to use run_tests
1445 procedure. Fixes issue cited in FIXME comment.
1447 * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1448 The old tests had the sense of the return value from lib_pat_test
1449 inverted and were failing but reported PASS.
1450 (find tests, relative_filename tests, runtest_file_p tests):
1451 Adjust to use run_tests procedure.
1453 2018-12-07 Ben Elliston <bje@gnu.org>
1455 * doc/dejagnu.texi: Add more missing material.
1457 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1459 * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1460 (run_tests): Replace implicit "eval" with explicit "eval". Tidy.
1461 (verbose): Remove unnecessary quotes.
1463 2018-12-06 Ben Elliston <bje@gnu.org>
1465 * doc/dejagnu.texi: Add more missing material.
1467 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1469 * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1470 (lib_pat_test): Handle an argument list instead of only a single
1471 argument for the procedure under test.
1472 (lib_ret_test): Likewise.
1473 * testsuite/runtest.all/utils.test: Whitespace clean up.
1474 Adjust to pass argument lists for improved lib_pat_test.
1475 * testsuite/runtest.all/clone_output.test: Likewise.
1477 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1479 * lib/remote.exp (standard_load): Fix typo on empty string.
1480 * runtest.exp: Adjust expression to follow GNU conventions.
1481 * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1482 with "eq" instead of "ne".
1483 * testsuite/runtest.all/config.test: Likewise.
1485 2018-12-06 Ben Elliston <bje@gnu.org>
1487 * runtest.exp: Replace [string match] commands involving literal
1488 strings and variables known to not be Tcl glob patterns with eq
1490 * config/unix.exp: Likewise.
1491 * lib/debugger.exp: Likewise.
1492 * lib/dg.exp: Likewise.
1493 * lib/framework.exp: Likewise.
1494 * lib/remote.exp: Likewise.
1495 * lib/utils.exp: Likewise.
1496 * baseboards/androideabi.exp: Likewise.
1497 * baseboards/multi-sim.exp: Likewise.
1498 * testsuite/lib/util-defs.exp: Likewise.
1499 * testsuite/runtest.all/config.test: Likewise.
1501 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1503 * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1504 * testsuite/runtest.all/target.test: Likewise.
1505 * testsuite/runtest.all/remote.test: Likewise.
1506 * testsuite/runtest.all/config.test: Likewise.
1507 * testsuite/runtest.all/clone_output.test: Likewise.
1509 2018-12-06 Ben Elliston <bje@gnu.org>
1511 * runtest.exp: Replace '==' with 'eq' for string compares.
1512 Likewise, replace '!=' with 'ne'. Replace a few instances of
1513 [string length $str] == 0 with $str eq "".
1514 * config/gdb-comm.exp: Likewise.
1515 * lib/dg.exp: Likewise.
1516 * lib/framework.exp: Likewise.
1517 * lib/libgloss.exp: Likewise.
1518 * lib/remote.exp: Likewise.
1519 * lib/target.exp: Likewise.
1520 * lib/utils.exp: Likewise.
1522 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1524 * runtest.exp: Replace archaic use of [string match] with "eq".
1526 2018-12-06 Ben Elliston <bje@gnu.org>
1528 * doc/dejagnu.texi (compile Procedure): Remove old node.
1529 (archive Procedure): Likewise.
1530 (ranlib Procedure): Likewise.
1532 2018-12-06 Ben Elliston <bje@gnu.org>
1534 * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
1536 2018-12-06 Ben Elliston <bje@gnu.org>
1538 * lib/telnet.exp (telnet_open): Remove connectmode global.
1539 * doc/dejagnu.texi (Procedures For Remote Communication): Remove
1540 mention of connectmode.
1542 2018-12-05 Ben Elliston <bje@gnu.org>
1544 * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
1547 2018-12-05 Ben Elliston <bje@gnu.org>
1549 * doc/dejagnu.texi: Add more missing material.
1551 2018-12-05 Ben Elliston <bje@gnu.org>
1553 * testsuite/runtest.all/utils.test: Test runtest_file_p.
1555 2018-12-05 Jacob Bachmeyer <jcb62281@gmail.com>
1557 * runtest.exp (load_config): Remove unused globals.
1558 (load_generic_config): Likewise.
1559 (load_board_description): Likewise.
1560 (load_base_board_description): Likewise.
1562 2018-12-05 Ben Elliston <bje@gnu.org>
1564 * lib/utils.exp (grep): Handle -n.
1565 * doc/dejagnu.texi (grep procedure): Document it.
1566 * testsuite/runtest.all/utils.test: Add a test case.
1567 * NEWS: Add an item.
1569 2018-12-05 Ben Elliston <bje@gnu.org>
1571 * testsuite/runtest.all/utils.test: Test diff.
1573 2018-12-04 Ben Elliston <bje@gnu.org>
1575 * testsuite/runtest.all/utils.test: Test grep.
1577 2018-12-04 Ben Elliston <bje@gnu.org>
1579 * testsuite/runtest.all/utils.test (which): Fail on the else path,
1580 don't pass in either case.
1582 2018-12-04 Ben Elliston <bje@gnu.org>
1584 * doc/dejagnu.texi (Libgloss): Improve documentation.
1585 (Debugging Procedures): Likewise.
1587 2018-12-04 Ben Elliston <bje@gnu.org>
1589 * lib/debugger.exp (dumprocs): Fix proc comment.
1591 2018-12-04 Ben Elliston <bje@gnu.org>
1593 * doc/dejagnu.texi (Utility Procedures): Improve documentation for
1594 the procedures in this section.
1596 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
1598 * NEWS: Document new relative_filename procedure and --local_init/
1599 --global_init command line options.
1601 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
1603 * lib/utils.exp (relative_filename): New proc.
1604 * runtest.exp: Use it.
1605 * doc/dejagnu.texi (relative_filename procedure): Document it.
1606 * testsuite/runtest.all/utils.test: Add tests for relative_filename.
1608 2018-12-03 Ben Elliston <bje@gnu.org>
1610 * dejagnu.h (TestState): Remove const char * variants of pass(),
1611 xpass(), fail(), xfail(), untested(), unresolved() for C++. A
1612 const char * will be implicitly converted to std::string.
1614 2018-12-03 Ben Elliston <bje@gnu.org>
1616 * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
1617 removing the 'Reference' node and chapter. Make all subsubsections
1618 in this chapter unnumbered subheadings.
1620 2018-12-03 Jacob Bachmeyer <jcb62281@gmail.com>
1622 * doc/dejagnu.texi: Fix Info node links. The arguments to @node
1623 are: here, next, previous, up; not here, previous, next, up.
1625 2018-12-03 Ben Elliston <bje@gnu.org>
1627 * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
1628 doc/texinfo.tex. With thanks to Jacob Bachmeyer.
1629 * Makefile.in: Regenerate.
1631 2018-12-03 Ben Elliston <bje@gnu.org>
1633 * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
1634 (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
1635 prevents the distribution of the overridden texinfo.tex.
1636 * Makefile.in: Regenerate.
1637 * texinfo.tex: Move from here ..
1638 * doc/texinfo.tex: .. to here.
1640 2018-12-03 Ben Elliston <bje@gnu.org>
1642 * lib/framework.exp (isremote): Add verbose message.
1644 2018-12-02 Ben Elliston <bje@gnu.org>
1646 * lib/framework.exp (isremote): Pass $board to is_remote.
1648 2018-12-02 Ben Elliston <bje@gnu.org>
1650 * doc/fdl.texi: New.
1651 * doc/dejagnu.texi (Variable Index): New.
1652 Add more concept index entries.
1653 (GNU Free Documentation License): New appendix.
1655 2018-12-02 Ben Elliston <bje@gnu.org>
1657 * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
1658 index (@findex) entries for every built-in procedure.
1660 2018-12-02 Ben Elliston <bje@gnu.org>
1662 * doc/dejagnu.texi: Start an index.
1664 2018-12-02 Ben Elliston <bje@gnu.org>
1666 * doc/version.texi: New.
1668 2018-12-02 Ben Elliston <bje@gnu.org>
1670 * doc/dejagnu.texi: Add title page and frontmatter. Include
1672 * Makefile.in: Regenerate.
1673 * mdate-sh: Installed by automake --add-missing.
1675 2018-12-02 Ben Elliston <bje@gnu.org>
1677 * doc/dejagnu.texi (diff procedure): Tidy up this node.
1679 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
1681 * runtest.exp (hex): Remove useless test before setting.
1682 (decimal): Likewise.
1684 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
1686 * doc/dejagnu.texi (Invoking runtest): Document new --local_init
1687 and --global_init command line options.
1688 * doc/runtest.1: Likewise.
1690 * runtest.exp: Remove useless tests before setting default values
1691 for variables: all_flag, binpath, debug, options, outdir, reboot,
1692 tracelevel, verbose, log_dialog. They are set before loading any
1693 files or parsing the command line.
1695 * runtest.exp: Add options --local_init and --global_init for
1696 selecting alternate testsuite configuration files.
1698 * runtest.exp: Split variable "configfile" into "local_init_file"
1699 and "global_init_file" in preparation for adding command-line
1700 options to specify these independently.
1702 * runtest.exp (load_generic_config): Remove configfile global.
1703 (load_board_description): Likewise.
1704 (load_base_board_description): Likewise.
1706 2018-11-30 Ben Elliston <bje@gnu.org>
1708 * lib/utils.exp (grep): Remove reference to "NULL" in comment.
1709 * testsuite/lib/util-defs.exp (util_start): Likewise.
1711 2018-11-30 Ben Elliston <bje@gnu.org>
1713 * doc/dejagnu.texi: (verbose procedure): Improve documentation.
1714 (load_lib procedure): Likewise.
1716 2018-11-30 Ben Elliston <bje@gnu.org>
1718 * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
1720 2018-11-30 Ben Elliston <bje@gnu.org>
1722 * runtest.exp: Use isremote.
1723 * lib/target.exp: Likewise.
1724 * lib/remote.exp: Likewise.
1725 * lib/libgloss.exp: Likewise.
1726 * config/unix.exp: Likewise.
1727 * config/sim.exp: Likewise.
1728 * config/gdb_stub.exp: Likewise.
1729 * config/gdb-comm.exp: Likewise.
1730 * baseboards/basic-sim.exp: Likewise.
1731 * baseboards/androideabi.exp: Likewise.
1733 2018-11-30 Ben Elliston <bje@gnu.org>
1735 * lib/framework.exp (isremote): New.
1736 * doc/dejagnu.texi (isremote procedure): Document it.
1737 * NEWS: Mention isremote.
1739 2018-11-30 Ben Elliston <bje@gnu.org>
1741 * texinfo.tex: Update to latest upstream version.
1742 * INSTALL: Likewise.
1744 2018-11-29 Ben Elliston <bje@gnu.org>
1746 * lib/framework.exp (istarget, ishost, istarget): Set the argument
1747 default value to the empty string.
1748 * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
1749 (getenv procedure): Re-word this node.
1750 (isbuild procedure): Update.
1751 (ishost procedure): Likewise.
1752 (istarget procedure): Likewise.
1753 * testsuite/runtest.all/config.test: Add test cases.
1755 2018-11-28 Ben Elliston <bje@gnu.org>
1757 * config.guess: Update to latest version.
1758 * config.sub: Likewise.
1760 2018-11-28 Ben Elliston <bje@gnu.org>
1763 * configure.ac: Update version number.
1764 * configure: Regenerate.
1765 * doc/dejagnu.texi: Update version number.
1766 * runtest.exp: Update version number.
1768 2018-11-28 Ben Elliston <bje@gnu.org>
1770 * Makefile.am (TESTSUITE_FILES): Update filenames.
1771 * Makefile.in: Regenerate.
1773 2018-11-28 Ben Elliston <bje@gnu.org>
1777 * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
1779 2018-11-25 Jacob Bachmeyer <jcb62281@gmail.com>
1781 * lib/framework.exp: Clean up whitespace.
1783 2018-11-25 Ben Elliston <bje@gnu.org>
1785 * config/gdb-comm.exp: Clean up whitespace.
1786 * config/gdb_stub.exp: Likewise.
1787 * config/sid.exp: Likewise.
1788 * config/sim.exp: Likewise.
1789 * config/unix.exp: Likewise.
1791 2018-11-23 Ben Elliston <bje@gnu.org>
1793 * doc/dejagnu.texi (getdirs procedure): Improve documentation
1794 including documenting the -all option.
1795 (find procedure): Fix a typo.
1796 * lib/utils.exp (getdirs): Improve comments.
1798 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
1800 * runtest.exp: Ensure that multipass pass variables are always
1801 restored. Previously, they were only restored if the "Go digging
1802 for tests" branch was taken near the end of runtest.exp.
1804 2018-11-22 Ben Elliston <bje@gnu.org>
1806 * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
1807 of the $DEJAGNU environment variable (see change below).
1809 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
1811 * runtest.exp: Raise error if $DEJAGNU is defined but not found.
1813 2018-11-15 Jacob Bachmeyer <jcb62281@gmail.com>
1815 * runtest.exp (load_tool_init): Search for tool init file instead
1816 of assuming exactly one location.
1818 2018-11-15 Ben Elliston <bje@gnu.org>
1820 * runtest.exp (load_lib): Whitespace fix.
1822 2018-11-11 Jacob Bachmeyer <jcb62281@gmail.com>
1824 * lib/ssh.exp: Clean up whitespace.
1825 * lib/remote.exp: Clean up whitespace.
1826 (remote_expect): Change literal tab to "\t" in regexp.
1828 2018-11-05 Ben Elliston <bje@gnu.org>
1830 * config.guess: Update to latest version.
1831 * config.sub: Likewise.
1833 2018-11-02 Ben Elliston <bje@gnu.org>
1835 * Makefile.in: Regenerate.
1837 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1839 * Makefile.am (DEJATOOL): List tools in testsuite.
1840 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
1841 * testsuite/config/default.exp: Rename from this ...
1842 * testsuite/lib/runtest.exp: ... to this.
1843 (runtest_exit): Remove spurious "close". This was causing per-tool
1844 testing to fail, since the testsuite for "runtest" never actually
1845 uses "spawn", so "close" ends up closing exp0, which is the
1846 terminal. The ${tool}_exit proc is not called if the --tool
1847 option is not given, so this had no effect earlier.
1848 * testsuite/lib/libdejagnu.exp: New empty file.
1850 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1852 * runtest.exp (load_tool_init): Add message indicating the
1853 expected location of the tool init file.
1855 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1857 * contrib/sum2junit.sh (failures): Fix typo.
1859 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1861 * configure.ac (DEJAGNU): Add comments.
1863 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1865 * Makefile.am (DEJATOOL): List tools in testsuite.
1866 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
1867 * testsuite/config/default.exp: Rename from this ...
1868 * testsuite/lib/runtest.exp: ... to this.
1869 (runtest_exit): Remove spurious "close". This was causing
1870 per-tool testing to fail, since the testsuite for "runtest" never
1871 actually uses "spawn", so "close" ends up closing exp0, which is
1872 the terminal. The ${tool}_exit proc is not called if the --tool
1873 option is not given, so this had no effect earlier.
1874 * testsuite/lib/libdejagnu.exp: New empty file.
1876 2018-10-30 Ben Elliston <bje@gnu.org>
1878 * Makefile.am (DISTCLEANFILES): Add testrun.xml.
1879 * Makefile.in: Regenerate with Automake 1.15.1.
1880 * aclocal.m4: Likewise.
1882 2018-10-30 Ben Elliston <bje@gnu.org>
1884 * configure.ac (AC_CONFIG_SUBDIRS): Remove.
1885 * configure: Regenerate.
1887 2018-10-29 Ben Elliston <bje@gnu.org>
1889 * README (Documentation): Update.
1891 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
1893 * lib/framework.exp (record_test): Really fix message formatting.
1895 2018-10-29 Ben Elliston <bje@gnu.org>
1897 Reported by Jacob Bachmeyer.
1898 * testsuite/runtest.all/utils.test: Fix missing end quote.
1900 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
1902 * lib/framework.exp (record_test): Fix message formatting.
1904 2018-07-20 Ben Elliston <bje@gnu.org>
1906 * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
1907 * contrib/mysql/sum2xml.sh: Likewise.
1909 2018-07-20 Ben Elliston <bje@gnu.org>
1911 * contrib/compare_tests: Eliminate Shellcheck warnings.
1912 * contrib/mysql/sum2xml.sh: Likewise.
1914 2018-07-20 Ben Elliston <bje@gnu.org>
1916 * compile, depcomp, install-sh: Latest upstream versions.
1918 2018-07-20 Ben Elliston <bje@gnu.org>
1920 * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
1922 2018-07-19 Ben Elliston <bje@gnu.org>
1924 * runtest: Use POSIX 'command', not 'type', to look for the Expect
1925 binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
1928 2018-07-19 Ben Elliston <bje@gnu.org>
1930 * config.guess: Update to latest version.
1931 * config.sub: Likewise.
1933 2018-07-06 Richard Biener <rguenther@suse.de>
1935 * lib/remote.exp (close_wait_program): Use separate kill command
1938 2017-10-16 Ben Elliston <bje@gnu.org>
1940 * NEWS: Start a new section for the next release.
1941 * configure.ac (AC_INIT): Update version number.
1942 * configure: Regenerate.
1943 * runtest.exp (frame_version): Update version number.
1944 * doc/dejagnu.texi: Likewise.
1945 * doc/runtest.1: Update datestamp.
1947 2017-10-16 Ben Elliston <bje@gnu.org>
1949 * config.guess: Update to version 2017-09-26.
1950 * config.sub: Likewise.
1952 2017-09-13 Ben Elliston <bje@gnu.org>
1954 * lib/framework.exp (open_logs): Set XML version to 1.1.
1955 (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
1956 missing 'x' in escape sequence.
1958 2017-08-29 Ben Elliston <bje@gnu.org>
1960 Revert these changes:
1962 2016-04-25 Ben Elliston <bje@gnu.org>
1964 * testsuite/runtest.all/utils.test: Remove unsetenv test.
1966 2016-04-24 Ben Elliston <bje@gnu.org>
1968 * lib/utils.exp (unsetenv): Remove proc.
1969 * doc/dejagnu.texi: Update documentation.
1972 2017-08-19 Ben Elliston <bje@gnu.org>
1974 * lib/framework.exp (xml_tag): Escape all of the non-printable
1975 control characters (ASCII codes 1 to 31 inclusive).
1977 2017-08-18 Tom Tromey <tom@tromey.com>
1979 * runtest.exp: Fix --directory matching.
1981 2017-08-15 Ben Elliston <bje@gnu.org>
1983 * lib/framework.exp (xml_tag): New proc.
1984 (log_summary): Use it.
1985 (record_test): Likewise.
1987 2017-08-15 Ben Elliston <bje@gnu.org>
1989 * lib/framework.exp (open_logs): Set .xml filename correctly.
1990 * runtest.exp: Remove xml_file_name var.
1991 (usage): Update --xml option to not take an argument.
1992 (load_tool_init): Likewise.
1993 * doc/dejagnu.texi (Invoking runtest): Update documentation.
1994 * doc/runtest.1: Likewise.
1996 2017-08-01 Ben Elliston <bje@gnu.org>
1998 * runtest.exp (usage): Improve --strace message.
2000 2017-08-01 Ben Elliston <bje@gnu.org>
2002 * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
2004 2017-06-04 Ben Elliston <bje@gnu.org>
2006 * lib/target.exp (push_target): Remove unnecessary global command.
2007 * testsuite/runtest.all/target.test: Overhaul tests.
2009 2017-06-04 Ben Elliston <bje@gnu.org>
2011 * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
2013 2017-06-04 Tom de Vries <tom@codesourcery.com>
2015 * testsuite/runtest.all/target.test: Remove list_targets test.
2017 2017-06-04 Tom de Vries <tom@codesourcery.com>
2019 * testsuite/runtest.all/libs.exp (process_test): Dump entire
2020 output when there's no reportable output.
2021 * testsuite/runtest.all/remote.test (load_lib): New proc.
2022 * testsuite/runtest.all/target.test (load_lib): Same.
2024 2017-03-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
2026 * lib/remote.exp (remote_download): Add logging message when
2027 source and destination file differ in name.
2029 2016-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2031 * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2033 2016-06-28 Ben Elliston <bje@gnu.org>
2035 * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
2036 * configure: Regenerate.
2038 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2040 * configure.ac, dejagnu.h, runtest, runtest.exp,
2041 baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
2042 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2043 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2044 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2045 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2046 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2047 baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
2048 baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
2049 baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
2050 baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
2051 baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
2052 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
2053 baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
2054 baseboards/mips-sim-mti64_64.exp,
2055 baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
2056 baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
2057 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2058 baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
2059 baseboards/mt-sid.exp, baseboards/multi-sim.exp,
2060 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2061 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2062 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2063 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2064 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2065 baseboards/unix.exp, baseboards/v850-sim.exp,
2066 baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
2067 baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
2068 baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
2069 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
2070 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2071 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2072 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2073 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2074 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2075 testsuite/runtest.all/stats-sub.exp,
2076 testsuite/runtest.all/stats.exp, config/adb.exp,
2077 config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2078 config/sid.exp, config/sim.exp, config/unix.exp,
2079 config/vxworks.exp: Update copyright date for 2016.
2081 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2083 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2084 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2085 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2086 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2087 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2088 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2089 baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2090 baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2091 baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2092 baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2093 baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2094 baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2095 baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2096 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2097 baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2098 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2099 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2100 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2101 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2102 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2103 baseboards/unix.exp, baseboards/v850-sim.exp,
2104 baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2105 baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2106 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2107 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2108 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2109 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2110 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2111 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2112 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2113 testsuite/runtest.all/options.exp,
2114 testsuite/runtest.all/stats-sub.exp,
2115 testsuite/runtest.all/stats.exp, config/default.exp,
2116 config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2117 config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2118 dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2121 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2123 * doc/runtest.1: Use condensed years in copyright statement.
2125 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2127 * runtest: Quote paths. Use test -z, -n for clarity.
2129 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2131 * config/adb.exp (adb_exec) Improve verbose message.
2133 2016-06-03 Jim Wilson <jim.wilson@linaro.org>
2135 * baseboards/aarch64-sim.exp: New file.
2136 * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2137 * Makefile.in: Regenerate.
2138 * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2140 2016-04-26 Ben Elliston <bje@gnu.org>
2142 * doc/dejagnu.texi: Fill more paragraphs.
2144 2016-04-25 Ben Elliston <bje@gnu.org>
2146 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2148 2016-04-24 Ben Elliston <bje@gnu.org>
2150 * lib/utils.exp (unsetenv): Remove proc.
2151 * doc/dejagnu.texi: Update documentation.
2154 2016-04-19 Nick Clifton <nickc@redhat.com>
2156 * baseboards/msp430-sim.exp: New file.
2157 * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2158 * Makefile.in: Regenerate.
2160 2016-04-18 Ben Elliston <bje@gnu.org>
2162 * runtest: Remove quoting in final exec command.
2164 2016-04-17 Ben Elliston <bje@gnu.org>
2166 * lib/remote.exp: Load ssh.exp lib.
2168 2016-04-17 Ben Elliston <bje@gnu.org>
2170 * lib/rsh.exp (rsh_open): Fix description comment.
2172 2016-04-17 Ben Elliston <bje@gnu.org>
2174 Reported by shellcheck.
2175 * runtest: Use $((..)) not `expr ..` and defensively double quote
2178 2016-04-17 Ben Elliston <bje@gnu.org>
2180 * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2181 * Makefile.in: Regenerate.
2183 2016-04-17 Ben Elliston <bje@gnu.org>
2185 Reported by shellcheck.
2186 * runtest: Use $((..)) not `expr ..`.
2188 2016-04-17 Ben Elliston <bje@gnu.org>
2190 * configure.ac (AC_INIT): Update version number.
2191 * configure: Regenerate.
2192 * runtest.exp (frame_version): Update version number.
2193 * doc/dejagnu.texi: Likewise.
2195 2016-04-17 Ben Elliston <bje@gnu.org>
2197 * NEWS: Start a new section for the next release.
2199 2016-04-15 Ben Elliston <bje@gnu.org>
2201 * Makefile.am (CONTRIB): Add new contrib scripts.
2202 * Makefile.in: Regenrate.
2204 2016-04-15 Ben Elliston <bje@gnu.org>
2206 * lib/ssh.exp (ssh_exec): Handle regexp return status.
2208 2016-04-13 Ben Elliston <bje@gnu.org>
2210 * lib/rsh.exp (rsh_exec): Improve verbose message.
2211 * lib/ssh.exp (ssh_exec): Likewise.
2212 * config/adb.exp: Likewise.
2214 2016-04-13 Ben Elliston <bje@gnu.org>
2216 * runtest.exp: Improve --version (-v) output.
2217 * testsuite/runtest.all/options.exp: Update test case.
2219 2016-04-13 Christophe Lyon <christophe.lyon@linaro.org>
2221 * lib/rsh.exp (rsh_exec): Handle regexp return status.
2223 2016-04-08 Ben Elliston <bje@gnu.org>
2225 Reported by Faraz Shahbazker.
2226 * doc/dejagnu.texi (Global config file): Fix broken @node.
2227 (Local config file): Likewise.
2229 2016-04-07 Ben Elliston <bje@gnu.org>
2231 * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2232 the command line with ';' and not &&.
2234 2016-04-07 Ben Elliston <bje@gnu.org>
2236 Reported by Faraz Shahbazker.
2237 * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2239 2016-04-06 Yvan Roux <yvan.roux@linaro.org>
2241 * lib/remote.exp (remnote_download): Create a remote directory if
2243 (remote_exec): Execute program inside remotedir when it exists.
2244 (standard_load): Set remotedir board field if not present.
2245 * config/unix.exp (unix_load): Handle remotedir in board field.
2246 (remotedir): Set board info field.
2247 * doc/dejagnu.texi (Board File Values): Document remotedir.
2249 2016-04-06 Ben Elliston <bje@gnu.org>
2251 * doc/dejagnu.texi (Global config file): Put before node 'Local
2254 2016-04-05 Ben Elliston <bje@gnu.org>
2256 * runtest.exp: Remove defunct and undocumented --tool_root option.
2258 2016-04-04 Ben Elliston <bje@gnu.org>
2260 * doc/dejagnu.texi: More overhauling.
2262 2016-04-04 Ben Elliston <bje@gnu.org>
2264 * lib/targetdb.exp (set_board_info): Improve comment.
2265 (add_board_info): Likewise.
2267 2016-04-04 Ben Elliston <bje@gnu.org>
2269 * NEWS: Add some more detail.
2271 2016-04-04 Ben Elliston <bje@gnu.org>
2273 * site.tmpl: Delete.
2274 * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2275 * Makefile.in: Regenerate.
2277 2016-04-03 Ben Elliston <bje@gnu.org>
2279 * doc/dejagnu.texi: More overhauling.
2281 2016-04-03 Ben Elliston <bje@gnu.org>
2283 * runtest.exp: Document the magical handling of -D[01].
2285 2016-04-03 Ben Elliston <bje@gnu.org>
2287 * doc/runtest.1: Do not document obsolete --status option. It is
2288 still accepted for compatibility, but does nothing.
2290 2016-04-03 Ben Elliston <bje@gnu.org>
2292 * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2294 2016-04-03 Ben Elliston <bje@gnu.org>
2296 * doc/runtest.1 (OPTIONS): Sort options.
2298 2016-04-03 Ben Elliston <bje@gnu.org>
2300 * doc/dejagnu.texi: More overhauling.
2302 2016-04-02 Ben Elliston <bje@gnu.org>
2304 * doc/dejagnu.texi: Fill paragraphs.
2306 2016-04-02 Ben Elliston <bje@gnu.org>
2308 * doc/dejagnu.texi: Fix capitalisation of procedure names
2309 throughout. Use Tcl syntax in procedure prototypes, not C syntax.
2311 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2313 * contrib/mysql/create-db.sql: New file.
2314 * contrib/mysql/importxml.sh: Likewise.
2315 * contrib/mysql/make-datafile.sh: Likewise.
2316 * contrib/mysql/plot.sh: Likewise.
2317 * contrib/mysql/README: Likewise.
2318 * contrib/mysql/sum2xml.sh: Likewise.
2320 2016-04-02 Ben Elliston <bje@gnu.org>
2322 * config.guess: Update to version 2016-04-02.
2323 * config.sub: Update to version 2016-03-30.
2325 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2327 * contrib/sum2junit.sh: New.
2329 2016-04-01 Ben Elliston <bje@gnu.org>
2331 * doc/dejagnu.texi (connprocs): Document new SSH procs.
2333 2016-03-31 Rob Savoye <rob.savoye@linaro.org>
2338 2016-03-30 Ben Elliston <bje@gnu.org>
2340 * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2341 lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2342 runtest.exp: Fix spelling errors in comments.
2344 2016-03-30 Ben Elliston <bje@gnu.org>
2346 * lib/remote.exp (remote_expect): Use perror not send_user.
2348 2016-03-29 Ben Elliston <bje@gnu.org>
2350 * lib/remote.exp (remote_expect): Fix spelling error.
2352 2016-03-29 Rob Savoye <rob.savoye@linaro.org>
2354 * runtest.exp: Only print "searching for <test name>" message at
2355 verbose level >= 2 -- too much noise.
2357 2016-03-29 Ben Elliston <bje@gnu.org>
2359 * texinfo.tex: Update to latest master version.
2360 * INSTALL: Likewise.
2362 2016-03-29 Ben Elliston <bje@gnu.org>
2364 * runtest.exp: More fixes identified by the Frink static analyser.
2365 * lib/dg.exp: Likewise.
2366 * config/adb.exp: Likewise.
2367 * config/vxworks.exp: Likewise.
2368 * baseboards/androideabi.exp: Likewise.
2369 * baseboards/basic-sid.exp: Likewise.
2370 * baseboards/multi-sim.exp: Likewise.
2372 2016-03-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
2374 * dg.exp (dg-do): Do not change the previously selected action if
2375 a de-selected dg-do is encountered.
2377 2016-03-28 Ben Elliston <bje@gnu.org>
2379 * lib/framework.exp (check_xml): Remove unused proc.
2381 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2383 * lib/dmucs.exp: New.
2385 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2387 * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2388 built compiler, then look in the path.
2390 2016-03-28 Ben Elliston <bje@gnu.org>
2392 * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2393 /bin/which doesn't. Modern systems rely too heavily on symbolic
2394 links (eg. alternatives).
2396 2016-03-28 Ben Elliston <bje@gnu.org>
2398 * baseboards/multi-sim.exp: Indent properly.
2400 2016-03-28 Ben Elliston <bje@gnu.org>
2402 * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2403 rlogin. Identified by Frink.
2405 2016-03-28 Ben Elliston <bje@gnu.org>
2407 * runtest.exp: Use 'array exists' for testing array existence
2408 rather than 'info exists'.
2410 2016-03-28 Ben Elliston <bje@gnu.org>
2412 * runtest.exp: Fixes identified by the Frink static analyser:
2413 (1) use -- in switch commands for safety,
2414 (2) remove unreachable return commands after error commands,
2415 (3) replace abbreviated "info proc" with "info procs",
2416 (4) use -- in unset commands for safety where the variable name
2417 is itself a variable.
2418 * lib/dg.exp: Likewise.
2419 * lib/debugger.exp: Likewise.
2420 * lib/framework.exp: Likewise.
2421 * lib/remote.exp: Likewise.
2422 * lib/target.exp: Likewise.
2423 * lib/targetdb.exp: Likewise.
2424 * lib/telnet.exp: Likewise.
2425 * lib/utils.exp: Likewise.
2427 2016-03-28 Ben Elliston <bje@gnu.org>
2429 * Makefile.am: Remove references to Docbook and friends.
2430 * configure.ac: Likewise.
2431 * Makefile.in: Regenerate.
2432 * configure: Regenerate.
2433 * doc/dejagnu.xml: Remove.
2434 * doc/legal.xml: Likewise.
2435 * doc/ref.xml: Likewise.
2436 * doc/user.xml: Likewise.
2438 2016-03-28 Ben Elliston <bje@gnu.org>
2440 * lib/framework.exp (exp_continue): Remove old compatibility
2441 wrapper. Expect deprecated 'continue -expect' in August 1997.
2443 2016-03-28 Ben Elliston <bje@gnu.org>
2447 2016-03-28 Ben Elliston <bje@gnu.org>
2449 * lib/utils.exp (which): Reimplement to more closely mimic the
2450 behaviour of the UNIX which utility.
2451 * testsuite/runtest.all/utils.test: Test proc which.
2453 2016-03-27 Ben Elliston <bje@gnu.org>
2455 * lib/remote.exp (standard_wait): Append any trailing characters
2456 to $output that may be still in $expect_out(buffer) when eof is
2457 matched. Remove arbitrary limitation in the ".+" matching case,
2458 similar to the change to local_exec on 2016-02-17.
2460 2016-03-23 Ben Elliston <bje@gnu.org>
2462 * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2463 mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2464 * Makefile.in: Regenerate.
2465 * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2466 baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2467 baseboards/vx68k.exp, baseboards/vx960.exp,
2468 baseboards/vxsparc.exp: Remove.
2470 2016-03-23 Ben Elliston <bje@gnu.org>
2472 * baseboards/README: Remove mention of devo.
2473 * baseboards/iq2000-sim.exp: Likewise.
2474 * baseboards/moxie-sim.exp: Likewise.
2476 2016-03-23 Ben Elliston <bje@gnu.org>
2478 * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2479 * Makefile.in: Regenerate.
2480 * baseboards/arm-ice.exp: Reinstate.
2481 * baseboards/arm-sim.exp: Likewise.
2483 2016-03-23 Ben Elliston <bje@gnu.org>
2485 * Makefile.am (config_DATA): Update.
2486 (baseboard_DATA): Likewise.
2487 * Makefile.in: Regenerate.
2490 Remove the following old config files:
2492 * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2493 cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2494 dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2495 m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2496 mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2497 proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2498 tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2500 Remove the following old baseboard files:
2502 * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2503 d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2504 fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2505 h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2506 i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2507 m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2508 mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2509 mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2510 powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2511 sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2512 tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2513 vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2514 xscale-cygmon.exp: Remove.
2516 2016-03-22 Ben Elliston <bje@gnu.org>
2518 * lib/target.exp (only--Ls): Change '???' comment to a note. This
2519 isn't a serious shortcoming, but the comment should be retained.
2521 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2523 * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
2524 the environment, use that as the spec file for bare metal testing.
2526 2016-03-22 Ben Elliston <bje@gnu.org>
2528 * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
2529 * Makefile.in: Regenerate.
2531 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2533 * config/aarch64-fv8.exp: Add support for testing armv8 using the
2534 ARM Foundation Model.
2536 2016-03-21 Ben Elliston <bje@gnu.org>
2538 * runtest.exp: Whitespace, comment and typo fixes.
2539 * lib/dejagnu.exp: Likewise.
2540 * lib/remote.exp: Likewise.
2541 * lib/utils.exp: Likewise.
2543 2016-03-21 Ben Elliston <bje@gnu.org>
2545 * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
2546 * baseboards/mmixware-sim.exp: Likewise.
2547 * config/sim.exp: Likewise.
2548 * runtest.exp: Likewise.
2550 2016-03-21 Ben Elliston <bje@gnu.org>
2552 * lib/dg.exp (dg-get-options): Clean up regular expression and
2553 remove FIXME comment about it.
2555 2016-03-20 Ben Elliston <bje@gnu.org>
2557 * baseboards/i960-sim.exp: Remove stale ??? comment.
2558 * config/vxworks.exp: Likewise.
2560 2016-03-20 Ben Elliston <bje@gnu.org>
2562 * runtest.exp: Load .dejagnurc last not first.
2563 (load_file): Update comment about Tcl 7.5a2.
2564 * doc/user.xml (Customizing DejaGnu): Document new search order
2566 * doc/dejagnu.texi: Regenerate.
2569 2016-03-20 Ben Elliston <bje@gnu.org>
2571 * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
2573 2016-03-20 Ben Elliston <bje@gnu.org>
2575 * lib/dg.exp: Remove commented-out calls to send_user.
2577 2016-03-20 Ben Elliston <bje@gnu.org>
2579 * runtest.exp (load_file): Remove old comment.
2581 2016-03-20 Ben Elliston <bje@gnu.org>
2583 * lib/dg.exp (dg-test): There is no need to call unresolved to
2584 clear errcnt. Instead, pass 0 as argument 2 to perror.
2585 * runtest.exp (runtest): Likewise.
2587 2016-03-16 Ben Elliston <bje@gnu.org>
2589 Revert this change (the GCC testsuite uses diff):
2591 2016-03-15 Ben Elliston <bje@gnu.org>
2593 * lib/utils.exp (diff): Remove proc.
2594 * doc/ref.xml: Update documentation.
2595 * doc/dejagnu.texi: Regenerate.
2598 2016-03-15 Ben Elliston <bje@gnu.org>
2600 * testsuite/runtest.all/options.exp: Properly clean up log files
2601 left by the runtest under test.
2603 2016-03-15 Ben Elliston <bje@gnu.org>
2605 * testsuite/runtest.all/load_lib.exp: Typo fixes.
2607 2016-03-15 Ben Elliston <bje@gnu.org>
2609 * testsuite/runtest.all/options.exp: Add more tests.
2611 2016-03-15 Ben Elliston <bje@gnu.org>
2613 * testsuite/libdejagnu/tunit.exp: Clean up.
2615 2016-03-15 Ben Elliston <bje@gnu.org>
2617 * lib/utils.exp (diff): Remove proc.
2618 * doc/ref.xml: Update documentation.
2619 * doc/dejagnu.texi: Regenerate.
2622 2016-03-15 Ben Elliston <bje@gnu.org>
2625 2016-02-14 Steve Ellcey <sellcey@mips.com>
2627 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2629 * baseboards/multi-sim.exp (rpath_flags): Ditto.
2631 2016-03-13 Ben Elliston <bje@gnu.org>
2633 * lib/utils.exp: Whitespace fixes.
2635 2016-03-13 Ben Elliston <bje@gnu.org>
2637 * lib/dg.exp (dg-process-target): Remove old commented code.
2638 * lib/dg.exp (dg-test): Likewise.
2640 2016-03-13 Ben Elliston <bje@gnu.org>
2642 * lib/dg.exp: Improve top-of-file documentation.
2644 2016-03-05 Yvan Roux <yvan.roux@linaro.org>
2646 * lib/remote.exp (remote_exec): Restore original timeout value.
2648 2016-03-04 Yvan Roux <yvan.roux@linaro.org>
2650 * lib/remote.exp (standard_upload): Remove dead code.
2652 2016-02-24 Ben Elliston <bje@gnu.org>
2654 * lib/utils.exp (prune): Restore this proc.
2655 * doc/ref.xml: Update documentation.
2656 * doc/dejagnu.texi: Regenerate.
2659 2016-02-23 Iain Buclaw <ibuclaw@gdcproject.org>
2661 * lib/libgloss.exp (find_gdc): New proc.
2662 * lib/target.exp (default_target_compile): Add D support.
2665 2016-02-20 Ben Elliston <bje@gnu.org>
2667 * lib/utils.exp (diff): Replace calls to verbose followed by
2668 send_log with a single call to verbose -log. Remove additional
2669 newlines from the log messages.
2671 2016-02-20 Ben Elliston <bje@gnu.org>
2673 * lib/utils.exp (getdirs): Ignore .git and .svn directories.
2675 2016-02-20 Ben Elliston <bje@gnu.org>
2677 * lib/utils.exp: Improve comments.
2680 2016-02-20 Ben Elliston <bje@gnu.org>
2682 * lib/utils.exp (prune): Remove proc.
2683 * doc/ref.xml: Update documentation.
2684 * doc/dejagnu.texi: Regenerate.
2686 2016-02-20 Ben Elliston <bje@gnu.org>
2688 * lib/utils.exp (slay): Remove proc.
2689 * doc/ref.xml: Update documentation.
2690 * doc/dejagnu.texi: Regenerate.
2692 2016-02-20 Ben Elliston <bje@gnu.org>
2694 * lib/utils.exp (absolute): Remove proc.
2695 * doc/ref.xml: Update documentation.
2696 * doc/dejagnu.texi: Regenerate.
2698 2016-02-20 Ben Elliston <bje@gnu.org>
2700 * lib/utils.exp (psource): Remove proc.
2701 * doc/ref.xml: Update documentation.
2702 * doc/dejagnu.texi: Regenerate.
2704 2016-02-20 Ben Elliston <bje@gnu.org>
2706 * lib/targetdb.exp (board_info): Simplify return logic.
2708 2016-02-19 Ben Elliston <bje@gnu.org>
2710 * configure.ac: Require Tcl version 8.5 at a minimum.
2711 * configure: Regenerate.
2713 2016-02-18 Ben Elliston <bje@gnu.org>
2715 * configure.ac: Require Tcl version 8.6 at a minimum.
2716 * configure: Regenerate.
2718 2016-02-17 Ben Elliston <bje@gnu.org>
2720 * runtest.exp: Tweak "Test run by .." output.
2722 2016-02-17 Ben Elliston <bje@gnu.org>
2724 * lib/target.exp (default_target_compile): Do not pass -log to
2725 verbose when outputting the captured compiler/assembler/linker
2726 diagnostic output as it will already be in the .log file courtesy
2729 2016-02-17 Ben Elliston <bje@gnu.org>
2731 * runtest.exp: Enable --status by default.
2732 (runtest): Set exit status to 2 if there is any error sourcing
2734 * lib/framework.exp (unknown): Likewise, set exit status to 2.
2735 * doc/runtest.1: Clarify exit status codes.
2738 2016-02-17 Ben Elliston <bje@gnu.org>
2740 * lib/remote.exp (local_exec): Call exp_continue until eof is
2743 2016-02-16 Ben Elliston <bje@gnu.org>
2745 * runtest.exp: Use the traditional exit codes when runtest is
2746 interrupted. This makes it possible to tell if runtest ran to
2747 completion or not. Suggested by Michael Chastain.
2749 2016-02-15 Ben Elliston <bje@gnu.org>
2751 * TODO: Add ideas produced from Cauldron 2013.
2753 2016-02-15 Ben Elliston <bje@gnu.org>
2757 2016-02-15 Ben Elliston <bje@gnu.org>
2759 * lib/dg.exp (dg-test): Remove comment about proc unresolved not
2760 setting exit_status to 1 -- it does.
2762 2016-02-15 Ben Elliston <bje@gnu.org>
2764 * lib/framework.exp (cleanup): Remove do-nothing proc.
2765 (log_and_exit): Remove call to cleanup.
2766 * doc/ref.xml: Remove documentation for cleanup.
2767 * doc/dejagnu.texi: Regenerate.
2769 2016-02-15 Ben Elliston <bje@gnu.org>
2771 Reported by David Malcolm.
2772 * lib/dejagnu.exp (text): Allow angle brackets in test messages.
2774 2016-02-15 Ben Elliston <bje@gnu.org>
2776 * config.guess: Update to version 2016-02-11.
2777 * config.sub: Update to version 2016-01-01.
2779 2016-02-14 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
2781 * lib/remote.exp (remote_exec): Set global timeout for benefit of
2784 2016-02-14 Ben Elliston <bje@gnu.org>
2786 * lib/remote.exp (local_exec): Improve comments.
2788 2016-02-14 Ben Elliston <bje@gnu.org>
2790 * doc/runtest.1: Tweak.
2792 2016-02-14 Steve Ellcey <sellcey@mips.com>
2794 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2796 * baseboards/multi-sim.exp (rpath_flags): Ditto.
2798 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
2800 * lib/remote.exp (standard_file): Reverse return logic for remote
2803 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
2805 * lib/remote.exp (standard_file); Add else clause.
2807 2016-01-16 Ben Elliston <bje@gnu.org>
2809 * runtest.exp (runtest): Improve comment about --status.
2811 2016-01-12 Simon Marchi <simon.marchi@ericsson.com>
2813 * lib/remote.exp (standard_file): The [ operator does not actually
2814 output anything. It returns 0 or 1 as its exit code, so "exit `[
2815 -f $file ]`" always expands to "exit " (equivalent to exit 0).
2816 Instead, use test(1) to check for file existence.
2818 2015-12-20 Ben Elliston <bje@gnu.org>
2820 * doc/dejagnu.xml: Begin overhauling.
2821 * doc/ref.xml: Likewise.
2822 * doc/user.xml: Likewise.
2823 * doc/dejagnu.texi: Regenerate.
2825 2015-12-20 Ben Elliston <bje@gnu.org>
2827 * doc/runtest.1: Miscellaneous minor improvements.
2829 2015-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
2831 * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
2832 * Makefile.in: Regenerate.
2834 2015-11-16 Brooks Moses <bmoses@google.com>
2836 * config/unix.exp: Add ability to set test timeout from site.exp.
2837 * doc/user.xml: Document new test_timeout variable in site.exp.
2838 * doc/dejagnu.texi: Regenerate.
2840 2015-11-16 Ben Elliston <bje@gnu.org>
2842 * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
2844 2015-11-16 Ben Elliston <bje@gnu.org>
2846 * testsuite/runtest.all/options.exp: Remove some commented code.
2848 2015-11-16 Ben Elliston <bje@gnu.org>
2850 * runtest.exp: Refer to "DejaGnu version", not "Framework
2851 version" in --version output.
2852 * testsuite/runtest.all/options.exp: Update test case.
2854 2015-11-14 Ben Elliston <bje@gnu.org>
2856 * runtest.exp (usage): Improve help text.
2858 2015-11-12 Ben Elliston <bje@gnu.org>
2860 * runtest.exp (usage): Sort options in usage.
2862 2015-11-12 Ben Elliston <bje@gnu.org>
2864 * lib/framework.exp (note): Remove old commented-out code.
2866 2015-11-11 Ben Elliston <bje@gnu.org>
2868 * doc/user.xml (Summary File): 'untested', not 'runtested'.
2869 * doc/dejagnu.texi: Regenerate.
2871 2015-11-11 Michael Forney <forney@google.com>
2873 * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
2875 2015-11-11 Ben Elliston <bje@gnu.org>
2877 * doc/dejagnu.texi: Regenerate.
2879 2015-11-10 Ben Elliston <bje@gnu.org>
2881 * doc/user.xml: Fix runtest output formatting in <programlisting>.
2883 2015-11-10 Ben Elliston <bje@gnu.org>
2885 * doc/dejagnu.xml: Update month and year.
2886 * doc/user.xml: Lots of editorial fixes from Daniel Thibault
2887 <Daniel.Thibault@drdc-rddc.gc.ca>.
2889 2015-09-10 Robert Suchanek <Robert.Suchanek@imgtec.com>
2891 * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
2893 2015-07-30 Pedro Alves <palves@redhat.com>
2895 * lib/remote.exp (close_wait_program): New procedure.
2896 (local_exec, standard_close): Use it.
2898 2015-05-23 Ben Elliston <bje@gnu.org>
2900 * doc/dejagnu.xml: Fix broken URLs.
2901 * doc/dejagnu.texi: Regenerate.
2903 2015-05-23 Ben Elliston <bje@gnu.org>
2905 * doc/user.xml: Fix 'crosscompilation'.
2907 2015-05-23 Ben Elliston <bje@gnu.org>
2909 * doc/runtest.1 (log_dialog): Improve documentation.
2911 2015-05-16 Filipe Brandenburger <filbranden@google.com>
2913 * configure.ac: Enable subdir-objects, require automake 1.14.
2914 * Makefile.in: Regenerate.
2916 2015-05-15 Filipe Brandenburger <filbranden@google.com>
2918 * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
2919 possibly introduced in a conversion of .texi to SGML Docbook.
2920 * doc/user.xml: Likewise.
2921 * doc/ref.xml: Likewise.
2922 * doc/dejagnu.texi: Regenerate.
2924 2015-05-15 Filipe Brandenburger <filbranden@google.com>
2926 * runtest.exp (runtest): Introduce new --log_dialog option.
2927 * doc/runtest.1: Document it.
2928 * doc/user.xml: Likewise.
2929 * doc/dejagnu.texi: Regenerate.
2931 2015-05-14 Steve Ellcey <sellcey@imgtec.com>
2933 * baseboards/multi-sim.exp (get_library_dirlist): New.
2934 (dynamic_linker_flag): Use get_library_dirlist to find dynamic
2936 (rpath_flags): Use get_library_dirlist to set rpath.
2938 2015-05-12 Steve Ellcey <sellcey@imgtec.com>
2940 * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
2942 2015-03-30 Ben Elliston <bje@gnu.org>
2944 Revert the following change which causes breakage reported here:
2945 https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
2947 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2949 * runtest.exp (runtest): Call reset_vars at initialisation so that
2950 perror does not affect test results in other test scripts.
2952 2015-02-26 H.J. Lu <hjl.tools@gmail.com>
2954 * lib/target.exp (default_target_compile): Prepend multilib_flags,
2955 instead of appending it.
2957 2015-02-18 Ben Elliston <bje@gnu.org>
2959 * lib/framework.exp (log_and_exit): Set tool to "testrun" if
2962 2015-02-05 Ben Elliston <bje@gnu.org>
2964 * doc/runtest.1: Fix a spelling error.
2966 2015-02-04 Ben Elliston <bje@gnu.org>
2968 * config.guess: Update to version 2015-01-01.
2969 * config.sub: Likewise.
2971 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
2973 * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
2974 * Makefile.in: Regenerate.
2975 * baseboards/visium-sim.exp: New file.
2977 2014-11-25 Ben Elliston <bje@gnu.org>
2979 * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
2980 Reported by David Malcolm.
2982 2014-10-28 Ben Elliston <bje@gnu.org>
2984 * Makefile.in: Regenerate.
2986 2014-10-28 Ben Elliston <bje@gnu.org>
2988 * example: Remove stale examples.
2990 2014-10-24 Steve Ellcey <sellcey@mips.com>
2992 * dejagnu.h (pass): Make function static as well as inline.
2997 (unresolved): Ditto.
3001 2014-10-14 Ben Elliston <bje@gnu.org>
3003 * runtest.exp: Only match $directory, not *${directory}* when the
3004 user passes the --directory option. Reported by Sergey Alyoshin.
3006 2014-10-14 Ben Elliston <bje@gnu.org>
3008 * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
3009 is not the right command keyword -- it is full_buffer. Reported by
3012 2014-07-15 Maciej W. Rozycki <macro@mips.com>
3013 Maciej W. Rozycki <macro@codesourcery.com>
3015 * lib/targetdb.exp (add_board_info): New procedure.
3016 * doc/ref.xml (Add_board_info Procedure): New section.
3017 (Set_board_info Procedure): Add description.
3018 (Unset_board_info Procedure): Likewise.
3019 * doc/user.xml (Board Config File Values): Add `add_board_info'
3020 reference. Reorder `gdb_init_command' table rows and remove a
3021 duplicate entry, reusing it for `gdb_init_commands'.
3023 2014-06-25 Rob Savoye <rob.savoye@linaro.org>
3025 * runtest.exp: (lookfor-file): Fix bug were none of the relative
3026 paths were actually being used for file lookup.
3028 2014-06-06 Ben Elliston <bje@gnu.org>
3030 * depcomp, install-sh, missing: Update to latest versions.
3031 * mkinstalldirs: Remove.
3032 * Makefile.in: Regenerate.
3034 2014-06-04 Ben Elliston <bje@gnu.org>
3036 * Makefile.in: Regenerate with Automake 1.14.1.
3037 * compile: Add missing file.
3039 2014-06-04 Ben Elliston <bje@gnu.org>
3041 * config.guess: Update to version 2014-03-23.
3042 * config.sub: Likewise.
3044 2014-06-04 Ben Elliston <bje@gnu.org>
3046 * aclocal.m4: Regenerate with Automake 1.14.1.
3047 * configure: Regenerate with Autoconf 2.69.
3049 2014-03-15 Steve Ellcey <sellcey@mips.com>
3051 * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
3053 2014-02-23 Steve Ellcey <sellcey@mips.com>
3054 Richard Sandiford <rdsandiford@googlemail.com>
3056 * config/sim.exp (sim_exec): New.
3059 2013-12-08 Richard Sandiford <rdsandiford@googlemail.com>
3061 * lib/dg.exp (dg-test): Don't put the expected and actual output
3062 of a pattern test in the test name; send it to the log instead.
3064 2013-11-01 Steve Ellcey <sellcey@mips.com>
3066 * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
3067 * Makefile.in: Regenerate.
3068 * baseboards/multi-sim.exp: New.
3070 2013-10-31 Anton Kolesov <anton.kolesov@synopsys.com>
3072 * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
3073 (remote_reboot): Add comment explaining return value of this procedure.
3074 * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
3075 * doc/dejagnu.texi: Regenerate.
3077 2013-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
3079 * baseboards/androideabi.exp (process_multilib_options): Add option.
3080 * config/adb.exp: Remove hardcoded -static option.
3081 (adb_load): Add the possibility to change the temp directory. Also
3082 handle permission potential problems.
3083 (adb_exec): Do cd to android_tmp_dir first.
3085 2013-10-05 Jose E. Marchesi <jose.marchesi@oracle.com>
3087 * baseboards/unix.exp: Add gdb settings to not use hardware
3088 watchpoints in sparc64 running GNU/Linux.
3090 2013-06-17 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3092 * runtest.exp (libdirs): New global variable.
3093 (load_lib): Append libdirs to search_and_load_files directories.
3094 * doc/ref.xml (load_lib): Document global variable libdirs.
3095 * doc/dejagnu.texi: Regenerate.
3096 * testsuite/runtest.all/load_lib.exp: New testcase.
3097 * Makefile.am (TESTSUITE_FILES): Add new testcase.
3098 * Makefile.in: Regenerate.
3100 2013-06-15 Ben Elliston <bje@gnu.org>
3102 * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3103 * Makefile.am: Export DEJAGNU.
3104 * configure: Likewise.
3105 * Makefile.in: Regenerate.
3107 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3109 * doc/user.xml: Fix typos.
3110 * doc/ref.xml: Likewise.
3111 * doc/dejagnu.texi: Regenerate.
3113 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3115 * doc/user.xml: Fix number of columns in table.
3116 * doc/dejagnu.texi: Regenerate.
3118 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3120 * doc/user.xml: Fix rendering errors around programlisting.
3121 * doc/ref.xml: Likewise.
3122 * doc/dejagnu.texi: Regenerate.
3124 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3126 * doc/user.xml: Fix spacing before productname.
3127 * doc/dejagnu.texi: Regenerate.
3129 2013-06-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3131 * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3132 magic "args" parameter name, as expect send_log proc accepts -- as
3135 2013-06-08 Makoto Fujiwara <makoto@ki.nu>
3137 * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3138 (config_DATA): Likewise for config_SCRIPTS.
3139 (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3140 (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3142 * Makefile.in: Regenerate.
3144 2013-06-08 Ben Elliston <bje@gnu.org>
3146 * configure: Regenerate with autoconf 2.69.
3147 * aclocal.m4: Regenerate.
3149 2013-03-31 Ben Elliston <bje@gnu.org>
3151 * Makefile.am (html-local): Rename target from html.
3152 * Makefile.in: Regenerate with automake 1.12.6.
3153 * aclocal.m4: Likewise.
3154 * configure: Regenerate.
3156 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3158 * TODO: Remove todo item about warncnt and errcnt.
3160 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3162 * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3164 2013-03-26 Ben Elliston <bje@gnu.org>
3166 * config.guess: Update to version 2013-02-12.
3167 * config.sub: Likewise.
3169 2013-02-16 Rob Savoye <rob@build.welcomehome.org>
3171 * config/adb.exp: Add adb_file so we can remotely delete test
3172 cases to save on limited disk space. Don't remove the file after
3173 executing it, leave that for the test driver instead.
3175 2013-02-15 Rob Savoye <rob@welcomehome.org>
3177 * config/adb.exp: Remove the test case after executing
3178 it. Otherwise we can fill up all the diskspace on a small target
3181 2013-02-11 Rob Savoye <rob@welcomehome.org>
3183 * baseboards/androideabi.exp: Board support for Android using ADB.
3184 * config/adb.exp: Config support for Android using ADB.
3185 * Makefile.am (dist): Add new config and board files.
3186 * aclocal.m4, Makefile.in, configure, example/calc/configure,
3187 example/mathhelper/configure: Regenerated with newer autotools.
3189 2012-12-05 Ben Elliston <bje@gnu.org>
3191 * example/hello: Remove.
3192 * configure.ac: Likewise.
3193 * configure: Regenerate.
3195 2012-10-04 Steve Ellcey <sellcey@mips.com>
3197 * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3198 * Makefile.in: Regenerate.
3199 * baseboards/mips-sim-mti32.exp: New.
3200 * baseboards/mips-sim-mti64.exp: New.
3201 * baseboards/mips-sim-mti64_n32.exp: New.
3202 * baseboards/mips-sim-mti64_64.exp: New.
3203 * baseboards/mips-sim-sde32.exp: New.
3204 * baseboards/mips-sim-sde64.exp: New.
3206 2012-10-04 Ben Elliston <bje@gnu.org>
3208 * aclocal.m4: Regenerate with automake 1.11.3.
3209 * Makefile.in: Likewise.
3210 * configure: Regenerate with autoconf 2.68.
3212 2012-08-22 Steve Ellcey <sellcey@mips.com>
3214 * baseboards/generic-sim.exp: New baseboard definition.
3216 2012-06-15 Andreas Schwab <schwab@linux-m68k.org>
3218 * lib/framework.exp (clone_output): Protect from leading dash in
3220 * runtest.exp (verbose): Likewise.
3222 2012-06-11 Tom Tromey <tromey@redhat.com>
3224 * doc/runtest.1: Update.
3225 * runtest.exp (xml_file_name): New global.
3227 Handle optional argument to --xml.
3228 * lib/framework.exp (open_logs): Respect xml_file_name.
3230 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3232 * runtest.exp (load_tool_init): Fix typo in -de option handling.
3234 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3236 * doc/runtest.1: Correct name of debug file.
3238 2012-02-25 Ben Elliston <bje@gnu.org>
3240 * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3241 for runtest.exp as a last resort (for usrmove environments, where
3242 /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3244 2011-12-30 Ben Elliston <bje@gnu.org>
3246 * doc/user.xml: Various spelling and consistency fixes.
3247 * doc/ref.xml: Likewise.
3248 (exit_remote_shell): Remove, as this procedure is defunct.
3249 * doc/dejagnu.texi: Regenerate.
3251 2011-12-30 Ben Elliston <bje@gnu.org>
3253 * config.guess: Update to version 2011-12-29.
3254 * config.sub: Update to version 2011-11-11.
3256 2011-06-30 Tom Tromey <tromey@redhat.com>
3258 * doc/ref.xml: Document find_gfortran.
3259 * doc/dejagnu.texi: Regenerate.
3260 * lib/target.exp (default_target_compile): Handle f90.
3261 (default_target_compile): Likewise.
3262 * lib/libgloss.exp (find_gfortran): New proc.
3264 2011-06-30 Ben Elliston <bje@gnu.org>
3266 * Makefile.am (all-local): New rule.
3267 * Makefile.in: Regenerate.
3269 2011-04-12 Ben Elliston <bje@gnu.org>
3271 * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3272 rm", for better portability.
3273 * config/netware.exp (${board}_load): Likewise.
3274 * lib/dg.exp (dg-test): Likewise.
3275 * lib/framework.exp (open_logs): Likewise.
3276 * lib/remote.exp (standard_file): Likewise.
3277 * runtest.exp: Likewise.
3278 * testsuite/runtest.all/options.exp: Likewise.
3280 2011-03-15 Ben Elliston <bje@gnu.org>
3282 * runtest.exp: Whitespace cleanups.
3283 * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3284 lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3285 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3287 2011-03-15 Ben Elliston <bje@gnu.org>
3289 * runtest: Remove trailing semicolons.
3290 * lib/rsh.exp: Likewise.
3292 2011-03-15 H.J. Lu <hjl.tools@gmail.com>
3294 * lib/remote.exp (local_exec): Ignore SIGHUP.
3296 2011-03-14 Ben Elliston <bje@gnu.org>
3298 * runtest.exp (frame_version): Set to 1.5.1.
3299 * configure.ac (AC_INIT): Set version to 1.5.1.
3300 * configure: Regenerate.
3301 * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3302 * doc/dejagnu.texi: Regenerate.
3304 2011-03-14 Ben Elliston <bje@gnu.org>
3306 * dejagnu.h: Whitespace cleanups.
3308 2011-03-14 Ben Elliston <bje@gnu.org>
3310 * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3311 * baseboards/mt-sid.exp: Likewise.
3312 * baseboards/tx39-sim.exp: Likewise.
3313 * lib/target.exp (default_target_compile): Likewise.
3315 2011-03-14 Ben Elliston <bje@gnu.org>
3317 Reported by Flash Sheridan <flash@pobox.com>:
3318 * doc/user.xml (Testing "Hello world" locally): Improve the
3319 example test script and make it robust to failures. Tidy some
3321 * doc/dejagnu.texi: Regenerate.
3323 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3325 * runtest.exp (runtest): Call reset_vars at initialisation so that
3326 perror does not affect test results in other test scripts.
3328 2011-03-09 Ben Elliston <bje@gnu.org>
3330 * NEWS: Start a new section for post-1.5 changes.
3332 2011-03-09 Ben Elliston <bje@gnu.org>
3334 * DejaGnu 1.5 released.
3336 2011-03-09 Ben Elliston <bje@gnu.org>
3338 * Makefile.am (DISTCLEANFILES): Define.
3339 * Makefile.in: Regenerate.
3340 * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3341 * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3342 * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3343 mkdir" instead of exec'ing mkdir(1).
3345 2011-03-07 Ben Elliston <bje@gnu.org>
3347 * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3348 * Makefile.in: Regenerate.
3350 2011-03-06 Ben Elliston <bje@gnu.org>
3352 * configure.ac (AC_INIT): Set version to 1.5.
3353 * configure: Regenerate.
3354 * runtest.exp (frame_version): Set to 1.5.
3355 * doc/dejagnu.texi: Regenerate.
3357 2011-03-04 Ben Elliston <bje@gnu.org>
3359 * texinfo.tex: Import latest version from ftp://tug.org/tex.
3361 2011-03-04 Ben Elliston <bje@gnu.org>
3363 * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3364 * Makefile.in: Regenerate.
3366 2011-03-03 Ben Elliston <bje@gnu.org>
3368 * Makefile.am: Bump to GPL version 3.
3369 * configure.ac: Likewise.
3370 * Makefile.in: Regenerate.
3371 * aclocal.m4: Likewise.
3372 * configure: Likewise.
3374 2011-03-03 Ben Elliston <bje@gnu.org>
3376 * config.guess: Update to most recent version.
3377 * config.sub: Likewise.
3379 2011-03-03 Ben Elliston <bje@gnu.org>
3381 * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3382 proc to ::tcl_unknown. If ::tcl_unknown returns a failure result,
3383 then fall back to the conventional DejaGnu handling. Report from
3384 David Byron <dbyron@dbyron.com>.
3386 2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
3388 * lib/remote.exp (remote_expect): Pass all exception conditions up
3391 2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3393 * lib/dg.exp (dg-test): Support nested calls.
3395 2010-04-13 Ben Elliston <bje@gnu.org>
3397 * testglue.c: Remove duplicated prototypes for abort and exit.
3399 2010-03-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3401 * doc/user.xml (Tcl Variables For Command Line Options): Correct
3404 2010-01-21 Jie Zhang <jie.zhang@analog.com>
3406 * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3408 2010-01-15 Anthony Green <green@moxielogic.com>
3410 * baseboards/moxie-sim.exp: New baseboard.
3412 2009-12-10 DJ Delorie <dj@redhat.com>
3414 * baseboards/rx-sim.exp: New baseboard.
3416 2009-10-15 Ben Elliston <bje@gnu.org>
3418 * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3419 This web page has disappeared.
3421 2009-07-06 Ben Elliston <bje@gnu.org>
3423 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3424 <option> not <emphasis>. Apply other grammatical fixes from
3426 * doc/dejagnu.texi: Regenerate.
3428 2009-07-06 Ben Elliston <bje@gnu.org>
3430 * configure.ac: Check for docbook2x-texi.
3431 * configure: Regenerate.
3433 2009-07-06 Ben Elliston <bje@gnu.org>
3435 From Reuben Thomas <rrt@sc3d.org>:
3436 * doc/runtest.1: Fix some formatting issues.
3438 2009-06-16 Ben Elliston <bje@gnu.org>
3440 * config.guess: Update to most recent version.
3441 * config.sub: Likewise.
3443 2009-06-16 Ben Elliston <bje@gnu.org>
3445 * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3446 * Makefile.in: Regenerate.
3447 * packaging: Remove directory and its contents.
3449 2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
3451 * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3454 2008-12-03 Ben Elliston <bje@gnu.org>
3456 * COPYING: Update to GPL version 3.
3458 2008-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3460 * doc/ref.xml, doc/user.xml: Fix typos.
3461 * doc/dejagnu.texi: Regenerate.
3463 2008-04-06 Daniel Jacobowitz <drow@false.org>
3465 * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3466 * Makefile.in: Regenerate.
3467 * dejagnu.exp (host_execute): Improve regexp matching.
3468 * testsuite/libdejagnu/unit.cc: C++ fixes.
3470 2008-04-06 Daniel Jacobowitz <drow@false.org>
3472 * lib/utils.exp (diff): Open both files as binary.
3474 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3476 * dejagnu.h (totals): Correct typos.
3478 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3480 * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3481 * doc/dejagnu.texi: Regenerate.
3483 2008-02-25 Ben Elliston <bje@gnu.org>
3485 * doc/runtest.1: Update date of last revision.
3487 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3489 * baseboards/h8300.exp: Use -- before switch argument that may
3491 * baseboards/cris-sim.exp: Ditto.
3493 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3495 * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3496 iq2000-sim.exp and m32r-linux-sim.exp.
3497 * Makefile.in: Regenerate.
3499 2008-02-08 Ben Elliston <bje@gnu.org>
3501 * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3503 2007-12-28 Joseph Myers <joseph@codesourcery.com>
3505 * lib/target.exp (default_link): Initialize nobjects before use.
3507 2007-12-06 Ben Elliston <bje@gnu.org>
3509 * lib/dg.exp (dg_bogus): Comment fix.
3511 2007-10-31 DJ Delorie <dj@redhat.com>
3513 * lib/framework.exp (open_logs): Line buffer the .sum file.
3515 2007-09-04 Matt Kraai <kraai@ftbfs.org>
3517 * doc/user.xml (Configuration): Fix typos.
3518 * doc/dejagnu.texi: Regenerate.
3520 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
3522 * lib/remote.exp (standard_send): Correct quoting.
3524 2007-05-17 Ben Elliston <bje@gnu.org>
3526 * doc/user.xml: Correct the syntax for running apt-get on a Debian
3527 GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
3529 2007-04-30 Bob Wilson <bob.wilson@acm.org>
3531 * baseboards/xtensa-sim.exp: Set target_install. Stop using
3532 basic-sim.exp. Run the simulator with --turbo option. Replace
3533 needs_status_wrapper with the simulator's --exit_with_target_code
3536 2006-10-15 Rob Savoye <rob@bertha.welcomehome.org>
3538 * dejagnu.h: Add support for for expected failures and
3539 unexpected successes.
3541 2005-05-06 Andrew Fyfe <a.fyfe@tiscali.co.uk>
3543 * doc/Makefile.am: Fix install path for man page.
3544 * Makefiles: Regenerated.
3546 2006-08-29 Ben Elliston <bje@gnu.org>
3548 * runtest.exp (usage): Use "triplet" instead of "config name".
3550 2006-07-13 Daniel Jacobowitz <dan@codesourcery.com>
3552 * Makefile.am (DOCBOOK2RTF): Fix typo.
3553 * Makefile.in: Regenerated.
3554 * lib/libgloss.exp (process_multilib_options): Use -- to handle
3555 options starting with hyphens.
3557 2006-06-23 Eric Botcazou <ebotcazou@adacore.com>
3559 * libgloss.exp (find_gnatmake): Rewrite.
3561 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
3563 * rsh.exp (rsh_exec): Handle inp and outp arguments. Use
3564 local_exec to run rsh. Return failure if rsh times out.
3565 * remote.exp (local_exec): Handle "|& cat" we added when deciding
3566 whether to return output.
3568 2006-06-09 Ben Elliston <bje@gnu.org>
3570 * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
3571 multiple cases, not a list (case uses lists, switch does not).
3572 Pass -glob to switch where applicable to emulate case behaviour.
3573 * baseboards/h8300.exp: Likewise.
3574 * lib/framework.exp (clone_output): Likewise.
3575 (clear_xfail): Likewise.
3576 (clear_kfail): Likewise.
3577 * lib/libgloss.exp (process_multilib_options): Likewise.
3578 * runtest.exp: Likewise.
3580 2006-06-06 Ben Elliston <bje@gnu.org>
3582 * Makefile.am (CONTRIB): New.
3583 (EXTRA_DIST): Add $(CONTRIB).
3584 (doc/dejagnu.texi): Set directory-category param to docbook2texi.
3585 * Makefile.in: Regenerate.
3586 * doc/dejagnu.texi: Likewise.
3588 2006-06-06 Ben Elliston <bje@gnu.org>
3590 * runtest.exp (load_lib): Typo fix.
3592 2006-06-06 Ben Elliston <bje@gnu.org>
3594 * dejagnu.h: Tidy comments.
3595 (_BUFFER_SIZE_): Remove to minimise namespace pollution.
3596 (wait): Define this function unconditionally. Conditionally
3597 compile the function body if _DEJAGNU_WAIT_ is defined.
3598 (buffer): Set the buffer size explicitly.
3599 (pass): Use sizeof (buffer). Call wait() unconditionally.
3600 (fail, untested, unresolved, note): Likewise.
3601 (enum teststate): Tidy whitespace.
3603 2006-06-06 Ben Elliston <bje@gnu.org>
3605 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
3606 * doc/dejagnu.texi: Regenerate.
3608 2006-06-06 Ben Elliston <bje@gnu.org>
3610 Import from GCC tree:
3611 2006-06-02 Richard Earnshaw <rearnsha@arm.com>
3612 Mike Stump <mrs@apple.com>
3614 * compare_tests: Handle multilibs better.
3616 2006-06-06 Ben Elliston <bje@gnu.org>
3618 * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
3620 * configure.ac: Check for docbook2texi, not docbook2x-texi. The
3621 wrapper script changed its name again in the latest release.
3622 * configure: Regenerate.
3623 * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
3624 (DOCBOOK2TEXI): .. to this.
3625 (doc/dejagnu.texi): Do not use output-file parameter to deposit
3626 the .texi file into the source directory; use mv(1) instead. Set
3627 directory-description parameter.
3628 * Makefile.in: Likewise.
3630 2006-06-02 Ben Elliston <bje@gnu.org>
3632 * config/sim.exp (sim_upload): Match up argument names.
3634 2006-06-02 Ben Elliston <bje@gnu.org>
3636 * config.guess: Update to most recent version.
3637 * config.sub: Likewise.
3639 2006-06-02 Ben Elliston <bje@gnu.org>
3641 * config/dos.exp (dos_open): Only run global board_info once at
3642 the beginning of the proc; remove duplicates.
3643 (dos_load): Use file join to separate path components.
3644 (dos_copy_upload): Likewise.
3645 * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
3648 2006-06-02 Ben Elliston <bje@gnu.org>
3650 * contrib/compare_tests: Import from the GCC contrib directory.
3652 2006-05-24 Ben Elliston <bje@gnu.org>
3654 * runtest.exp (verbose): Brace some expressions.
3655 (load_file, search_and_load_file): Likewise.
3656 (runtest): Likewise.
3658 2006-05-23 Ben Elliston <bje@gnu.org>
3660 * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
3661 * config/i960.exp (i960_spawn): Initialise status.
3662 * config/netware.exp (${board}_init): Brace some if expressions.
3663 * lib/dg.exp (dg-test): Brace some expressions.
3664 * lib/framework.exp (clone_output, log_and_exit, log_summary,
3665 record_test, pass, fail): Likewise.
3666 * lib/libgloss.exp (get_multilibs): Likewise.
3667 * lib/remote.exp (standard_transmit, unix_clean_filename,
3668 remote_load, check_for_board_status, remote_expect): Likewise.
3669 * lib/rsh.exp (rsh_exec): Likewise.
3671 2006-05-22 Ben Elliston <bje@gnu.org>
3673 * baseboards/cris-sim.exp: Use switch, not case.
3674 * baseboards/h8300.exp: Likewise.
3675 * config/base68k.exp (base68k_ld): Brace an if expression.
3677 2006-05-22 Ben Elliston <bje@gnu.org>
3679 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
3680 baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
3681 baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
3682 baseboards/mmixware-sim.exp, baseboards/op50n.exp,
3683 baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
3684 baseboards/usparc-cygmon.exp, config/base-config.exp,
3685 config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
3686 config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
3687 config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
3688 config/netware.exp, config/sid.exp, config/sim.exp,
3689 config/tic80.exp, config/unix.exp, config/vxworks.exp,
3690 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3691 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
3692 lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
3693 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
3694 expressions throughout.
3696 2006-05-22 Ben Elliston <bje@gnu.org>
3698 * lib/framework.exp (open_logs): Use file join where applicable.
3699 * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
3700 newlib_include_flags, g++_link_flags, libstdc++_link_flags,
3701 get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
3702 * lib/utils.exp (which): Likewise.
3703 * runtest.exp (search_and_load_file, lookfor_file,
3704 load_tool_init): Likewise.
3706 * lib/debugger.exp (watcharray): Add `array' parameter. Rename
3707 `type' parameter to `op' and update all uses in the proc.
3708 (watchvar): Add `ignore' parameter for scalar variables.
3709 Likewise, rename `type' to `op' and update throughout the proc.
3711 * runtest.exp: Use switch, not case.
3712 * lib/framework.exp (clone_output): Likewise.
3713 (clear_xfail): Likewise.
3714 (clear_kfail): Likewise.
3715 (set_warning_threshold): Make warning_threshold global.
3716 (get_warning_threshold): Likewise.
3717 * lib/libgloss.exp (process_multilib_options): Use switch, not
3719 * lib/remote.exp (local_exec): Only run global errorInfo once.
3720 (standard_upload): Fix error in variable use ($file -> $srcfile).
3721 * lib/utils.exp (grep): Use switch, not case.
3722 (slay): Fix mismatched bracket.
3724 * lib/debugger.exp (watcharray): Use switch, not case.
3725 (watchvar): Likewise.
3726 (bt): Add an explanatory comment.
3728 2006-04-03 Ben Elliston <bje@gnu.org>
3730 * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
3731 lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
3732 lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
3734 2006-01-02 Ben Elliston <bje@gnu.org>
3736 * configure.ac (AC_INIT): Set version to 1.4.99.
3737 * configure: Regenerate.
3739 2006-01-01 Ben Elliston <bje@gnu.org>
3741 * testsuite/runtest.all/utils.test: Add runtest_file_p.
3743 2006-01-01 Ben Elliston <bje@gnu.org>
3745 * runtest.exp (frame_version): Set to 1.4.99.
3747 2006-01-01 Ben Elliston <bje@gnu.org>
3749 * dejagnu.h: Update copyright notice. Use C-style /* .. */
3750 comments for portability with ISO C compilers.
3751 * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
3753 2006-01-01 Ben Elliston <bje@gnu.org>
3755 * runtest.exp: Update copyright notice.
3756 * example/calc/testsuite/calc.test/calc.exp: Likewise.
3757 * example/calc/testsuite/config/unix.exp: Likewise.
3758 * testsuite/libdejagnu/tunit.exp: Likewise.
3759 * testsuite/runtest.all/libs.exp: Likewise.
3760 * testsuite/runtest.all/options.exp: Likewise.
3761 * testsuite/runtest.all/stats-sub.exp: Likewise.
3762 * testsuite/runtest.all/stats.exp: Likewise.
3764 2006-01-01 Ben Elliston <bje@gnu.org>
3766 * config/default.exp, config/unix.exp, config/vxworks.exp,
3767 lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
3768 lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
3770 * dejagnu.h, testsuite/config/default.exp,
3771 testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
3772 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
3773 testsuite/runtest.all/options.exp,
3774 testsuite/runtest.all/stats-sub.exp,
3775 testsuite/runtest.all/stats.exp: Update copyright notice and FSF
3776 office address. Remove bug reporting address, as it is now
3777 maintained centrally in the README file.
3779 2005-12-31 Ben Elliston <bje@gnu.org>
3781 * testsuite/runtest.all/utils.test: Don't bother mentioning
3782 absolute, psource, prune and slay as untested procedures.
3784 2005-12-31 Ben Elliston <bje@gnu.org>
3786 * doc/ref.xml (Utility Procedures): Note that the following
3787 procedures are deprecated: absolute, psource, prune, slay.
3789 * doc/dejagnu.texi: Regenerate.
3791 2005-12-24 Ben Elliston <bje@gnu.org>
3793 * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
3794 case the command fails and zeroes the Texinfo source file. Move
3795 the output (if successful) by its default filename using mv(1).
3796 * Makefile.in: Regenerate.
3798 2005-12-24 Ben Elliston <bje@gnu.org>
3800 * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
3801 * configure: Regenerate.
3802 * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
3803 (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
3804 (dejagnu.pdf): Use $(DOCBOOK2PDF).
3805 (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
3806 (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
3807 (html): Likewise, use $(DOCBOOK2HTML).
3808 (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
3809 which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
3810 * Makefile.in: Regenerate.
3812 2005-12-24 Ben Elliston <bje@gnu.org>
3814 * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
3815 (XML): Remove $(srcdir) from each filename; VPATH suffices.
3816 (PACKAGING_METAFILES): Remove.
3817 * Makefile.in: Regenerate.
3819 2005-12-24 Ben Elliston <bje@gnu.org>
3823 2005-12-24 Ben Elliston <bje@gnu.org>
3827 2005-12-24 Ben Elliston <bje@gnu.org>
3829 * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
3832 2005-12-24 Ben Elliston <bje@gnu.org>
3834 * Makefile.am (RUNTEST): Simplify, as Automake already generates
3835 similar logic in Makefile.in.
3836 * Makefile.in: Regenerate.
3838 2005-12-24 Ben Elliston <bje@gnu.org>
3840 * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
3841 libdejagnu tests are run too.
3842 * Makefile.in: Regenerate.
3844 2005-12-24 Ben Elliston <bje@gnu.org>
3846 * configure: Regenerate.
3848 * lib/remote.exp: Tidy.
3849 * lib/targetdb.exp: Likewise.
3850 * lib/target.exp (prune_warnings): Improve comments.
3851 * lib/dejagnu.exp: Likewise.
3852 * lib/utils.exp: Likewise.
3856 2005-12-24 Ben Elliston <bje@gnu.org>
3858 * doc/dejagnu.xml: Don't use apostrophes in section titles.
3859 * doc/dejagnu.texi: Regenerate.
3861 2005-12-24 Ben Elliston <bje@gnu.org>
3863 * Makefile.am (XML): Include $(srcdir) in filenames.
3864 * Makefile.in: Regenerate.
3866 2005-12-24 Ben Elliston <bje@gnu.org>
3868 * doc/C/Makefile.am: Remove.
3869 * doc/C/Makefile.in: Likewise.
3871 * Makefile.am (SUBDIRS): Remove.
3872 (EXTRA_DIST): Append $(XML).
3873 (dist_man_MANS): Define.
3874 (info_TEXINFOS): Likewise.
3875 (XML): List XML source files.
3876 (dejagnu.pdf): New target.
3877 (dejagnu.ps): Likewise.
3878 (dejagnu.rtf): Likewise.
3880 (dejagnu.texi): Special rule to build Texinfo source.
3881 * Makefile.in: Regenerate.
3882 * configure.ac: Don't search for docbook2dvi.
3883 Search for docbook2rtf and docbook2pdf.
3884 Don't output doc/Makefile or doc/C/Makefile.
3885 * configure: Regenerate.
3886 * doc/texinfo.tex: Move from here ..
3887 * texinfo.tex: .. to here.
3888 * doc/Makefile.am: Remove.
3889 * doc/Makefile.in: Likewise.
3890 * doc/C/dejagnu.omf: Likewise.
3891 * doc/C/topic.dat: Likewise.
3892 * doc/C/dejagnu.xml: Move from here ..
3893 * doc/dejagnu.xml: .. to here.
3894 * doc/C/legal.xml: Move from here ..
3895 * doc/legal.xml: .. to here.
3896 * doc/C/ref.xml: Move from here ..
3897 * doc/ref.xml: .. to here.
3898 * doc/C/user.xml: Move from here ..
3899 * doc/user.xml: .. to here.
3900 * doc/dejagnu.texi: Rebuild from XML source.
3902 2005-12-23 Ben Elliston <bje@gnu.org>
3904 * doc/runtest.1: Update manual page.
3906 2005-12-23 Ben Elliston <bje@gnu.org>
3908 * doc/overview.sgml: Remove in favour of XML versions.
3909 * doc/ref.sgml: Ditto.
3910 * doc/user.sgml: Ditto.
3911 * doc/texinfo.tex: Import new version.
3913 2005-12-20 Ben Elliston <bje@gnu.org>
3915 * Makefile.am (SUBDIRS): Remove testsuite, example.
3916 (EXTRA_DIST): Add $(TESTSUITE_FILES).
3917 (TESTSUITE_FILES): New.
3918 (RUNTEST, RUNTESTDEFAULTFLAGS): New.
3920 (check_PROGRAMS): New.
3921 (unit_SOURCES): New.
3922 * Makefile.in: Regenerate.
3923 * configure.ac (AC_OUTPUT): Don't output example/Makefile,
3924 testsuite/Makefile or testsuite/libdejagnu/Makefile.
3925 * configure: Regenerate.
3926 * testsuite/Makefile.am: Remove.
3927 * testsuite/Makefile.in: Likewise.
3928 * testsuite/libdejagnu/Makefile.am: Likewise.
3929 * testsuite/libdejagnu/Makefile.in: Likewise.
3931 2005-12-20 Ben Elliston <bje@gnu.org>
3933 * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
3934 * Makefile.in: Regenerate.
3936 2005-12-20 Ben Elliston <bje@gnu.org>
3938 * configure: Regenerate with autoconf 2.59.
3939 * aclocal.m4: Regenerate with aclocal 1.9.6.
3940 * Makefile.in: Regenerate with automake 1.9.6.
3941 * doc/Makefile.in: Likewise.
3942 * doc/C/Makefile.in: Likewise.
3943 * example/Makefile.in: Likewise.
3944 * testsuite/Makefile.in: Likewise.
3945 * testsuite/libdejagnu/Makefile.in: Likewise.
3947 2005-12-20 Nathan Sidwell <nathan@codesourcery.com>
3949 * baseboards/ms1-sid.exp: Rename from this ..
3950 * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
3952 2005-12-20 Ben Elliston <bje@gnu.org>
3954 * config.guess: Update to most recent version.
3955 * config.sub: Likewise.
3957 2005-09-24 Ben Elliston <bje@gnu.org>
3959 * packaging/pkg/pkginfo (EMAIL): Update mail address.
3961 * lib/rsh.exp: Tidy comments.
3963 2005-07-07 Ben Elliston <bje@gnu.org>
3965 * lib/telnet.exp (telnet_transmit): Remove; use standard method.
3967 2005-07-07 Ben Elliston <bje@gnu.org>
3969 * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
3970 * Makefile.in: Regenerate.
3972 2005-07-06 Ben Elliston <bje@gnu.org>
3974 * lib/tip.exp (tip_open): Improve comments.
3975 (tip_download): Likewise.
3977 2005-07-06 Ben Elliston <bje@gnu.org>
3979 * lib/telnet.exp (telnet_open): Improve option handling. Clarify
3980 documentation for each proc.
3982 2005-07-06 Ben Elliston <bje@gnu.org>
3984 * aclocal.m4: Regenerate with aclocal 1.9.
3985 * configure: Regenerate with autoconf 2.59.
3986 * doc/C/Makefile.am: Remove stray include.
3987 * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
3988 example/Makefile.in, testsuite/Makefile.in,
3989 testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
3991 2005-07-06 Ben Elliston <bje@gnu.org>
3993 Import some missing hunks from this patch on sourceware:
3995 2004-11-11 Nick Clifton <nickc@redhat.com>
3997 * lib/libgloss.exp (libio_include_flags, g++_include_flags,
3998 winsup_include_flags): Revert previous patch, restoring the use of
3999 -I, for all libraries except newlib. Newlib needs -isystem to
4000 avoid the problems with <limits.h> but the C++ and winsup
4001 libraries need -I because -isystem generates an implicit 'extern
4002 "C"' which may not be appropriate for certain targets.
4004 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
4006 * baseboards/ms1-sid.exp: New.
4008 2005-07-01 Ben Elliston <bje@gnu.org>
4010 Unify some changes with the 1.4 branch:
4012 2004-10-28 Nick Clifton <nickc@redhat.com>
4013 * baseboards/iq2000-sim.exp: New file.
4015 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4016 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4019 2004-05-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4020 * baseboards/m32r-linux-sim.exp: Add New file.
4022 2005-06-24 Ben Elliston <bje@gnu.org>
4024 * MAINTAINERS: Update my email address.
4026 2005-06-24 Ben Elliston <bje@gnu.org>
4028 * Update the FSF's physical address throughout.
4030 2005-06-22 Ben Elliston <bje@gnu.org>
4032 * config.guess: Update to most recent version.
4033 * config.sub: Likewise.
4035 2005-04-28 Mark Kettenis <kettenis@gnu.org>
4037 * lib/target.exp (prune_warnings): Add a few more linker
4038 warning patterns for OpenBSD.
4040 2005-03-20 Mark Kettenis <kettenis@gnu.org>
4042 * lib/target.exp (prune_warnings): Add linker warning patterns for
4045 2005-01-29 Hans-Peter Nilsson <hp@axis.com>
4047 * baseboards/cris-sim.exp: New file.
4049 2004-11-19 Nick Clifton <nickc@redhat.com>
4051 * lib/libgloss.exp (newlib_include_flags): Document why -isystem
4052 is used instead of -I.
4053 (libio_include_flags): Use -I instead of -isystem and
4055 (g++_include_flags): Use -I instead of -isystem.
4056 (libstdc++_include_flags): Likewise.
4058 2004-11-04 Ben Elliston <bje@gnu.org>
4060 * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
4061 mark the test as unresolved, rather than warning.
4063 2004-10-27 Nick Clifton <nickc@redhat.com>
4065 * baseboards/iq2000-sim.exp: New file.
4067 2004-08-20 Daniel Jacobowitz <dan@debian.org>
4069 * testglue.c: Prototype abort(3) and exit(3).
4071 2004-08-14 Paul Brook <paul@codesourcery.com>
4073 * config/sim.exp (sim_download, sim_upload): New procs.
4075 2004-06-30 Ben Elliston <bje@gnu.org>
4077 * config.guess: Update to current revision.
4078 * config.sub: Likewise.
4080 2004-06-12 Ben Elliston <bje@gnu.org>
4082 * config.guess: Update to current revision.
4083 * config.sub: Likewise.
4085 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4087 * testglue.c: Prototype abort and exit.
4089 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4091 * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4094 Tue Feb 25 05:19:57 UTC 2003 Brendan Conoboy <blc@@redhat.com>
4096 * lib/remote.exp (call_remote): Remove multilibs from the board
4097 name when rebooting a board.
4099 2004-06-03 Alexandre Oliva <aoliva@redhat.com>
4101 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4104 2004-06-07 Ben Elliston <bje@gnu.org>
4106 * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4108 2004-03-29 Joel Brobecker <brobecker@gnat.com>
4110 * lib/libgloss.exp (find_gnatmake): New procedure.
4111 * lib/target.exp (default_target_compile): Add support for Ada.
4113 2004-04-16 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
4115 * baseboards/m32r-linux-sim.exp: Add New file.
4117 2004-04-02 Rob Savoye <rob@direwolf.welcomehome.org>
4119 * configure.ac, example/Makefile.am: Add example/mathhelper.
4120 * configure, alocal.m4, example/Makefile.in: Regenerated.
4122 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4124 * example/mathhelper: New example for using the unit testing API.
4126 2004-03-05 Daniel Jacobowitz <drow@mvista.com>
4128 * lib/remote.exp (standard_spawn): Fix rsh username support.
4130 2004-03-06 Rob Savoye <rob@althea.welcomehome.org>
4132 * doc/C: New directory for DocBook XML files.
4133 * doc/C/dejagnu.omf: New config file for scrollkeeper.
4134 * doc/C/topic.dat: New config file for the GNOME help system.
4135 * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4137 * doc/C/ref.xml: DocBook XML formatted verion of what was
4139 * doc/C/user.xml: DocBook XML formatted verion of what was
4142 2004-02-17 Ben Elliston <bje@wasabisystems.com>
4144 * runtest.exp: Do not trap SIGSEGV.
4146 2004-02-16 Ben Elliston <bje@wasabisystems.com>
4148 * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4149 * configure: Regenerate.
4151 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4153 * doc/runtest.1: Improve some wording. Update last revision date.
4155 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4157 * NEWS: Document yesterday's work.
4159 * runtest: Improve comments.
4161 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4165 * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4167 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4169 * configure.ac: Quote strings throughout in good Autoconf style.
4170 Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4171 expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4172 existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4173 is at version 8.3 or greater.
4174 * configure: Regenerate.
4175 * acinclude.m4: Remove.
4176 * aclocal.m4: Regenerate.
4177 * Makefile.in: Likewise.
4178 * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4179 (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4180 (%.html: %.sgml): Use $(DOCBOOK2HTML).
4181 * doc/Makefile.in: Regenerate.
4182 * example/Makefile.in: Likewise.
4183 * testsuite/Makefile.in: Likewise.
4184 * testsuite/libdejagnu/Makefile.in: Likewise.
4187 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4189 * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4190 * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4191 baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4192 baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4193 baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4194 baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4195 baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4196 baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4197 baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4198 baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4199 baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4200 baseboards/vr5000-ddb.exp: Likewise.
4202 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4204 * runtest: Terminate with an error if expect cannot be found.
4207 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4209 * configure.ac: Use AC_PATH_PROG to find expect(1).
4210 (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4211 * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4212 (DJ_AC_STL): Likewise.
4213 * configure: Regenerate.
4214 * aclocal.m4: Likewise.
4215 * configure: Likewise.
4216 * Makefile.in: Likewise.
4217 * doc/Makefile.in: Likewise.
4218 * example/Makefile.in: Likewise.
4219 * testsuite/Makefile.in: Likewise.
4220 * testsuite/libdejagnu/Makefile.in: Likewise.
4223 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4225 * runtest.1: Remove any mention of mondfe.
4227 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4229 * TODO: Add an item about timeouts.
4231 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4233 * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4235 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4237 * lib/standard.exp: Tidy.
4239 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4241 * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4242 (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4243 (baseboard_SCRIPTS): Remove a29k-udi.exp.
4244 * Makefile.in: Regenerate.
4245 * baseboards/a29k-udi.exp: Remove.
4246 * baseboards/dos.exp: Update comments.
4247 * config/udi.exp: Remove.
4248 * config/vrtx.exp: Remove.
4249 * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4250 * doc/ref.sgml: Likewise.
4251 * doc/user.sgml: Likewise.
4252 * lib/mondfe.exp: Remove.
4253 * lib/xsh.exp: Likewise.
4254 * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4255 * packaging/pkg/prototype: Update.
4258 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4260 * Makefile.am (rpmspec): Remove.
4261 (rpm): Additionally depend on dejagnu.spec.
4262 ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4263 directory. This saves duplicated code in the solpkg and hpdepot
4265 (solpkg): Depend on $(PKGDIR)/dejagnu.
4266 (hpdepot): Likewise.
4267 * Makefile.in: Regenerate.
4269 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4271 * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4272 * Makefile.in: Regenerate.
4273 * testsuite/Makefile.am (CLEANFILES): Remove.
4274 (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4275 * testsuite/Makefile.in: Regenerate.
4277 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4279 * lib/util-defs.exp: Move from here ..
4280 * testsuite/lib/util-defs.exp: .. to here.
4281 * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4282 * Makefile.in: Regenerate.
4283 * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4284 * testsuite/Makefile.in: Regenerate.
4285 * doc/ref.sgml (File Map): Remove util-defs.exp.
4286 * packaging/pkg/prototype: Update file list.
4288 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4290 * NEWS: Document changes since 1.4.4.
4292 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4294 * example/Makefile.am (check-recursive): Remove target.
4295 * example/Makefile.in: Regenerate.
4297 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4299 * dejagnu.h: Conform with GNU coding standard.
4301 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4303 * Makefile.am (PKGING): Remove.
4304 (PACKAGING_METAFILES): Update accordingly.
4305 (CLEANFILES, check-DEJAGNU): Remove.
4306 (tarball): Remove; use `dist'.
4307 (deb): Update target recipe to use `make dist'.
4309 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4311 * Clean.tcl: Remove.
4313 * Makefile.am (SUBDIRS): Add testsuite, example directories.
4314 (EXTRA_DIST): Define.
4315 (pkgdata_SCRIPTS): Add lib/*.exp files.
4316 (DATE, TCLSH): Remove.
4317 (configdir, config_DATA, config_SCRIPTS): Define.
4318 (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4319 (pkgdata_DATA): Likewise.
4320 (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4321 (PKGING, PACKAGING_METAFILES): New macros.
4322 (clean-local): Remove.
4323 (rpm): Depend on dist.
4325 (dist-hook): Remove.
4326 (lib_dest, lib_files): Likewise.
4327 (baseboard_dest, baseboard_files): Likewise.
4328 (include_dest, config_dest, config_files): Likewise.
4329 (install-data-local): Likewise.
4330 (uninstall-local): Likewise.
4331 (site.exp): Likewise.
4332 * Makefile.in: Regenerate.
4334 * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4336 (EXTRA_DIST): Define.
4337 (site.exp): Remove target.
4338 * testsuite/Makefile.in: Regenerate.
4339 * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4340 (noinst_PROGRAMS): Rename from this ..
4341 (check_PROGRAMS): .. to this.
4342 * testsuite/libdejagnu/Makefile.in: Regenerate.
4344 * doc/Makefile.am (man_MANS): Rename from this ..
4345 (dist_man_MANS): .. to this.
4346 (info_TEXINFOS): Define.
4347 (TARGETS): Remove overview.rtf.
4348 (EXTRA_DIST): Define.
4349 (%.rtf: %.sgml): Remove rule.
4350 (%.gif: %.fig): Likewise.
4351 (%.epsi: %.eps): Likewise.
4352 (%.eps: %.fig): Likewise.
4353 (clean, realclean, distclean): Remove.
4354 (install-docs): Don't install overview.rtf.
4355 * doc/Makefile.in: Regenerate.
4356 * doc/texinfo.tex: New file.
4358 * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4359 (check_PROGRAMS): .. to this.
4360 (EXTRA_DIST): Add test cases and calc.1 man page.
4361 * example/calc/Makefile.in: Regenerate.
4362 * example/calc/aclocal.m4: Likewise.
4363 * example/calc/configure: Likewise.
4364 * example/calc/stamp-h.in: Remove.
4365 * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4366 (check_PROGRAMS): .. to this.
4367 (EXTRA_DIST): Define.
4368 * example/hello/Makefile.in: Regenerate.
4369 * example/hello/aclocal.m4: Likewise.
4370 * example/hello/configure: Likewise.
4371 * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4372 * example/hello/testsuite/Makefile.in: Regenerate.
4374 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4376 * configure.ac: Remove commented out code.
4377 * configure: Regenerate.
4379 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4383 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4385 * INSTALL: Import latest version.
4386 * depcomp: Likewise.
4387 * install-sh: Likewise.
4388 * missing: Likewise.
4390 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4392 * configure.in: Rename from this ..
4393 * configure.ac: .. to this. Require Autoconf 2.50.
4394 * Makefile.in: Regenerate.
4395 * doc/Makefile.in: Likewise.
4396 * example/Makefile.in: Likewise.
4397 * testsuite/Makefile.in: Likewise.
4398 * testsuite/libdejagnu/Makefile.in: Likewise.
4400 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4402 * lib/target.exp (prune_warnings): Add spaces where required in
4403 NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
4405 2004-02-05 Ben Elliston <bje@wasabisystems.com>
4407 * config.guess: Update to current revision.
4408 * config.sub: Likewise.
4410 2004-02-04 Ben Elliston <bje@wasabisystems.com>
4412 * configure.in (AC_NO_EXECUTABLES): Remove.
4413 * configure: Rebuild with Autoconf 2.59.
4414 * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4415 (DJ_AC_PATH_TCLSH): Likewise.
4416 (DJ_AC_PATH_DOCBOOK): Likewise.
4417 * aclocal.m4: Rebuild.
4418 * Makefile.in: Rebuild with Automake 1.8.2.
4419 * doc/Makefile.in: Likewise.
4420 * example/Makefile.in: Likewise.
4421 * testsuite/Makefile.in: Likewise.
4422 * testsuite/libdejagnu/Makefile.in: Likewise.
4424 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4426 Import orphaned patches from sources.redhat.com:
4428 2002-05-02 Fernando Nasser <fnasser@redhat.com>
4429 * doc/dejagnu.texi: Document KFAIL and KPASS.
4431 2002-02-20 Richard Henderson <rth@redhat.com>
4432 * lib/target.exp (prune_warnings): Revert early "In function"
4433 strip, as this breaks g++.dg tests. Match dangerous regexp
4434 without the "In function" header.
4436 2002-02-09 Richard Henderson <rth@redhat.com>
4437 * lib/target.exp (prune_warnings): Strip "In function" etc early.
4438 Adjust "dangerous" regexp for glibc's tmpnam warning.
4440 2001-09-10 Jim Blandy <jimb@redhat.com>
4441 * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4442 so we get the version of the `outbyte' function that does console
4443 output in a way that GDB's rom68k target recognizes. Note that
4444 the board can now do output.
4446 2000-04-25 Felix Lee <flee@cygnus.com>
4447 * baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete
4448 misleading comments and null statements.
4450 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4452 * DejaGnu 1.4.4 released.
4454 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4456 * Makefile.am (tarball): Depend on book1.html, not overview.html.
4457 Don't echo needless messages. Portably copy the source tree to
4458 dejagnu-${VERSION}. Portably copy documentation files from the
4459 source tree to the distribution directory. Don't copy RPM-related
4460 files -- leave that to the rpm target.
4461 (snapshot): Remove target.
4462 (overview.html): Rename target from this ..
4463 (book1.htm): .. to this.
4464 (rpm): Portably copy tar file to SOURCES directory.
4465 (deb): Depend on book1.html, not overview.html.
4466 (dist-hook): Depend on book1.html, not overview.html.
4467 * Makefile.in: Rebuild.
4468 * doc/Makefile.am (TARGETS): Depend on book1.html.
4469 (book1.html): Depend on html/book1.html.
4470 (overview.dvi): Remove target.
4471 * doc/Makefile.in: Rebuild.
4473 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4475 * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4476 (cleanfiles): Concatenate regular filenames that match .*.
4478 2004-01-12 Ben Elliston <bje@wasabisystems.com>
4480 * baseboards/frv-sim.exp: Remove reference to devo/sim.
4482 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4484 * doc/overview: Remove all files.
4486 2003-12-03 Ben Elliston <bje@wasabisystems.com>
4488 * testsuite/runtest.all/utils.test: Fix a test for proc find which
4489 assumed that "subsubfile1" would appear at the end of the returned
4490 list. Adjust to use a more robust regular expression.
4492 2003-11-26 Ben Elliston <bje@wasabisystems.com>
4494 * doc/overview.sgml (version): Update.
4495 * doc/overview/installation.html: Likewise.
4497 * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4498 * packaging/pkg/pkginfo: Likewise.
4499 * packaging/depot/dejagnu.psf: Likewise.
4501 2003-10-25 Ben Elliston <bje@wasabisystems.com>
4503 * runtest.exp (frame_version): Bump version.
4504 * configure.in (AM_INIT_AUTOMAKE): Likewise.
4505 * configure: Regenerate.
4507 2003-10-16 Rob Savoye <rob@welcomehome.org>
4509 * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4511 2003-10-13 Ben Elliston <bje@wasabisystems.com>
4513 * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4515 2003-10-11 Corinna Vinschen <vinschen@redhat.com>
4517 * baseboards/sh-sim.exp: New file.
4519 2003-10-11 Ben Elliston <bje@wasabisystems.com>
4522 * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
4524 2003-10-08 Ben Elliston <bje@wasabisystems.com>
4526 * i960glue.c: Remove.
4527 * packaging/pkg/prototype: Remove i960glue.c.
4529 2003-10-07 Ben Elliston <bje@wasabisystems.com>
4531 * contrib/README: Remove.
4532 * contrib/testit: Remove bitrotten script.
4533 * contrib/test-g++: Likewise.
4534 * contrib/test-tool: Likewise.
4536 2003-08-23 Ben Elliston <bje@wasabisystems.com>
4539 * contrib/README: Bring up to date.
4541 2003-08-23 Corinna Vinschen <vinschen@redhat.com>
4543 * config/sid.exp: Add gdb settings to use no hardware watchpoints.
4545 2003-08-23 Ben Elliston <bje@wasabisystems.com>
4547 * README: Update section on reporting bugs.
4549 2003-08-22 Ben Elliston <bje@wasabisystems.com>
4551 * lib/kermit.exp: Document procs.
4552 * lib/ftp.exp: Likewise.
4554 2003-08-19 Ben Elliston <bje@wasabisystems.com>
4556 * contrib/testit: Run wish via /usr/bin/env for portability.
4558 2003-08-18 Ben Elliston <bje@wasabisystems.com>
4560 * Makefile.am: Tidy comments and unused command lines.
4561 * Makefile.in: Regenerate.
4562 * testsuite/libdejagnu/Makefile.in: Likewise.
4564 * contrib/bluegnu2.0.3: Remove unsupported subtree.
4566 2003-08-18 Ben Elliston <bje@wasabisystems.com>
4568 * MAINTAINERS: New file.
4570 2003-08-17 Ben Elliston <bje@wasabisystems.com>
4572 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
4573 * doc/Makefile.in: Regenerate.
4575 2003-08-16 Ben Elliston <bje@wasabisystems.com>
4577 * doc/overview.sgml (overview): Start overhauling chapter.
4579 * doc/README.Writers: New document on style conventions.
4580 * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
4581 * doc/user.sgml: Likewise.
4582 * doc/overview.sgml: Likewise.
4583 * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
4585 2003-08-12 Ben Elliston <bje@wasabisystems.com>
4587 * Makefile.am (tarball): Update path to dejagnu.spec.
4588 (rpmspec): Likewise.
4589 (deb): Likewise, update path to package metafiles.
4591 (hpdepot): Likewise.
4592 * Makefile.in: Regenerate.
4593 * aclocal.m4: Likewise.
4594 * configure: Likewise.
4595 * doc/Makefile.in: Likewise.
4596 * example/Makefile.in: Likewise.
4597 * testsuite/Makefile.in: Likewise.
4598 * deb: Move from here ..
4599 * packaging/deb: .. to here.
4600 * redhat: Move from here ..
4601 * packaging/rpm: .. to here.
4602 * depot: Move from here ..
4603 * packaging/depot: .. to here.
4604 * pkg: Move from here ..
4605 * packaging/pkg: .. to here.
4607 * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
4608 (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
4609 * testsuite/libdejagnu/Makefile.in: Regenerate.
4611 2003-08-07 Ben Elliston <bje@wasabisystems.com>
4613 * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
4614 to increment count rather than count++ as in C.
4616 2003-08-06 Ben Elliston <bje@wasabisystems.com>
4618 * lib/remote.exp: Replace "TCL" with "Tcl".
4620 2003-07-30 Ben Elliston <bje@wasabisystems.com>
4622 * doc/runtest.1: Replace "TCL" with "Tcl".
4623 Make last revision date current.
4625 2003-07-29 Ben Elliston <bje@wasabisystems.com>
4627 * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
4628 URLs and other stylistic improvements.
4629 * doc/ref.sgml: Likewise.
4630 * doc/user.sgml: Likewise.
4632 2003-07-25 Mike Stump <mrs@apple.com>
4634 * lib/target.exp (prune_warnings): Handle "nfs server .* not
4635 responding" and "nfs server .* is alive again".
4637 2003-07-20 Ben Elliston <bje@wasabisystems.com>
4639 * config.guess: Update to most recent version.
4640 * config.sub: Ditto.
4641 * AUTHORS: Add self to list of maintainers.
4643 2003-07-25 Jim Dein <jdein@deinji5.apple.com> (RIP)
4645 * lib/utils.exp (find): Fix double recursion bug.
4647 2002-02-25 Jackie Smith Cashion <jsmith@redhat.com>
4649 * baseboards/am33_2.0-libremote.exp: New file.
4651 2000-11-21 Drew Moseley <dmoseley@redhat.com>
4653 * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
4656 2000-08-10 Drew Moseley <dmoseley@cygnus.com>
4658 * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
4661 2003-06-13 Phil Edwards <pme@devphil.com>
4663 * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
4664 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
4665 only -T[linker] instead of -Wl,-T[linker].
4667 2003-06-13 Jason Thorpe <thorpej@wasabisystems.com>
4669 * lib/target.exp (prune_warnings): Add two more linker
4670 warning patterns for warnings generated by modern verions
4673 2003-05-12 H.J. Lu <hongjiu.lu@intel.com>
4675 * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
4677 2003-05-09 H.J. Lu <hongjiu.lu@intel.com>
4679 * runtest: Fix a typo.
4681 2003-05-03 Nitin Dhavale <nitinpdhavale@indiatimes.com>
4683 * doc/user.sgml: Clarify how to set the verbose option.
4685 2003-03-28 Chris Demetriou <cgd@broadcom.com>
4687 * lib/framework.exp (check_conditional_xfail): Adjust so that
4688 an empty 'includes' list matches all sets of flags.
4689 * doc/dejagnu.texi: Document the above.
4690 * doc/ref.sgml: Likewise.
4692 2003-03-27 David Heine <dlheine@tensilica.com>
4694 * baseboards/xtensa-sim.exp: Fix a syntax error.
4696 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org>
4698 * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
4699 than stomp on it. This is based on a patch from Brendan Conoboy
4701 * Most files: Update copyright dates.
4703 2003-03-13 Mike Stump <mrs@apple.com>
4705 * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
4706 help ensure uniqueness.
4708 2003-03-05 Alexandre Oliva <aoliva@redhat.com>
4710 * lib/remote.exp (standard_download, standard_upload): Support
4711 nfsdir and nfsroot_server.
4713 See ChangeLog-1992 for earlier changes.