1 2021-05-18 Jacob Bachmeyer <jcb@gnu.org>
3 * testsuite/runtest.main/pr48155.exp: Fix assumption about exit
4 code from /bin/false, which is different on Solaris.
6 2021-05-05 Jacob Bachmeyer <jcb@gnu.org>
10 * Makefile.am (TESTSUITE_FILES): Update.
11 (CLEANFILES): Add special init file for PR48155 nested tests.
13 * testsuite/runtest.main/pr48155.exp: New file.
14 * testsuite/runtest.main/pr48155-csh.sh: New trivial file. This
15 script emulates the behavior of the C shell if an attempt is made
16 to use it to run the config.guess script.
18 2021-05-04 Jacob Bachmeyer <jcb@gnu.org>
22 * runtest.exp: Tighten regexp used to validate output from
23 config.guess. The previous regexp would accept an error produced
24 if config.guess was incorrectly run using the C shell.
26 2021-04-28 Jacob Bachmeyer <jcb@gnu.org>
28 * configure, Makefile.in: Regenerate.
30 * runtest.exp, configure.ac, doc/version.texi: Update version.
32 * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
33 to work around Automake limitation of assuming that v7 is default.
35 2021-04-20 Jacob Bachmeyer <jcb@gnu.org>
37 * configure.ac: Set Automake options to use the ancient and
38 universal V7 format when building distribution tarballs. The
39 limitations of this format are not expected to impact DejaGnu; the
40 "ustar" format will be used instead if this is proved wrong.
42 * Makefile.am (TAR_OPTIONS): Add exported environment variable to
43 set options when building distribution tarballs. Ensure that all
44 files in distribution tarballs will be recorded as owned by root.
46 2021-04-16 Jacob Bachmeyer <jcb@gnu.org>
50 * dejagnu (command): Use Awk instead of non-portable basename(1)
51 and a non-portable sed(1) pattern to initially set this variable.
53 * dejagnu: Use shell "case" pattern match instead of non-portable
54 "grep -q" to determine if "awk" is GNU Awk.
56 * dejagnu: Use Awk instead of non-portable "grep -q" to verify
57 that a file contains a help message. Also use Awk to extract help
58 messages from files, instead of a complex dynamic sed(1) program.
60 * configure.ac: Remove experimental support for propagating
61 CONFIG_SHELL to scripts in the source directory.
63 * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
64 running config.guess. Check the result carefully and stop with an
65 error immediately if running config.guess does not produce
66 something that plausibly resembles a triplet. Advise the user
67 that SHELL or CONFIG_SHELL may need to be set in the environment.
69 2021-04-15 Jacob Bachmeyer <jcb@gnu.org>
73 * dejagnu: Avoid using $? for an exit code; it is convenient until
74 the tests fail because the script is run on Solaris where false
75 returns 255 instead of 1 and the test harness expects exit code 1.
77 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
81 * dejagnu: Replace use of "expr :" with shell "case" pattern
82 match to avoid limitations of Solaris 10 expr(1).
84 2021-04-08 Jacob Bachmeyer <jcb@gnu.org>
86 * configure: Regenerate.
88 * runtest.exp, configure.ac, doc/version.texi: Update version.
90 * configure.ac: Change "dnl" comments that should appear in
91 configure to regular comments.
92 Add experimental support for propagating CONFIG_SHELL to the
93 config.sub and config.guess scripts in the source directory.
95 2021-04-01 Jacob Bachmeyer <jcb@gnu.org>
99 * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
100 message to better fit GNU conventions, with thanks to Tom Tromey
101 for the reporting this issue.
105 * runtest: Remove use of non-portable "if !" that causes problems
106 with /bin/sh on Solaris 10.
108 * dejagnu (Variants): Split the declaration of this read-only
109 variable into an assignment followed by marking it read-only,
110 instead of doing both in one statement. The Solaris 10 /bin/sh
111 does not accept the combined form.
113 2021-03-30 Jacob Bachmeyer <jcb@gnu.org>
115 * configure: Regenerate.
117 * runtest.exp, configure.ac, doc/version.texi: Update version.
119 2021-03-26 Jacob Bachmeyer <jcb@gnu.org>
123 * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
124 since Solaris man(1) does not accept explicit filenames. The
125 manpages will be installed as usual, and the "dejagnu help"
126 command should work after installation.
128 Also set PAGER for testing, since other systems might also ignore
129 MANPAGER and that would cause the test to hang.
131 * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
132 copies of the output produced to the log.
134 * commands/help.sh: Extend PR47382 fix (below) to this file.
138 * testsuite/lib/runtest.exp: Remove support for automatically
139 locating an Expect executable in the old Cygnus tree layout.
141 2021-03-25 Jacob Bachmeyer <jcb@gnu.org>
145 * dejagnu, runtest: Remove use of "$()" command substitution and
146 "$(())" arithmetic substitution shell constructs. The /bin/sh on
147 Solaris 10 does not support them. They were replaced with the
148 traditional backticks for command substitution and backticks and
149 the expr command for arithmetic substitution.
151 Also add markers to explicitly disable shellcheck warnings that
152 would lead to reintroducing these problems.
154 Also avoid the non-portable "`..."..."...`" construct on a warning
155 in the GNU Autoconf manual, section "Shell Substitutions",
156 although this introduces additional variables.
158 2021-03-22 Jacob Bachmeyer <jcb@gnu.org>
160 * configure: Regenerate.
162 * runtest.exp, configure.ac, doc/version.texi: Update version.
164 * config.guess, config.sub: Import from upstream.
166 * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
168 2021-03-15 Jacob Bachmeyer <jcb@gnu.org>
170 * Makefile.am, Makefile.in: Update accordingly.
172 * contrib/compare_tests: Remove. This file lacked a GPL notice.
173 This file was imported from GCC many years ago. The GCC version
174 has benefited from continued development, while ours has not.
176 * testsuite/runtest.libs/load_lib.exp: Remove. This file lacked a
177 GPL notice and an attempt to contact the contributor produced no
178 response. The tests in this file will need to be rewritten in any
179 case; there is a bug in load_lib that they should expose and there
180 is now additional infrastructure for tests of this type that was
181 not available when this file was written.
183 2020-12-27 Jacob Bachmeyer <jcb@gnu.org>
185 * testsuite/runtest.libs/libs.exp (process_test): Report running
186 test scripts as each test script is run.
187 Also, at top-level, sort the list of tests to run.
189 * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
190 from new "testsuite can call api" feature test API entrypoint.
191 * lib/framework.exp (testsuite_can): Likewise.
192 * testsuite/runtest.libs/testsuite_can.test: Likewise.
195 2020-12-16 Jacob Bachmeyer <jcb@gnu.org>
197 * configure: Regenerate.
199 * configure.ac: Remove Tcl version check.
201 Apply patch from Nick Clifton:
203 * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
205 Apply patch from Dimitar Dimitrov:
207 * baseboards/pru-sim.exp: New file.
209 * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
210 * Makefile.in (baseboard_DATA): Likewise.
212 2020-12-15 Jacob Bachmeyer <jcb@gnu.org>
214 * configure: Regenerate.
215 * Makefile.in: Regenerate.
217 * Makefile.am (RUNTEST): Explain override of Automake default.
219 * configure.ac: Update for autoconf 2.69 using autoupdate.
220 * configure.ac: Remove search for expect now handled by Automake.
222 Apply patch from Dimitar Dimitrov:
224 * Makefile.am (dejagnu_TEXINFOS): Change this...
225 * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
227 This fixes an incorrectly recorded dependency.
229 2020-11-17 Jacob Bachmeyer <jcb@gnu.org>
233 * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
234 that conflated the tool init file with the target interface file.
235 (Make Check): Add cross-reference to the GNU Automake manual for
238 2020-11-10 Jacob Bachmeyer <jcb@gnu.org>
242 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
243 Use [file normalize] to ensure that link targets are unambiguous.
244 (link_dejagnu_launcher_test_item): Avoid spurious errors when test
245 environment has already been prepared in a previous run.
247 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
248 New procedure to collect existing repeated testsuite code.
249 * testsuite/launcher.all/command.exp: Establish testing
250 environment using link_dejagnu_launcher_test_item procedure.
252 2020-11-09 Jacob Bachmeyer <jcb@gnu.org>
254 * aclocal.m4: Regenerate.
255 * configure: Regenerate.
256 * Makefile.in: Regenerate.
258 * configure.ac: Revert development version branch tagging hook.
259 * Makefile.am: Likewise.
261 These caused failures (reported in PR44462 as a secondary issue)
262 when a source tree is copied out of a Git directory.
264 2020-08-31 Jacob Bachmeyer <jcb@gnu.org>
266 * doc/runtest.1: Add brief GFDL notice. License notice in the
267 formatted manpage should now describe DejaGnu as a whole.
269 * NEWS: Prepare for release.
271 2020-08-18 Jacob Bachmeyer <jcb@gnu.org>
273 * testsuite/runtest.libs/testsuite_file.test: Add missing
274 copyright and GPL notice.
275 * testsuite/runtest.libs/testsuite_can.test: Likewise.
276 * testsuite/runtest.libs/testcase_group.test: Likewise.
278 2020-08-12 Jacob Bachmeyer <jcb@gnu.org>
280 * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
281 (Running unit tests): Add node.
282 (DejaGnu unit test protocol): Add node.
283 (C unit testing API): Update to reflect current API. Move mention
284 of dejagnu.h header here in preparation for future expanded
286 (C++ unit testing API): Likewise. Mention caveat that the C unit
287 test API is also available in C++ programs.
289 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
291 * baseboards/qemu.exp: Tidy whitespace.
293 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
295 Merge patch from Kito Cheng to add support for RISC-V sim target.
297 * baseboards/riscv-sim.exp: New file.
298 * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
299 * Makefile.in (baseboard_DATA): Likewise.
301 2020-08-02 Jacob Bachmeyer <jcb@gnu.org>
303 * Makefile.am (TESTSUITE_FILES): Add files that were introduced
304 during development but were mistakenly not added at that time.
305 (baseboard_DATA): Sort baseboard file list.
306 (baseboard_DATA): Add missing files.
307 (dejagnu_TEXINFOS): New; add GNU FDL file.
308 (CONTRIB): Add experimental Python unit test module.
310 * Makefile.in (TESTSUITE_FILES): Likewise.
311 (baseboard_DATA): Likewise.
313 * testsuite/dejagnu.py: Move from here...
314 * contrib/dejagnu.py: ...to here.
316 2020-08-02 Rob Savoye <rob@senecass.com>
318 * Makefile.in: Regenerate so make dist works.
320 2020-07-25 Jacob Bachmeyer <jcb62281+dev@gmail.com>
322 * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
323 procedure "perror" instead of the Tcl command "error".
324 (Writing a test case): Reorganize node and give basic hints about
325 Tcl quoting and backslash escape rules.
326 (Writing a test case): Describe synchronization issues and warn
327 that prefixes of valid input can be presented for matching.
328 (Writing a test case): Fix markup from conversion from DocBook.
330 2020-07-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
334 * NEWS: Document changes to host_execute.
336 * lib/dejagnu.exp (host_execute): Revise expect matching to
337 combine all unit test protocol lines into one pattern.
338 (host_execute): Rework other expect patterns.
339 (host_execute): Ensure that all output from child process is read
340 until the child closes its output to avoid sending early SIGPIPE.
341 (host_execute): Report an ERROR (and cause the next test to be
342 recorded as UNRESOLVED) if the Expect matching buffer overflows.
343 (host_execute): Remove dependency on global "text" variable.
345 * Makefile.am (TESTSUITE_FILES): Update.
347 * testsuite/runtest.main/stats.exp: Generalize infrastructure and
348 add tests for DejaGnu unit testing support.
349 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
351 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
354 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
358 * Makefile.am (TESTSUITE_FILES): Update.
360 * lib/dejagnu.exp (host_execute): Allow the executable to be
361 specified with an absolute file name.
362 (host_execute): Fix argument handling to allow passing more than
363 one argument to the executable. Return early if given no
364 arguments at all instead of trying to execute "./".
366 * testsuite/runtest.main/pr42399.exp: New file.
367 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
369 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
372 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
374 * Makefile.am (CLEANFILES): Update.
375 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
377 * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
379 (runtest_cleanup_nested_testsuite): New procedure.
381 * testsuite/runtest.main/error.exp: Use the tool name "error" to
382 select the proper subset of the nested testsuite. Use new
383 procedures for handling nested testsuite. Use common
384 nested-init.exp local init file for nested testsuite. Let local
385 init file nested-init.exp handle setting "outdir" variable.
386 * testsuite/runtest.main/options.exp: Likewise; "null" tool.
387 * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
389 * testsuite/runtest.main/nested/: Combine nested testsuites.
390 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
392 * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
394 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
396 * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
398 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
400 * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
402 * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
404 * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
406 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
408 * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
410 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
412 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
415 2020-07-16 Rob Savoye <rob@senecass.com>
417 * baseboards/qemu.exp: Works now with qemu instead of sim.
419 2020-07-06 Rob Savoye <rob@senecass.com>
421 * baseboards/qemu.exp: Initial working support to use qemu for
423 * Makefile.am: Install qemu.exp.
424 * autogen.sh: Add script borrowed from my Gnash project to
425 regenerate configure/build files.
426 * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
427 * doc/dejagnu.texi: Update copyright date.
429 2020-06-29 Jacob Bachmeyer <jcb62281+dev@gmail.com>
433 * NEWS: Add item for repeated error messages.
435 * lib/framework.exp (log_and_exit): Add separator lines around the
436 error dumps repeated at the end of a run.
438 2020-06-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
442 * NEWS: Remove items for --keep_going / --no_keep_going options.
444 * Makefile.am (CLEANFILES): Adjust for renames.
445 (TESTSUITE_FILES): Likewise.
447 * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
448 --no_keep_going options.
449 (A POSIX Conforming Test Framework): Document that Tcl errors in
450 test scripts produce UNRESOLVED results as placeholders.
452 * doc/runtest.1: Likewise.
454 * lib/framework.exp (log_and_exit): Print collected Tcl errors.
456 * runtest.exp (dejagnu::error): New internal namespace.
457 (runtest): Collect Tcl errors caught while executing test scripts.
458 (dejagnu::opt): Remove internal namespace.
459 Remove --keep_going / --no_keep_going options. No longer abort on
460 any Tcl errors; instead store them and repeat the messages at the
463 * testsuite/runtest.main/abort.exp: Rename from this ...
464 * testsuite/runtest.main/error.exp: ... to this and revise tests.
466 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
468 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
470 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
472 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
474 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
476 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
479 2020-06-24 Jacob Bachmeyer <jcb62281+dev@gmail.com>
483 * NEWS: Revise relevant items.
485 * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
486 * doc/runtest.1: Document --no_keep_going option. Remove
487 long-obsolete --name option. The --name option had been removed
488 from runtest before the code was imported into what became the
491 * runtest.exp: Add option --no_keep_going to stop immediately if a
492 test script aborts due to a Tcl error. Remove vestiges of
493 long-obsolete --name option. Make --keep_going option default.
495 * testsuite/runtest.main/abort.exp: Adjust tests to use
496 --no_keep_going and --keep_going instead of assuming a default.
498 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
500 Merge patches from Maciej W. Rozycki to fix timeout handling.
502 * lib/remote.exp (close_wait_program): Use `catch' in killing
505 * lib/remote.exp (close_wait_program): Only kill the pending
506 force-kills if the PID list has a single entry.
507 (local_exec): Set the channel about to be closed to the
508 nonblocking mode if we didn't see an EOF.
509 (standard_close): Likewise, unconditionally.
511 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
513 * NEWS: Mention "linker=" option and added language support.
515 * doc/dejagnu.texi (target_compile procedure): Document new
516 "linker=" option to target_compile.
518 * lib/target.exp (default_target_compile): Actually use internal
519 option for separate linker provided for Go language support. This
520 seems to have been accidentally omitted from Tom Tromey's patches.
521 (default_target_compile): Add "linker=" option, similar to
522 "compiler=" option, but the former overrides the latter when
523 building an executable.
524 (default_target_compile): Ensure that "--emit obj" is spaced from
525 previous item when used to compile Rust. Use "--emit asm" instead
526 of "-S" when generating assembly from Rust sources.
528 * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
529 Also add tests for the new "early_flags=" and "linker=" options.
531 2020-06-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
533 * doc/dejagnu.texi (Libgloss): Update menu.
534 (find_go procedure, find_go_linker procedure): New nodes.
535 (find_rustc procedure): New node.
537 2020-06-19 Tom Tromey <tromey@adacore.com>
539 * doc/dejagnu.texi (target_compile procedure): Document Go
541 * lib/target.exp (default_target_compile): Handle Go.
542 * lib/libgloss.exp (find_go, find_go_linker): New procs.
544 2020-06-19 Tom Tromey <tromey@adacore.com>
546 * doc/dejagnu.texi (target_compile procedure): Document rust
548 * lib/target.exp (default_target_compile): Handle rust.
549 * lib/libgloss.exp (find_rustc): New proc.
551 2020-06-19 Tom Tromey <tromey@adacore.com>
553 * lib/target.exp (default_target_compile): Add early_flags.
554 * doc/dejagnu.texi (target_compile procedure): Document
557 2020-06-19 Jacob Bachmeyer <jcb62281+dev@gmail.com>
559 Merge patches from Tom de Vries <tdevries <at> suse.de> and write
562 * testsuite/runtest.main/abort.exp: Add tests that verify handling
563 of arithmetic errors (divide-by-zero) in a procedure called within
566 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
568 2020-06-18 Jacob Bachmeyer <jcb62281+dev@gmail.com>
572 Thanks to Tom de Vries for raising these concerns and offering the
573 initial testsuite patch that led to these changes.
575 * NEWS: Add item for consistent abort-on-error handling.
577 * lib/framework.exp (unknown): Always link global variables. Tidy.
578 Silently propagate errors raised in autoloaded procedures and move
579 the UNRESOLVED result and aborting the test run to...
580 * runtest.exp (runtest): Report an UNRESOLVED result if a test
581 script aborts due to a Tcl error. Link global errorCode and
582 report its value if an error occurs. For consistency, abort the
583 test run on any Tcl error in a test script instead of only when
584 calling an undefined procedure.
586 * testsuite/runtest.main/abort.exp: Add tests to verify handling
587 of arithmetic errors (divide-by-zero) in an auto-loaded procedure
588 called from a test script. Adjust other patterns.
590 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
593 2020-06-17 Jacob Bachmeyer <jcb62281+dev@gmail.com>
597 * NEWS: Add item for --keep_going option.
599 * Makefile.am (CLEANFILES): Add abort-init.exp to list.
600 (TESTSUITE_FILES): Add new testsuite files to list.
602 * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
604 * doc/runtest.1: Likewise.
606 * lib/framework.exp (unknown): Report an UNRESOLVED result if an
607 unknown command is invoked. Avoid exiting and propagate the error
608 from Tcl's "unknown" procedure if --keep_going was
609 specified. Brace procedure argument list.
610 * runtest.exp (dejagnu::opt): New namespace.
611 Add option --keep_going to continue running tests after a test
612 script aborts due to calling an undefined command.
614 * testsuite/runtest.main/abort.exp: New file.
615 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
617 * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
620 2020-06-17 Tom de Vries <tdevries <at> suse.de>
622 * lib/framework.exp (unknown): Propagate return value of auto-loaded
625 2020-06-15 Jacob Bachmeyer <jcb62281+dev@gmail.com>
627 Merge patches from Linaro:
629 2018-09-28 Christophe Lyon <christophe.lyon@linaro.org>
630 * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
631 machine, to avoid race conditions.
633 2016-04-25 Yvan Roux <yvan.roux@linaro.org>
634 * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
635 * lib/ssh.exp (ssh_exec): Likewise.
637 2016-06-28 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
638 * config/unix.exp (unix_load): Prepend the value of an
639 "exec_shell" board_info key to the command if it is defined.
641 2020-06-06 Jacob Bachmeyer <jcb62281+dev@gmail.com>
643 * NEWS: Document "testcase" command.
645 * doc/dejagnu.texi (testcase procedure): Document multiplex entry
646 point and "testcase group" command.
648 * lib/framework.exp: Add internal namespace ::dejagnu::group.
649 (::dejagnu::group::check_name): New procedure.
650 (::dejagnu::group::current): New procedure.
651 (::dejagnu::group::push): New procedure.
652 (::dejagnu::group::pop): New procedure.
653 (::dejagnu::group::pop_to_file): New procedure.
654 (testcase): New procedure for multiplex commands.
655 (testcase_group): New procedure implementing "testcase group".
657 * testsuite/runtest.libs/testcase_group.test: New file.
659 2020-06-05 Jacob Bachmeyer <jcb62281+dev@gmail.com>
661 * NEWS: Document new "testsuite can call api" command.
663 * doc/dejagnu.texi (testsuite procedure): Document new subcommand
664 "testsuite can call api".
666 * lib/framework.exp (testsuite): Add branch for "testsuite can".
667 (testsuite_can): New procedure implementing "testsuite can".
669 Add internal array ::dejagnu::apilist to store information for
670 "testsuite can call api" for querying the availability of an API
671 call. This will allow test scripts to adapt and use new features
672 while still being able to run under older versions of DejaGnu.
674 * testsuite/runtest.libs/testsuite_can.test: New file.
676 2020-06-02 Jacob Bachmeyer <jcb62281+dev@gmail.com>
679 * NEWS: Fix typo. Fix Emacs mode tag.
680 Document use of Tcl namespace ::dejagnu for internals.
681 * runtest.exp (dejagnu::command_line): New namespace.
682 (dejagnu::command_line::save_cmd_var): New procedure.
683 (dejagnu::command_line::restore_cmd_vars): New procedure.
684 (dejagnu::command_line::dump_cmd_vars): New procedure.
685 * runtest.exp: Save internal variables set by command line
686 arguments during the first pass and restore their values after
687 loading testsuite init files.
689 2020-06-01 Jacob Bachmeyer <jcb62281+dev@gmail.com>
692 * runtest.exp: Describe search for testsuite at verbose level 3.
693 Print initial working directory at verbose level 1.
695 2020-05-28 Jacob Bachmeyer <jcb62281+dev@gmail.com>
698 * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
699 value to use an absolute file name.
700 * testsuite/lib/report-card.exp: Likewise.
701 * testsuite/runtest.main/options.exp: Set outdir in options-init
702 instead of changing working directory in child runtest.
704 * runtest.exp (logname): Move verbose display of logname to
705 immediately after finding the user's login name.
708 * runtest.exp (libdir): Fix default value of global variable.
710 * ChangeLog: Tidy irregular indentation.
712 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
714 * doc/dejagnu.texi (target_compile procedure): Add documentation.
716 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
718 * doc/dejagnu.texi (target_link procedure): New stub node.
719 (default_link procedure): Document internal procedure.
720 (default_target_assemble procedure): Likewise.
721 (default_target_compile procedure): Likewise.
723 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
725 * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
726 mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
728 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
730 * lib/target.exp (default_target_compile): Use "host_info"
731 procedure to probe for a host configuration, instead of checking a
732 local empty target_info array due to lacking "global target_info".
734 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
736 * doc/dejagnu.texi (Adding a new board): Document that the
737 "compiler" board_info field is optional and defaults to [find_gcc]
739 (Board configuration file): Likewise.
741 * lib/target.exp (default_target_compile): Establish a default C
742 compiler by evaluating [find_gcc] if no other compiler is given.
744 * baseboards/aarch64-sim.exp: Remove no-longer-needed
745 "set_board_info compiler [find_gcc]" from this file.
746 * baseboards/am33_2.0-libremote.exp: Likewise.
747 * baseboards/androideabi.exp: Likewise.
748 * baseboards/arm-ice.exp: Likewise.
749 * baseboards/arm-sim.exp: Likewise.
750 * baseboards/cris-sim.exp: Likewise.
751 * baseboards/d30v-sim.exp: Likewise.
752 * baseboards/fr30-sim.exp: Likewise.
753 * baseboards/frv-sim.exp: Likewise.
754 * baseboards/gdbserver-sample.exp: Likewise.
755 * baseboards/iq2000-sim.exp: Likewise.
756 * baseboards/linux-gdbserver.exp: Likewise.
757 * baseboards/linux-libremote.exp: Likewise.
758 * baseboards/mcore-moto-sim.exp: Likewise.
759 * baseboards/mcore-sim.exp: Likewise.
760 * baseboards/mips-sim-idt32.exp: Likewise.
761 * baseboards/mips-sim-idt64.exp: Likewise.
762 * baseboards/mips-sim-mti32.exp: Likewise.
763 * baseboards/mips-sim-mti64.exp: Likewise.
764 * baseboards/mips-sim-mti64_64.exp: Likewise.
765 * baseboards/mips-sim-mti64_n32.exp: Likewise.
766 * baseboards/mips-sim-sde32.exp: Likewise.
767 * baseboards/mips-sim-sde64.exp: Likewise.
768 * baseboards/mips-sim.exp: Likewise.
769 * baseboards/mmixware-sim.exp: Likewise.
770 * baseboards/mn10200-sim.exp: Likewise.
771 * baseboards/mn10300-sim.exp: Likewise.
772 * baseboards/moxie-sim.exp: Likewise.
773 * baseboards/msp430-sim.exp: Likewise.
774 * baseboards/powerpc-sim.exp: Likewise.
775 * baseboards/powerpcle-sim.exp: Likewise.
776 * baseboards/rx-sim.exp: Likewise.
777 * baseboards/sh-sim.exp: Likewise.
778 * baseboards/sparc-sim.exp: Likewise.
779 * baseboards/sparc64-sim.exp: Likewise.
780 * baseboards/sparclite-sim-le.exp: Likewise.
781 * baseboards/sparclite-sim.exp: Likewise.
782 * baseboards/unix.exp: Likewise.
783 * baseboards/v850-sim.exp: Likewise.
784 * baseboards/visium-sim.exp: Likewise.
785 * baseboards/xtensa-sim.exp: Likewise.
787 2020-05-24 Rob Savoye <rob@senecass.com>
789 * baseboards/pi.exp: New config file for cross testing to a
792 2020-05-24 Tom Tromey <tom@tromey.com>
794 * .gitignore: Add files.
796 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
798 * testsuite/runtest.libs/target.test: Use mockutil.tcl.
799 Collect loading DejaGnu libraries into a single loop.
800 Revise the mock board_info array.
801 Add section headings for different test groups in this file.
802 Add tests for default_target_compile in lib/target.exp.
803 * testsuite/runtest.libs/mockutil.tcl: New file.
805 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
807 * doc/dejagnu.texi (remote_exec procedure): Explicitly list
808 optional arguments instead of simply copying the Tcl argument list
809 or the remote_exec procedure.
811 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
813 * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
814 string instead of opening a temporary file named .tmp.
815 * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
817 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
819 * testsuite/runtest.libs/target.test: Rename fake "target_info"
820 array to a fake "board_info" array, to align with changes made to
821 the DejaGnu core on 29 January 1997 that moved the target
822 configuration data into the global board_info array.
824 * testsuite/runtest.libs/remote.test: Likewise.
826 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
828 * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
829 requests to run only some library tests.
831 2020-05-18 Rob Savoye <rob@senecass.com>
833 * configure.ac: Extract the current branch.
834 * Makefile.am: Change the frame_version in runtest.exp post
835 install to add the branch and git revision to make it easier to
836 support multiple versions during development.
838 2020-05-15 Rob Savoye <rob@senecass.com>
840 * All files: Minor change, update copyright dates.
842 2019-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
844 * runtest.exp (search_and_load_file): Join the directory and
845 filename once using 'file join'.
847 2019-01-24 Jacob Bachmeyer <jcb62281@gmail.com>
849 * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
850 spacing so the Emacs move-by-sentence commands work correctly.
852 2019-01-23 Ben Elliston <bje@gnu.org>
854 * doc/dejagnu.texi: Replace "config file" with "configuration
857 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
859 * doc/dejagnu.texi (Command line option variables): Improve table
860 formatting to fix overlapping columns and revise text slightly.
862 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
864 * doc/dejagnu.texi (Global config file): Change example to use the
865 Tcl "switch" command instead of the deprecated "case" command.
867 2019-01-12 Jacob Bachmeyer <jcb62281@gmail.com>
869 * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
870 the structure of the "runtests" argument.
872 2019-01-12 Ben Elliston <bje@gnu.org>
874 * doc/dejagnu.texi: Various documentation fixes.
876 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
878 * testsuite/runtest.libs/clone_output.test: Use new test harness
879 for verifying output of clone_output.
881 * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
882 template using store_test_output.
883 (send_log): Likewise.
884 (send_user): Likewise.
885 (clear_test_output): New proc.
886 (store_test_output): New proc.
888 * lib/framework.exp (clone_output): Actually send errors to the
889 error stream; bug found while improving testsuite.
891 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
893 * testsuite/runtest.libs/libs.exp (process_test): Handle blank
894 lines from child process correctly.
896 2019-01-02 Jacob Bachmeyer <jcb62281@gmail.com>
898 * NEWS: Document report card.
900 * Makefile.am (clean-local): Add target.
901 (clean-local-check): Add target; mark as PHONY.
902 (commands_DATA): Add "report-card" scripts.
903 (dist_man_MANS): Add dejagnu-report-card.1 and split.
904 (DEJATOOL): Add "report-card" tool.
905 (TESTSUITE_FILES): Add testsuite for "report-card" tool.
907 * commands/report-card.awk: New command script.
909 * doc/dejagnu.texi (Invoking dejagnu report card): New node.
910 * doc/dejagnu-report-card.1: New man page.
912 * testsuite/lib/bohman_ssd.exp: New file.
913 * testsuite/lib/report-card.exp: New file.
914 * testsuite/report-card.all/onetest.exp: New file.
915 * testsuite/report-card.all/passes.exp: New file.
917 2019-01-02 Ben Elliston <bje@gnu.org>
919 * Makefile.am (DISTCLEANFILES): Don't use this.
920 (CLEANFILES): Use this instead.
921 * Makefile.in: Regenerate.
923 2019-01-01 Ben Elliston <bje@gnu.org>
925 * configure.ac: Abort if AWK is not installed.
926 * configure: Regenerate.
928 2019-01-01 Ben Elliston <bje@gnu.org>
930 * config.guess: Update to latest version.
931 * config.sub: Likewise.
933 2019-01-01 Ben Elliston <bje@gnu.org>
935 * configure.ac: Add AC_PROG_AWK check.
936 * configure: Regenerate.
938 2018-12-29 Jacob Bachmeyer <jcb62281@gmail.com>
940 * dejagnu: Avoid use of semicolon as sed(1) command separator.
941 POSIX does not clearly require sed(1) to support that feature.
943 2018-12-28 Jacob Bachmeyer <jcb62281@gmail.com>
945 * testsuite/lib/util-defs.exp: Whitespace clean up.
947 2018-12-21 Jacob Bachmeyer <jcb62281@gmail.com>
950 * dejagnu: Improve command parsing to fix bug. Previously, the
951 documented equivalence between "multi word command" and
952 "multi-word-command" did not hold if no arguments were given.
953 * testsuite/launcher.all/command.exp: Add tests.
955 2018-12-20 Ben Elliston <bje@gnu.org>
957 * NEWS: Add item for new dejagnu command.
959 * Makefile.am (EXTRA_DIST): Remove $(XML).
960 * Makefile.in: Regenerate.
962 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
964 * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
965 contents of $(commands_DATA).
966 (bin_SCRIPTS): Add "dejagnu" launcher script.
967 (commandsdir): Installation directory for "dejagnu" subcommands is
968 $(pkgdatadir)/commands.
969 (commands_DATA): New, contains "commands/help.sh" as initial item.
970 (TESTSUITE_FILES): Add testsuite for same.
971 (DEJATOOL): Add "launcher" to list of tools to test.
972 (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
974 * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
975 (Invoking dejagnu): New node for dejagnu(1) launcher script.
976 (Invoking dejagnu help): New node.
978 * doc/dejagnu.1: New man page.
979 * doc/dejagnu-help.1: New man page.
981 * dejagnu: New script.
983 * commands/help.sh: New dejagnu subcommand for reading manpages.
985 * testsuite/launcher.all/command.exp: New file.
986 * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
987 * testsuite/launcher.all/command/commands/bar.awk: New file.
988 * testsuite/launcher.all/command/commands/bar.sh: New file.
989 * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
990 * testsuite/launcher.all/command/commands/foo.sh: New file.
991 * testsuite/launcher.all/command/commands/foo.tcl: New file.
992 * testsuite/launcher.all/help.exp: New file.
993 * testsuite/launcher.all/interp.exp: New file.
994 * testsuite/launcher.all/verbose.exp: New file.
995 * testsuite/lib/launcher.exp: New file.
997 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
999 * doc/dejagnu.texi (bt procedure): Fix Info links.
1001 2018-12-17 Ben Elliston <bje@gnu.org>
1003 * doc/dejagnu.texi (Board config file): Fix up @ref.
1004 (Command line option variables): Likewise.
1005 (Debugging Procedures): Add an entry for 'bt' command.
1007 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1009 * runtest.exp: Move processing of -V|--version option to first
1010 pass through command line arguments instead of delaying it.
1012 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1014 * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
1015 * Makefile.in: Regenerate.
1017 2018-12-15 Ben Elliston <bje@gnu.org>
1019 * doc/dejagnu.texi (telnet Procedure): Remove old node.
1020 (rlogin Procedure): Likewise.
1021 (rsh Procedure): Likewise.
1022 (tip Procedure): Likewise.
1023 (kermit Procedure): Likewise.
1024 (list_targets Procedure): Likewise.
1025 (prune_system_crud): Likewise.
1027 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1029 * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1030 (send_user): Likewise.
1031 * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1032 variable link at top-level.
1033 * testsuite/runtest.libs/utils.test: Adjust absolute path to
1035 * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1036 subdir, and objdir variables instead of extracting them from argv.
1037 Remove setval.tmp, which is now obsolete.
1038 * testsuite/runtest.libs/config.test: Likewise.
1039 * testsuite/runtest.libs/remote.test: Likewise.
1040 * testsuite/runtest.libs/target.test: Likewise.
1041 * testsuite/runtest.libs/testsuite_file.test: Likewise.
1042 * testsuite/runtest.libs/utils.test: Likewise.
1044 * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1045 (send_defaults): .. with this.
1046 (start_expect): Remove redundant code.
1048 * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1049 Remove unneeded test for EXPECT global variable.
1050 Use one Expect subprocess to run all test cases.
1051 (process_test): Redesign to use Expect subprocess and to use
1052 throwaway slave interpreters for running test cases.
1054 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1056 * testsuite/lib/runtest.exp (runtest_start): Remove.
1057 Move the sanity check in runtest_start to top-level and similarly
1058 check to ensure that $EXPECT can be found. Make failure of either
1059 sanity check an immediate fatal error.
1060 Improve error messages for sanity checks to indicate which
1061 critical tool was not found. Remove useless 'global RUNTEST'
1062 command at top-level.
1063 (runtest_version): Brace 'if' expression.
1065 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1067 * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1068 default runtest executable instead of implicitly searching PATH.
1069 Remove unused RUNTESTFLAGS Tcl variable.
1071 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1073 * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1076 2018-12-14 Jacob Bachmeyer <jcb62281@gmail.com>
1078 * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1079 * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1081 2018-12-12 Ben Elliston <bje@gnu.org>
1083 * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1084 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1085 lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1086 some regular expressions in constant strings by placing them
1087 inside braces instead of quotes. This allows one level of
1088 backslash quoting to be removed.
1090 2018-12-12 Ben Elliston <bje@gnu.org>
1092 * doc/dejagnu.texi: Acknowledge contributions to the manual from
1095 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1097 * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1098 * testsuite/runtest.all/load_lib.exp: Likewise.
1099 * testsuite/runtest.all/stats.exp: Likewise.
1101 * testsuite/runtest.all/stats.exp: Write local init file as
1102 "stats-init.exp" for status summary tests. Use --local_init
1103 option to runtest to load that file instead of site.exp and move
1104 the inner test module to a nested testsuite.
1105 * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1106 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1109 * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1110 Wrap lines in test list and move short items to beginning of list.
1111 Write local init file as "options-init.exp" for options tests.
1112 Use --local_init option with nested runtest to load that file
1113 instead of site.exp; also create an empty nested testsuite. Local
1114 init file arranges for inner runtest processes to run in a
1115 subdirectory in the object tree to eliminate filename clashes.
1116 Set tmpdir if not already set and remove entire temporary
1117 directory after running options tests.
1118 * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1120 * testsuite/runtest.all/clone_output.test: Move from here ..
1121 * testsuite/runtest.libs/clone_output.test: .. to here.
1122 * testsuite/runtest.all/config.test: Move from here ..
1123 * testsuite/runtest.libs/config.test: .. to here.
1124 * testsuite/runtest.all/default_procs.tcl: Move from here ..
1125 * testsuite/runtest.libs/default_procs.tcl: .. to here.
1126 * testsuite/runtest.all/libs.exp: Move from here ..
1127 * testsuite/runtest.libs/libs.exp: .. to here.
1128 * testsuite/runtest.all/load_lib.exp: Move from here ..
1129 * testsuite/runtest.libs/load_lib.exp: .. to here.
1130 * testsuite/runtest.all/remote.test: Move from here ..
1131 * testsuite/runtest.libs/remote.test: .. to here.
1132 * testsuite/runtest.all/target.test: Move from here ..
1133 * testsuite/runtest.libs/target.test: .. to here.
1134 * testsuite/runtest.all/testsuite_file.test: Move from here ..
1135 * testsuite/runtest.libs/testsuite_file.test: .. to here.
1136 * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1137 * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1138 * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1139 * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1140 * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1142 * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1144 * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1145 * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1146 * testsuite/runtest.all/utils.test: Move from here ..
1147 * testsuite/runtest.libs/utils.test: .. to here.
1148 * testsuite/runtest.libs/utils.test: Update references to
1151 * testsuite/runtest.all/options.exp: Move from here ..
1152 * testsuite/runtest.main/options.exp: .. to here.
1153 * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1155 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1157 * testsuite/runtest.all/stats.exp: Move from here ..
1158 * testsuite/runtest.main/stats.exp: .. to here.
1159 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1161 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1164 * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1165 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1166 * Makefile.in: Regenerate.
1168 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1170 * doc/dejagnu.texi: Clean up whitespace. Some indented examples
1171 were changed to use the Texinfo '@ ' command (yes, a space
1172 character) to preserve correct indentation. The '@ ' command is
1173 treated as a single space by Tex and makeinfo, but prevents Emacs
1174 from complaining about indentation using spaces instead of tabs.
1176 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1178 * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1179 directory exclusions by name in this procedure.
1181 2018-12-10 Ben Elliston <bje@gnu.org>
1183 * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1184 glob patterns, not "shell wildcard characters" per se.
1186 * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1188 2018-12-10 Jacob Bachmeyer <jcb62281@gmail.com>
1190 * doc/dejagnu.texi (Writing a test case): Add warning about
1191 priority of Expect patterns, complete with example.
1192 * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1193 caused test results other than "PASS" to be skipped if a "PASS" is
1194 further along in the input buffer. Describe problem in manual.
1195 (process_test): Ensure that the log file shows each test case run.
1196 (process_test): Directly run the test cases instead of using
1197 temporary files and "cat". All output is always available in the
1198 log file, which is no longer overwritten by other tests.
1199 (process_test): Expect END markers from test case scripts.
1200 * testsuite/runtest.all/clone_output.test: Emit END markers.
1201 * testsuite/runtest.all/config.test: Likewise.
1202 * testsuite/runtest.all/remote.test: Likewise.
1203 * testsuite/runtest.all/target.test: Likewise.
1204 * testsuite/runtest.all/testsuite_file.test: Likewise.
1205 * testsuite/runtest.all/utils.test: Likewise.
1207 2018-12-10 Ben Elliston <bje@gnu.org>
1209 * lib/utils.exp (grep): Use a proper Tcl list for options.
1211 2018-12-10 Ben Elliston <bje@gnu.org>
1213 * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1215 * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1216 and catching the "no files matched glob pattern" error
1217 message. Catching the error message was the wrong thing to do
1218 because the foreach loop then iterates over each word in the error
1219 message as if they were matches.
1221 2018-12-10 Ben Elliston <bje@gnu.org>
1223 * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1224 non-existent directory case.
1226 2018-12-10 Ben Elliston <bje@gnu.org>
1228 * runtest.exp: Remove unnecessary quotes and braces around
1229 variable expansions.
1231 * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1233 2018-12-09 Ben Elliston <bje@gnu.org>
1235 * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1236 (iterate_target_variants_two): Likewise.
1237 * lib/remote.exp (standard_download): Use 'eq' not '=='.
1238 (remote_upload): Likewise.
1239 * lib/framework.exp (open_logs): Likewise.
1240 (is_remote): Likewise.
1242 2018-12-09 Ben Elliston <bje@gnu.org>
1244 * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1245 baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1246 baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1247 config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1248 config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1249 lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1250 lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1251 lib/utils.exp, testsuite/lib/libsup.exp,
1252 testsuite/runtest.all/options.exp,: Remove unnecessary braces
1253 around variable expansions.
1255 2018-12-09 Ben Elliston <bje@gnu.org>
1257 * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1258 lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1259 lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1260 unnecessary quotes and braces around variable expansions.
1262 2018-12-09 Ben Elliston <bje@gnu.org>
1264 * config/gdb-comm.exp: Remove unnecessary quotes.
1265 * config/gdb_stub.exp: Likewise.
1266 * config/vxworks.exp: Likewise.
1267 * config/unix.exp: Likewise.
1268 * config/sim.exp: Likewise.
1270 2018-12-09 Ben Elliston <bje@gnu.org>
1272 * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1273 variable expansions.
1274 * testsuite/lib/util-defs.exp: Likewise.
1276 2018-12-09 Ben Elliston <bje@gnu.org>
1278 * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1279 around variable expansions.
1280 * baseboards/basic-sid.exp: Likewise.
1281 * baseboards/cris-sim.exp: Likewise.
1282 * baseboards/generic-sim.exp: Likewise.
1283 * baseboards/mcore-moto-sim.exp: Likewise.
1284 * baseboards/multi-sim.exp: Likewise.
1286 2018-12-08 Ben Elliston <bje@gnu.org>
1290 2018-12-08 Ben Elliston <bje@gnu.org>
1292 * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1293 variable expansions.
1294 * testsuite/runtest.all/clone_output.test: Likewise.
1295 * testsuite/runtest.all/target.test: Likewise.
1296 * testsuite/runtest.all/stats.exp: Likewise.
1297 * testsuite/runtest.all/remote.test: Likewise.
1298 * testsuite/runtest.all/config.test: Likewise.
1299 * testsuite/runtest.all/default_procs.tcl: Likewise.
1300 * testsuite/runtest.all/libs.exp: Likewise.
1301 * testsuite/runtest.all/options.exp: Likewise.
1303 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1305 * NEWS: Document 'testsuite' command.
1306 * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1307 point and "testsuite file" command.
1308 * lib/framework.exp (testsuite): New proc for multiplex commands.
1309 (testsuite_file): New proc implementing "testsuite file".
1310 * testsuite/runtest.all/testsuite_file.test: New file.
1311 * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1312 but also search $srcdir itself.
1313 (load_lib): Add explicit search for testsuite-local libraries.
1314 (load_tool_init): Use $testsuitedir in search.
1315 (load_config): Use $testsuitedir instead of $srcdir.
1316 (load_tool_target_config): Likewise.
1318 Add variable "testsuitedir" for testsuite root directory.
1320 Add internal global variables "testbuilddir" and "testdir" for use
1321 by "testsuite file".
1323 Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1324 duplicated path delimiters.
1326 Add warning if no tests are found and fallback method of searching
1329 2018-12-08 Ben Elliston <bje@gnu.org>
1331 * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1333 * testsuite/lib/util-defs.exp (util_test): Likewise.
1334 * testsuite/runtest.all/stats.exp: Likewise.
1335 * testsuite/runtest.all/libs.exp: Likewise.
1337 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1339 * testsuite/runtest.all/default_procs.tcl:
1340 (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1341 (lib_regexp_test): Fix copy-paste-edit error.
1342 (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1343 Fix handling of errors raised by tested procedure. Also ensure
1344 proper quoting of argument lists passed to eval and simplify
1345 the logic for producing return values.
1347 2018-12-08 Ben Elliston <bje@gnu.org>
1349 * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1351 2018-12-08 Ben Elliston <bje@gnu.org>
1353 * lib/tip.exp (tip_open): Put braces around if expression.
1355 2018-12-08 Ben Elliston <bje@gnu.org>
1357 * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1358 lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1359 config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1360 baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1361 baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1362 baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1363 baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1364 baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1365 baseboards/arm-ice.exp, baseboards/androideabi.exp,
1366 testsuite/runtest.all/utils.test,
1367 testsuite/runtest.all/target.test: Replace string literal
1368 comparisons using == and != with 'eq' and 'ne'.
1370 2018-12-08 Ben Elliston <bje@gnu.org>
1372 * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1373 lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1374 lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1375 config/vxworks.exp, config/unix.exp, config/sim.exp,
1376 config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1377 baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1378 baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1379 baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1380 testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1381 using == and != with 'eq' and 'ne'.
1383 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1385 * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1386 (lib_regexp_test): New.
1387 (lib_pat_test): Brace "if" conditions.
1388 (lib_pat_test): Remove spurious quotes in debugging output.
1389 (run_tests): Add support for comments in lists of procedure tests.
1391 * testsuite/runtest.all/config.test: Adjust to use run_tests
1392 procedure. Fixes issue cited in FIXME comment.
1394 * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1395 The old tests had the sense of the return value from lib_pat_test
1396 inverted and were failing but reported PASS.
1397 (find tests, relative_filename tests, runtest_file_p tests):
1398 Adjust to use run_tests procedure.
1400 2018-12-07 Ben Elliston <bje@gnu.org>
1402 * doc/dejagnu.texi: Add more missing material.
1404 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1406 * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1407 (run_tests): Replace implicit "eval" with explicit "eval". Tidy.
1408 (verbose): Remove unnecessary quotes.
1410 2018-12-06 Ben Elliston <bje@gnu.org>
1412 * doc/dejagnu.texi: Add more missing material.
1414 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1416 * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1417 (lib_pat_test): Handle an argument list instead of only a single
1418 argument for the procedure under test.
1419 (lib_ret_test): Likewise.
1420 * testsuite/runtest.all/utils.test: Whitespace clean up.
1421 Adjust to pass argument lists for improved lib_pat_test.
1422 * testsuite/runtest.all/clone_output.test: Likewise.
1424 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1426 * lib/remote.exp (standard_load): Fix typo on empty string.
1427 * runtest.exp: Adjust expression to follow GNU conventions.
1428 * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1429 with "eq" instead of "ne".
1430 * testsuite/runtest.all/config.test: Likewise.
1432 2018-12-06 Ben Elliston <bje@gnu.org>
1434 * runtest.exp: Replace [string match] commands involving literal
1435 strings and variables known to not be Tcl glob patterns with eq
1437 * config/unix.exp: Likewise.
1438 * lib/debugger.exp: Likewise.
1439 * lib/dg.exp: Likewise.
1440 * lib/framework.exp: Likewise.
1441 * lib/remote.exp: Likewise.
1442 * lib/utils.exp: Likewise.
1443 * baseboards/androideabi.exp: Likewise.
1444 * baseboards/multi-sim.exp: Likewise.
1445 * testsuite/lib/util-defs.exp: Likewise.
1446 * testsuite/runtest.all/config.test: Likewise.
1448 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1450 * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1451 * testsuite/runtest.all/target.test: Likewise.
1452 * testsuite/runtest.all/remote.test: Likewise.
1453 * testsuite/runtest.all/config.test: Likewise.
1454 * testsuite/runtest.all/clone_output.test: Likewise.
1456 2018-12-06 Ben Elliston <bje@gnu.org>
1458 * runtest.exp: Replace '==' with 'eq' for string compares.
1459 Likewise, replace '!=' with 'ne'. Replace a few instances of
1460 [string length $str] == 0 with $str eq "".
1461 * config/gdb-comm.exp: Likewise.
1462 * lib/dg.exp: Likewise.
1463 * lib/framework.exp: Likewise.
1464 * lib/libgloss.exp: Likewise.
1465 * lib/remote.exp: Likewise.
1466 * lib/target.exp: Likewise.
1467 * lib/utils.exp: Likewise.
1469 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1471 * runtest.exp: Replace archaic use of [string match] with "eq".
1473 2018-12-06 Ben Elliston <bje@gnu.org>
1475 * doc/dejagnu.texi (compile Procedure): Remove old node.
1476 (archive Procedure): Likewise.
1477 (ranlib Procedure): Likewise.
1479 2018-12-06 Ben Elliston <bje@gnu.org>
1481 * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
1483 2018-12-06 Ben Elliston <bje@gnu.org>
1485 * lib/telnet.exp (telnet_open): Remove connectmode global.
1486 * doc/dejagnu.texi (Procedures For Remote Communication): Remove
1487 mention of connectmode.
1489 2018-12-05 Ben Elliston <bje@gnu.org>
1491 * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
1494 2018-12-05 Ben Elliston <bje@gnu.org>
1496 * doc/dejagnu.texi: Add more missing material.
1498 2018-12-05 Ben Elliston <bje@gnu.org>
1500 * testsuite/runtest.all/utils.test: Test runtest_file_p.
1502 2018-12-05 Jacob Bachmeyer <jcb62281@gmail.com>
1504 * runtest.exp (load_config): Remove unused globals.
1505 (load_generic_config): Likewise.
1506 (load_board_description): Likewise.
1507 (load_base_board_description): Likewise.
1509 2018-12-05 Ben Elliston <bje@gnu.org>
1511 * lib/utils.exp (grep): Handle -n.
1512 * doc/dejagnu.texi (grep procedure): Document it.
1513 * testsuite/runtest.all/utils.test: Add a test case.
1514 * NEWS: Add an item.
1516 2018-12-05 Ben Elliston <bje@gnu.org>
1518 * testsuite/runtest.all/utils.test: Test diff.
1520 2018-12-04 Ben Elliston <bje@gnu.org>
1522 * testsuite/runtest.all/utils.test: Test grep.
1524 2018-12-04 Ben Elliston <bje@gnu.org>
1526 * testsuite/runtest.all/utils.test (which): Fail on the else path,
1527 don't pass in either case.
1529 2018-12-04 Ben Elliston <bje@gnu.org>
1531 * doc/dejagnu.texi (Libgloss): Improve documentation.
1532 (Debugging Procedures): Likewise.
1534 2018-12-04 Ben Elliston <bje@gnu.org>
1536 * lib/debugger.exp (dumprocs): Fix proc comment.
1538 2018-12-04 Ben Elliston <bje@gnu.org>
1540 * doc/dejagnu.texi (Utility Procedures): Improve documentation for
1541 the procedures in this section.
1543 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
1545 * NEWS: Document new relative_filename procedure and --local_init/
1546 --global_init command line options.
1548 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
1550 * lib/utils.exp (relative_filename): New proc.
1551 * runtest.exp: Use it.
1552 * doc/dejagnu.texi (relative_filename procedure): Document it.
1553 * testsuite/runtest.all/utils.test: Add tests for relative_filename.
1555 2018-12-03 Ben Elliston <bje@gnu.org>
1557 * dejagnu.h (TestState): Remove const char * variants of pass(),
1558 xpass(), fail(), xfail(), untested(), unresolved() for C++. A
1559 const char * will be implicitly converted to std::string.
1561 2018-12-03 Ben Elliston <bje@gnu.org>
1563 * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
1564 removing the 'Reference' node and chapter. Make all subsubsections
1565 in this chapter unnumbered subheadings.
1567 2018-12-03 Jacob Bachmeyer <jcb62281@gmail.com>
1569 * doc/dejagnu.texi: Fix Info node links. The arguments to @node
1570 are: here, next, previous, up; not here, previous, next, up.
1572 2018-12-03 Ben Elliston <bje@gnu.org>
1574 * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
1575 doc/texinfo.tex. With thanks to Jacob Bachmeyer.
1576 * Makefile.in: Regenerate.
1578 2018-12-03 Ben Elliston <bje@gnu.org>
1580 * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
1581 (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
1582 prevents the distribution of the overridden texinfo.tex.
1583 * Makefile.in: Regenerate.
1584 * texinfo.tex: Move from here ..
1585 * doc/texinfo.tex: .. to here.
1587 2018-12-03 Ben Elliston <bje@gnu.org>
1589 * lib/framework.exp (isremote): Add verbose message.
1591 2018-12-02 Ben Elliston <bje@gnu.org>
1593 * lib/framework.exp (isremote): Pass $board to is_remote.
1595 2018-12-02 Ben Elliston <bje@gnu.org>
1597 * doc/fdl.texi: New.
1598 * doc/dejagnu.texi (Variable Index): New.
1599 Add more concept index entries.
1600 (GNU Free Documentation License): New appendix.
1602 2018-12-02 Ben Elliston <bje@gnu.org>
1604 * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
1605 index (@findex) entries for every built-in procedure.
1607 2018-12-02 Ben Elliston <bje@gnu.org>
1609 * doc/dejagnu.texi: Start an index.
1611 2018-12-02 Ben Elliston <bje@gnu.org>
1613 * doc/version.texi: New.
1615 2018-12-02 Ben Elliston <bje@gnu.org>
1617 * doc/dejagnu.texi: Add title page and frontmatter. Include
1619 * Makefile.in: Regenerate.
1620 * mdate-sh: Installed by automake --add-missing.
1622 2018-12-02 Ben Elliston <bje@gnu.org>
1624 * doc/dejagnu.texi (diff procedure): Tidy up this node.
1626 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
1628 * runtest.exp (hex): Remove useless test before setting.
1629 (decimal): Likewise.
1631 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
1633 * doc/dejagnu.texi (Invoking runtest): Document new --local_init
1634 and --global_init command line options.
1635 * doc/runtest.1: Likewise.
1637 * runtest.exp: Remove useless tests before setting default values
1638 for variables: all_flag, binpath, debug, options, outdir, reboot,
1639 tracelevel, verbose, log_dialog. They are set before loading any
1640 files or parsing the command line.
1642 * runtest.exp: Add options --local_init and --global_init for
1643 selecting alternate testsuite configuration files.
1645 * runtest.exp: Split variable "configfile" into "local_init_file"
1646 and "global_init_file" in preparation for adding command-line
1647 options to specify these independently.
1649 * runtest.exp (load_generic_config): Remove configfile global.
1650 (load_board_description): Likewise.
1651 (load_base_board_description): Likewise.
1653 2018-11-30 Ben Elliston <bje@gnu.org>
1655 * lib/utils.exp (grep): Remove reference to "NULL" in comment.
1656 * testsuite/lib/util-defs.exp (util_start): Likewise.
1658 2018-11-30 Ben Elliston <bje@gnu.org>
1660 * doc/dejagnu.texi: (verbose procedure): Improve documentation.
1661 (load_lib procedure): Likewise.
1663 2018-11-30 Ben Elliston <bje@gnu.org>
1665 * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
1667 2018-11-30 Ben Elliston <bje@gnu.org>
1669 * runtest.exp: Use isremote.
1670 * lib/target.exp: Likewise.
1671 * lib/remote.exp: Likewise.
1672 * lib/libgloss.exp: Likewise.
1673 * config/unix.exp: Likewise.
1674 * config/sim.exp: Likewise.
1675 * config/gdb_stub.exp: Likewise.
1676 * config/gdb-comm.exp: Likewise.
1677 * baseboards/basic-sim.exp: Likewise.
1678 * baseboards/androideabi.exp: Likewise.
1680 2018-11-30 Ben Elliston <bje@gnu.org>
1682 * lib/framework.exp (isremote): New.
1683 * doc/dejagnu.texi (isremote procedure): Document it.
1684 * NEWS: Mention isremote.
1686 2018-11-30 Ben Elliston <bje@gnu.org>
1688 * texinfo.tex: Update to latest upstream version.
1689 * INSTALL: Likewise.
1691 2018-11-29 Ben Elliston <bje@gnu.org>
1693 * lib/framework.exp (istarget, ishost, istarget): Set the argument
1694 default value to the empty string.
1695 * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
1696 (getenv procedure): Re-word this node.
1697 (isbuild procedure): Update.
1698 (ishost procedure): Likewise.
1699 (istarget procedure): Likewise.
1700 * testsuite/runtest.all/config.test: Add test cases.
1702 2018-11-28 Ben Elliston <bje@gnu.org>
1704 * config.guess: Update to latest version.
1705 * config.sub: Likewise.
1707 2018-11-28 Ben Elliston <bje@gnu.org>
1710 * configure.ac: Update version number.
1711 * configure: Regenerate.
1712 * doc/dejagnu.texi: Update version number.
1713 * runtest.exp: Update version number.
1715 2018-11-28 Ben Elliston <bje@gnu.org>
1717 * Makefile.am (TESTSUITE_FILES): Update filenames.
1718 * Makefile.in: Regenerate.
1720 2018-11-28 Ben Elliston <bje@gnu.org>
1724 * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
1726 2018-11-25 Jacob Bachmeyer <jcb62281@gmail.com>
1728 * lib/framework.exp: Clean up whitespace.
1730 2018-11-25 Ben Elliston <bje@gnu.org>
1732 * config/gdb-comm.exp: Clean up whitespace.
1733 * config/gdb_stub.exp: Likewise.
1734 * config/sid.exp: Likewise.
1735 * config/sim.exp: Likewise.
1736 * config/unix.exp: Likewise.
1738 2018-11-23 Ben Elliston <bje@gnu.org>
1740 * doc/dejagnu.texi (getdirs procedure): Improve documentation
1741 including documenting the -all option.
1742 (find procedure): Fix a typo.
1743 * lib/utils.exp (getdirs): Improve comments.
1745 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
1747 * runtest.exp: Ensure that multipass pass variables are always
1748 restored. Previously, they were only restored if the "Go digging
1749 for tests" branch was taken near the end of runtest.exp.
1751 2018-11-22 Ben Elliston <bje@gnu.org>
1753 * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
1754 of the $DEJAGNU environment variable (see change below).
1756 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
1758 * runtest.exp: Raise error if $DEJAGNU is defined but not found.
1760 2018-11-15 Jacob Bachmeyer <jcb62281@gmail.com>
1762 * runtest.exp (load_tool_init): Search for tool init file instead
1763 of assuming exactly one location.
1765 2018-11-15 Ben Elliston <bje@gnu.org>
1767 * runtest.exp (load_lib): Whitespace fix.
1769 2018-11-11 Jacob Bachmeyer <jcb62281@gmail.com>
1771 * lib/ssh.exp: Clean up whitespace.
1772 * lib/remote.exp: Clean up whitespace.
1773 (remote_expect): Change literal tab to "\t" in regexp.
1775 2018-11-05 Ben Elliston <bje@gnu.org>
1777 * config.guess: Update to latest version.
1778 * config.sub: Likewise.
1780 2018-11-02 Ben Elliston <bje@gnu.org>
1782 * Makefile.in: Regenerate.
1784 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1786 * Makefile.am (DEJATOOL): List tools in testsuite.
1787 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
1788 * testsuite/config/default.exp: Rename from this ...
1789 * testsuite/lib/runtest.exp: ... to this.
1790 (runtest_exit): Remove spurious "close". This was causing per-tool
1791 testing to fail, since the testsuite for "runtest" never actually
1792 uses "spawn", so "close" ends up closing exp0, which is the
1793 terminal. The ${tool}_exit proc is not called if the --tool
1794 option is not given, so this had no effect earlier.
1795 * testsuite/lib/libdejagnu.exp: New empty file.
1797 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1799 * runtest.exp (load_tool_init): Add message indicating the
1800 expected location of the tool init file.
1802 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1804 * contrib/sum2junit.sh (failures): Fix typo.
1806 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1808 * configure.ac (DEJAGNU): Add comments.
1810 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1812 * Makefile.am (DEJATOOL): List tools in testsuite.
1813 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
1814 * testsuite/config/default.exp: Rename from this ...
1815 * testsuite/lib/runtest.exp: ... to this.
1816 (runtest_exit): Remove spurious "close". This was causing
1817 per-tool testing to fail, since the testsuite for "runtest" never
1818 actually uses "spawn", so "close" ends up closing exp0, which is
1819 the terminal. The ${tool}_exit proc is not called if the --tool
1820 option is not given, so this had no effect earlier.
1821 * testsuite/lib/libdejagnu.exp: New empty file.
1823 2018-10-30 Ben Elliston <bje@gnu.org>
1825 * Makefile.am (DISTCLEANFILES): Add testrun.xml.
1826 * Makefile.in: Regenerate with Automake 1.15.1.
1827 * aclocal.m4: Likewise.
1829 2018-10-30 Ben Elliston <bje@gnu.org>
1831 * configure.ac (AC_CONFIG_SUBDIRS): Remove.
1832 * configure: Regenerate.
1834 2018-10-29 Ben Elliston <bje@gnu.org>
1836 * README (Documentation): Update.
1838 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
1840 * lib/framework.exp (record_test): Really fix message formatting.
1842 2018-10-29 Ben Elliston <bje@gnu.org>
1844 Reported by Jacob Bachmeyer.
1845 * testsuite/runtest.all/utils.test: Fix missing end quote.
1847 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
1849 * lib/framework.exp (record_test): Fix message formatting.
1851 2018-07-20 Ben Elliston <bje@gnu.org>
1853 * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
1854 * contrib/mysql/sum2xml.sh: Likewise.
1856 2018-07-20 Ben Elliston <bje@gnu.org>
1858 * contrib/compare_tests: Eliminate Shellcheck warnings.
1859 * contrib/mysql/sum2xml.sh: Likewise.
1861 2018-07-20 Ben Elliston <bje@gnu.org>
1863 * compile, depcomp, install-sh: Latest upstream versions.
1865 2018-07-20 Ben Elliston <bje@gnu.org>
1867 * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
1869 2018-07-19 Ben Elliston <bje@gnu.org>
1871 * runtest: Use POSIX 'command', not 'type', to look for the Expect
1872 binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
1875 2018-07-19 Ben Elliston <bje@gnu.org>
1877 * config.guess: Update to latest version.
1878 * config.sub: Likewise.
1880 2018-07-06 Richard Biener <rguenther@suse.de>
1882 * lib/remote.exp (close_wait_program): Use separate kill command
1885 2017-10-16 Ben Elliston <bje@gnu.org>
1887 * NEWS: Start a new section for the next release.
1888 * configure.ac (AC_INIT): Update version number.
1889 * configure: Regenerate.
1890 * runtest.exp (frame_version): Update version number.
1891 * doc/dejagnu.texi: Likewise.
1892 * doc/runtest.1: Update datestamp.
1894 2017-10-16 Ben Elliston <bje@gnu.org>
1896 * config.guess: Update to version 2017-09-26.
1897 * config.sub: Likewise.
1899 2017-09-13 Ben Elliston <bje@gnu.org>
1901 * lib/framework.exp (open_logs): Set XML version to 1.1.
1902 (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
1903 missing 'x' in escape sequence.
1905 2017-08-29 Ben Elliston <bje@gnu.org>
1907 Revert these changes:
1909 2016-04-25 Ben Elliston <bje@gnu.org>
1911 * testsuite/runtest.all/utils.test: Remove unsetenv test.
1913 2016-04-24 Ben Elliston <bje@gnu.org>
1915 * lib/utils.exp (unsetenv): Remove proc.
1916 * doc/dejagnu.texi: Update documentation.
1919 2017-08-19 Ben Elliston <bje@gnu.org>
1921 * lib/framework.exp (xml_tag): Escape all of the non-printable
1922 control characters (ASCII codes 1 to 31 inclusive).
1924 2017-08-18 Tom Tromey <tom@tromey.com>
1926 * runtest.exp: Fix --directory matching.
1928 2017-08-15 Ben Elliston <bje@gnu.org>
1930 * lib/framework.exp (xml_tag): New proc.
1931 (log_summary): Use it.
1932 (record_test): Likewise.
1934 2017-08-15 Ben Elliston <bje@gnu.org>
1936 * lib/framework.exp (open_logs): Set .xml filename correctly.
1937 * runtest.exp: Remove xml_file_name var.
1938 (usage): Update --xml option to not take an argument.
1939 (load_tool_init): Likewise.
1940 * doc/dejagnu.texi (Invoking runtest): Update documentation.
1941 * doc/runtest.1: Likewise.
1943 2017-08-01 Ben Elliston <bje@gnu.org>
1945 * runtest.exp (usage): Improve --strace message.
1947 2017-08-01 Ben Elliston <bje@gnu.org>
1949 * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
1951 2017-06-04 Ben Elliston <bje@gnu.org>
1953 * lib/target.exp (push_target): Remove unnecessary global command.
1954 * testsuite/runtest.all/target.test: Overhaul tests.
1956 2017-06-04 Ben Elliston <bje@gnu.org>
1958 * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
1960 2017-06-04 Tom de Vries <tom@codesourcery.com>
1962 * testsuite/runtest.all/target.test: Remove list_targets test.
1964 2017-06-04 Tom de Vries <tom@codesourcery.com>
1966 * testsuite/runtest.all/libs.exp (process_test): Dump entire
1967 output when there's no reportable output.
1968 * testsuite/runtest.all/remote.test (load_lib): New proc.
1969 * testsuite/runtest.all/target.test (load_lib): Same.
1971 2017-03-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
1973 * lib/remote.exp (remote_download): Add logging message when
1974 source and destination file differ in name.
1976 2016-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1978 * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1980 2016-06-28 Ben Elliston <bje@gnu.org>
1982 * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
1983 * configure: Regenerate.
1985 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
1987 * configure.ac, dejagnu.h, runtest, runtest.exp,
1988 baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
1989 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
1990 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
1991 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
1992 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
1993 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
1994 baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
1995 baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
1996 baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
1997 baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
1998 baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
1999 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
2000 baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
2001 baseboards/mips-sim-mti64_64.exp,
2002 baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
2003 baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
2004 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2005 baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
2006 baseboards/mt-sid.exp, baseboards/multi-sim.exp,
2007 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2008 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2009 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2010 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2011 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2012 baseboards/unix.exp, baseboards/v850-sim.exp,
2013 baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
2014 baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
2015 baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
2016 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
2017 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2018 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2019 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2020 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2021 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2022 testsuite/runtest.all/stats-sub.exp,
2023 testsuite/runtest.all/stats.exp, config/adb.exp,
2024 config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2025 config/sid.exp, config/sim.exp, config/unix.exp,
2026 config/vxworks.exp: Update copyright date for 2016.
2028 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2030 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2031 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2032 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2033 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2034 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2035 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2036 baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2037 baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2038 baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2039 baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2040 baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2041 baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2042 baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2043 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2044 baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2045 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2046 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2047 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2048 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2049 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2050 baseboards/unix.exp, baseboards/v850-sim.exp,
2051 baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2052 baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2053 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2054 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2055 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2056 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2057 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2058 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2059 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2060 testsuite/runtest.all/options.exp,
2061 testsuite/runtest.all/stats-sub.exp,
2062 testsuite/runtest.all/stats.exp, config/default.exp,
2063 config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2064 config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2065 dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2068 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2070 * doc/runtest.1: Use condensed years in copyright statement.
2072 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2074 * runtest: Quote paths. Use test -z, -n for clarity.
2076 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2078 * config/adb.exp (adb_exec) Improve verbose message.
2080 2016-06-03 Jim Wilson <jim.wilson@linaro.org>
2082 * baseboards/aarch64-sim.exp: New file.
2083 * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2084 * Makefile.in: Regenerate.
2085 * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2087 2016-04-26 Ben Elliston <bje@gnu.org>
2089 * doc/dejagnu.texi: Fill more paragraphs.
2091 2016-04-25 Ben Elliston <bje@gnu.org>
2093 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2095 2016-04-24 Ben Elliston <bje@gnu.org>
2097 * lib/utils.exp (unsetenv): Remove proc.
2098 * doc/dejagnu.texi: Update documentation.
2101 2016-04-19 Nick Clifton <nickc@redhat.com>
2103 * baseboards/msp430-sim.exp: New file.
2104 * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2105 * Makefile.in: Regenerate.
2107 2016-04-18 Ben Elliston <bje@gnu.org>
2109 * runtest: Remove quoting in final exec command.
2111 2016-04-17 Ben Elliston <bje@gnu.org>
2113 * lib/remote.exp: Load ssh.exp lib.
2115 2016-04-17 Ben Elliston <bje@gnu.org>
2117 * lib/rsh.exp (rsh_open): Fix description comment.
2119 2016-04-17 Ben Elliston <bje@gnu.org>
2121 Reported by shellcheck.
2122 * runtest: Use $((..)) not `expr ..` and defensively double quote
2125 2016-04-17 Ben Elliston <bje@gnu.org>
2127 * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2128 * Makefile.in: Regenerate.
2130 2016-04-17 Ben Elliston <bje@gnu.org>
2132 Reported by shellcheck.
2133 * runtest: Use $((..)) not `expr ..`.
2135 2016-04-17 Ben Elliston <bje@gnu.org>
2137 * configure.ac (AC_INIT): Update version number.
2138 * configure: Regenerate.
2139 * runtest.exp (frame_version): Update version number.
2140 * doc/dejagnu.texi: Likewise.
2142 2016-04-17 Ben Elliston <bje@gnu.org>
2144 * NEWS: Start a new section for the next release.
2146 2016-04-15 Ben Elliston <bje@gnu.org>
2148 * Makefile.am (CONTRIB): Add new contrib scripts.
2149 * Makefile.in: Regenrate.
2151 2016-04-15 Ben Elliston <bje@gnu.org>
2153 * lib/ssh.exp (ssh_exec): Handle regexp return status.
2155 2016-04-13 Ben Elliston <bje@gnu.org>
2157 * lib/rsh.exp (rsh_exec): Improve verbose message.
2158 * lib/ssh.exp (ssh_exec): Likewise.
2159 * config/adb.exp: Likewise.
2161 2016-04-13 Ben Elliston <bje@gnu.org>
2163 * runtest.exp: Improve --version (-v) output.
2164 * testsuite/runtest.all/options.exp: Update test case.
2166 2016-04-13 Christophe Lyon <christophe.lyon@linaro.org>
2168 * lib/rsh.exp (rsh_exec): Handle regexp return status.
2170 2016-04-08 Ben Elliston <bje@gnu.org>
2172 Reported by Faraz Shahbazker.
2173 * doc/dejagnu.texi (Global config file): Fix broken @node.
2174 (Local config file): Likewise.
2176 2016-04-07 Ben Elliston <bje@gnu.org>
2178 * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2179 the command line with ';' and not &&.
2181 2016-04-07 Ben Elliston <bje@gnu.org>
2183 Reported by Faraz Shahbazker.
2184 * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2186 2016-04-06 Yvan Roux <yvan.roux@linaro.org>
2188 * lib/remote.exp (remnote_download): Create a remote directory if
2190 (remote_exec): Execute program inside remotedir when it exists.
2191 (standard_load): Set remotedir board field if not present.
2192 * config/unix.exp (unix_load): Handle remotedir in board field.
2193 (remotedir): Set board info field.
2194 * doc/dejagnu.texi (Board File Values): Document remotedir.
2196 2016-04-06 Ben Elliston <bje@gnu.org>
2198 * doc/dejagnu.texi (Global config file): Put before node 'Local
2201 2016-04-05 Ben Elliston <bje@gnu.org>
2203 * runtest.exp: Remove defunct and undocumented --tool_root option.
2205 2016-04-04 Ben Elliston <bje@gnu.org>
2207 * doc/dejagnu.texi: More overhauling.
2209 2016-04-04 Ben Elliston <bje@gnu.org>
2211 * lib/targetdb.exp (set_board_info): Improve comment.
2212 (add_board_info): Likewise.
2214 2016-04-04 Ben Elliston <bje@gnu.org>
2216 * NEWS: Add some more detail.
2218 2016-04-04 Ben Elliston <bje@gnu.org>
2220 * site.tmpl: Delete.
2221 * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2222 * Makefile.in: Regenerate.
2224 2016-04-03 Ben Elliston <bje@gnu.org>
2226 * doc/dejagnu.texi: More overhauling.
2228 2016-04-03 Ben Elliston <bje@gnu.org>
2230 * runtest.exp: Document the magical handling of -D[01].
2232 2016-04-03 Ben Elliston <bje@gnu.org>
2234 * doc/runtest.1: Do not document obsolete --status option. It is
2235 still accepted for compatibility, but does nothing.
2237 2016-04-03 Ben Elliston <bje@gnu.org>
2239 * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2241 2016-04-03 Ben Elliston <bje@gnu.org>
2243 * doc/runtest.1 (OPTIONS): Sort options.
2245 2016-04-03 Ben Elliston <bje@gnu.org>
2247 * doc/dejagnu.texi: More overhauling.
2249 2016-04-02 Ben Elliston <bje@gnu.org>
2251 * doc/dejagnu.texi: Fill paragraphs.
2253 2016-04-02 Ben Elliston <bje@gnu.org>
2255 * doc/dejagnu.texi: Fix capitalisation of procedure names
2256 throughout. Use Tcl syntax in procedure prototypes, not C syntax.
2258 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2260 * contrib/mysql/create-db.sql: New file.
2261 * contrib/mysql/importxml.sh: Likewise.
2262 * contrib/mysql/make-datafile.sh: Likewise.
2263 * contrib/mysql/plot.sh: Likewise.
2264 * contrib/mysql/README: Likewise.
2265 * contrib/mysql/sum2xml.sh: Likewise.
2267 2016-04-02 Ben Elliston <bje@gnu.org>
2269 * config.guess: Update to version 2016-04-02.
2270 * config.sub: Update to version 2016-03-30.
2272 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2274 * contrib/sum2junit.sh: New.
2276 2016-04-01 Ben Elliston <bje@gnu.org>
2278 * doc/dejagnu.texi (connprocs): Document new SSH procs.
2280 2016-03-31 Rob Savoye <rob.savoye@linaro.org>
2285 2016-03-30 Ben Elliston <bje@gnu.org>
2287 * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2288 lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2289 runtest.exp: Fix spelling errors in comments.
2291 2016-03-30 Ben Elliston <bje@gnu.org>
2293 * lib/remote.exp (remote_expect): Use perror not send_user.
2295 2016-03-29 Ben Elliston <bje@gnu.org>
2297 * lib/remote.exp (remote_expect): Fix spelling error.
2299 2016-03-29 Rob Savoye <rob.savoye@linaro.org>
2301 * runtest.exp: Only print "searching for <test name>" message at
2302 verbose level >= 2 -- too much noise.
2304 2016-03-29 Ben Elliston <bje@gnu.org>
2306 * texinfo.tex: Update to latest master version.
2307 * INSTALL: Likewise.
2309 2016-03-29 Ben Elliston <bje@gnu.org>
2311 * runtest.exp: More fixes identified by the Frink static analyser.
2312 * lib/dg.exp: Likewise.
2313 * config/adb.exp: Likewise.
2314 * config/vxworks.exp: Likewise.
2315 * baseboards/androideabi.exp: Likewise.
2316 * baseboards/basic-sid.exp: Likewise.
2317 * baseboards/multi-sim.exp: Likewise.
2319 2016-03-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
2321 * dg.exp (dg-do): Do not change the previously selected action if
2322 a de-selected dg-do is encountered.
2324 2016-03-28 Ben Elliston <bje@gnu.org>
2326 * lib/framework.exp (check_xml): Remove unused proc.
2328 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2330 * lib/dmucs.exp: New.
2332 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2334 * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2335 built compiler, then look in the path.
2337 2016-03-28 Ben Elliston <bje@gnu.org>
2339 * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2340 /bin/which doesn't. Modern systems rely too heavily on symbolic
2341 links (eg. alternatives).
2343 2016-03-28 Ben Elliston <bje@gnu.org>
2345 * baseboards/multi-sim.exp: Indent properly.
2347 2016-03-28 Ben Elliston <bje@gnu.org>
2349 * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2350 rlogin. Identified by Frink.
2352 2016-03-28 Ben Elliston <bje@gnu.org>
2354 * runtest.exp: Use 'array exists' for testing array existence
2355 rather than 'info exists'.
2357 2016-03-28 Ben Elliston <bje@gnu.org>
2359 * runtest.exp: Fixes identified by the Frink static analyser:
2360 (1) use -- in switch commands for safety,
2361 (2) remove unreachable return commands after error commands,
2362 (3) replace abbreviated "info proc" with "info procs",
2363 (4) use -- in unset commands for safety where the variable name
2364 is itself a variable.
2365 * lib/dg.exp: Likewise.
2366 * lib/debugger.exp: Likewise.
2367 * lib/framework.exp: Likewise.
2368 * lib/remote.exp: Likewise.
2369 * lib/target.exp: Likewise.
2370 * lib/targetdb.exp: Likewise.
2371 * lib/telnet.exp: Likewise.
2372 * lib/utils.exp: Likewise.
2374 2016-03-28 Ben Elliston <bje@gnu.org>
2376 * Makefile.am: Remove references to Docbook and friends.
2377 * configure.ac: Likewise.
2378 * Makefile.in: Regenerate.
2379 * configure: Regenerate.
2380 * doc/dejagnu.xml: Remove.
2381 * doc/legal.xml: Likewise.
2382 * doc/ref.xml: Likewise.
2383 * doc/user.xml: Likewise.
2385 2016-03-28 Ben Elliston <bje@gnu.org>
2387 * lib/framework.exp (exp_continue): Remove old compatibility
2388 wrapper. Expect deprecated 'continue -expect' in August 1997.
2390 2016-03-28 Ben Elliston <bje@gnu.org>
2394 2016-03-28 Ben Elliston <bje@gnu.org>
2396 * lib/utils.exp (which): Reimplement to more closely mimic the
2397 behaviour of the UNIX which utility.
2398 * testsuite/runtest.all/utils.test: Test proc which.
2400 2016-03-27 Ben Elliston <bje@gnu.org>
2402 * lib/remote.exp (standard_wait): Append any trailing characters
2403 to $output that may be still in $expect_out(buffer) when eof is
2404 matched. Remove arbitrary limitation in the ".+" matching case,
2405 similar to the change to local_exec on 2016-02-17.
2407 2016-03-23 Ben Elliston <bje@gnu.org>
2409 * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2410 mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2411 * Makefile.in: Regenerate.
2412 * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2413 baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2414 baseboards/vx68k.exp, baseboards/vx960.exp,
2415 baseboards/vxsparc.exp: Remove.
2417 2016-03-23 Ben Elliston <bje@gnu.org>
2419 * baseboards/README: Remove mention of devo.
2420 * baseboards/iq2000-sim.exp: Likewise.
2421 * baseboards/moxie-sim.exp: Likewise.
2423 2016-03-23 Ben Elliston <bje@gnu.org>
2425 * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2426 * Makefile.in: Regenerate.
2427 * baseboards/arm-ice.exp: Reinstate.
2428 * baseboards/arm-sim.exp: Likewise.
2430 2016-03-23 Ben Elliston <bje@gnu.org>
2432 * Makefile.am (config_DATA): Update.
2433 (baseboard_DATA): Likewise.
2434 * Makefile.in: Regenerate.
2437 Remove the following old config files:
2439 * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2440 cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2441 dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2442 m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2443 mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2444 proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2445 tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2447 Remove the following old baseboard files:
2449 * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2450 d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2451 fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2452 h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2453 i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2454 m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2455 mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2456 mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2457 powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2458 sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2459 tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2460 vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2461 xscale-cygmon.exp: Remove.
2463 2016-03-22 Ben Elliston <bje@gnu.org>
2465 * lib/target.exp (only--Ls): Change '???' comment to a note. This
2466 isn't a serious shortcoming, but the comment should be retained.
2468 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2470 * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
2471 the environment, use that as the spec file for bare metal testing.
2473 2016-03-22 Ben Elliston <bje@gnu.org>
2475 * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
2476 * Makefile.in: Regenerate.
2478 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2480 * config/aarch64-fv8.exp: Add support for testing armv8 using the
2481 ARM Foundation Model.
2483 2016-03-21 Ben Elliston <bje@gnu.org>
2485 * runtest.exp: Whitespace, comment and typo fixes.
2486 * lib/dejagnu.exp: Likewise.
2487 * lib/remote.exp: Likewise.
2488 * lib/utils.exp: Likewise.
2490 2016-03-21 Ben Elliston <bje@gnu.org>
2492 * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
2493 * baseboards/mmixware-sim.exp: Likewise.
2494 * config/sim.exp: Likewise.
2495 * runtest.exp: Likewise.
2497 2016-03-21 Ben Elliston <bje@gnu.org>
2499 * lib/dg.exp (dg-get-options): Clean up regular expression and
2500 remove FIXME comment about it.
2502 2016-03-20 Ben Elliston <bje@gnu.org>
2504 * baseboards/i960-sim.exp: Remove stale ??? comment.
2505 * config/vxworks.exp: Likewise.
2507 2016-03-20 Ben Elliston <bje@gnu.org>
2509 * runtest.exp: Load .dejagnurc last not first.
2510 (load_file): Update comment about Tcl 7.5a2.
2511 * doc/user.xml (Customizing DejaGnu): Document new search order
2513 * doc/dejagnu.texi: Regenerate.
2516 2016-03-20 Ben Elliston <bje@gnu.org>
2518 * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
2520 2016-03-20 Ben Elliston <bje@gnu.org>
2522 * lib/dg.exp: Remove commented-out calls to send_user.
2524 2016-03-20 Ben Elliston <bje@gnu.org>
2526 * runtest.exp (load_file): Remove old comment.
2528 2016-03-20 Ben Elliston <bje@gnu.org>
2530 * lib/dg.exp (dg-test): There is no need to call unresolved to
2531 clear errcnt. Instead, pass 0 as argument 2 to perror.
2532 * runtest.exp (runtest): Likewise.
2534 2016-03-16 Ben Elliston <bje@gnu.org>
2536 Revert this change (the GCC testsuite uses diff):
2538 2016-03-15 Ben Elliston <bje@gnu.org>
2540 * lib/utils.exp (diff): Remove proc.
2541 * doc/ref.xml: Update documentation.
2542 * doc/dejagnu.texi: Regenerate.
2545 2016-03-15 Ben Elliston <bje@gnu.org>
2547 * testsuite/runtest.all/options.exp: Properly clean up log files
2548 left by the runtest under test.
2550 2016-03-15 Ben Elliston <bje@gnu.org>
2552 * testsuite/runtest.all/load_lib.exp: Typo fixes.
2554 2016-03-15 Ben Elliston <bje@gnu.org>
2556 * testsuite/runtest.all/options.exp: Add more tests.
2558 2016-03-15 Ben Elliston <bje@gnu.org>
2560 * testsuite/libdejagnu/tunit.exp: Clean up.
2562 2016-03-15 Ben Elliston <bje@gnu.org>
2564 * lib/utils.exp (diff): Remove proc.
2565 * doc/ref.xml: Update documentation.
2566 * doc/dejagnu.texi: Regenerate.
2569 2016-03-15 Ben Elliston <bje@gnu.org>
2572 2016-02-14 Steve Ellcey <sellcey@mips.com>
2574 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2576 * baseboards/multi-sim.exp (rpath_flags): Ditto.
2578 2016-03-13 Ben Elliston <bje@gnu.org>
2580 * lib/utils.exp: Whitespace fixes.
2582 2016-03-13 Ben Elliston <bje@gnu.org>
2584 * lib/dg.exp (dg-process-target): Remove old commented code.
2585 * lib/dg.exp (dg-test): Likewise.
2587 2016-03-13 Ben Elliston <bje@gnu.org>
2589 * lib/dg.exp: Improve top-of-file documentation.
2591 2016-03-05 Yvan Roux <yvan.roux@linaro.org>
2593 * lib/remote.exp (remote_exec): Restore original timeout value.
2595 2016-03-04 Yvan Roux <yvan.roux@linaro.org>
2597 * lib/remote.exp (standard_upload): Remove dead code.
2599 2016-02-24 Ben Elliston <bje@gnu.org>
2601 * lib/utils.exp (prune): Restore this proc.
2602 * doc/ref.xml: Update documentation.
2603 * doc/dejagnu.texi: Regenerate.
2606 2016-02-23 Iain Buclaw <ibuclaw@gdcproject.org>
2608 * lib/libgloss.exp (find_gdc): New proc.
2609 * lib/target.exp (default_target_compile): Add D support.
2612 2016-02-20 Ben Elliston <bje@gnu.org>
2614 * lib/utils.exp (diff): Replace calls to verbose followed by
2615 send_log with a single call to verbose -log. Remove additional
2616 newlines from the log messages.
2618 2016-02-20 Ben Elliston <bje@gnu.org>
2620 * lib/utils.exp (getdirs): Ignore .git and .svn directories.
2622 2016-02-20 Ben Elliston <bje@gnu.org>
2624 * lib/utils.exp: Improve comments.
2627 2016-02-20 Ben Elliston <bje@gnu.org>
2629 * lib/utils.exp (prune): Remove proc.
2630 * doc/ref.xml: Update documentation.
2631 * doc/dejagnu.texi: Regenerate.
2633 2016-02-20 Ben Elliston <bje@gnu.org>
2635 * lib/utils.exp (slay): Remove proc.
2636 * doc/ref.xml: Update documentation.
2637 * doc/dejagnu.texi: Regenerate.
2639 2016-02-20 Ben Elliston <bje@gnu.org>
2641 * lib/utils.exp (absolute): Remove proc.
2642 * doc/ref.xml: Update documentation.
2643 * doc/dejagnu.texi: Regenerate.
2645 2016-02-20 Ben Elliston <bje@gnu.org>
2647 * lib/utils.exp (psource): Remove proc.
2648 * doc/ref.xml: Update documentation.
2649 * doc/dejagnu.texi: Regenerate.
2651 2016-02-20 Ben Elliston <bje@gnu.org>
2653 * lib/targetdb.exp (board_info): Simplify return logic.
2655 2016-02-19 Ben Elliston <bje@gnu.org>
2657 * configure.ac: Require Tcl version 8.5 at a minimum.
2658 * configure: Regenerate.
2660 2016-02-18 Ben Elliston <bje@gnu.org>
2662 * configure.ac: Require Tcl version 8.6 at a minimum.
2663 * configure: Regenerate.
2665 2016-02-17 Ben Elliston <bje@gnu.org>
2667 * runtest.exp: Tweak "Test run by .." output.
2669 2016-02-17 Ben Elliston <bje@gnu.org>
2671 * lib/target.exp (default_target_compile): Do not pass -log to
2672 verbose when outputting the captured compiler/assembler/linker
2673 diagnostic output as it will already be in the .log file courtesy
2676 2016-02-17 Ben Elliston <bje@gnu.org>
2678 * runtest.exp: Enable --status by default.
2679 (runtest): Set exit status to 2 if there is any error sourcing
2681 * lib/framework.exp (unknown): Likewise, set exit status to 2.
2682 * doc/runtest.1: Clarify exit status codes.
2685 2016-02-17 Ben Elliston <bje@gnu.org>
2687 * lib/remote.exp (local_exec): Call exp_continue until eof is
2690 2016-02-16 Ben Elliston <bje@gnu.org>
2692 * runtest.exp: Use the traditional exit codes when runtest is
2693 interrupted. This makes it possible to tell if runtest ran to
2694 completion or not. Suggested by Michael Chastain.
2696 2016-02-15 Ben Elliston <bje@gnu.org>
2698 * TODO: Add ideas produced from Cauldron 2013.
2700 2016-02-15 Ben Elliston <bje@gnu.org>
2704 2016-02-15 Ben Elliston <bje@gnu.org>
2706 * lib/dg.exp (dg-test): Remove comment about proc unresolved not
2707 setting exit_status to 1 -- it does.
2709 2016-02-15 Ben Elliston <bje@gnu.org>
2711 * lib/framework.exp (cleanup): Remove do-nothing proc.
2712 (log_and_exit): Remove call to cleanup.
2713 * doc/ref.xml: Remove documentation for cleanup.
2714 * doc/dejagnu.texi: Regenerate.
2716 2016-02-15 Ben Elliston <bje@gnu.org>
2718 Reported by David Malcolm.
2719 * lib/dejagnu.exp (text): Allow angle brackets in test messages.
2721 2016-02-15 Ben Elliston <bje@gnu.org>
2723 * config.guess: Update to version 2016-02-11.
2724 * config.sub: Update to version 2016-01-01.
2726 2016-02-14 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
2728 * lib/remote.exp (remote_exec): Set global timeout for benefit of
2731 2016-02-14 Ben Elliston <bje@gnu.org>
2733 * lib/remote.exp (local_exec): Improve comments.
2735 2016-02-14 Ben Elliston <bje@gnu.org>
2737 * doc/runtest.1: Tweak.
2739 2016-02-14 Steve Ellcey <sellcey@mips.com>
2741 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2743 * baseboards/multi-sim.exp (rpath_flags): Ditto.
2745 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
2747 * lib/remote.exp (standard_file): Reverse return logic for remote
2750 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
2752 * lib/remote.exp (standard_file); Add else clause.
2754 2016-01-16 Ben Elliston <bje@gnu.org>
2756 * runtest.exp (runtest): Improve comment about --status.
2758 2016-01-12 Simon Marchi <simon.marchi@ericsson.com>
2760 * lib/remote.exp (standard_file): The [ operator does not actually
2761 output anything. It returns 0 or 1 as its exit code, so "exit `[
2762 -f $file ]`" always expands to "exit " (equivalent to exit 0).
2763 Instead, use test(1) to check for file existence.
2765 2015-12-20 Ben Elliston <bje@gnu.org>
2767 * doc/dejagnu.xml: Begin overhauling.
2768 * doc/ref.xml: Likewise.
2769 * doc/user.xml: Likewise.
2770 * doc/dejagnu.texi: Regenerate.
2772 2015-12-20 Ben Elliston <bje@gnu.org>
2774 * doc/runtest.1: Miscellaneous minor improvements.
2776 2015-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
2778 * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
2779 * Makefile.in: Regenerate.
2781 2015-11-16 Brooks Moses <bmoses@google.com>
2783 * config/unix.exp: Add ability to set test timeout from site.exp.
2784 * doc/user.xml: Document new test_timeout variable in site.exp.
2785 * doc/dejagnu.texi: Regenerate.
2787 2015-11-16 Ben Elliston <bje@gnu.org>
2789 * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
2791 2015-11-16 Ben Elliston <bje@gnu.org>
2793 * testsuite/runtest.all/options.exp: Remove some commented code.
2795 2015-11-16 Ben Elliston <bje@gnu.org>
2797 * runtest.exp: Refer to "DejaGnu version", not "Framework
2798 version" in --version output.
2799 * testsuite/runtest.all/options.exp: Update test case.
2801 2015-11-14 Ben Elliston <bje@gnu.org>
2803 * runtest.exp (usage): Improve help text.
2805 2015-11-12 Ben Elliston <bje@gnu.org>
2807 * runtest.exp (usage): Sort options in usage.
2809 2015-11-12 Ben Elliston <bje@gnu.org>
2811 * lib/framework.exp (note): Remove old commented-out code.
2813 2015-11-11 Ben Elliston <bje@gnu.org>
2815 * doc/user.xml (Summary File): 'untested', not 'runtested'.
2816 * doc/dejagnu.texi: Regenerate.
2818 2015-11-11 Michael Forney <forney@google.com>
2820 * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
2822 2015-11-11 Ben Elliston <bje@gnu.org>
2824 * doc/dejagnu.texi: Regenerate.
2826 2015-11-10 Ben Elliston <bje@gnu.org>
2828 * doc/user.xml: Fix runtest output formatting in <programlisting>.
2830 2015-11-10 Ben Elliston <bje@gnu.org>
2832 * doc/dejagnu.xml: Update month and year.
2833 * doc/user.xml: Lots of editorial fixes from Daniel Thibault
2834 <Daniel.Thibault@drdc-rddc.gc.ca>.
2836 2015-09-10 Robert Suchanek <Robert.Suchanek@imgtec.com>
2838 * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
2840 2015-07-30 Pedro Alves <palves@redhat.com>
2842 * lib/remote.exp (close_wait_program): New procedure.
2843 (local_exec, standard_close): Use it.
2845 2015-05-23 Ben Elliston <bje@gnu.org>
2847 * doc/dejagnu.xml: Fix broken URLs.
2848 * doc/dejagnu.texi: Regenerate.
2850 2015-05-23 Ben Elliston <bje@gnu.org>
2852 * doc/user.xml: Fix 'crosscompilation'.
2854 2015-05-23 Ben Elliston <bje@gnu.org>
2856 * doc/runtest.1 (log_dialog): Improve documentation.
2858 2015-05-16 Filipe Brandenburger <filbranden@google.com>
2860 * configure.ac: Enable subdir-objects, require automake 1.14.
2861 * Makefile.in: Regenerate.
2863 2015-05-15 Filipe Brandenburger <filbranden@google.com>
2865 * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
2866 possibly introduced in a conversion of .texi to SGML Docbook.
2867 * doc/user.xml: Likewise.
2868 * doc/ref.xml: Likewise.
2869 * doc/dejagnu.texi: Regenerate.
2871 2015-05-15 Filipe Brandenburger <filbranden@google.com>
2873 * runtest.exp (runtest): Introduce new --log_dialog option.
2874 * doc/runtest.1: Document it.
2875 * doc/user.xml: Likewise.
2876 * doc/dejagnu.texi: Regenerate.
2878 2015-05-14 Steve Ellcey <sellcey@imgtec.com>
2880 * baseboards/multi-sim.exp (get_library_dirlist): New.
2881 (dynamic_linker_flag): Use get_library_dirlist to find dynamic
2883 (rpath_flags): Use get_library_dirlist to set rpath.
2885 2015-05-12 Steve Ellcey <sellcey@imgtec.com>
2887 * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
2889 2015-03-30 Ben Elliston <bje@gnu.org>
2891 Revert the following change which causes breakage reported here:
2892 https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
2894 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2896 * runtest.exp (runtest): Call reset_vars at initialisation so that
2897 perror does not affect test results in other test scripts.
2899 2015-02-26 H.J. Lu <hjl.tools@gmail.com>
2901 * lib/target.exp (default_target_compile): Prepend multilib_flags,
2902 instead of appending it.
2904 2015-02-18 Ben Elliston <bje@gnu.org>
2906 * lib/framework.exp (log_and_exit): Set tool to "testrun" if
2909 2015-02-05 Ben Elliston <bje@gnu.org>
2911 * doc/runtest.1: Fix a spelling error.
2913 2015-02-04 Ben Elliston <bje@gnu.org>
2915 * config.guess: Update to version 2015-01-01.
2916 * config.sub: Likewise.
2918 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
2920 * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
2921 * Makefile.in: Regenerate.
2922 * baseboards/visium-sim.exp: New file.
2924 2014-11-25 Ben Elliston <bje@gnu.org>
2926 * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
2927 Reported by David Malcolm.
2929 2014-10-28 Ben Elliston <bje@gnu.org>
2931 * Makefile.in: Regenerate.
2933 2014-10-28 Ben Elliston <bje@gnu.org>
2935 * example: Remove stale examples.
2937 2014-10-24 Steve Ellcey <sellcey@mips.com>
2939 * dejagnu.h (pass): Make function static as well as inline.
2944 (unresolved): Ditto.
2948 2014-10-14 Ben Elliston <bje@gnu.org>
2950 * runtest.exp: Only match $directory, not *${directory}* when the
2951 user passes the --directory option. Reported by Sergey Alyoshin.
2953 2014-10-14 Ben Elliston <bje@gnu.org>
2955 * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
2956 is not the right command keyword -- it is full_buffer. Reported by
2959 2014-07-15 Maciej W. Rozycki <macro@mips.com>
2960 Maciej W. Rozycki <macro@codesourcery.com>
2962 * lib/targetdb.exp (add_board_info): New procedure.
2963 * doc/ref.xml (Add_board_info Procedure): New section.
2964 (Set_board_info Procedure): Add description.
2965 (Unset_board_info Procedure): Likewise.
2966 * doc/user.xml (Board Config File Values): Add `add_board_info'
2967 reference. Reorder `gdb_init_command' table rows and remove a
2968 duplicate entry, reusing it for `gdb_init_commands'.
2970 2014-06-25 Rob Savoye <rob.savoye@linaro.org>
2972 * runtest.exp: (lookfor-file): Fix bug were none of the relative
2973 paths were actually being used for file lookup.
2975 2014-06-06 Ben Elliston <bje@gnu.org>
2977 * depcomp, install-sh, missing: Update to latest versions.
2978 * mkinstalldirs: Remove.
2979 * Makefile.in: Regenerate.
2981 2014-06-04 Ben Elliston <bje@gnu.org>
2983 * Makefile.in: Regenerate with Automake 1.14.1.
2984 * compile: Add missing file.
2986 2014-06-04 Ben Elliston <bje@gnu.org>
2988 * config.guess: Update to version 2014-03-23.
2989 * config.sub: Likewise.
2991 2014-06-04 Ben Elliston <bje@gnu.org>
2993 * aclocal.m4: Regenerate with Automake 1.14.1.
2994 * configure: Regenerate with Autoconf 2.69.
2996 2014-03-15 Steve Ellcey <sellcey@mips.com>
2998 * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
3000 2014-02-23 Steve Ellcey <sellcey@mips.com>
3001 Richard Sandiford <rdsandiford@googlemail.com>
3003 * config/sim.exp (sim_exec): New.
3006 2013-12-08 Richard Sandiford <rdsandiford@googlemail.com>
3008 * lib/dg.exp (dg-test): Don't put the expected and actual output
3009 of a pattern test in the test name; send it to the log instead.
3011 2013-11-01 Steve Ellcey <sellcey@mips.com>
3013 * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
3014 * Makefile.in: Regenerate.
3015 * baseboards/multi-sim.exp: New.
3017 2013-10-31 Anton Kolesov <anton.kolesov@synopsys.com>
3019 * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
3020 (remote_reboot): Add comment explaining return value of this procedure.
3021 * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
3022 * doc/dejagnu.texi: Regenerate.
3024 2013-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
3026 * baseboards/androideabi.exp (process_multilib_options): Add option.
3027 * config/adb.exp: Remove hardcoded -static option.
3028 (adb_load): Add the possibility to change the temp directory. Also
3029 handle permission potential problems.
3030 (adb_exec): Do cd to android_tmp_dir first.
3032 2013-10-05 Jose E. Marchesi <jose.marchesi@oracle.com>
3034 * baseboards/unix.exp: Add gdb settings to not use hardware
3035 watchpoints in sparc64 running GNU/Linux.
3037 2013-06-17 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3039 * runtest.exp (libdirs): New global variable.
3040 (load_lib): Append libdirs to search_and_load_files directories.
3041 * doc/ref.xml (load_lib): Document global variable libdirs.
3042 * doc/dejagnu.texi: Regenerate.
3043 * testsuite/runtest.all/load_lib.exp: New testcase.
3044 * Makefile.am (TESTSUITE_FILES): Add new testcase.
3045 * Makefile.in: Regenerate.
3047 2013-06-15 Ben Elliston <bje@gnu.org>
3049 * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3050 * Makefile.am: Export DEJAGNU.
3051 * configure: Likewise.
3052 * Makefile.in: Regenerate.
3054 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3056 * doc/user.xml: Fix typos.
3057 * doc/ref.xml: Likewise.
3058 * doc/dejagnu.texi: Regenerate.
3060 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3062 * doc/user.xml: Fix number of columns in table.
3063 * doc/dejagnu.texi: Regenerate.
3065 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3067 * doc/user.xml: Fix rendering errors around programlisting.
3068 * doc/ref.xml: Likewise.
3069 * doc/dejagnu.texi: Regenerate.
3071 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3073 * doc/user.xml: Fix spacing before productname.
3074 * doc/dejagnu.texi: Regenerate.
3076 2013-06-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3078 * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3079 magic "args" parameter name, as expect send_log proc accepts -- as
3082 2013-06-08 Makoto Fujiwara <makoto@ki.nu>
3084 * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3085 (config_DATA): Likewise for config_SCRIPTS.
3086 (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3087 (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3089 * Makefile.in: Regenerate.
3091 2013-06-08 Ben Elliston <bje@gnu.org>
3093 * configure: Regenerate with autoconf 2.69.
3094 * aclocal.m4: Regenerate.
3096 2013-03-31 Ben Elliston <bje@gnu.org>
3098 * Makefile.am (html-local): Rename target from html.
3099 * Makefile.in: Regenerate with automake 1.12.6.
3100 * aclocal.m4: Likewise.
3101 * configure: Regenerate.
3103 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3105 * TODO: Remove todo item about warncnt and errcnt.
3107 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3109 * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3111 2013-03-26 Ben Elliston <bje@gnu.org>
3113 * config.guess: Update to version 2013-02-12.
3114 * config.sub: Likewise.
3116 2013-02-16 Rob Savoye <rob@build.welcomehome.org>
3118 * config/adb.exp: Add adb_file so we can remotely delete test
3119 cases to save on limited disk space. Don't remove the file after
3120 executing it, leave that for the test driver instead.
3122 2013-02-15 Rob Savoye <rob@welcomehome.org>
3124 * config/adb.exp: Remove the test case after executing
3125 it. Otherwise we can fill up all the diskspace on a small target
3128 2013-02-11 Rob Savoye <rob@welcomehome.org>
3130 * baseboards/androideabi.exp: Board support for Android using ADB.
3131 * config/adb.exp: Config support for Android using ADB.
3132 * Makefile.am (dist): Add new config and board files.
3133 * aclocal.m4, Makefile.in, configure, example/calc/configure,
3134 example/mathhelper/configure: Regenerated with newer autotools.
3136 2012-12-05 Ben Elliston <bje@gnu.org>
3138 * example/hello: Remove.
3139 * configure.ac: Likewise.
3140 * configure: Regenerate.
3142 2012-10-04 Steve Ellcey <sellcey@mips.com>
3144 * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3145 * Makefile.in: Regenerate.
3146 * baseboards/mips-sim-mti32.exp: New.
3147 * baseboards/mips-sim-mti64.exp: New.
3148 * baseboards/mips-sim-mti64_n32.exp: New.
3149 * baseboards/mips-sim-mti64_64.exp: New.
3150 * baseboards/mips-sim-sde32.exp: New.
3151 * baseboards/mips-sim-sde64.exp: New.
3153 2012-10-04 Ben Elliston <bje@gnu.org>
3155 * aclocal.m4: Regenerate with automake 1.11.3.
3156 * Makefile.in: Likewise.
3157 * configure: Regenerate with autoconf 2.68.
3159 2012-08-22 Steve Ellcey <sellcey@mips.com>
3161 * baseboards/generic-sim.exp: New baseboard definition.
3163 2012-06-15 Andreas Schwab <schwab@linux-m68k.org>
3165 * lib/framework.exp (clone_output): Protect from leading dash in
3167 * runtest.exp (verbose): Likewise.
3169 2012-06-11 Tom Tromey <tromey@redhat.com>
3171 * doc/runtest.1: Update.
3172 * runtest.exp (xml_file_name): New global.
3174 Handle optional argument to --xml.
3175 * lib/framework.exp (open_logs): Respect xml_file_name.
3177 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3179 * runtest.exp (load_tool_init): Fix typo in -de option handling.
3181 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3183 * doc/runtest.1: Correct name of debug file.
3185 2012-02-25 Ben Elliston <bje@gnu.org>
3187 * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3188 for runtest.exp as a last resort (for usrmove environments, where
3189 /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3191 2011-12-30 Ben Elliston <bje@gnu.org>
3193 * doc/user.xml: Various spelling and consistency fixes.
3194 * doc/ref.xml: Likewise.
3195 (exit_remote_shell): Remove, as this procedure is defunct.
3196 * doc/dejagnu.texi: Regenerate.
3198 2011-12-30 Ben Elliston <bje@gnu.org>
3200 * config.guess: Update to version 2011-12-29.
3201 * config.sub: Update to version 2011-11-11.
3203 2011-06-30 Tom Tromey <tromey@redhat.com>
3205 * doc/ref.xml: Document find_gfortran.
3206 * doc/dejagnu.texi: Regenerate.
3207 * lib/target.exp (default_target_compile): Handle f90.
3208 (default_target_compile): Likewise.
3209 * lib/libgloss.exp (find_gfortran): New proc.
3211 2011-06-30 Ben Elliston <bje@gnu.org>
3213 * Makefile.am (all-local): New rule.
3214 * Makefile.in: Regenerate.
3216 2011-04-12 Ben Elliston <bje@gnu.org>
3218 * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3219 rm", for better portability.
3220 * config/netware.exp (${board}_load): Likewise.
3221 * lib/dg.exp (dg-test): Likewise.
3222 * lib/framework.exp (open_logs): Likewise.
3223 * lib/remote.exp (standard_file): Likewise.
3224 * runtest.exp: Likewise.
3225 * testsuite/runtest.all/options.exp: Likewise.
3227 2011-03-15 Ben Elliston <bje@gnu.org>
3229 * runtest.exp: Whitespace cleanups.
3230 * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3231 lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3232 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3234 2011-03-15 Ben Elliston <bje@gnu.org>
3236 * runtest: Remove trailing semicolons.
3237 * lib/rsh.exp: Likewise.
3239 2011-03-15 H.J. Lu <hjl.tools@gmail.com>
3241 * lib/remote.exp (local_exec): Ignore SIGHUP.
3243 2011-03-14 Ben Elliston <bje@gnu.org>
3245 * runtest.exp (frame_version): Set to 1.5.1.
3246 * configure.ac (AC_INIT): Set version to 1.5.1.
3247 * configure: Regenerate.
3248 * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3249 * doc/dejagnu.texi: Regenerate.
3251 2011-03-14 Ben Elliston <bje@gnu.org>
3253 * dejagnu.h: Whitespace cleanups.
3255 2011-03-14 Ben Elliston <bje@gnu.org>
3257 * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3258 * baseboards/mt-sid.exp: Likewise.
3259 * baseboards/tx39-sim.exp: Likewise.
3260 * lib/target.exp (default_target_compile): Likewise.
3262 2011-03-14 Ben Elliston <bje@gnu.org>
3264 Reported by Flash Sheridan <flash@pobox.com>:
3265 * doc/user.xml (Testing "Hello world" locally): Improve the
3266 example test script and make it robust to failures. Tidy some
3268 * doc/dejagnu.texi: Regenerate.
3270 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3272 * runtest.exp (runtest): Call reset_vars at initialisation so that
3273 perror does not affect test results in other test scripts.
3275 2011-03-09 Ben Elliston <bje@gnu.org>
3277 * NEWS: Start a new section for post-1.5 changes.
3279 2011-03-09 Ben Elliston <bje@gnu.org>
3281 * DejaGnu 1.5 released.
3283 2011-03-09 Ben Elliston <bje@gnu.org>
3285 * Makefile.am (DISTCLEANFILES): Define.
3286 * Makefile.in: Regenerate.
3287 * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3288 * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3289 * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3290 mkdir" instead of exec'ing mkdir(1).
3292 2011-03-07 Ben Elliston <bje@gnu.org>
3294 * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3295 * Makefile.in: Regenerate.
3297 2011-03-06 Ben Elliston <bje@gnu.org>
3299 * configure.ac (AC_INIT): Set version to 1.5.
3300 * configure: Regenerate.
3301 * runtest.exp (frame_version): Set to 1.5.
3302 * doc/dejagnu.texi: Regenerate.
3304 2011-03-04 Ben Elliston <bje@gnu.org>
3306 * texinfo.tex: Import latest version from ftp://tug.org/tex.
3308 2011-03-04 Ben Elliston <bje@gnu.org>
3310 * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3311 * Makefile.in: Regenerate.
3313 2011-03-03 Ben Elliston <bje@gnu.org>
3315 * Makefile.am: Bump to GPL version 3.
3316 * configure.ac: Likewise.
3317 * Makefile.in: Regenerate.
3318 * aclocal.m4: Likewise.
3319 * configure: Likewise.
3321 2011-03-03 Ben Elliston <bje@gnu.org>
3323 * config.guess: Update to most recent version.
3324 * config.sub: Likewise.
3326 2011-03-03 Ben Elliston <bje@gnu.org>
3328 * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3329 proc to ::tcl_unknown. If ::tcl_unknown returns a failure result,
3330 then fall back to the conventional DejaGnu handling. Report from
3331 David Byron <dbyron@dbyron.com>.
3333 2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
3335 * lib/remote.exp (remote_expect): Pass all exception conditions up
3338 2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3340 * lib/dg.exp (dg-test): Support nested calls.
3342 2010-04-13 Ben Elliston <bje@gnu.org>
3344 * testglue.c: Remove duplicated prototypes for abort and exit.
3346 2010-03-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3348 * doc/user.xml (Tcl Variables For Command Line Options): Correct
3351 2010-01-21 Jie Zhang <jie.zhang@analog.com>
3353 * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3355 2010-01-15 Anthony Green <green@moxielogic.com>
3357 * baseboards/moxie-sim.exp: New baseboard.
3359 2009-12-10 DJ Delorie <dj@redhat.com>
3361 * baseboards/rx-sim.exp: New baseboard.
3363 2009-10-15 Ben Elliston <bje@gnu.org>
3365 * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3366 This web page has disappeared.
3368 2009-07-06 Ben Elliston <bje@gnu.org>
3370 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3371 <option> not <emphasis>. Apply other grammatical fixes from
3373 * doc/dejagnu.texi: Regenerate.
3375 2009-07-06 Ben Elliston <bje@gnu.org>
3377 * configure.ac: Check for docbook2x-texi.
3378 * configure: Regenerate.
3380 2009-07-06 Ben Elliston <bje@gnu.org>
3382 From Reuben Thomas <rrt@sc3d.org>:
3383 * doc/runtest.1: Fix some formatting issues.
3385 2009-06-16 Ben Elliston <bje@gnu.org>
3387 * config.guess: Update to most recent version.
3388 * config.sub: Likewise.
3390 2009-06-16 Ben Elliston <bje@gnu.org>
3392 * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3393 * Makefile.in: Regenerate.
3394 * packaging: Remove directory and its contents.
3396 2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
3398 * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3401 2008-12-03 Ben Elliston <bje@gnu.org>
3403 * COPYING: Update to GPL version 3.
3405 2008-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3407 * doc/ref.xml, doc/user.xml: Fix typos.
3408 * doc/dejagnu.texi: Regenerate.
3410 2008-04-06 Daniel Jacobowitz <drow@false.org>
3412 * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3413 * Makefile.in: Regenerate.
3414 * dejagnu.exp (host_execute): Improve regexp matching.
3415 * testsuite/libdejagnu/unit.cc: C++ fixes.
3417 2008-04-06 Daniel Jacobowitz <drow@false.org>
3419 * lib/utils.exp (diff): Open both files as binary.
3421 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3423 * dejagnu.h (totals): Correct typos.
3425 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3427 * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3428 * doc/dejagnu.texi: Regenerate.
3430 2008-02-25 Ben Elliston <bje@gnu.org>
3432 * doc/runtest.1: Update date of last revision.
3434 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3436 * baseboards/h8300.exp: Use -- before switch argument that may
3438 * baseboards/cris-sim.exp: Ditto.
3440 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3442 * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3443 iq2000-sim.exp and m32r-linux-sim.exp.
3444 * Makefile.in: Regenerate.
3446 2008-02-08 Ben Elliston <bje@gnu.org>
3448 * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3450 2007-12-28 Joseph Myers <joseph@codesourcery.com>
3452 * lib/target.exp (default_link): Initialize nobjects before use.
3454 2007-12-06 Ben Elliston <bje@gnu.org>
3456 * lib/dg.exp (dg_bogus): Comment fix.
3458 2007-10-31 DJ Delorie <dj@redhat.com>
3460 * lib/framework.exp (open_logs): Line buffer the .sum file.
3462 2007-09-04 Matt Kraai <kraai@ftbfs.org>
3464 * doc/user.xml (Configuration): Fix typos.
3465 * doc/dejagnu.texi: Regenerate.
3467 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
3469 * lib/remote.exp (standard_send): Correct quoting.
3471 2007-05-17 Ben Elliston <bje@gnu.org>
3473 * doc/user.xml: Correct the syntax for running apt-get on a Debian
3474 GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
3476 2007-04-30 Bob Wilson <bob.wilson@acm.org>
3478 * baseboards/xtensa-sim.exp: Set target_install. Stop using
3479 basic-sim.exp. Run the simulator with --turbo option. Replace
3480 needs_status_wrapper with the simulator's --exit_with_target_code
3483 2006-10-15 Rob Savoye <rob@bertha.welcomehome.org>
3485 * dejagnu.h: Add support for for expected failures and
3486 unexpected successes.
3488 2005-05-06 Andrew Fyfe <a.fyfe@tiscali.co.uk>
3490 * doc/Makefile.am: Fix install path for man page.
3491 * Makefiles: Regenerated.
3493 2006-08-29 Ben Elliston <bje@gnu.org>
3495 * runtest.exp (usage): Use "triplet" instead of "config name".
3497 2006-07-13 Daniel Jacobowitz <dan@codesourcery.com>
3499 * Makefile.am (DOCBOOK2RTF): Fix typo.
3500 * Makefile.in: Regenerated.
3501 * lib/libgloss.exp (process_multilib_options): Use -- to handle
3502 options starting with hyphens.
3504 2006-06-23 Eric Botcazou <ebotcazou@adacore.com>
3506 * libgloss.exp (find_gnatmake): Rewrite.
3508 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
3510 * rsh.exp (rsh_exec): Handle inp and outp arguments. Use
3511 local_exec to run rsh. Return failure if rsh times out.
3512 * remote.exp (local_exec): Handle "|& cat" we added when deciding
3513 whether to return output.
3515 2006-06-09 Ben Elliston <bje@gnu.org>
3517 * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
3518 multiple cases, not a list (case uses lists, switch does not).
3519 Pass -glob to switch where applicable to emulate case behaviour.
3520 * baseboards/h8300.exp: Likewise.
3521 * lib/framework.exp (clone_output): Likewise.
3522 (clear_xfail): Likewise.
3523 (clear_kfail): Likewise.
3524 * lib/libgloss.exp (process_multilib_options): Likewise.
3525 * runtest.exp: Likewise.
3527 2006-06-06 Ben Elliston <bje@gnu.org>
3529 * Makefile.am (CONTRIB): New.
3530 (EXTRA_DIST): Add $(CONTRIB).
3531 (doc/dejagnu.texi): Set directory-category param to docbook2texi.
3532 * Makefile.in: Regenerate.
3533 * doc/dejagnu.texi: Likewise.
3535 2006-06-06 Ben Elliston <bje@gnu.org>
3537 * runtest.exp (load_lib): Typo fix.
3539 2006-06-06 Ben Elliston <bje@gnu.org>
3541 * dejagnu.h: Tidy comments.
3542 (_BUFFER_SIZE_): Remove to minimise namespace pollution.
3543 (wait): Define this function unconditionally. Conditionally
3544 compile the function body if _DEJAGNU_WAIT_ is defined.
3545 (buffer): Set the buffer size explicitly.
3546 (pass): Use sizeof (buffer). Call wait() unconditionally.
3547 (fail, untested, unresolved, note): Likewise.
3548 (enum teststate): Tidy whitespace.
3550 2006-06-06 Ben Elliston <bje@gnu.org>
3552 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
3553 * doc/dejagnu.texi: Regenerate.
3555 2006-06-06 Ben Elliston <bje@gnu.org>
3557 Import from GCC tree:
3558 2006-06-02 Richard Earnshaw <rearnsha@arm.com>
3559 Mike Stump <mrs@apple.com>
3561 * compare_tests: Handle multilibs better.
3563 2006-06-06 Ben Elliston <bje@gnu.org>
3565 * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
3567 * configure.ac: Check for docbook2texi, not docbook2x-texi. The
3568 wrapper script changed its name again in the latest release.
3569 * configure: Regenerate.
3570 * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
3571 (DOCBOOK2TEXI): .. to this.
3572 (doc/dejagnu.texi): Do not use output-file parameter to deposit
3573 the .texi file into the source directory; use mv(1) instead. Set
3574 directory-description parameter.
3575 * Makefile.in: Likewise.
3577 2006-06-02 Ben Elliston <bje@gnu.org>
3579 * config/sim.exp (sim_upload): Match up argument names.
3581 2006-06-02 Ben Elliston <bje@gnu.org>
3583 * config.guess: Update to most recent version.
3584 * config.sub: Likewise.
3586 2006-06-02 Ben Elliston <bje@gnu.org>
3588 * config/dos.exp (dos_open): Only run global board_info once at
3589 the beginning of the proc; remove duplicates.
3590 (dos_load): Use file join to separate path components.
3591 (dos_copy_upload): Likewise.
3592 * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
3595 2006-06-02 Ben Elliston <bje@gnu.org>
3597 * contrib/compare_tests: Import from the GCC contrib directory.
3599 2006-05-24 Ben Elliston <bje@gnu.org>
3601 * runtest.exp (verbose): Brace some expressions.
3602 (load_file, search_and_load_file): Likewise.
3603 (runtest): Likewise.
3605 2006-05-23 Ben Elliston <bje@gnu.org>
3607 * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
3608 * config/i960.exp (i960_spawn): Initialise status.
3609 * config/netware.exp (${board}_init): Brace some if expressions.
3610 * lib/dg.exp (dg-test): Brace some expressions.
3611 * lib/framework.exp (clone_output, log_and_exit, log_summary,
3612 record_test, pass, fail): Likewise.
3613 * lib/libgloss.exp (get_multilibs): Likewise.
3614 * lib/remote.exp (standard_transmit, unix_clean_filename,
3615 remote_load, check_for_board_status, remote_expect): Likewise.
3616 * lib/rsh.exp (rsh_exec): Likewise.
3618 2006-05-22 Ben Elliston <bje@gnu.org>
3620 * baseboards/cris-sim.exp: Use switch, not case.
3621 * baseboards/h8300.exp: Likewise.
3622 * config/base68k.exp (base68k_ld): Brace an if expression.
3624 2006-05-22 Ben Elliston <bje@gnu.org>
3626 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
3627 baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
3628 baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
3629 baseboards/mmixware-sim.exp, baseboards/op50n.exp,
3630 baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
3631 baseboards/usparc-cygmon.exp, config/base-config.exp,
3632 config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
3633 config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
3634 config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
3635 config/netware.exp, config/sid.exp, config/sim.exp,
3636 config/tic80.exp, config/unix.exp, config/vxworks.exp,
3637 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3638 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
3639 lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
3640 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
3641 expressions throughout.
3643 2006-05-22 Ben Elliston <bje@gnu.org>
3645 * lib/framework.exp (open_logs): Use file join where applicable.
3646 * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
3647 newlib_include_flags, g++_link_flags, libstdc++_link_flags,
3648 get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
3649 * lib/utils.exp (which): Likewise.
3650 * runtest.exp (search_and_load_file, lookfor_file,
3651 load_tool_init): Likewise.
3653 * lib/debugger.exp (watcharray): Add `array' parameter. Rename
3654 `type' parameter to `op' and update all uses in the proc.
3655 (watchvar): Add `ignore' parameter for scalar variables.
3656 Likewise, rename `type' to `op' and update throughout the proc.
3658 * runtest.exp: Use switch, not case.
3659 * lib/framework.exp (clone_output): Likewise.
3660 (clear_xfail): Likewise.
3661 (clear_kfail): Likewise.
3662 (set_warning_threshold): Make warning_threshold global.
3663 (get_warning_threshold): Likewise.
3664 * lib/libgloss.exp (process_multilib_options): Use switch, not
3666 * lib/remote.exp (local_exec): Only run global errorInfo once.
3667 (standard_upload): Fix error in variable use ($file -> $srcfile).
3668 * lib/utils.exp (grep): Use switch, not case.
3669 (slay): Fix mismatched bracket.
3671 * lib/debugger.exp (watcharray): Use switch, not case.
3672 (watchvar): Likewise.
3673 (bt): Add an explanatory comment.
3675 2006-04-03 Ben Elliston <bje@gnu.org>
3677 * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
3678 lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
3679 lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
3681 2006-01-02 Ben Elliston <bje@gnu.org>
3683 * configure.ac (AC_INIT): Set version to 1.4.99.
3684 * configure: Regenerate.
3686 2006-01-01 Ben Elliston <bje@gnu.org>
3688 * testsuite/runtest.all/utils.test: Add runtest_file_p.
3690 2006-01-01 Ben Elliston <bje@gnu.org>
3692 * runtest.exp (frame_version): Set to 1.4.99.
3694 2006-01-01 Ben Elliston <bje@gnu.org>
3696 * dejagnu.h: Update copyright notice. Use C-style /* .. */
3697 comments for portability with ISO C compilers.
3698 * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
3700 2006-01-01 Ben Elliston <bje@gnu.org>
3702 * runtest.exp: Update copyright notice.
3703 * example/calc/testsuite/calc.test/calc.exp: Likewise.
3704 * example/calc/testsuite/config/unix.exp: Likewise.
3705 * testsuite/libdejagnu/tunit.exp: Likewise.
3706 * testsuite/runtest.all/libs.exp: Likewise.
3707 * testsuite/runtest.all/options.exp: Likewise.
3708 * testsuite/runtest.all/stats-sub.exp: Likewise.
3709 * testsuite/runtest.all/stats.exp: Likewise.
3711 2006-01-01 Ben Elliston <bje@gnu.org>
3713 * config/default.exp, config/unix.exp, config/vxworks.exp,
3714 lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
3715 lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
3717 * dejagnu.h, testsuite/config/default.exp,
3718 testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
3719 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
3720 testsuite/runtest.all/options.exp,
3721 testsuite/runtest.all/stats-sub.exp,
3722 testsuite/runtest.all/stats.exp: Update copyright notice and FSF
3723 office address. Remove bug reporting address, as it is now
3724 maintained centrally in the README file.
3726 2005-12-31 Ben Elliston <bje@gnu.org>
3728 * testsuite/runtest.all/utils.test: Don't bother mentioning
3729 absolute, psource, prune and slay as untested procedures.
3731 2005-12-31 Ben Elliston <bje@gnu.org>
3733 * doc/ref.xml (Utility Procedures): Note that the following
3734 procedures are deprecated: absolute, psource, prune, slay.
3736 * doc/dejagnu.texi: Regenerate.
3738 2005-12-24 Ben Elliston <bje@gnu.org>
3740 * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
3741 case the command fails and zeroes the Texinfo source file. Move
3742 the output (if successful) by its default filename using mv(1).
3743 * Makefile.in: Regenerate.
3745 2005-12-24 Ben Elliston <bje@gnu.org>
3747 * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
3748 * configure: Regenerate.
3749 * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
3750 (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
3751 (dejagnu.pdf): Use $(DOCBOOK2PDF).
3752 (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
3753 (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
3754 (html): Likewise, use $(DOCBOOK2HTML).
3755 (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
3756 which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
3757 * Makefile.in: Regenerate.
3759 2005-12-24 Ben Elliston <bje@gnu.org>
3761 * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
3762 (XML): Remove $(srcdir) from each filename; VPATH suffices.
3763 (PACKAGING_METAFILES): Remove.
3764 * Makefile.in: Regenerate.
3766 2005-12-24 Ben Elliston <bje@gnu.org>
3770 2005-12-24 Ben Elliston <bje@gnu.org>
3774 2005-12-24 Ben Elliston <bje@gnu.org>
3776 * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
3779 2005-12-24 Ben Elliston <bje@gnu.org>
3781 * Makefile.am (RUNTEST): Simplify, as Automake already generates
3782 similar logic in Makefile.in.
3783 * Makefile.in: Regenerate.
3785 2005-12-24 Ben Elliston <bje@gnu.org>
3787 * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
3788 libdejagnu tests are run too.
3789 * Makefile.in: Regenerate.
3791 2005-12-24 Ben Elliston <bje@gnu.org>
3793 * configure: Regenerate.
3795 * lib/remote.exp: Tidy.
3796 * lib/targetdb.exp: Likewise.
3797 * lib/target.exp (prune_warnings): Improve comments.
3798 * lib/dejagnu.exp: Likewise.
3799 * lib/utils.exp: Likewise.
3803 2005-12-24 Ben Elliston <bje@gnu.org>
3805 * doc/dejagnu.xml: Don't use apostrophes in section titles.
3806 * doc/dejagnu.texi: Regenerate.
3808 2005-12-24 Ben Elliston <bje@gnu.org>
3810 * Makefile.am (XML): Include $(srcdir) in filenames.
3811 * Makefile.in: Regenerate.
3813 2005-12-24 Ben Elliston <bje@gnu.org>
3815 * doc/C/Makefile.am: Remove.
3816 * doc/C/Makefile.in: Likewise.
3818 * Makefile.am (SUBDIRS): Remove.
3819 (EXTRA_DIST): Append $(XML).
3820 (dist_man_MANS): Define.
3821 (info_TEXINFOS): Likewise.
3822 (XML): List XML source files.
3823 (dejagnu.pdf): New target.
3824 (dejagnu.ps): Likewise.
3825 (dejagnu.rtf): Likewise.
3827 (dejagnu.texi): Special rule to build Texinfo source.
3828 * Makefile.in: Regenerate.
3829 * configure.ac: Don't search for docbook2dvi.
3830 Search for docbook2rtf and docbook2pdf.
3831 Don't output doc/Makefile or doc/C/Makefile.
3832 * configure: Regenerate.
3833 * doc/texinfo.tex: Move from here ..
3834 * texinfo.tex: .. to here.
3835 * doc/Makefile.am: Remove.
3836 * doc/Makefile.in: Likewise.
3837 * doc/C/dejagnu.omf: Likewise.
3838 * doc/C/topic.dat: Likewise.
3839 * doc/C/dejagnu.xml: Move from here ..
3840 * doc/dejagnu.xml: .. to here.
3841 * doc/C/legal.xml: Move from here ..
3842 * doc/legal.xml: .. to here.
3843 * doc/C/ref.xml: Move from here ..
3844 * doc/ref.xml: .. to here.
3845 * doc/C/user.xml: Move from here ..
3846 * doc/user.xml: .. to here.
3847 * doc/dejagnu.texi: Rebuild from XML source.
3849 2005-12-23 Ben Elliston <bje@gnu.org>
3851 * doc/runtest.1: Update manual page.
3853 2005-12-23 Ben Elliston <bje@gnu.org>
3855 * doc/overview.sgml: Remove in favour of XML versions.
3856 * doc/ref.sgml: Ditto.
3857 * doc/user.sgml: Ditto.
3858 * doc/texinfo.tex: Import new version.
3860 2005-12-20 Ben Elliston <bje@gnu.org>
3862 * Makefile.am (SUBDIRS): Remove testsuite, example.
3863 (EXTRA_DIST): Add $(TESTSUITE_FILES).
3864 (TESTSUITE_FILES): New.
3865 (RUNTEST, RUNTESTDEFAULTFLAGS): New.
3867 (check_PROGRAMS): New.
3868 (unit_SOURCES): New.
3869 * Makefile.in: Regenerate.
3870 * configure.ac (AC_OUTPUT): Don't output example/Makefile,
3871 testsuite/Makefile or testsuite/libdejagnu/Makefile.
3872 * configure: Regenerate.
3873 * testsuite/Makefile.am: Remove.
3874 * testsuite/Makefile.in: Likewise.
3875 * testsuite/libdejagnu/Makefile.am: Likewise.
3876 * testsuite/libdejagnu/Makefile.in: Likewise.
3878 2005-12-20 Ben Elliston <bje@gnu.org>
3880 * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
3881 * Makefile.in: Regenerate.
3883 2005-12-20 Ben Elliston <bje@gnu.org>
3885 * configure: Regenerate with autoconf 2.59.
3886 * aclocal.m4: Regenerate with aclocal 1.9.6.
3887 * Makefile.in: Regenerate with automake 1.9.6.
3888 * doc/Makefile.in: Likewise.
3889 * doc/C/Makefile.in: Likewise.
3890 * example/Makefile.in: Likewise.
3891 * testsuite/Makefile.in: Likewise.
3892 * testsuite/libdejagnu/Makefile.in: Likewise.
3894 2005-12-20 Nathan Sidwell <nathan@codesourcery.com>
3896 * baseboards/ms1-sid.exp: Rename from this ..
3897 * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
3899 2005-12-20 Ben Elliston <bje@gnu.org>
3901 * config.guess: Update to most recent version.
3902 * config.sub: Likewise.
3904 2005-09-24 Ben Elliston <bje@gnu.org>
3906 * packaging/pkg/pkginfo (EMAIL): Update mail address.
3908 * lib/rsh.exp: Tidy comments.
3910 2005-07-07 Ben Elliston <bje@gnu.org>
3912 * lib/telnet.exp (telnet_transmit): Remove; use standard method.
3914 2005-07-07 Ben Elliston <bje@gnu.org>
3916 * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
3917 * Makefile.in: Regenerate.
3919 2005-07-06 Ben Elliston <bje@gnu.org>
3921 * lib/tip.exp (tip_open): Improve comments.
3922 (tip_download): Likewise.
3924 2005-07-06 Ben Elliston <bje@gnu.org>
3926 * lib/telnet.exp (telnet_open): Improve option handling. Clarify
3927 documentation for each proc.
3929 2005-07-06 Ben Elliston <bje@gnu.org>
3931 * aclocal.m4: Regenerate with aclocal 1.9.
3932 * configure: Regenerate with autoconf 2.59.
3933 * doc/C/Makefile.am: Remove stray include.
3934 * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
3935 example/Makefile.in, testsuite/Makefile.in,
3936 testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
3938 2005-07-06 Ben Elliston <bje@gnu.org>
3940 Import some missing hunks from this patch on sourceware:
3942 2004-11-11 Nick Clifton <nickc@redhat.com>
3944 * lib/libgloss.exp (libio_include_flags, g++_include_flags,
3945 winsup_include_flags): Revert previous patch, restoring the use of
3946 -I, for all libraries except newlib. Newlib needs -isystem to
3947 avoid the problems with <limits.h> but the C++ and winsup
3948 libraries need -I because -isystem generates an implicit 'extern
3949 "C"' which may not be appropriate for certain targets.
3951 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3953 * baseboards/ms1-sid.exp: New.
3955 2005-07-01 Ben Elliston <bje@gnu.org>
3957 Unify some changes with the 1.4 branch:
3959 2004-10-28 Nick Clifton <nickc@redhat.com>
3960 * baseboards/iq2000-sim.exp: New file.
3962 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
3963 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
3966 2004-05-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3967 * baseboards/m32r-linux-sim.exp: Add New file.
3969 2005-06-24 Ben Elliston <bje@gnu.org>
3971 * MAINTAINERS: Update my email address.
3973 2005-06-24 Ben Elliston <bje@gnu.org>
3975 * Update the FSF's physical address throughout.
3977 2005-06-22 Ben Elliston <bje@gnu.org>
3979 * config.guess: Update to most recent version.
3980 * config.sub: Likewise.
3982 2005-04-28 Mark Kettenis <kettenis@gnu.org>
3984 * lib/target.exp (prune_warnings): Add a few more linker
3985 warning patterns for OpenBSD.
3987 2005-03-20 Mark Kettenis <kettenis@gnu.org>
3989 * lib/target.exp (prune_warnings): Add linker warning patterns for
3992 2005-01-29 Hans-Peter Nilsson <hp@axis.com>
3994 * baseboards/cris-sim.exp: New file.
3996 2004-11-19 Nick Clifton <nickc@redhat.com>
3998 * lib/libgloss.exp (newlib_include_flags): Document why -isystem
3999 is used instead of -I.
4000 (libio_include_flags): Use -I instead of -isystem and
4002 (g++_include_flags): Use -I instead of -isystem.
4003 (libstdc++_include_flags): Likewise.
4005 2004-11-04 Ben Elliston <bje@gnu.org>
4007 * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
4008 mark the test as unresolved, rather than warning.
4010 2004-10-27 Nick Clifton <nickc@redhat.com>
4012 * baseboards/iq2000-sim.exp: New file.
4014 2004-08-20 Daniel Jacobowitz <dan@debian.org>
4016 * testglue.c: Prototype abort(3) and exit(3).
4018 2004-08-14 Paul Brook <paul@codesourcery.com>
4020 * config/sim.exp (sim_download, sim_upload): New procs.
4022 2004-06-30 Ben Elliston <bje@gnu.org>
4024 * config.guess: Update to current revision.
4025 * config.sub: Likewise.
4027 2004-06-12 Ben Elliston <bje@gnu.org>
4029 * config.guess: Update to current revision.
4030 * config.sub: Likewise.
4032 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4034 * testglue.c: Prototype abort and exit.
4036 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4038 * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4041 Tue Feb 25 05:19:57 UTC 2003 Brendan Conoboy <blc@@redhat.com>
4043 * lib/remote.exp (call_remote): Remove multilibs from the board
4044 name when rebooting a board.
4046 2004-06-03 Alexandre Oliva <aoliva@redhat.com>
4048 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4051 2004-06-07 Ben Elliston <bje@gnu.org>
4053 * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4055 2004-03-29 Joel Brobecker <brobecker@gnat.com>
4057 * lib/libgloss.exp (find_gnatmake): New procedure.
4058 * lib/target.exp (default_target_compile): Add support for Ada.
4060 2004-04-16 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
4062 * baseboards/m32r-linux-sim.exp: Add New file.
4064 2004-04-02 Rob Savoye <rob@direwolf.welcomehome.org>
4066 * configure.ac, example/Makefile.am: Add example/mathhelper.
4067 * configure, alocal.m4, example/Makefile.in: Regenerated.
4069 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4071 * example/mathhelper: New example for using the unit testing API.
4073 2004-03-05 Daniel Jacobowitz <drow@mvista.com>
4075 * lib/remote.exp (standard_spawn): Fix rsh username support.
4077 2004-03-06 Rob Savoye <rob@althea.welcomehome.org>
4079 * doc/C: New directory for DocBook XML files.
4080 * doc/C/dejagnu.omf: New config file for scrollkeeper.
4081 * doc/C/topic.dat: New config file for the GNOME help system.
4082 * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4084 * doc/C/ref.xml: DocBook XML formatted verion of what was
4086 * doc/C/user.xml: DocBook XML formatted verion of what was
4089 2004-02-17 Ben Elliston <bje@wasabisystems.com>
4091 * runtest.exp: Do not trap SIGSEGV.
4093 2004-02-16 Ben Elliston <bje@wasabisystems.com>
4095 * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4096 * configure: Regenerate.
4098 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4100 * doc/runtest.1: Improve some wording. Update last revision date.
4102 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4104 * NEWS: Document yesterday's work.
4106 * runtest: Improve comments.
4108 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4112 * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4114 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4116 * configure.ac: Quote strings throughout in good Autoconf style.
4117 Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4118 expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4119 existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4120 is at version 8.3 or greater.
4121 * configure: Regenerate.
4122 * acinclude.m4: Remove.
4123 * aclocal.m4: Regenerate.
4124 * Makefile.in: Likewise.
4125 * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4126 (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4127 (%.html: %.sgml): Use $(DOCBOOK2HTML).
4128 * doc/Makefile.in: Regenerate.
4129 * example/Makefile.in: Likewise.
4130 * testsuite/Makefile.in: Likewise.
4131 * testsuite/libdejagnu/Makefile.in: Likewise.
4134 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4136 * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4137 * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4138 baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4139 baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4140 baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4141 baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4142 baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4143 baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4144 baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4145 baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4146 baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4147 baseboards/vr5000-ddb.exp: Likewise.
4149 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4151 * runtest: Terminate with an error if expect cannot be found.
4154 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4156 * configure.ac: Use AC_PATH_PROG to find expect(1).
4157 (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4158 * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4159 (DJ_AC_STL): Likewise.
4160 * configure: Regenerate.
4161 * aclocal.m4: Likewise.
4162 * configure: Likewise.
4163 * Makefile.in: Likewise.
4164 * doc/Makefile.in: Likewise.
4165 * example/Makefile.in: Likewise.
4166 * testsuite/Makefile.in: Likewise.
4167 * testsuite/libdejagnu/Makefile.in: Likewise.
4170 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4172 * runtest.1: Remove any mention of mondfe.
4174 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4176 * TODO: Add an item about timeouts.
4178 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4180 * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4182 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4184 * lib/standard.exp: Tidy.
4186 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4188 * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4189 (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4190 (baseboard_SCRIPTS): Remove a29k-udi.exp.
4191 * Makefile.in: Regenerate.
4192 * baseboards/a29k-udi.exp: Remove.
4193 * baseboards/dos.exp: Update comments.
4194 * config/udi.exp: Remove.
4195 * config/vrtx.exp: Remove.
4196 * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4197 * doc/ref.sgml: Likewise.
4198 * doc/user.sgml: Likewise.
4199 * lib/mondfe.exp: Remove.
4200 * lib/xsh.exp: Likewise.
4201 * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4202 * packaging/pkg/prototype: Update.
4205 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4207 * Makefile.am (rpmspec): Remove.
4208 (rpm): Additionally depend on dejagnu.spec.
4209 ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4210 directory. This saves duplicated code in the solpkg and hpdepot
4212 (solpkg): Depend on $(PKGDIR)/dejagnu.
4213 (hpdepot): Likewise.
4214 * Makefile.in: Regenerate.
4216 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4218 * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4219 * Makefile.in: Regenerate.
4220 * testsuite/Makefile.am (CLEANFILES): Remove.
4221 (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4222 * testsuite/Makefile.in: Regenerate.
4224 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4226 * lib/util-defs.exp: Move from here ..
4227 * testsuite/lib/util-defs.exp: .. to here.
4228 * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4229 * Makefile.in: Regenerate.
4230 * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4231 * testsuite/Makefile.in: Regenerate.
4232 * doc/ref.sgml (File Map): Remove util-defs.exp.
4233 * packaging/pkg/prototype: Update file list.
4235 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4237 * NEWS: Document changes since 1.4.4.
4239 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4241 * example/Makefile.am (check-recursive): Remove target.
4242 * example/Makefile.in: Regenerate.
4244 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4246 * dejagnu.h: Conform with GNU coding standard.
4248 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4250 * Makefile.am (PKGING): Remove.
4251 (PACKAGING_METAFILES): Update accordingly.
4252 (CLEANFILES, check-DEJAGNU): Remove.
4253 (tarball): Remove; use `dist'.
4254 (deb): Update target recipe to use `make dist'.
4256 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4258 * Clean.tcl: Remove.
4260 * Makefile.am (SUBDIRS): Add testsuite, example directories.
4261 (EXTRA_DIST): Define.
4262 (pkgdata_SCRIPTS): Add lib/*.exp files.
4263 (DATE, TCLSH): Remove.
4264 (configdir, config_DATA, config_SCRIPTS): Define.
4265 (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4266 (pkgdata_DATA): Likewise.
4267 (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4268 (PKGING, PACKAGING_METAFILES): New macros.
4269 (clean-local): Remove.
4270 (rpm): Depend on dist.
4272 (dist-hook): Remove.
4273 (lib_dest, lib_files): Likewise.
4274 (baseboard_dest, baseboard_files): Likewise.
4275 (include_dest, config_dest, config_files): Likewise.
4276 (install-data-local): Likewise.
4277 (uninstall-local): Likewise.
4278 (site.exp): Likewise.
4279 * Makefile.in: Regenerate.
4281 * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4283 (EXTRA_DIST): Define.
4284 (site.exp): Remove target.
4285 * testsuite/Makefile.in: Regenerate.
4286 * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4287 (noinst_PROGRAMS): Rename from this ..
4288 (check_PROGRAMS): .. to this.
4289 * testsuite/libdejagnu/Makefile.in: Regenerate.
4291 * doc/Makefile.am (man_MANS): Rename from this ..
4292 (dist_man_MANS): .. to this.
4293 (info_TEXINFOS): Define.
4294 (TARGETS): Remove overview.rtf.
4295 (EXTRA_DIST): Define.
4296 (%.rtf: %.sgml): Remove rule.
4297 (%.gif: %.fig): Likewise.
4298 (%.epsi: %.eps): Likewise.
4299 (%.eps: %.fig): Likewise.
4300 (clean, realclean, distclean): Remove.
4301 (install-docs): Don't install overview.rtf.
4302 * doc/Makefile.in: Regenerate.
4303 * doc/texinfo.tex: New file.
4305 * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4306 (check_PROGRAMS): .. to this.
4307 (EXTRA_DIST): Add test cases and calc.1 man page.
4308 * example/calc/Makefile.in: Regenerate.
4309 * example/calc/aclocal.m4: Likewise.
4310 * example/calc/configure: Likewise.
4311 * example/calc/stamp-h.in: Remove.
4312 * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4313 (check_PROGRAMS): .. to this.
4314 (EXTRA_DIST): Define.
4315 * example/hello/Makefile.in: Regenerate.
4316 * example/hello/aclocal.m4: Likewise.
4317 * example/hello/configure: Likewise.
4318 * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4319 * example/hello/testsuite/Makefile.in: Regenerate.
4321 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4323 * configure.ac: Remove commented out code.
4324 * configure: Regenerate.
4326 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4330 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4332 * INSTALL: Import latest version.
4333 * depcomp: Likewise.
4334 * install-sh: Likewise.
4335 * missing: Likewise.
4337 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4339 * configure.in: Rename from this ..
4340 * configure.ac: .. to this. Require Autoconf 2.50.
4341 * Makefile.in: Regenerate.
4342 * doc/Makefile.in: Likewise.
4343 * example/Makefile.in: Likewise.
4344 * testsuite/Makefile.in: Likewise.
4345 * testsuite/libdejagnu/Makefile.in: Likewise.
4347 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4349 * lib/target.exp (prune_warnings): Add spaces where required in
4350 NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
4352 2004-02-05 Ben Elliston <bje@wasabisystems.com>
4354 * config.guess: Update to current revision.
4355 * config.sub: Likewise.
4357 2004-02-04 Ben Elliston <bje@wasabisystems.com>
4359 * configure.in (AC_NO_EXECUTABLES): Remove.
4360 * configure: Rebuild with Autoconf 2.59.
4361 * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4362 (DJ_AC_PATH_TCLSH): Likewise.
4363 (DJ_AC_PATH_DOCBOOK): Likewise.
4364 * aclocal.m4: Rebuild.
4365 * Makefile.in: Rebuild with Automake 1.8.2.
4366 * doc/Makefile.in: Likewise.
4367 * example/Makefile.in: Likewise.
4368 * testsuite/Makefile.in: Likewise.
4369 * testsuite/libdejagnu/Makefile.in: Likewise.
4371 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4373 Import orphaned patches from sources.redhat.com:
4375 2002-05-02 Fernando Nasser <fnasser@redhat.com>
4376 * doc/dejagnu.texi: Document KFAIL and KPASS.
4378 2002-02-20 Richard Henderson <rth@redhat.com>
4379 * lib/target.exp (prune_warnings): Revert early "In function"
4380 strip, as this breaks g++.dg tests. Match dangerous regexp
4381 without the "In function" header.
4383 2002-02-09 Richard Henderson <rth@redhat.com>
4384 * lib/target.exp (prune_warnings): Strip "In function" etc early.
4385 Adjust "dangerous" regexp for glibc's tmpnam warning.
4387 2001-09-10 Jim Blandy <jimb@redhat.com>
4388 * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4389 so we get the version of the `outbyte' function that does console
4390 output in a way that GDB's rom68k target recognizes. Note that
4391 the board can now do output.
4393 2000-04-25 Felix Lee <flee@cygnus.com>
4394 * baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete
4395 misleading comments and null statements.
4397 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4399 * DejaGnu 1.4.4 released.
4401 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4403 * Makefile.am (tarball): Depend on book1.html, not overview.html.
4404 Don't echo needless messages. Portably copy the source tree to
4405 dejagnu-${VERSION}. Portably copy documentation files from the
4406 source tree to the distribution directory. Don't copy RPM-related
4407 files -- leave that to the rpm target.
4408 (snapshot): Remove target.
4409 (overview.html): Rename target from this ..
4410 (book1.htm): .. to this.
4411 (rpm): Portably copy tar file to SOURCES directory.
4412 (deb): Depend on book1.html, not overview.html.
4413 (dist-hook): Depend on book1.html, not overview.html.
4414 * Makefile.in: Rebuild.
4415 * doc/Makefile.am (TARGETS): Depend on book1.html.
4416 (book1.html): Depend on html/book1.html.
4417 (overview.dvi): Remove target.
4418 * doc/Makefile.in: Rebuild.
4420 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4422 * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4423 (cleanfiles): Concatenate regular filenames that match .*.
4425 2004-01-12 Ben Elliston <bje@wasabisystems.com>
4427 * baseboards/frv-sim.exp: Remove reference to devo/sim.
4429 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4431 * doc/overview: Remove all files.
4433 2003-12-03 Ben Elliston <bje@wasabisystems.com>
4435 * testsuite/runtest.all/utils.test: Fix a test for proc find which
4436 assumed that "subsubfile1" would appear at the end of the returned
4437 list. Adjust to use a more robust regular expression.
4439 2003-11-26 Ben Elliston <bje@wasabisystems.com>
4441 * doc/overview.sgml (version): Update.
4442 * doc/overview/installation.html: Likewise.
4444 * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4445 * packaging/pkg/pkginfo: Likewise.
4446 * packaging/depot/dejagnu.psf: Likewise.
4448 2003-10-25 Ben Elliston <bje@wasabisystems.com>
4450 * runtest.exp (frame_version): Bump version.
4451 * configure.in (AM_INIT_AUTOMAKE): Likewise.
4452 * configure: Regenerate.
4454 2003-10-16 Rob Savoye <rob@welcomehome.org>
4456 * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4458 2003-10-13 Ben Elliston <bje@wasabisystems.com>
4460 * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4462 2003-10-11 Corinna Vinschen <vinschen@redhat.com>
4464 * baseboards/sh-sim.exp: New file.
4466 2003-10-11 Ben Elliston <bje@wasabisystems.com>
4469 * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
4471 2003-10-08 Ben Elliston <bje@wasabisystems.com>
4473 * i960glue.c: Remove.
4474 * packaging/pkg/prototype: Remove i960glue.c.
4476 2003-10-07 Ben Elliston <bje@wasabisystems.com>
4478 * contrib/README: Remove.
4479 * contrib/testit: Remove bitrotten script.
4480 * contrib/test-g++: Likewise.
4481 * contrib/test-tool: Likewise.
4483 2003-08-23 Ben Elliston <bje@wasabisystems.com>
4486 * contrib/README: Bring up to date.
4488 2003-08-23 Corinna Vinschen <vinschen@redhat.com>
4490 * config/sid.exp: Add gdb settings to use no hardware watchpoints.
4492 2003-08-23 Ben Elliston <bje@wasabisystems.com>
4494 * README: Update section on reporting bugs.
4496 2003-08-22 Ben Elliston <bje@wasabisystems.com>
4498 * lib/kermit.exp: Document procs.
4499 * lib/ftp.exp: Likewise.
4501 2003-08-19 Ben Elliston <bje@wasabisystems.com>
4503 * contrib/testit: Run wish via /usr/bin/env for portability.
4505 2003-08-18 Ben Elliston <bje@wasabisystems.com>
4507 * Makefile.am: Tidy comments and unused command lines.
4508 * Makefile.in: Regenerate.
4509 * testsuite/libdejagnu/Makefile.in: Likewise.
4511 * contrib/bluegnu2.0.3: Remove unsupported subtree.
4513 2003-08-18 Ben Elliston <bje@wasabisystems.com>
4515 * MAINTAINERS: New file.
4517 2003-08-17 Ben Elliston <bje@wasabisystems.com>
4519 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
4520 * doc/Makefile.in: Regenerate.
4522 2003-08-16 Ben Elliston <bje@wasabisystems.com>
4524 * doc/overview.sgml (overview): Start overhauling chapter.
4526 * doc/README.Writers: New document on style conventions.
4527 * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
4528 * doc/user.sgml: Likewise.
4529 * doc/overview.sgml: Likewise.
4530 * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
4532 2003-08-12 Ben Elliston <bje@wasabisystems.com>
4534 * Makefile.am (tarball): Update path to dejagnu.spec.
4535 (rpmspec): Likewise.
4536 (deb): Likewise, update path to package metafiles.
4538 (hpdepot): Likewise.
4539 * Makefile.in: Regenerate.
4540 * aclocal.m4: Likewise.
4541 * configure: Likewise.
4542 * doc/Makefile.in: Likewise.
4543 * example/Makefile.in: Likewise.
4544 * testsuite/Makefile.in: Likewise.
4545 * deb: Move from here ..
4546 * packaging/deb: .. to here.
4547 * redhat: Move from here ..
4548 * packaging/rpm: .. to here.
4549 * depot: Move from here ..
4550 * packaging/depot: .. to here.
4551 * pkg: Move from here ..
4552 * packaging/pkg: .. to here.
4554 * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
4555 (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
4556 * testsuite/libdejagnu/Makefile.in: Regenerate.
4558 2003-08-07 Ben Elliston <bje@wasabisystems.com>
4560 * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
4561 to increment count rather than count++ as in C.
4563 2003-08-06 Ben Elliston <bje@wasabisystems.com>
4565 * lib/remote.exp: Replace "TCL" with "Tcl".
4567 2003-07-30 Ben Elliston <bje@wasabisystems.com>
4569 * doc/runtest.1: Replace "TCL" with "Tcl".
4570 Make last revision date current.
4572 2003-07-29 Ben Elliston <bje@wasabisystems.com>
4574 * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
4575 URLs and other stylistic improvements.
4576 * doc/ref.sgml: Likewise.
4577 * doc/user.sgml: Likewise.
4579 2003-07-25 Mike Stump <mrs@apple.com>
4581 * lib/target.exp (prune_warnings): Handle "nfs server .* not
4582 responding" and "nfs server .* is alive again".
4584 2003-07-20 Ben Elliston <bje@wasabisystems.com>
4586 * config.guess: Update to most recent version.
4587 * config.sub: Ditto.
4588 * AUTHORS: Add self to list of maintainers.
4590 2003-07-25 Jim Dein <jdein@deinji5.apple.com> (RIP)
4592 * lib/utils.exp (find): Fix double recursion bug.
4594 2002-02-25 Jackie Smith Cashion <jsmith@redhat.com>
4596 * baseboards/am33_2.0-libremote.exp: New file.
4598 2000-11-21 Drew Moseley <dmoseley@redhat.com>
4600 * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
4603 2000-08-10 Drew Moseley <dmoseley@cygnus.com>
4605 * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
4608 2003-06-13 Phil Edwards <pme@devphil.com>
4610 * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
4611 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
4612 only -T[linker] instead of -Wl,-T[linker].
4614 2003-06-13 Jason Thorpe <thorpej@wasabisystems.com>
4616 * lib/target.exp (prune_warnings): Add two more linker
4617 warning patterns for warnings generated by modern verions
4620 2003-05-12 H.J. Lu <hongjiu.lu@intel.com>
4622 * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
4624 2003-05-09 H.J. Lu <hongjiu.lu@intel.com>
4626 * runtest: Fix a typo.
4628 2003-05-03 Nitin Dhavale <nitinpdhavale@indiatimes.com>
4630 * doc/user.sgml: Clarify how to set the verbose option.
4632 2003-03-28 Chris Demetriou <cgd@broadcom.com>
4634 * lib/framework.exp (check_conditional_xfail): Adjust so that
4635 an empty 'includes' list matches all sets of flags.
4636 * doc/dejagnu.texi: Document the above.
4637 * doc/ref.sgml: Likewise.
4639 2003-03-27 David Heine <dlheine@tensilica.com>
4641 * baseboards/xtensa-sim.exp: Fix a syntax error.
4643 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org>
4645 * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
4646 than stomp on it. This is based on a patch from Brendan Conoboy
4648 * Most files: Update copyright dates.
4650 2003-03-13 Mike Stump <mrs@apple.com>
4652 * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
4653 help ensure uniqueness.
4655 2003-03-05 Alexandre Oliva <aoliva@redhat.com>
4657 * lib/remote.exp (standard_download, standard_upload): Support
4658 nfsdir and nfsroot_server.
4660 See ChangeLog-1992 for earlier changes.