1 2021-04-28 Jacob Bachmeyer <jcb@gnu.org>
3 * configure, Makefile.in: Regenerate.
5 * runtest.exp, configure.ac, doc/version.texi: Update version.
7 * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
8 to work around Automake limitation of assuming that v7 is default.
10 2021-04-20 Jacob Bachmeyer <jcb@gnu.org>
12 * configure.ac: Set Automake options to use the ancient and
13 universal V7 format when building distribution tarballs. The
14 limitations of this format are not expected to impact DejaGnu; the
15 "ustar" format will be used instead if this is proved wrong.
17 * Makefile.am (TAR_OPTIONS): Add exported environment variable to
18 set options when building distribution tarballs. Ensure that all
19 files in distribution tarballs will be recorded as owned by root.
21 2021-04-16 Jacob Bachmeyer <jcb@gnu.org>
25 * dejagnu (command): Use Awk instead of non-portable basename(1)
26 and a non-portable sed(1) pattern to initially set this variable.
28 * dejagnu: Use shell "case" pattern match instead of non-portable
29 "grep -q" to determine if "awk" is GNU Awk.
31 * dejagnu: Use Awk instead of non-portable "grep -q" to verify
32 that a file contains a help message. Also use Awk to extract help
33 messages from files, instead of a complex dynamic sed(1) program.
35 * configure.ac: Remove experimental support for propagating
36 CONFIG_SHELL to scripts in the source directory.
38 * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
39 running config.guess. Check the result carefully and stop with an
40 error immediately if running config.guess does not produce
41 something that plausibly resembles a triplet. Advise the user
42 that SHELL or CONFIG_SHELL may need to be set in the environment.
44 2021-04-15 Jacob Bachmeyer <jcb@gnu.org>
48 * dejagnu: Avoid using $? for an exit code; it is convenient until
49 the tests fail because the script is run on Solaris where false
50 returns 255 instead of 1 and the test harness expects exit code 1.
52 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
56 * dejagnu: Replace use of "expr :" with shell "case" pattern
57 match to avoid limitations of Solaris 10 expr(1).
59 2021-04-08 Jacob Bachmeyer <jcb@gnu.org>
61 * configure: Regenerate.
63 * runtest.exp, configure.ac, doc/version.texi: Update version.
65 * configure.ac: Change "dnl" comments that should appear in
66 configure to regular comments.
67 Add experimental support for propagating CONFIG_SHELL to the
68 config.sub and config.guess scripts in the source directory.
70 2021-04-01 Jacob Bachmeyer <jcb@gnu.org>
74 * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
75 message to better fit GNU conventions, with thanks to Tom Tromey
76 for the reporting this issue.
80 * runtest: Remove use of non-portable "if !" that causes problems
81 with /bin/sh on Solaris 10.
83 * dejagnu (Variants): Split the declaration of this read-only
84 variable into an assignment followed by marking it read-only,
85 instead of doing both in one statement. The Solaris 10 /bin/sh
86 does not accept the combined form.
88 2021-03-30 Jacob Bachmeyer <jcb@gnu.org>
90 * configure: Regenerate.
92 * runtest.exp, configure.ac, doc/version.texi: Update version.
94 2021-03-26 Jacob Bachmeyer <jcb@gnu.org>
98 * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
99 since Solaris man(1) does not accept explicit filenames. The
100 manpages will be installed as usual, and the "dejagnu help"
101 command should work after installation.
103 Also set PAGER for testing, since other systems might also ignore
104 MANPAGER and that would cause the test to hang.
106 * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
107 copies of the output produced to the log.
109 * commands/help.sh: Extend PR47382 fix (below) to this file.
113 * testsuite/lib/runtest.exp: Remove support for automatically
114 locating an Expect executable in the old Cygnus tree layout.
116 2021-03-25 Jacob Bachmeyer <jcb@gnu.org>
120 * dejagnu, runtest: Remove use of "$()" command substitution and
121 "$(())" arithmetic substitution shell constructs. The /bin/sh on
122 Solaris 10 does not support them. They were replaced with the
123 traditional backticks for command substitution and backticks and
124 the expr command for arithmetic substitution.
126 Also add markers to explicitly disable shellcheck warnings that
127 would lead to reintroducing these problems.
129 Also avoid the non-portable "`..."..."...`" construct on a warning
130 in the GNU Autoconf manual, section "Shell Substitutions",
131 although this introduces additional variables.
133 2021-03-22 Jacob Bachmeyer <jcb@gnu.org>
135 * configure: Regenerate.
137 * runtest.exp, configure.ac, doc/version.texi: Update version.
139 * config.guess, config.sub: Import from upstream.
141 * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
143 2021-03-15 Jacob Bachmeyer <jcb@gnu.org>
145 * Makefile.am, Makefile.in: Update accordingly.
147 * contrib/compare_tests: Remove. This file lacked a GPL notice.
148 This file was imported from GCC many years ago. The GCC version
149 has benefited from continued development, while ours has not.
151 * testsuite/runtest.libs/load_lib.exp: Remove. This file lacked a
152 GPL notice and an attempt to contact the contributor produced no
153 response. The tests in this file will need to be rewritten in any
154 case; there is a bug in load_lib that they should expose and there
155 is now additional infrastructure for tests of this type that was
156 not available when this file was written.
158 2020-12-27 Jacob Bachmeyer <jcb@gnu.org>
160 * testsuite/runtest.libs/libs.exp (process_test): Report running
161 test scripts as each test script is run.
162 Also, at top-level, sort the list of tests to run.
164 * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
165 from new "testsuite can call api" feature test API entrypoint.
166 * lib/framework.exp (testsuite_can): Likewise.
167 * testsuite/runtest.libs/testsuite_can.test: Likewise.
170 2020-12-16 Jacob Bachmeyer <jcb@gnu.org>
172 * configure: Regenerate.
174 * configure.ac: Remove Tcl version check.
176 Apply patch from Nick Clifton:
178 * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
180 Apply patch from Dimitar Dimitrov:
182 * baseboards/pru-sim.exp: New file.
184 * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
185 * Makefile.in (baseboard_DATA): Likewise.
187 2020-12-15 Jacob Bachmeyer <jcb@gnu.org>
189 * configure: Regenerate.
190 * Makefile.in: Regenerate.
192 * Makefile.am (RUNTEST): Explain override of Automake default.
194 * configure.ac: Update for autoconf 2.69 using autoupdate.
195 * configure.ac: Remove search for expect now handled by Automake.
197 Apply patch from Dimitar Dimitrov:
199 * Makefile.am (dejagnu_TEXINFOS): Change this...
200 * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
202 This fixes an incorrectly recorded dependency.
204 2020-11-17 Jacob Bachmeyer <jcb@gnu.org>
208 * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
209 that conflated the tool init file with the target interface file.
210 (Make Check): Add cross-reference to the GNU Automake manual for
213 2020-11-10 Jacob Bachmeyer <jcb@gnu.org>
217 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
218 Use [file normalize] to ensure that link targets are unambiguous.
219 (link_dejagnu_launcher_test_item): Avoid spurious errors when test
220 environment has already been prepared in a previous run.
222 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
223 New procedure to collect existing repeated testsuite code.
224 * testsuite/launcher.all/command.exp: Establish testing
225 environment using link_dejagnu_launcher_test_item procedure.
227 2020-11-09 Jacob Bachmeyer <jcb@gnu.org>
229 * aclocal.m4: Regenerate.
230 * configure: Regenerate.
231 * Makefile.in: Regenerate.
233 * configure.ac: Revert development version branch tagging hook.
234 * Makefile.am: Likewise.
236 These caused failures (reported in PR44462 as a secondary issue)
237 when a source tree is copied out of a Git directory.
239 2020-08-31 Jacob Bachmeyer <jcb@gnu.org>
241 * doc/runtest.1: Add brief GFDL notice. License notice in the
242 formatted manpage should now describe DejaGnu as a whole.
244 * NEWS: Prepare for release.
246 2020-08-18 Jacob Bachmeyer <jcb@gnu.org>
248 * testsuite/runtest.libs/testsuite_file.test: Add missing
249 copyright and GPL notice.
250 * testsuite/runtest.libs/testsuite_can.test: Likewise.
251 * testsuite/runtest.libs/testcase_group.test: Likewise.
253 2020-08-12 Jacob Bachmeyer <jcb@gnu.org>
255 * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
256 (Running unit tests): Add node.
257 (DejaGnu unit test protocol): Add node.
258 (C unit testing API): Update to reflect current API. Move mention
259 of dejagnu.h header here in preparation for future expanded
261 (C++ unit testing API): Likewise. Mention caveat that the C unit
262 test API is also available in C++ programs.
264 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
266 * baseboards/qemu.exp: Tidy whitespace.
268 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
270 Merge patch from Kito Cheng to add support for RISC-V sim target.
272 * baseboards/riscv-sim.exp: New file.
273 * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
274 * Makefile.in (baseboard_DATA): Likewise.
276 2020-08-02 Jacob Bachmeyer <jcb@gnu.org>
278 * Makefile.am (TESTSUITE_FILES): Add files that were introduced
279 during development but were mistakenly not added at that time.
280 (baseboard_DATA): Sort baseboard file list.
281 (baseboard_DATA): Add missing files.
282 (dejagnu_TEXINFOS): New; add GNU FDL file.
283 (CONTRIB): Add experimental Python unit test module.
285 * Makefile.in (TESTSUITE_FILES): Likewise.
286 (baseboard_DATA): Likewise.
288 * testsuite/dejagnu.py: Move from here...
289 * contrib/dejagnu.py: ...to here.
291 2020-08-02 Rob Savoye <rob@senecass.com>
293 * Makefile.in: Regenerate so make dist works.
295 2020-07-25 Jacob Bachmeyer <jcb62281+dev@gmail.com>
297 * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
298 procedure "perror" instead of the Tcl command "error".
299 (Writing a test case): Reorganize node and give basic hints about
300 Tcl quoting and backslash escape rules.
301 (Writing a test case): Describe synchronization issues and warn
302 that prefixes of valid input can be presented for matching.
303 (Writing a test case): Fix markup from conversion from DocBook.
305 2020-07-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
309 * NEWS: Document changes to host_execute.
311 * lib/dejagnu.exp (host_execute): Revise expect matching to
312 combine all unit test protocol lines into one pattern.
313 (host_execute): Rework other expect patterns.
314 (host_execute): Ensure that all output from child process is read
315 until the child closes its output to avoid sending early SIGPIPE.
316 (host_execute): Report an ERROR (and cause the next test to be
317 recorded as UNRESOLVED) if the Expect matching buffer overflows.
318 (host_execute): Remove dependency on global "text" variable.
320 * Makefile.am (TESTSUITE_FILES): Update.
322 * testsuite/runtest.main/stats.exp: Generalize infrastructure and
323 add tests for DejaGnu unit testing support.
324 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
326 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
329 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
333 * Makefile.am (TESTSUITE_FILES): Update.
335 * lib/dejagnu.exp (host_execute): Allow the executable to be
336 specified with an absolute file name.
337 (host_execute): Fix argument handling to allow passing more than
338 one argument to the executable. Return early if given no
339 arguments at all instead of trying to execute "./".
341 * testsuite/runtest.main/pr42399.exp: New file.
342 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
344 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
347 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
349 * Makefile.am (CLEANFILES): Update.
350 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
352 * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
354 (runtest_cleanup_nested_testsuite): New procedure.
356 * testsuite/runtest.main/error.exp: Use the tool name "error" to
357 select the proper subset of the nested testsuite. Use new
358 procedures for handling nested testsuite. Use common
359 nested-init.exp local init file for nested testsuite. Let local
360 init file nested-init.exp handle setting "outdir" variable.
361 * testsuite/runtest.main/options.exp: Likewise; "null" tool.
362 * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
364 * testsuite/runtest.main/nested/: Combine nested testsuites.
365 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
367 * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
369 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
371 * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
373 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
375 * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
377 * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
379 * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
381 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
383 * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
385 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
387 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
390 2020-07-16 Rob Savoye <rob@senecass.com>
392 * baseboards/qemu.exp: Works now with qemu instead of sim.
394 2020-07-06 Rob Savoye <rob@senecass.com>
396 * baseboards/qemu.exp: Initial working support to use qemu for
398 * Makefile.am: Install qemu.exp.
399 * autogen.sh: Add script borrowed from my Gnash project to
400 regenerate configure/build files.
401 * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
402 * doc/dejagnu.texi: Update copyright date.
404 2020-06-29 Jacob Bachmeyer <jcb62281+dev@gmail.com>
408 * NEWS: Add item for repeated error messages.
410 * lib/framework.exp (log_and_exit): Add separator lines around the
411 error dumps repeated at the end of a run.
413 2020-06-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
417 * NEWS: Remove items for --keep_going / --no_keep_going options.
419 * Makefile.am (CLEANFILES): Adjust for renames.
420 (TESTSUITE_FILES): Likewise.
422 * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
423 --no_keep_going options.
424 (A POSIX Conforming Test Framework): Document that Tcl errors in
425 test scripts produce UNRESOLVED results as placeholders.
427 * doc/runtest.1: Likewise.
429 * lib/framework.exp (log_and_exit): Print collected Tcl errors.
431 * runtest.exp (dejagnu::error): New internal namespace.
432 (runtest): Collect Tcl errors caught while executing test scripts.
433 (dejagnu::opt): Remove internal namespace.
434 Remove --keep_going / --no_keep_going options. No longer abort on
435 any Tcl errors; instead store them and repeat the messages at the
438 * testsuite/runtest.main/abort.exp: Rename from this ...
439 * testsuite/runtest.main/error.exp: ... to this and revise tests.
441 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
443 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
445 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
447 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
449 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
451 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
454 2020-06-24 Jacob Bachmeyer <jcb62281+dev@gmail.com>
458 * NEWS: Revise relevant items.
460 * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
461 * doc/runtest.1: Document --no_keep_going option. Remove
462 long-obsolete --name option. The --name option had been removed
463 from runtest before the code was imported into what became the
466 * runtest.exp: Add option --no_keep_going to stop immediately if a
467 test script aborts due to a Tcl error. Remove vestiges of
468 long-obsolete --name option. Make --keep_going option default.
470 * testsuite/runtest.main/abort.exp: Adjust tests to use
471 --no_keep_going and --keep_going instead of assuming a default.
473 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
475 Merge patches from Maciej W. Rozycki to fix timeout handling.
477 * lib/remote.exp (close_wait_program): Use `catch' in killing
480 * lib/remote.exp (close_wait_program): Only kill the pending
481 force-kills if the PID list has a single entry.
482 (local_exec): Set the channel about to be closed to the
483 nonblocking mode if we didn't see an EOF.
484 (standard_close): Likewise, unconditionally.
486 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
488 * NEWS: Mention "linker=" option and added language support.
490 * doc/dejagnu.texi (target_compile procedure): Document new
491 "linker=" option to target_compile.
493 * lib/target.exp (default_target_compile): Actually use internal
494 option for separate linker provided for Go language support. This
495 seems to have been accidentally omitted from Tom Tromey's patches.
496 (default_target_compile): Add "linker=" option, similar to
497 "compiler=" option, but the former overrides the latter when
498 building an executable.
499 (default_target_compile): Ensure that "--emit obj" is spaced from
500 previous item when used to compile Rust. Use "--emit asm" instead
501 of "-S" when generating assembly from Rust sources.
503 * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
504 Also add tests for the new "early_flags=" and "linker=" options.
506 2020-06-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
508 * doc/dejagnu.texi (Libgloss): Update menu.
509 (find_go procedure, find_go_linker procedure): New nodes.
510 (find_rustc procedure): New node.
512 2020-06-19 Tom Tromey <tromey@adacore.com>
514 * doc/dejagnu.texi (target_compile procedure): Document Go
516 * lib/target.exp (default_target_compile): Handle Go.
517 * lib/libgloss.exp (find_go, find_go_linker): New procs.
519 2020-06-19 Tom Tromey <tromey@adacore.com>
521 * doc/dejagnu.texi (target_compile procedure): Document rust
523 * lib/target.exp (default_target_compile): Handle rust.
524 * lib/libgloss.exp (find_rustc): New proc.
526 2020-06-19 Tom Tromey <tromey@adacore.com>
528 * lib/target.exp (default_target_compile): Add early_flags.
529 * doc/dejagnu.texi (target_compile procedure): Document
532 2020-06-19 Jacob Bachmeyer <jcb62281+dev@gmail.com>
534 Merge patches from Tom de Vries <tdevries <at> suse.de> and write
537 * testsuite/runtest.main/abort.exp: Add tests that verify handling
538 of arithmetic errors (divide-by-zero) in a procedure called within
541 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
543 2020-06-18 Jacob Bachmeyer <jcb62281+dev@gmail.com>
547 Thanks to Tom de Vries for raising these concerns and offering the
548 initial testsuite patch that led to these changes.
550 * NEWS: Add item for consistent abort-on-error handling.
552 * lib/framework.exp (unknown): Always link global variables. Tidy.
553 Silently propagate errors raised in autoloaded procedures and move
554 the UNRESOLVED result and aborting the test run to...
555 * runtest.exp (runtest): Report an UNRESOLVED result if a test
556 script aborts due to a Tcl error. Link global errorCode and
557 report its value if an error occurs. For consistency, abort the
558 test run on any Tcl error in a test script instead of only when
559 calling an undefined procedure.
561 * testsuite/runtest.main/abort.exp: Add tests to verify handling
562 of arithmetic errors (divide-by-zero) in an auto-loaded procedure
563 called from a test script. Adjust other patterns.
565 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
568 2020-06-17 Jacob Bachmeyer <jcb62281+dev@gmail.com>
572 * NEWS: Add item for --keep_going option.
574 * Makefile.am (CLEANFILES): Add abort-init.exp to list.
575 (TESTSUITE_FILES): Add new testsuite files to list.
577 * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
579 * doc/runtest.1: Likewise.
581 * lib/framework.exp (unknown): Report an UNRESOLVED result if an
582 unknown command is invoked. Avoid exiting and propagate the error
583 from Tcl's "unknown" procedure if --keep_going was
584 specified. Brace procedure argument list.
585 * runtest.exp (dejagnu::opt): New namespace.
586 Add option --keep_going to continue running tests after a test
587 script aborts due to calling an undefined command.
589 * testsuite/runtest.main/abort.exp: New file.
590 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
592 * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
595 2020-06-17 Tom de Vries <tdevries <at> suse.de>
597 * lib/framework.exp (unknown): Propagate return value of auto-loaded
600 2020-06-15 Jacob Bachmeyer <jcb62281+dev@gmail.com>
602 Merge patches from Linaro:
604 2018-09-28 Christophe Lyon <christophe.lyon@linaro.org>
605 * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
606 machine, to avoid race conditions.
608 2016-04-25 Yvan Roux <yvan.roux@linaro.org>
609 * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
610 * lib/ssh.exp (ssh_exec): Likewise.
612 2016-06-28 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
613 * config/unix.exp (unix_load): Prepend the value of an
614 "exec_shell" board_info key to the command if it is defined.
616 2020-06-06 Jacob Bachmeyer <jcb62281+dev@gmail.com>
618 * NEWS: Document "testcase" command.
620 * doc/dejagnu.texi (testcase procedure): Document multiplex entry
621 point and "testcase group" command.
623 * lib/framework.exp: Add internal namespace ::dejagnu::group.
624 (::dejagnu::group::check_name): New procedure.
625 (::dejagnu::group::current): New procedure.
626 (::dejagnu::group::push): New procedure.
627 (::dejagnu::group::pop): New procedure.
628 (::dejagnu::group::pop_to_file): New procedure.
629 (testcase): New procedure for multiplex commands.
630 (testcase_group): New procedure implementing "testcase group".
632 * testsuite/runtest.libs/testcase_group.test: New file.
634 2020-06-05 Jacob Bachmeyer <jcb62281+dev@gmail.com>
636 * NEWS: Document new "testsuite can call api" command.
638 * doc/dejagnu.texi (testsuite procedure): Document new subcommand
639 "testsuite can call api".
641 * lib/framework.exp (testsuite): Add branch for "testsuite can".
642 (testsuite_can): New procedure implementing "testsuite can".
644 Add internal array ::dejagnu::apilist to store information for
645 "testsuite can call api" for querying the availability of an API
646 call. This will allow test scripts to adapt and use new features
647 while still being able to run under older versions of DejaGnu.
649 * testsuite/runtest.libs/testsuite_can.test: New file.
651 2020-06-02 Jacob Bachmeyer <jcb62281+dev@gmail.com>
654 * NEWS: Fix typo. Fix Emacs mode tag.
655 Document use of Tcl namespace ::dejagnu for internals.
656 * runtest.exp (dejagnu::command_line): New namespace.
657 (dejagnu::command_line::save_cmd_var): New procedure.
658 (dejagnu::command_line::restore_cmd_vars): New procedure.
659 (dejagnu::command_line::dump_cmd_vars): New procedure.
660 * runtest.exp: Save internal variables set by command line
661 arguments during the first pass and restore their values after
662 loading testsuite init files.
664 2020-06-01 Jacob Bachmeyer <jcb62281+dev@gmail.com>
667 * runtest.exp: Describe search for testsuite at verbose level 3.
668 Print initial working directory at verbose level 1.
670 2020-05-28 Jacob Bachmeyer <jcb62281+dev@gmail.com>
673 * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
674 value to use an absolute file name.
675 * testsuite/lib/report-card.exp: Likewise.
676 * testsuite/runtest.main/options.exp: Set outdir in options-init
677 instead of changing working directory in child runtest.
679 * runtest.exp (logname): Move verbose display of logname to
680 immediately after finding the user's login name.
683 * runtest.exp (libdir): Fix default value of global variable.
685 * ChangeLog: Tidy irregular indentation.
687 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
689 * doc/dejagnu.texi (target_compile procedure): Add documentation.
691 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
693 * doc/dejagnu.texi (target_link procedure): New stub node.
694 (default_link procedure): Document internal procedure.
695 (default_target_assemble procedure): Likewise.
696 (default_target_compile procedure): Likewise.
698 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
700 * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
701 mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
703 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
705 * lib/target.exp (default_target_compile): Use "host_info"
706 procedure to probe for a host configuration, instead of checking a
707 local empty target_info array due to lacking "global target_info".
709 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
711 * doc/dejagnu.texi (Adding a new board): Document that the
712 "compiler" board_info field is optional and defaults to [find_gcc]
714 (Board configuration file): Likewise.
716 * lib/target.exp (default_target_compile): Establish a default C
717 compiler by evaluating [find_gcc] if no other compiler is given.
719 * baseboards/aarch64-sim.exp: Remove no-longer-needed
720 "set_board_info compiler [find_gcc]" from this file.
721 * baseboards/am33_2.0-libremote.exp: Likewise.
722 * baseboards/androideabi.exp: Likewise.
723 * baseboards/arm-ice.exp: Likewise.
724 * baseboards/arm-sim.exp: Likewise.
725 * baseboards/cris-sim.exp: Likewise.
726 * baseboards/d30v-sim.exp: Likewise.
727 * baseboards/fr30-sim.exp: Likewise.
728 * baseboards/frv-sim.exp: Likewise.
729 * baseboards/gdbserver-sample.exp: Likewise.
730 * baseboards/iq2000-sim.exp: Likewise.
731 * baseboards/linux-gdbserver.exp: Likewise.
732 * baseboards/linux-libremote.exp: Likewise.
733 * baseboards/mcore-moto-sim.exp: Likewise.
734 * baseboards/mcore-sim.exp: Likewise.
735 * baseboards/mips-sim-idt32.exp: Likewise.
736 * baseboards/mips-sim-idt64.exp: Likewise.
737 * baseboards/mips-sim-mti32.exp: Likewise.
738 * baseboards/mips-sim-mti64.exp: Likewise.
739 * baseboards/mips-sim-mti64_64.exp: Likewise.
740 * baseboards/mips-sim-mti64_n32.exp: Likewise.
741 * baseboards/mips-sim-sde32.exp: Likewise.
742 * baseboards/mips-sim-sde64.exp: Likewise.
743 * baseboards/mips-sim.exp: Likewise.
744 * baseboards/mmixware-sim.exp: Likewise.
745 * baseboards/mn10200-sim.exp: Likewise.
746 * baseboards/mn10300-sim.exp: Likewise.
747 * baseboards/moxie-sim.exp: Likewise.
748 * baseboards/msp430-sim.exp: Likewise.
749 * baseboards/powerpc-sim.exp: Likewise.
750 * baseboards/powerpcle-sim.exp: Likewise.
751 * baseboards/rx-sim.exp: Likewise.
752 * baseboards/sh-sim.exp: Likewise.
753 * baseboards/sparc-sim.exp: Likewise.
754 * baseboards/sparc64-sim.exp: Likewise.
755 * baseboards/sparclite-sim-le.exp: Likewise.
756 * baseboards/sparclite-sim.exp: Likewise.
757 * baseboards/unix.exp: Likewise.
758 * baseboards/v850-sim.exp: Likewise.
759 * baseboards/visium-sim.exp: Likewise.
760 * baseboards/xtensa-sim.exp: Likewise.
762 2020-05-24 Rob Savoye <rob@senecass.com>
764 * baseboards/pi.exp: New config file for cross testing to a
767 2020-05-24 Tom Tromey <tom@tromey.com>
769 * .gitignore: Add files.
771 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
773 * testsuite/runtest.libs/target.test: Use mockutil.tcl.
774 Collect loading DejaGnu libraries into a single loop.
775 Revise the mock board_info array.
776 Add section headings for different test groups in this file.
777 Add tests for default_target_compile in lib/target.exp.
778 * testsuite/runtest.libs/mockutil.tcl: New file.
780 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
782 * doc/dejagnu.texi (remote_exec procedure): Explicitly list
783 optional arguments instead of simply copying the Tcl argument list
784 or the remote_exec procedure.
786 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
788 * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
789 string instead of opening a temporary file named .tmp.
790 * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
792 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
794 * testsuite/runtest.libs/target.test: Rename fake "target_info"
795 array to a fake "board_info" array, to align with changes made to
796 the DejaGnu core on 29 January 1997 that moved the target
797 configuration data into the global board_info array.
799 * testsuite/runtest.libs/remote.test: Likewise.
801 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
803 * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
804 requests to run only some library tests.
806 2020-05-18 Rob Savoye <rob@senecass.com>
808 * configure.ac: Extract the current branch.
809 * Makefile.am: Change the frame_version in runtest.exp post
810 install to add the branch and git revision to make it easier to
811 support multiple versions during development.
813 2020-05-15 Rob Savoye <rob@senecass.com>
815 * All files: Minor change, update copyright dates.
817 2019-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
819 * runtest.exp (search_and_load_file): Join the directory and
820 filename once using 'file join'.
822 2019-01-24 Jacob Bachmeyer <jcb62281@gmail.com>
824 * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
825 spacing so the Emacs move-by-sentence commands work correctly.
827 2019-01-23 Ben Elliston <bje@gnu.org>
829 * doc/dejagnu.texi: Replace "config file" with "configuration
832 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
834 * doc/dejagnu.texi (Command line option variables): Improve table
835 formatting to fix overlapping columns and revise text slightly.
837 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
839 * doc/dejagnu.texi (Global config file): Change example to use the
840 Tcl "switch" command instead of the deprecated "case" command.
842 2019-01-12 Jacob Bachmeyer <jcb62281@gmail.com>
844 * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
845 the structure of the "runtests" argument.
847 2019-01-12 Ben Elliston <bje@gnu.org>
849 * doc/dejagnu.texi: Various documentation fixes.
851 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
853 * testsuite/runtest.libs/clone_output.test: Use new test harness
854 for verifying output of clone_output.
856 * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
857 template using store_test_output.
858 (send_log): Likewise.
859 (send_user): Likewise.
860 (clear_test_output): New proc.
861 (store_test_output): New proc.
863 * lib/framework.exp (clone_output): Actually send errors to the
864 error stream; bug found while improving testsuite.
866 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
868 * testsuite/runtest.libs/libs.exp (process_test): Handle blank
869 lines from child process correctly.
871 2019-01-02 Jacob Bachmeyer <jcb62281@gmail.com>
873 * NEWS: Document report card.
875 * Makefile.am (clean-local): Add target.
876 (clean-local-check): Add target; mark as PHONY.
877 (commands_DATA): Add "report-card" scripts.
878 (dist_man_MANS): Add dejagnu-report-card.1 and split.
879 (DEJATOOL): Add "report-card" tool.
880 (TESTSUITE_FILES): Add testsuite for "report-card" tool.
882 * commands/report-card.awk: New command script.
884 * doc/dejagnu.texi (Invoking dejagnu report card): New node.
885 * doc/dejagnu-report-card.1: New man page.
887 * testsuite/lib/bohman_ssd.exp: New file.
888 * testsuite/lib/report-card.exp: New file.
889 * testsuite/report-card.all/onetest.exp: New file.
890 * testsuite/report-card.all/passes.exp: New file.
892 2019-01-02 Ben Elliston <bje@gnu.org>
894 * Makefile.am (DISTCLEANFILES): Don't use this.
895 (CLEANFILES): Use this instead.
896 * Makefile.in: Regenerate.
898 2019-01-01 Ben Elliston <bje@gnu.org>
900 * configure.ac: Abort if AWK is not installed.
901 * configure: Regenerate.
903 2019-01-01 Ben Elliston <bje@gnu.org>
905 * config.guess: Update to latest version.
906 * config.sub: Likewise.
908 2019-01-01 Ben Elliston <bje@gnu.org>
910 * configure.ac: Add AC_PROG_AWK check.
911 * configure: Regenerate.
913 2018-12-29 Jacob Bachmeyer <jcb62281@gmail.com>
915 * dejagnu: Avoid use of semicolon as sed(1) command separator.
916 POSIX does not clearly require sed(1) to support that feature.
918 2018-12-28 Jacob Bachmeyer <jcb62281@gmail.com>
920 * testsuite/lib/util-defs.exp: Whitespace clean up.
922 2018-12-21 Jacob Bachmeyer <jcb62281@gmail.com>
925 * dejagnu: Improve command parsing to fix bug. Previously, the
926 documented equivalence between "multi word command" and
927 "multi-word-command" did not hold if no arguments were given.
928 * testsuite/launcher.all/command.exp: Add tests.
930 2018-12-20 Ben Elliston <bje@gnu.org>
932 * NEWS: Add item for new dejagnu command.
934 * Makefile.am (EXTRA_DIST): Remove $(XML).
935 * Makefile.in: Regenerate.
937 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
939 * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
940 contents of $(commands_DATA).
941 (bin_SCRIPTS): Add "dejagnu" launcher script.
942 (commandsdir): Installation directory for "dejagnu" subcommands is
943 $(pkgdatadir)/commands.
944 (commands_DATA): New, contains "commands/help.sh" as initial item.
945 (TESTSUITE_FILES): Add testsuite for same.
946 (DEJATOOL): Add "launcher" to list of tools to test.
947 (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
949 * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
950 (Invoking dejagnu): New node for dejagnu(1) launcher script.
951 (Invoking dejagnu help): New node.
953 * doc/dejagnu.1: New man page.
954 * doc/dejagnu-help.1: New man page.
956 * dejagnu: New script.
958 * commands/help.sh: New dejagnu subcommand for reading manpages.
960 * testsuite/launcher.all/command.exp: New file.
961 * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
962 * testsuite/launcher.all/command/commands/bar.awk: New file.
963 * testsuite/launcher.all/command/commands/bar.sh: New file.
964 * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
965 * testsuite/launcher.all/command/commands/foo.sh: New file.
966 * testsuite/launcher.all/command/commands/foo.tcl: New file.
967 * testsuite/launcher.all/help.exp: New file.
968 * testsuite/launcher.all/interp.exp: New file.
969 * testsuite/launcher.all/verbose.exp: New file.
970 * testsuite/lib/launcher.exp: New file.
972 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
974 * doc/dejagnu.texi (bt procedure): Fix Info links.
976 2018-12-17 Ben Elliston <bje@gnu.org>
978 * doc/dejagnu.texi (Board config file): Fix up @ref.
979 (Command line option variables): Likewise.
980 (Debugging Procedures): Add an entry for 'bt' command.
982 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
984 * runtest.exp: Move processing of -V|--version option to first
985 pass through command line arguments instead of delaying it.
987 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
989 * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
990 * Makefile.in: Regenerate.
992 2018-12-15 Ben Elliston <bje@gnu.org>
994 * doc/dejagnu.texi (telnet Procedure): Remove old node.
995 (rlogin Procedure): Likewise.
996 (rsh Procedure): Likewise.
997 (tip Procedure): Likewise.
998 (kermit Procedure): Likewise.
999 (list_targets Procedure): Likewise.
1000 (prune_system_crud): Likewise.
1002 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1004 * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1005 (send_user): Likewise.
1006 * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1007 variable link at top-level.
1008 * testsuite/runtest.libs/utils.test: Adjust absolute path to
1010 * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1011 subdir, and objdir variables instead of extracting them from argv.
1012 Remove setval.tmp, which is now obsolete.
1013 * testsuite/runtest.libs/config.test: Likewise.
1014 * testsuite/runtest.libs/remote.test: Likewise.
1015 * testsuite/runtest.libs/target.test: Likewise.
1016 * testsuite/runtest.libs/testsuite_file.test: Likewise.
1017 * testsuite/runtest.libs/utils.test: Likewise.
1019 * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1020 (send_defaults): .. with this.
1021 (start_expect): Remove redundant code.
1023 * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1024 Remove unneeded test for EXPECT global variable.
1025 Use one Expect subprocess to run all test cases.
1026 (process_test): Redesign to use Expect subprocess and to use
1027 throwaway slave interpreters for running test cases.
1029 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1031 * testsuite/lib/runtest.exp (runtest_start): Remove.
1032 Move the sanity check in runtest_start to top-level and similarly
1033 check to ensure that $EXPECT can be found. Make failure of either
1034 sanity check an immediate fatal error.
1035 Improve error messages for sanity checks to indicate which
1036 critical tool was not found. Remove useless 'global RUNTEST'
1037 command at top-level.
1038 (runtest_version): Brace 'if' expression.
1040 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1042 * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1043 default runtest executable instead of implicitly searching PATH.
1044 Remove unused RUNTESTFLAGS Tcl variable.
1046 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1048 * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1051 2018-12-14 Jacob Bachmeyer <jcb62281@gmail.com>
1053 * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1054 * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1056 2018-12-12 Ben Elliston <bje@gnu.org>
1058 * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1059 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1060 lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1061 some regular expressions in constant strings by placing them
1062 inside braces instead of quotes. This allows one level of
1063 backslash quoting to be removed.
1065 2018-12-12 Ben Elliston <bje@gnu.org>
1067 * doc/dejagnu.texi: Acknowledge contributions to the manual from
1070 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1072 * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1073 * testsuite/runtest.all/load_lib.exp: Likewise.
1074 * testsuite/runtest.all/stats.exp: Likewise.
1076 * testsuite/runtest.all/stats.exp: Write local init file as
1077 "stats-init.exp" for status summary tests. Use --local_init
1078 option to runtest to load that file instead of site.exp and move
1079 the inner test module to a nested testsuite.
1080 * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1081 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1084 * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1085 Wrap lines in test list and move short items to beginning of list.
1086 Write local init file as "options-init.exp" for options tests.
1087 Use --local_init option with nested runtest to load that file
1088 instead of site.exp; also create an empty nested testsuite. Local
1089 init file arranges for inner runtest processes to run in a
1090 subdirectory in the object tree to eliminate filename clashes.
1091 Set tmpdir if not already set and remove entire temporary
1092 directory after running options tests.
1093 * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1095 * testsuite/runtest.all/clone_output.test: Move from here ..
1096 * testsuite/runtest.libs/clone_output.test: .. to here.
1097 * testsuite/runtest.all/config.test: Move from here ..
1098 * testsuite/runtest.libs/config.test: .. to here.
1099 * testsuite/runtest.all/default_procs.tcl: Move from here ..
1100 * testsuite/runtest.libs/default_procs.tcl: .. to here.
1101 * testsuite/runtest.all/libs.exp: Move from here ..
1102 * testsuite/runtest.libs/libs.exp: .. to here.
1103 * testsuite/runtest.all/load_lib.exp: Move from here ..
1104 * testsuite/runtest.libs/load_lib.exp: .. to here.
1105 * testsuite/runtest.all/remote.test: Move from here ..
1106 * testsuite/runtest.libs/remote.test: .. to here.
1107 * testsuite/runtest.all/target.test: Move from here ..
1108 * testsuite/runtest.libs/target.test: .. to here.
1109 * testsuite/runtest.all/testsuite_file.test: Move from here ..
1110 * testsuite/runtest.libs/testsuite_file.test: .. to here.
1111 * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1112 * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1113 * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1114 * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1115 * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1117 * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1119 * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1120 * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1121 * testsuite/runtest.all/utils.test: Move from here ..
1122 * testsuite/runtest.libs/utils.test: .. to here.
1123 * testsuite/runtest.libs/utils.test: Update references to
1126 * testsuite/runtest.all/options.exp: Move from here ..
1127 * testsuite/runtest.main/options.exp: .. to here.
1128 * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1130 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1132 * testsuite/runtest.all/stats.exp: Move from here ..
1133 * testsuite/runtest.main/stats.exp: .. to here.
1134 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1136 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1139 * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1140 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1141 * Makefile.in: Regenerate.
1143 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1145 * doc/dejagnu.texi: Clean up whitespace. Some indented examples
1146 were changed to use the Texinfo '@ ' command (yes, a space
1147 character) to preserve correct indentation. The '@ ' command is
1148 treated as a single space by Tex and makeinfo, but prevents Emacs
1149 from complaining about indentation using spaces instead of tabs.
1151 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1153 * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1154 directory exclusions by name in this procedure.
1156 2018-12-10 Ben Elliston <bje@gnu.org>
1158 * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1159 glob patterns, not "shell wildcard characters" per se.
1161 * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1163 2018-12-10 Jacob Bachmeyer <jcb62281@gmail.com>
1165 * doc/dejagnu.texi (Writing a test case): Add warning about
1166 priority of Expect patterns, complete with example.
1167 * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1168 caused test results other than "PASS" to be skipped if a "PASS" is
1169 further along in the input buffer. Describe problem in manual.
1170 (process_test): Ensure that the log file shows each test case run.
1171 (process_test): Directly run the test cases instead of using
1172 temporary files and "cat". All output is always available in the
1173 log file, which is no longer overwritten by other tests.
1174 (process_test): Expect END markers from test case scripts.
1175 * testsuite/runtest.all/clone_output.test: Emit END markers.
1176 * testsuite/runtest.all/config.test: Likewise.
1177 * testsuite/runtest.all/remote.test: Likewise.
1178 * testsuite/runtest.all/target.test: Likewise.
1179 * testsuite/runtest.all/testsuite_file.test: Likewise.
1180 * testsuite/runtest.all/utils.test: Likewise.
1182 2018-12-10 Ben Elliston <bje@gnu.org>
1184 * lib/utils.exp (grep): Use a proper Tcl list for options.
1186 2018-12-10 Ben Elliston <bje@gnu.org>
1188 * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1190 * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1191 and catching the "no files matched glob pattern" error
1192 message. Catching the error message was the wrong thing to do
1193 because the foreach loop then iterates over each word in the error
1194 message as if they were matches.
1196 2018-12-10 Ben Elliston <bje@gnu.org>
1198 * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1199 non-existent directory case.
1201 2018-12-10 Ben Elliston <bje@gnu.org>
1203 * runtest.exp: Remove unnecessary quotes and braces around
1204 variable expansions.
1206 * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1208 2018-12-09 Ben Elliston <bje@gnu.org>
1210 * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1211 (iterate_target_variants_two): Likewise.
1212 * lib/remote.exp (standard_download): Use 'eq' not '=='.
1213 (remote_upload): Likewise.
1214 * lib/framework.exp (open_logs): Likewise.
1215 (is_remote): Likewise.
1217 2018-12-09 Ben Elliston <bje@gnu.org>
1219 * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1220 baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1221 baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1222 config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1223 config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1224 lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1225 lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1226 lib/utils.exp, testsuite/lib/libsup.exp,
1227 testsuite/runtest.all/options.exp,: Remove unnecessary braces
1228 around variable expansions.
1230 2018-12-09 Ben Elliston <bje@gnu.org>
1232 * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1233 lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1234 lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1235 unnecessary quotes and braces around variable expansions.
1237 2018-12-09 Ben Elliston <bje@gnu.org>
1239 * config/gdb-comm.exp: Remove unnecessary quotes.
1240 * config/gdb_stub.exp: Likewise.
1241 * config/vxworks.exp: Likewise.
1242 * config/unix.exp: Likewise.
1243 * config/sim.exp: Likewise.
1245 2018-12-09 Ben Elliston <bje@gnu.org>
1247 * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1248 variable expansions.
1249 * testsuite/lib/util-defs.exp: Likewise.
1251 2018-12-09 Ben Elliston <bje@gnu.org>
1253 * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1254 around variable expansions.
1255 * baseboards/basic-sid.exp: Likewise.
1256 * baseboards/cris-sim.exp: Likewise.
1257 * baseboards/generic-sim.exp: Likewise.
1258 * baseboards/mcore-moto-sim.exp: Likewise.
1259 * baseboards/multi-sim.exp: Likewise.
1261 2018-12-08 Ben Elliston <bje@gnu.org>
1265 2018-12-08 Ben Elliston <bje@gnu.org>
1267 * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1268 variable expansions.
1269 * testsuite/runtest.all/clone_output.test: Likewise.
1270 * testsuite/runtest.all/target.test: Likewise.
1271 * testsuite/runtest.all/stats.exp: Likewise.
1272 * testsuite/runtest.all/remote.test: Likewise.
1273 * testsuite/runtest.all/config.test: Likewise.
1274 * testsuite/runtest.all/default_procs.tcl: Likewise.
1275 * testsuite/runtest.all/libs.exp: Likewise.
1276 * testsuite/runtest.all/options.exp: Likewise.
1278 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1280 * NEWS: Document 'testsuite' command.
1281 * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1282 point and "testsuite file" command.
1283 * lib/framework.exp (testsuite): New proc for multiplex commands.
1284 (testsuite_file): New proc implementing "testsuite file".
1285 * testsuite/runtest.all/testsuite_file.test: New file.
1286 * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1287 but also search $srcdir itself.
1288 (load_lib): Add explicit search for testsuite-local libraries.
1289 (load_tool_init): Use $testsuitedir in search.
1290 (load_config): Use $testsuitedir instead of $srcdir.
1291 (load_tool_target_config): Likewise.
1293 Add variable "testsuitedir" for testsuite root directory.
1295 Add internal global variables "testbuilddir" and "testdir" for use
1296 by "testsuite file".
1298 Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1299 duplicated path delimiters.
1301 Add warning if no tests are found and fallback method of searching
1304 2018-12-08 Ben Elliston <bje@gnu.org>
1306 * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1308 * testsuite/lib/util-defs.exp (util_test): Likewise.
1309 * testsuite/runtest.all/stats.exp: Likewise.
1310 * testsuite/runtest.all/libs.exp: Likewise.
1312 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1314 * testsuite/runtest.all/default_procs.tcl:
1315 (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1316 (lib_regexp_test): Fix copy-paste-edit error.
1317 (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1318 Fix handling of errors raised by tested procedure. Also ensure
1319 proper quoting of argument lists passed to eval and simplify
1320 the logic for producing return values.
1322 2018-12-08 Ben Elliston <bje@gnu.org>
1324 * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1326 2018-12-08 Ben Elliston <bje@gnu.org>
1328 * lib/tip.exp (tip_open): Put braces around if expression.
1330 2018-12-08 Ben Elliston <bje@gnu.org>
1332 * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1333 lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1334 config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1335 baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1336 baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1337 baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1338 baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1339 baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1340 baseboards/arm-ice.exp, baseboards/androideabi.exp,
1341 testsuite/runtest.all/utils.test,
1342 testsuite/runtest.all/target.test: Replace string literal
1343 comparisons using == and != with 'eq' and 'ne'.
1345 2018-12-08 Ben Elliston <bje@gnu.org>
1347 * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1348 lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1349 lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1350 config/vxworks.exp, config/unix.exp, config/sim.exp,
1351 config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1352 baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1353 baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1354 baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1355 testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1356 using == and != with 'eq' and 'ne'.
1358 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1360 * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1361 (lib_regexp_test): New.
1362 (lib_pat_test): Brace "if" conditions.
1363 (lib_pat_test): Remove spurious quotes in debugging output.
1364 (run_tests): Add support for comments in lists of procedure tests.
1366 * testsuite/runtest.all/config.test: Adjust to use run_tests
1367 procedure. Fixes issue cited in FIXME comment.
1369 * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1370 The old tests had the sense of the return value from lib_pat_test
1371 inverted and were failing but reported PASS.
1372 (find tests, relative_filename tests, runtest_file_p tests):
1373 Adjust to use run_tests procedure.
1375 2018-12-07 Ben Elliston <bje@gnu.org>
1377 * doc/dejagnu.texi: Add more missing material.
1379 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1381 * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1382 (run_tests): Replace implicit "eval" with explicit "eval". Tidy.
1383 (verbose): Remove unnecessary quotes.
1385 2018-12-06 Ben Elliston <bje@gnu.org>
1387 * doc/dejagnu.texi: Add more missing material.
1389 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1391 * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1392 (lib_pat_test): Handle an argument list instead of only a single
1393 argument for the procedure under test.
1394 (lib_ret_test): Likewise.
1395 * testsuite/runtest.all/utils.test: Whitespace clean up.
1396 Adjust to pass argument lists for improved lib_pat_test.
1397 * testsuite/runtest.all/clone_output.test: Likewise.
1399 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1401 * lib/remote.exp (standard_load): Fix typo on empty string.
1402 * runtest.exp: Adjust expression to follow GNU conventions.
1403 * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1404 with "eq" instead of "ne".
1405 * testsuite/runtest.all/config.test: Likewise.
1407 2018-12-06 Ben Elliston <bje@gnu.org>
1409 * runtest.exp: Replace [string match] commands involving literal
1410 strings and variables known to not be Tcl glob patterns with eq
1412 * config/unix.exp: Likewise.
1413 * lib/debugger.exp: Likewise.
1414 * lib/dg.exp: Likewise.
1415 * lib/framework.exp: Likewise.
1416 * lib/remote.exp: Likewise.
1417 * lib/utils.exp: Likewise.
1418 * baseboards/androideabi.exp: Likewise.
1419 * baseboards/multi-sim.exp: Likewise.
1420 * testsuite/lib/util-defs.exp: Likewise.
1421 * testsuite/runtest.all/config.test: Likewise.
1423 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1425 * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1426 * testsuite/runtest.all/target.test: Likewise.
1427 * testsuite/runtest.all/remote.test: Likewise.
1428 * testsuite/runtest.all/config.test: Likewise.
1429 * testsuite/runtest.all/clone_output.test: Likewise.
1431 2018-12-06 Ben Elliston <bje@gnu.org>
1433 * runtest.exp: Replace '==' with 'eq' for string compares.
1434 Likewise, replace '!=' with 'ne'. Replace a few instances of
1435 [string length $str] == 0 with $str eq "".
1436 * config/gdb-comm.exp: Likewise.
1437 * lib/dg.exp: Likewise.
1438 * lib/framework.exp: Likewise.
1439 * lib/libgloss.exp: Likewise.
1440 * lib/remote.exp: Likewise.
1441 * lib/target.exp: Likewise.
1442 * lib/utils.exp: Likewise.
1444 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1446 * runtest.exp: Replace archaic use of [string match] with "eq".
1448 2018-12-06 Ben Elliston <bje@gnu.org>
1450 * doc/dejagnu.texi (compile Procedure): Remove old node.
1451 (archive Procedure): Likewise.
1452 (ranlib Procedure): Likewise.
1454 2018-12-06 Ben Elliston <bje@gnu.org>
1456 * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
1458 2018-12-06 Ben Elliston <bje@gnu.org>
1460 * lib/telnet.exp (telnet_open): Remove connectmode global.
1461 * doc/dejagnu.texi (Procedures For Remote Communication): Remove
1462 mention of connectmode.
1464 2018-12-05 Ben Elliston <bje@gnu.org>
1466 * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
1469 2018-12-05 Ben Elliston <bje@gnu.org>
1471 * doc/dejagnu.texi: Add more missing material.
1473 2018-12-05 Ben Elliston <bje@gnu.org>
1475 * testsuite/runtest.all/utils.test: Test runtest_file_p.
1477 2018-12-05 Jacob Bachmeyer <jcb62281@gmail.com>
1479 * runtest.exp (load_config): Remove unused globals.
1480 (load_generic_config): Likewise.
1481 (load_board_description): Likewise.
1482 (load_base_board_description): Likewise.
1484 2018-12-05 Ben Elliston <bje@gnu.org>
1486 * lib/utils.exp (grep): Handle -n.
1487 * doc/dejagnu.texi (grep procedure): Document it.
1488 * testsuite/runtest.all/utils.test: Add a test case.
1489 * NEWS: Add an item.
1491 2018-12-05 Ben Elliston <bje@gnu.org>
1493 * testsuite/runtest.all/utils.test: Test diff.
1495 2018-12-04 Ben Elliston <bje@gnu.org>
1497 * testsuite/runtest.all/utils.test: Test grep.
1499 2018-12-04 Ben Elliston <bje@gnu.org>
1501 * testsuite/runtest.all/utils.test (which): Fail on the else path,
1502 don't pass in either case.
1504 2018-12-04 Ben Elliston <bje@gnu.org>
1506 * doc/dejagnu.texi (Libgloss): Improve documentation.
1507 (Debugging Procedures): Likewise.
1509 2018-12-04 Ben Elliston <bje@gnu.org>
1511 * lib/debugger.exp (dumprocs): Fix proc comment.
1513 2018-12-04 Ben Elliston <bje@gnu.org>
1515 * doc/dejagnu.texi (Utility Procedures): Improve documentation for
1516 the procedures in this section.
1518 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
1520 * NEWS: Document new relative_filename procedure and --local_init/
1521 --global_init command line options.
1523 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
1525 * lib/utils.exp (relative_filename): New proc.
1526 * runtest.exp: Use it.
1527 * doc/dejagnu.texi (relative_filename procedure): Document it.
1528 * testsuite/runtest.all/utils.test: Add tests for relative_filename.
1530 2018-12-03 Ben Elliston <bje@gnu.org>
1532 * dejagnu.h (TestState): Remove const char * variants of pass(),
1533 xpass(), fail(), xfail(), untested(), unresolved() for C++. A
1534 const char * will be implicitly converted to std::string.
1536 2018-12-03 Ben Elliston <bje@gnu.org>
1538 * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
1539 removing the 'Reference' node and chapter. Make all subsubsections
1540 in this chapter unnumbered subheadings.
1542 2018-12-03 Jacob Bachmeyer <jcb62281@gmail.com>
1544 * doc/dejagnu.texi: Fix Info node links. The arguments to @node
1545 are: here, next, previous, up; not here, previous, next, up.
1547 2018-12-03 Ben Elliston <bje@gnu.org>
1549 * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
1550 doc/texinfo.tex. With thanks to Jacob Bachmeyer.
1551 * Makefile.in: Regenerate.
1553 2018-12-03 Ben Elliston <bje@gnu.org>
1555 * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
1556 (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
1557 prevents the distribution of the overridden texinfo.tex.
1558 * Makefile.in: Regenerate.
1559 * texinfo.tex: Move from here ..
1560 * doc/texinfo.tex: .. to here.
1562 2018-12-03 Ben Elliston <bje@gnu.org>
1564 * lib/framework.exp (isremote): Add verbose message.
1566 2018-12-02 Ben Elliston <bje@gnu.org>
1568 * lib/framework.exp (isremote): Pass $board to is_remote.
1570 2018-12-02 Ben Elliston <bje@gnu.org>
1572 * doc/fdl.texi: New.
1573 * doc/dejagnu.texi (Variable Index): New.
1574 Add more concept index entries.
1575 (GNU Free Documentation License): New appendix.
1577 2018-12-02 Ben Elliston <bje@gnu.org>
1579 * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
1580 index (@findex) entries for every built-in procedure.
1582 2018-12-02 Ben Elliston <bje@gnu.org>
1584 * doc/dejagnu.texi: Start an index.
1586 2018-12-02 Ben Elliston <bje@gnu.org>
1588 * doc/version.texi: New.
1590 2018-12-02 Ben Elliston <bje@gnu.org>
1592 * doc/dejagnu.texi: Add title page and frontmatter. Include
1594 * Makefile.in: Regenerate.
1595 * mdate-sh: Installed by automake --add-missing.
1597 2018-12-02 Ben Elliston <bje@gnu.org>
1599 * doc/dejagnu.texi (diff procedure): Tidy up this node.
1601 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
1603 * runtest.exp (hex): Remove useless test before setting.
1604 (decimal): Likewise.
1606 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
1608 * doc/dejagnu.texi (Invoking runtest): Document new --local_init
1609 and --global_init command line options.
1610 * doc/runtest.1: Likewise.
1612 * runtest.exp: Remove useless tests before setting default values
1613 for variables: all_flag, binpath, debug, options, outdir, reboot,
1614 tracelevel, verbose, log_dialog. They are set before loading any
1615 files or parsing the command line.
1617 * runtest.exp: Add options --local_init and --global_init for
1618 selecting alternate testsuite configuration files.
1620 * runtest.exp: Split variable "configfile" into "local_init_file"
1621 and "global_init_file" in preparation for adding command-line
1622 options to specify these independently.
1624 * runtest.exp (load_generic_config): Remove configfile global.
1625 (load_board_description): Likewise.
1626 (load_base_board_description): Likewise.
1628 2018-11-30 Ben Elliston <bje@gnu.org>
1630 * lib/utils.exp (grep): Remove reference to "NULL" in comment.
1631 * testsuite/lib/util-defs.exp (util_start): Likewise.
1633 2018-11-30 Ben Elliston <bje@gnu.org>
1635 * doc/dejagnu.texi: (verbose procedure): Improve documentation.
1636 (load_lib procedure): Likewise.
1638 2018-11-30 Ben Elliston <bje@gnu.org>
1640 * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
1642 2018-11-30 Ben Elliston <bje@gnu.org>
1644 * runtest.exp: Use isremote.
1645 * lib/target.exp: Likewise.
1646 * lib/remote.exp: Likewise.
1647 * lib/libgloss.exp: Likewise.
1648 * config/unix.exp: Likewise.
1649 * config/sim.exp: Likewise.
1650 * config/gdb_stub.exp: Likewise.
1651 * config/gdb-comm.exp: Likewise.
1652 * baseboards/basic-sim.exp: Likewise.
1653 * baseboards/androideabi.exp: Likewise.
1655 2018-11-30 Ben Elliston <bje@gnu.org>
1657 * lib/framework.exp (isremote): New.
1658 * doc/dejagnu.texi (isremote procedure): Document it.
1659 * NEWS: Mention isremote.
1661 2018-11-30 Ben Elliston <bje@gnu.org>
1663 * texinfo.tex: Update to latest upstream version.
1664 * INSTALL: Likewise.
1666 2018-11-29 Ben Elliston <bje@gnu.org>
1668 * lib/framework.exp (istarget, ishost, istarget): Set the argument
1669 default value to the empty string.
1670 * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
1671 (getenv procedure): Re-word this node.
1672 (isbuild procedure): Update.
1673 (ishost procedure): Likewise.
1674 (istarget procedure): Likewise.
1675 * testsuite/runtest.all/config.test: Add test cases.
1677 2018-11-28 Ben Elliston <bje@gnu.org>
1679 * config.guess: Update to latest version.
1680 * config.sub: Likewise.
1682 2018-11-28 Ben Elliston <bje@gnu.org>
1685 * configure.ac: Update version number.
1686 * configure: Regenerate.
1687 * doc/dejagnu.texi: Update version number.
1688 * runtest.exp: Update version number.
1690 2018-11-28 Ben Elliston <bje@gnu.org>
1692 * Makefile.am (TESTSUITE_FILES): Update filenames.
1693 * Makefile.in: Regenerate.
1695 2018-11-28 Ben Elliston <bje@gnu.org>
1699 * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
1701 2018-11-25 Jacob Bachmeyer <jcb62281@gmail.com>
1703 * lib/framework.exp: Clean up whitespace.
1705 2018-11-25 Ben Elliston <bje@gnu.org>
1707 * config/gdb-comm.exp: Clean up whitespace.
1708 * config/gdb_stub.exp: Likewise.
1709 * config/sid.exp: Likewise.
1710 * config/sim.exp: Likewise.
1711 * config/unix.exp: Likewise.
1713 2018-11-23 Ben Elliston <bje@gnu.org>
1715 * doc/dejagnu.texi (getdirs procedure): Improve documentation
1716 including documenting the -all option.
1717 (find procedure): Fix a typo.
1718 * lib/utils.exp (getdirs): Improve comments.
1720 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
1722 * runtest.exp: Ensure that multipass pass variables are always
1723 restored. Previously, they were only restored if the "Go digging
1724 for tests" branch was taken near the end of runtest.exp.
1726 2018-11-22 Ben Elliston <bje@gnu.org>
1728 * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
1729 of the $DEJAGNU environment variable (see change below).
1731 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
1733 * runtest.exp: Raise error if $DEJAGNU is defined but not found.
1735 2018-11-15 Jacob Bachmeyer <jcb62281@gmail.com>
1737 * runtest.exp (load_tool_init): Search for tool init file instead
1738 of assuming exactly one location.
1740 2018-11-15 Ben Elliston <bje@gnu.org>
1742 * runtest.exp (load_lib): Whitespace fix.
1744 2018-11-11 Jacob Bachmeyer <jcb62281@gmail.com>
1746 * lib/ssh.exp: Clean up whitespace.
1747 * lib/remote.exp: Clean up whitespace.
1748 (remote_expect): Change literal tab to "\t" in regexp.
1750 2018-11-05 Ben Elliston <bje@gnu.org>
1752 * config.guess: Update to latest version.
1753 * config.sub: Likewise.
1755 2018-11-02 Ben Elliston <bje@gnu.org>
1757 * Makefile.in: Regenerate.
1759 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1761 * Makefile.am (DEJATOOL): List tools in testsuite.
1762 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
1763 * testsuite/config/default.exp: Rename from this ...
1764 * testsuite/lib/runtest.exp: ... to this.
1765 (runtest_exit): Remove spurious "close". This was causing per-tool
1766 testing to fail, since the testsuite for "runtest" never actually
1767 uses "spawn", so "close" ends up closing exp0, which is the
1768 terminal. The ${tool}_exit proc is not called if the --tool
1769 option is not given, so this had no effect earlier.
1770 * testsuite/lib/libdejagnu.exp: New empty file.
1772 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1774 * runtest.exp (load_tool_init): Add message indicating the
1775 expected location of the tool init file.
1777 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1779 * contrib/sum2junit.sh (failures): Fix typo.
1781 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1783 * configure.ac (DEJAGNU): Add comments.
1785 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
1787 * Makefile.am (DEJATOOL): List tools in testsuite.
1788 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
1789 * testsuite/config/default.exp: Rename from this ...
1790 * testsuite/lib/runtest.exp: ... to this.
1791 (runtest_exit): Remove spurious "close". This was causing
1792 per-tool testing to fail, since the testsuite for "runtest" never
1793 actually uses "spawn", so "close" ends up closing exp0, which is
1794 the terminal. The ${tool}_exit proc is not called if the --tool
1795 option is not given, so this had no effect earlier.
1796 * testsuite/lib/libdejagnu.exp: New empty file.
1798 2018-10-30 Ben Elliston <bje@gnu.org>
1800 * Makefile.am (DISTCLEANFILES): Add testrun.xml.
1801 * Makefile.in: Regenerate with Automake 1.15.1.
1802 * aclocal.m4: Likewise.
1804 2018-10-30 Ben Elliston <bje@gnu.org>
1806 * configure.ac (AC_CONFIG_SUBDIRS): Remove.
1807 * configure: Regenerate.
1809 2018-10-29 Ben Elliston <bje@gnu.org>
1811 * README (Documentation): Update.
1813 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
1815 * lib/framework.exp (record_test): Really fix message formatting.
1817 2018-10-29 Ben Elliston <bje@gnu.org>
1819 Reported by Jacob Bachmeyer.
1820 * testsuite/runtest.all/utils.test: Fix missing end quote.
1822 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
1824 * lib/framework.exp (record_test): Fix message formatting.
1826 2018-07-20 Ben Elliston <bje@gnu.org>
1828 * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
1829 * contrib/mysql/sum2xml.sh: Likewise.
1831 2018-07-20 Ben Elliston <bje@gnu.org>
1833 * contrib/compare_tests: Eliminate Shellcheck warnings.
1834 * contrib/mysql/sum2xml.sh: Likewise.
1836 2018-07-20 Ben Elliston <bje@gnu.org>
1838 * compile, depcomp, install-sh: Latest upstream versions.
1840 2018-07-20 Ben Elliston <bje@gnu.org>
1842 * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
1844 2018-07-19 Ben Elliston <bje@gnu.org>
1846 * runtest: Use POSIX 'command', not 'type', to look for the Expect
1847 binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
1850 2018-07-19 Ben Elliston <bje@gnu.org>
1852 * config.guess: Update to latest version.
1853 * config.sub: Likewise.
1855 2018-07-06 Richard Biener <rguenther@suse.de>
1857 * lib/remote.exp (close_wait_program): Use separate kill command
1860 2017-10-16 Ben Elliston <bje@gnu.org>
1862 * NEWS: Start a new section for the next release.
1863 * configure.ac (AC_INIT): Update version number.
1864 * configure: Regenerate.
1865 * runtest.exp (frame_version): Update version number.
1866 * doc/dejagnu.texi: Likewise.
1867 * doc/runtest.1: Update datestamp.
1869 2017-10-16 Ben Elliston <bje@gnu.org>
1871 * config.guess: Update to version 2017-09-26.
1872 * config.sub: Likewise.
1874 2017-09-13 Ben Elliston <bje@gnu.org>
1876 * lib/framework.exp (open_logs): Set XML version to 1.1.
1877 (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
1878 missing 'x' in escape sequence.
1880 2017-08-29 Ben Elliston <bje@gnu.org>
1882 Revert these changes:
1884 2016-04-25 Ben Elliston <bje@gnu.org>
1886 * testsuite/runtest.all/utils.test: Remove unsetenv test.
1888 2016-04-24 Ben Elliston <bje@gnu.org>
1890 * lib/utils.exp (unsetenv): Remove proc.
1891 * doc/dejagnu.texi: Update documentation.
1894 2017-08-19 Ben Elliston <bje@gnu.org>
1896 * lib/framework.exp (xml_tag): Escape all of the non-printable
1897 control characters (ASCII codes 1 to 31 inclusive).
1899 2017-08-18 Tom Tromey <tom@tromey.com>
1901 * runtest.exp: Fix --directory matching.
1903 2017-08-15 Ben Elliston <bje@gnu.org>
1905 * lib/framework.exp (xml_tag): New proc.
1906 (log_summary): Use it.
1907 (record_test): Likewise.
1909 2017-08-15 Ben Elliston <bje@gnu.org>
1911 * lib/framework.exp (open_logs): Set .xml filename correctly.
1912 * runtest.exp: Remove xml_file_name var.
1913 (usage): Update --xml option to not take an argument.
1914 (load_tool_init): Likewise.
1915 * doc/dejagnu.texi (Invoking runtest): Update documentation.
1916 * doc/runtest.1: Likewise.
1918 2017-08-01 Ben Elliston <bje@gnu.org>
1920 * runtest.exp (usage): Improve --strace message.
1922 2017-08-01 Ben Elliston <bje@gnu.org>
1924 * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
1926 2017-06-04 Ben Elliston <bje@gnu.org>
1928 * lib/target.exp (push_target): Remove unnecessary global command.
1929 * testsuite/runtest.all/target.test: Overhaul tests.
1931 2017-06-04 Ben Elliston <bje@gnu.org>
1933 * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
1935 2017-06-04 Tom de Vries <tom@codesourcery.com>
1937 * testsuite/runtest.all/target.test: Remove list_targets test.
1939 2017-06-04 Tom de Vries <tom@codesourcery.com>
1941 * testsuite/runtest.all/libs.exp (process_test): Dump entire
1942 output when there's no reportable output.
1943 * testsuite/runtest.all/remote.test (load_lib): New proc.
1944 * testsuite/runtest.all/target.test (load_lib): Same.
1946 2017-03-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
1948 * lib/remote.exp (remote_download): Add logging message when
1949 source and destination file differ in name.
1951 2016-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1953 * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
1955 2016-06-28 Ben Elliston <bje@gnu.org>
1957 * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
1958 * configure: Regenerate.
1960 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
1962 * configure.ac, dejagnu.h, runtest, runtest.exp,
1963 baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
1964 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
1965 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
1966 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
1967 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
1968 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
1969 baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
1970 baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
1971 baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
1972 baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
1973 baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
1974 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
1975 baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
1976 baseboards/mips-sim-mti64_64.exp,
1977 baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
1978 baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
1979 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
1980 baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
1981 baseboards/mt-sid.exp, baseboards/multi-sim.exp,
1982 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
1983 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
1984 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
1985 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
1986 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
1987 baseboards/unix.exp, baseboards/v850-sim.exp,
1988 baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
1989 baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
1990 baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
1991 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
1992 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
1993 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
1994 testsuite/config/default.exp, testsuite/lib/libsup.exp,
1995 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
1996 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
1997 testsuite/runtest.all/stats-sub.exp,
1998 testsuite/runtest.all/stats.exp, config/adb.exp,
1999 config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2000 config/sid.exp, config/sim.exp, config/unix.exp,
2001 config/vxworks.exp: Update copyright date for 2016.
2003 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2005 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2006 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2007 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2008 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2009 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2010 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2011 baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2012 baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2013 baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2014 baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2015 baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2016 baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2017 baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2018 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2019 baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2020 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2021 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2022 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2023 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2024 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2025 baseboards/unix.exp, baseboards/v850-sim.exp,
2026 baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2027 baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2028 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2029 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2030 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2031 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2032 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2033 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2034 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2035 testsuite/runtest.all/options.exp,
2036 testsuite/runtest.all/stats-sub.exp,
2037 testsuite/runtest.all/stats.exp, config/default.exp,
2038 config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2039 config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2040 dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2043 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2045 * doc/runtest.1: Use condensed years in copyright statement.
2047 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2049 * runtest: Quote paths. Use test -z, -n for clarity.
2051 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2053 * config/adb.exp (adb_exec) Improve verbose message.
2055 2016-06-03 Jim Wilson <jim.wilson@linaro.org>
2057 * baseboards/aarch64-sim.exp: New file.
2058 * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2059 * Makefile.in: Regenerate.
2060 * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2062 2016-04-26 Ben Elliston <bje@gnu.org>
2064 * doc/dejagnu.texi: Fill more paragraphs.
2066 2016-04-25 Ben Elliston <bje@gnu.org>
2068 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2070 2016-04-24 Ben Elliston <bje@gnu.org>
2072 * lib/utils.exp (unsetenv): Remove proc.
2073 * doc/dejagnu.texi: Update documentation.
2076 2016-04-19 Nick Clifton <nickc@redhat.com>
2078 * baseboards/msp430-sim.exp: New file.
2079 * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2080 * Makefile.in: Regenerate.
2082 2016-04-18 Ben Elliston <bje@gnu.org>
2084 * runtest: Remove quoting in final exec command.
2086 2016-04-17 Ben Elliston <bje@gnu.org>
2088 * lib/remote.exp: Load ssh.exp lib.
2090 2016-04-17 Ben Elliston <bje@gnu.org>
2092 * lib/rsh.exp (rsh_open): Fix description comment.
2094 2016-04-17 Ben Elliston <bje@gnu.org>
2096 Reported by shellcheck.
2097 * runtest: Use $((..)) not `expr ..` and defensively double quote
2100 2016-04-17 Ben Elliston <bje@gnu.org>
2102 * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2103 * Makefile.in: Regenerate.
2105 2016-04-17 Ben Elliston <bje@gnu.org>
2107 Reported by shellcheck.
2108 * runtest: Use $((..)) not `expr ..`.
2110 2016-04-17 Ben Elliston <bje@gnu.org>
2112 * configure.ac (AC_INIT): Update version number.
2113 * configure: Regenerate.
2114 * runtest.exp (frame_version): Update version number.
2115 * doc/dejagnu.texi: Likewise.
2117 2016-04-17 Ben Elliston <bje@gnu.org>
2119 * NEWS: Start a new section for the next release.
2121 2016-04-15 Ben Elliston <bje@gnu.org>
2123 * Makefile.am (CONTRIB): Add new contrib scripts.
2124 * Makefile.in: Regenrate.
2126 2016-04-15 Ben Elliston <bje@gnu.org>
2128 * lib/ssh.exp (ssh_exec): Handle regexp return status.
2130 2016-04-13 Ben Elliston <bje@gnu.org>
2132 * lib/rsh.exp (rsh_exec): Improve verbose message.
2133 * lib/ssh.exp (ssh_exec): Likewise.
2134 * config/adb.exp: Likewise.
2136 2016-04-13 Ben Elliston <bje@gnu.org>
2138 * runtest.exp: Improve --version (-v) output.
2139 * testsuite/runtest.all/options.exp: Update test case.
2141 2016-04-13 Christophe Lyon <christophe.lyon@linaro.org>
2143 * lib/rsh.exp (rsh_exec): Handle regexp return status.
2145 2016-04-08 Ben Elliston <bje@gnu.org>
2147 Reported by Faraz Shahbazker.
2148 * doc/dejagnu.texi (Global config file): Fix broken @node.
2149 (Local config file): Likewise.
2151 2016-04-07 Ben Elliston <bje@gnu.org>
2153 * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2154 the command line with ';' and not &&.
2156 2016-04-07 Ben Elliston <bje@gnu.org>
2158 Reported by Faraz Shahbazker.
2159 * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2161 2016-04-06 Yvan Roux <yvan.roux@linaro.org>
2163 * lib/remote.exp (remnote_download): Create a remote directory if
2165 (remote_exec): Execute program inside remotedir when it exists.
2166 (standard_load): Set remotedir board field if not present.
2167 * config/unix.exp (unix_load): Handle remotedir in board field.
2168 (remotedir): Set board info field.
2169 * doc/dejagnu.texi (Board File Values): Document remotedir.
2171 2016-04-06 Ben Elliston <bje@gnu.org>
2173 * doc/dejagnu.texi (Global config file): Put before node 'Local
2176 2016-04-05 Ben Elliston <bje@gnu.org>
2178 * runtest.exp: Remove defunct and undocumented --tool_root option.
2180 2016-04-04 Ben Elliston <bje@gnu.org>
2182 * doc/dejagnu.texi: More overhauling.
2184 2016-04-04 Ben Elliston <bje@gnu.org>
2186 * lib/targetdb.exp (set_board_info): Improve comment.
2187 (add_board_info): Likewise.
2189 2016-04-04 Ben Elliston <bje@gnu.org>
2191 * NEWS: Add some more detail.
2193 2016-04-04 Ben Elliston <bje@gnu.org>
2195 * site.tmpl: Delete.
2196 * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2197 * Makefile.in: Regenerate.
2199 2016-04-03 Ben Elliston <bje@gnu.org>
2201 * doc/dejagnu.texi: More overhauling.
2203 2016-04-03 Ben Elliston <bje@gnu.org>
2205 * runtest.exp: Document the magical handling of -D[01].
2207 2016-04-03 Ben Elliston <bje@gnu.org>
2209 * doc/runtest.1: Do not document obsolete --status option. It is
2210 still accepted for compatibility, but does nothing.
2212 2016-04-03 Ben Elliston <bje@gnu.org>
2214 * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2216 2016-04-03 Ben Elliston <bje@gnu.org>
2218 * doc/runtest.1 (OPTIONS): Sort options.
2220 2016-04-03 Ben Elliston <bje@gnu.org>
2222 * doc/dejagnu.texi: More overhauling.
2224 2016-04-02 Ben Elliston <bje@gnu.org>
2226 * doc/dejagnu.texi: Fill paragraphs.
2228 2016-04-02 Ben Elliston <bje@gnu.org>
2230 * doc/dejagnu.texi: Fix capitalisation of procedure names
2231 throughout. Use Tcl syntax in procedure prototypes, not C syntax.
2233 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2235 * contrib/mysql/create-db.sql: New file.
2236 * contrib/mysql/importxml.sh: Likewise.
2237 * contrib/mysql/make-datafile.sh: Likewise.
2238 * contrib/mysql/plot.sh: Likewise.
2239 * contrib/mysql/README: Likewise.
2240 * contrib/mysql/sum2xml.sh: Likewise.
2242 2016-04-02 Ben Elliston <bje@gnu.org>
2244 * config.guess: Update to version 2016-04-02.
2245 * config.sub: Update to version 2016-03-30.
2247 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2249 * contrib/sum2junit.sh: New.
2251 2016-04-01 Ben Elliston <bje@gnu.org>
2253 * doc/dejagnu.texi (connprocs): Document new SSH procs.
2255 2016-03-31 Rob Savoye <rob.savoye@linaro.org>
2260 2016-03-30 Ben Elliston <bje@gnu.org>
2262 * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2263 lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2264 runtest.exp: Fix spelling errors in comments.
2266 2016-03-30 Ben Elliston <bje@gnu.org>
2268 * lib/remote.exp (remote_expect): Use perror not send_user.
2270 2016-03-29 Ben Elliston <bje@gnu.org>
2272 * lib/remote.exp (remote_expect): Fix spelling error.
2274 2016-03-29 Rob Savoye <rob.savoye@linaro.org>
2276 * runtest.exp: Only print "searching for <test name>" message at
2277 verbose level >= 2 -- too much noise.
2279 2016-03-29 Ben Elliston <bje@gnu.org>
2281 * texinfo.tex: Update to latest master version.
2282 * INSTALL: Likewise.
2284 2016-03-29 Ben Elliston <bje@gnu.org>
2286 * runtest.exp: More fixes identified by the Frink static analyser.
2287 * lib/dg.exp: Likewise.
2288 * config/adb.exp: Likewise.
2289 * config/vxworks.exp: Likewise.
2290 * baseboards/androideabi.exp: Likewise.
2291 * baseboards/basic-sid.exp: Likewise.
2292 * baseboards/multi-sim.exp: Likewise.
2294 2016-03-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
2296 * dg.exp (dg-do): Do not change the previously selected action if
2297 a de-selected dg-do is encountered.
2299 2016-03-28 Ben Elliston <bje@gnu.org>
2301 * lib/framework.exp (check_xml): Remove unused proc.
2303 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2305 * lib/dmucs.exp: New.
2307 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2309 * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2310 built compiler, then look in the path.
2312 2016-03-28 Ben Elliston <bje@gnu.org>
2314 * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2315 /bin/which doesn't. Modern systems rely too heavily on symbolic
2316 links (eg. alternatives).
2318 2016-03-28 Ben Elliston <bje@gnu.org>
2320 * baseboards/multi-sim.exp: Indent properly.
2322 2016-03-28 Ben Elliston <bje@gnu.org>
2324 * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2325 rlogin. Identified by Frink.
2327 2016-03-28 Ben Elliston <bje@gnu.org>
2329 * runtest.exp: Use 'array exists' for testing array existence
2330 rather than 'info exists'.
2332 2016-03-28 Ben Elliston <bje@gnu.org>
2334 * runtest.exp: Fixes identified by the Frink static analyser:
2335 (1) use -- in switch commands for safety,
2336 (2) remove unreachable return commands after error commands,
2337 (3) replace abbreviated "info proc" with "info procs",
2338 (4) use -- in unset commands for safety where the variable name
2339 is itself a variable.
2340 * lib/dg.exp: Likewise.
2341 * lib/debugger.exp: Likewise.
2342 * lib/framework.exp: Likewise.
2343 * lib/remote.exp: Likewise.
2344 * lib/target.exp: Likewise.
2345 * lib/targetdb.exp: Likewise.
2346 * lib/telnet.exp: Likewise.
2347 * lib/utils.exp: Likewise.
2349 2016-03-28 Ben Elliston <bje@gnu.org>
2351 * Makefile.am: Remove references to Docbook and friends.
2352 * configure.ac: Likewise.
2353 * Makefile.in: Regenerate.
2354 * configure: Regenerate.
2355 * doc/dejagnu.xml: Remove.
2356 * doc/legal.xml: Likewise.
2357 * doc/ref.xml: Likewise.
2358 * doc/user.xml: Likewise.
2360 2016-03-28 Ben Elliston <bje@gnu.org>
2362 * lib/framework.exp (exp_continue): Remove old compatibility
2363 wrapper. Expect deprecated 'continue -expect' in August 1997.
2365 2016-03-28 Ben Elliston <bje@gnu.org>
2369 2016-03-28 Ben Elliston <bje@gnu.org>
2371 * lib/utils.exp (which): Reimplement to more closely mimic the
2372 behaviour of the UNIX which utility.
2373 * testsuite/runtest.all/utils.test: Test proc which.
2375 2016-03-27 Ben Elliston <bje@gnu.org>
2377 * lib/remote.exp (standard_wait): Append any trailing characters
2378 to $output that may be still in $expect_out(buffer) when eof is
2379 matched. Remove arbitrary limitation in the ".+" matching case,
2380 similar to the change to local_exec on 2016-02-17.
2382 2016-03-23 Ben Elliston <bje@gnu.org>
2384 * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2385 mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2386 * Makefile.in: Regenerate.
2387 * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2388 baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2389 baseboards/vx68k.exp, baseboards/vx960.exp,
2390 baseboards/vxsparc.exp: Remove.
2392 2016-03-23 Ben Elliston <bje@gnu.org>
2394 * baseboards/README: Remove mention of devo.
2395 * baseboards/iq2000-sim.exp: Likewise.
2396 * baseboards/moxie-sim.exp: Likewise.
2398 2016-03-23 Ben Elliston <bje@gnu.org>
2400 * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2401 * Makefile.in: Regenerate.
2402 * baseboards/arm-ice.exp: Reinstate.
2403 * baseboards/arm-sim.exp: Likewise.
2405 2016-03-23 Ben Elliston <bje@gnu.org>
2407 * Makefile.am (config_DATA): Update.
2408 (baseboard_DATA): Likewise.
2409 * Makefile.in: Regenerate.
2412 Remove the following old config files:
2414 * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2415 cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2416 dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2417 m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2418 mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2419 proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2420 tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2422 Remove the following old baseboard files:
2424 * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2425 d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2426 fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2427 h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2428 i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2429 m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2430 mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2431 mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2432 powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2433 sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2434 tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2435 vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2436 xscale-cygmon.exp: Remove.
2438 2016-03-22 Ben Elliston <bje@gnu.org>
2440 * lib/target.exp (only--Ls): Change '???' comment to a note. This
2441 isn't a serious shortcoming, but the comment should be retained.
2443 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2445 * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
2446 the environment, use that as the spec file for bare metal testing.
2448 2016-03-22 Ben Elliston <bje@gnu.org>
2450 * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
2451 * Makefile.in: Regenerate.
2453 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2455 * config/aarch64-fv8.exp: Add support for testing armv8 using the
2456 ARM Foundation Model.
2458 2016-03-21 Ben Elliston <bje@gnu.org>
2460 * runtest.exp: Whitespace, comment and typo fixes.
2461 * lib/dejagnu.exp: Likewise.
2462 * lib/remote.exp: Likewise.
2463 * lib/utils.exp: Likewise.
2465 2016-03-21 Ben Elliston <bje@gnu.org>
2467 * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
2468 * baseboards/mmixware-sim.exp: Likewise.
2469 * config/sim.exp: Likewise.
2470 * runtest.exp: Likewise.
2472 2016-03-21 Ben Elliston <bje@gnu.org>
2474 * lib/dg.exp (dg-get-options): Clean up regular expression and
2475 remove FIXME comment about it.
2477 2016-03-20 Ben Elliston <bje@gnu.org>
2479 * baseboards/i960-sim.exp: Remove stale ??? comment.
2480 * config/vxworks.exp: Likewise.
2482 2016-03-20 Ben Elliston <bje@gnu.org>
2484 * runtest.exp: Load .dejagnurc last not first.
2485 (load_file): Update comment about Tcl 7.5a2.
2486 * doc/user.xml (Customizing DejaGnu): Document new search order
2488 * doc/dejagnu.texi: Regenerate.
2491 2016-03-20 Ben Elliston <bje@gnu.org>
2493 * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
2495 2016-03-20 Ben Elliston <bje@gnu.org>
2497 * lib/dg.exp: Remove commented-out calls to send_user.
2499 2016-03-20 Ben Elliston <bje@gnu.org>
2501 * runtest.exp (load_file): Remove old comment.
2503 2016-03-20 Ben Elliston <bje@gnu.org>
2505 * lib/dg.exp (dg-test): There is no need to call unresolved to
2506 clear errcnt. Instead, pass 0 as argument 2 to perror.
2507 * runtest.exp (runtest): Likewise.
2509 2016-03-16 Ben Elliston <bje@gnu.org>
2511 Revert this change (the GCC testsuite uses diff):
2513 2016-03-15 Ben Elliston <bje@gnu.org>
2515 * lib/utils.exp (diff): Remove proc.
2516 * doc/ref.xml: Update documentation.
2517 * doc/dejagnu.texi: Regenerate.
2520 2016-03-15 Ben Elliston <bje@gnu.org>
2522 * testsuite/runtest.all/options.exp: Properly clean up log files
2523 left by the runtest under test.
2525 2016-03-15 Ben Elliston <bje@gnu.org>
2527 * testsuite/runtest.all/load_lib.exp: Typo fixes.
2529 2016-03-15 Ben Elliston <bje@gnu.org>
2531 * testsuite/runtest.all/options.exp: Add more tests.
2533 2016-03-15 Ben Elliston <bje@gnu.org>
2535 * testsuite/libdejagnu/tunit.exp: Clean up.
2537 2016-03-15 Ben Elliston <bje@gnu.org>
2539 * lib/utils.exp (diff): Remove proc.
2540 * doc/ref.xml: Update documentation.
2541 * doc/dejagnu.texi: Regenerate.
2544 2016-03-15 Ben Elliston <bje@gnu.org>
2547 2016-02-14 Steve Ellcey <sellcey@mips.com>
2549 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2551 * baseboards/multi-sim.exp (rpath_flags): Ditto.
2553 2016-03-13 Ben Elliston <bje@gnu.org>
2555 * lib/utils.exp: Whitespace fixes.
2557 2016-03-13 Ben Elliston <bje@gnu.org>
2559 * lib/dg.exp (dg-process-target): Remove old commented code.
2560 * lib/dg.exp (dg-test): Likewise.
2562 2016-03-13 Ben Elliston <bje@gnu.org>
2564 * lib/dg.exp: Improve top-of-file documentation.
2566 2016-03-05 Yvan Roux <yvan.roux@linaro.org>
2568 * lib/remote.exp (remote_exec): Restore original timeout value.
2570 2016-03-04 Yvan Roux <yvan.roux@linaro.org>
2572 * lib/remote.exp (standard_upload): Remove dead code.
2574 2016-02-24 Ben Elliston <bje@gnu.org>
2576 * lib/utils.exp (prune): Restore this proc.
2577 * doc/ref.xml: Update documentation.
2578 * doc/dejagnu.texi: Regenerate.
2581 2016-02-23 Iain Buclaw <ibuclaw@gdcproject.org>
2583 * lib/libgloss.exp (find_gdc): New proc.
2584 * lib/target.exp (default_target_compile): Add D support.
2587 2016-02-20 Ben Elliston <bje@gnu.org>
2589 * lib/utils.exp (diff): Replace calls to verbose followed by
2590 send_log with a single call to verbose -log. Remove additional
2591 newlines from the log messages.
2593 2016-02-20 Ben Elliston <bje@gnu.org>
2595 * lib/utils.exp (getdirs): Ignore .git and .svn directories.
2597 2016-02-20 Ben Elliston <bje@gnu.org>
2599 * lib/utils.exp: Improve comments.
2602 2016-02-20 Ben Elliston <bje@gnu.org>
2604 * lib/utils.exp (prune): Remove proc.
2605 * doc/ref.xml: Update documentation.
2606 * doc/dejagnu.texi: Regenerate.
2608 2016-02-20 Ben Elliston <bje@gnu.org>
2610 * lib/utils.exp (slay): Remove proc.
2611 * doc/ref.xml: Update documentation.
2612 * doc/dejagnu.texi: Regenerate.
2614 2016-02-20 Ben Elliston <bje@gnu.org>
2616 * lib/utils.exp (absolute): Remove proc.
2617 * doc/ref.xml: Update documentation.
2618 * doc/dejagnu.texi: Regenerate.
2620 2016-02-20 Ben Elliston <bje@gnu.org>
2622 * lib/utils.exp (psource): Remove proc.
2623 * doc/ref.xml: Update documentation.
2624 * doc/dejagnu.texi: Regenerate.
2626 2016-02-20 Ben Elliston <bje@gnu.org>
2628 * lib/targetdb.exp (board_info): Simplify return logic.
2630 2016-02-19 Ben Elliston <bje@gnu.org>
2632 * configure.ac: Require Tcl version 8.5 at a minimum.
2633 * configure: Regenerate.
2635 2016-02-18 Ben Elliston <bje@gnu.org>
2637 * configure.ac: Require Tcl version 8.6 at a minimum.
2638 * configure: Regenerate.
2640 2016-02-17 Ben Elliston <bje@gnu.org>
2642 * runtest.exp: Tweak "Test run by .." output.
2644 2016-02-17 Ben Elliston <bje@gnu.org>
2646 * lib/target.exp (default_target_compile): Do not pass -log to
2647 verbose when outputting the captured compiler/assembler/linker
2648 diagnostic output as it will already be in the .log file courtesy
2651 2016-02-17 Ben Elliston <bje@gnu.org>
2653 * runtest.exp: Enable --status by default.
2654 (runtest): Set exit status to 2 if there is any error sourcing
2656 * lib/framework.exp (unknown): Likewise, set exit status to 2.
2657 * doc/runtest.1: Clarify exit status codes.
2660 2016-02-17 Ben Elliston <bje@gnu.org>
2662 * lib/remote.exp (local_exec): Call exp_continue until eof is
2665 2016-02-16 Ben Elliston <bje@gnu.org>
2667 * runtest.exp: Use the traditional exit codes when runtest is
2668 interrupted. This makes it possible to tell if runtest ran to
2669 completion or not. Suggested by Michael Chastain.
2671 2016-02-15 Ben Elliston <bje@gnu.org>
2673 * TODO: Add ideas produced from Cauldron 2013.
2675 2016-02-15 Ben Elliston <bje@gnu.org>
2679 2016-02-15 Ben Elliston <bje@gnu.org>
2681 * lib/dg.exp (dg-test): Remove comment about proc unresolved not
2682 setting exit_status to 1 -- it does.
2684 2016-02-15 Ben Elliston <bje@gnu.org>
2686 * lib/framework.exp (cleanup): Remove do-nothing proc.
2687 (log_and_exit): Remove call to cleanup.
2688 * doc/ref.xml: Remove documentation for cleanup.
2689 * doc/dejagnu.texi: Regenerate.
2691 2016-02-15 Ben Elliston <bje@gnu.org>
2693 Reported by David Malcolm.
2694 * lib/dejagnu.exp (text): Allow angle brackets in test messages.
2696 2016-02-15 Ben Elliston <bje@gnu.org>
2698 * config.guess: Update to version 2016-02-11.
2699 * config.sub: Update to version 2016-01-01.
2701 2016-02-14 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
2703 * lib/remote.exp (remote_exec): Set global timeout for benefit of
2706 2016-02-14 Ben Elliston <bje@gnu.org>
2708 * lib/remote.exp (local_exec): Improve comments.
2710 2016-02-14 Ben Elliston <bje@gnu.org>
2712 * doc/runtest.1: Tweak.
2714 2016-02-14 Steve Ellcey <sellcey@mips.com>
2716 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
2718 * baseboards/multi-sim.exp (rpath_flags): Ditto.
2720 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
2722 * lib/remote.exp (standard_file): Reverse return logic for remote
2725 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
2727 * lib/remote.exp (standard_file); Add else clause.
2729 2016-01-16 Ben Elliston <bje@gnu.org>
2731 * runtest.exp (runtest): Improve comment about --status.
2733 2016-01-12 Simon Marchi <simon.marchi@ericsson.com>
2735 * lib/remote.exp (standard_file): The [ operator does not actually
2736 output anything. It returns 0 or 1 as its exit code, so "exit `[
2737 -f $file ]`" always expands to "exit " (equivalent to exit 0).
2738 Instead, use test(1) to check for file existence.
2740 2015-12-20 Ben Elliston <bje@gnu.org>
2742 * doc/dejagnu.xml: Begin overhauling.
2743 * doc/ref.xml: Likewise.
2744 * doc/user.xml: Likewise.
2745 * doc/dejagnu.texi: Regenerate.
2747 2015-12-20 Ben Elliston <bje@gnu.org>
2749 * doc/runtest.1: Miscellaneous minor improvements.
2751 2015-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
2753 * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
2754 * Makefile.in: Regenerate.
2756 2015-11-16 Brooks Moses <bmoses@google.com>
2758 * config/unix.exp: Add ability to set test timeout from site.exp.
2759 * doc/user.xml: Document new test_timeout variable in site.exp.
2760 * doc/dejagnu.texi: Regenerate.
2762 2015-11-16 Ben Elliston <bje@gnu.org>
2764 * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
2766 2015-11-16 Ben Elliston <bje@gnu.org>
2768 * testsuite/runtest.all/options.exp: Remove some commented code.
2770 2015-11-16 Ben Elliston <bje@gnu.org>
2772 * runtest.exp: Refer to "DejaGnu version", not "Framework
2773 version" in --version output.
2774 * testsuite/runtest.all/options.exp: Update test case.
2776 2015-11-14 Ben Elliston <bje@gnu.org>
2778 * runtest.exp (usage): Improve help text.
2780 2015-11-12 Ben Elliston <bje@gnu.org>
2782 * runtest.exp (usage): Sort options in usage.
2784 2015-11-12 Ben Elliston <bje@gnu.org>
2786 * lib/framework.exp (note): Remove old commented-out code.
2788 2015-11-11 Ben Elliston <bje@gnu.org>
2790 * doc/user.xml (Summary File): 'untested', not 'runtested'.
2791 * doc/dejagnu.texi: Regenerate.
2793 2015-11-11 Michael Forney <forney@google.com>
2795 * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
2797 2015-11-11 Ben Elliston <bje@gnu.org>
2799 * doc/dejagnu.texi: Regenerate.
2801 2015-11-10 Ben Elliston <bje@gnu.org>
2803 * doc/user.xml: Fix runtest output formatting in <programlisting>.
2805 2015-11-10 Ben Elliston <bje@gnu.org>
2807 * doc/dejagnu.xml: Update month and year.
2808 * doc/user.xml: Lots of editorial fixes from Daniel Thibault
2809 <Daniel.Thibault@drdc-rddc.gc.ca>.
2811 2015-09-10 Robert Suchanek <Robert.Suchanek@imgtec.com>
2813 * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
2815 2015-07-30 Pedro Alves <palves@redhat.com>
2817 * lib/remote.exp (close_wait_program): New procedure.
2818 (local_exec, standard_close): Use it.
2820 2015-05-23 Ben Elliston <bje@gnu.org>
2822 * doc/dejagnu.xml: Fix broken URLs.
2823 * doc/dejagnu.texi: Regenerate.
2825 2015-05-23 Ben Elliston <bje@gnu.org>
2827 * doc/user.xml: Fix 'crosscompilation'.
2829 2015-05-23 Ben Elliston <bje@gnu.org>
2831 * doc/runtest.1 (log_dialog): Improve documentation.
2833 2015-05-16 Filipe Brandenburger <filbranden@google.com>
2835 * configure.ac: Enable subdir-objects, require automake 1.14.
2836 * Makefile.in: Regenerate.
2838 2015-05-15 Filipe Brandenburger <filbranden@google.com>
2840 * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
2841 possibly introduced in a conversion of .texi to SGML Docbook.
2842 * doc/user.xml: Likewise.
2843 * doc/ref.xml: Likewise.
2844 * doc/dejagnu.texi: Regenerate.
2846 2015-05-15 Filipe Brandenburger <filbranden@google.com>
2848 * runtest.exp (runtest): Introduce new --log_dialog option.
2849 * doc/runtest.1: Document it.
2850 * doc/user.xml: Likewise.
2851 * doc/dejagnu.texi: Regenerate.
2853 2015-05-14 Steve Ellcey <sellcey@imgtec.com>
2855 * baseboards/multi-sim.exp (get_library_dirlist): New.
2856 (dynamic_linker_flag): Use get_library_dirlist to find dynamic
2858 (rpath_flags): Use get_library_dirlist to set rpath.
2860 2015-05-12 Steve Ellcey <sellcey@imgtec.com>
2862 * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
2864 2015-03-30 Ben Elliston <bje@gnu.org>
2866 Revert the following change which causes breakage reported here:
2867 https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
2869 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2871 * runtest.exp (runtest): Call reset_vars at initialisation so that
2872 perror does not affect test results in other test scripts.
2874 2015-02-26 H.J. Lu <hjl.tools@gmail.com>
2876 * lib/target.exp (default_target_compile): Prepend multilib_flags,
2877 instead of appending it.
2879 2015-02-18 Ben Elliston <bje@gnu.org>
2881 * lib/framework.exp (log_and_exit): Set tool to "testrun" if
2884 2015-02-05 Ben Elliston <bje@gnu.org>
2886 * doc/runtest.1: Fix a spelling error.
2888 2015-02-04 Ben Elliston <bje@gnu.org>
2890 * config.guess: Update to version 2015-01-01.
2891 * config.sub: Likewise.
2893 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
2895 * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
2896 * Makefile.in: Regenerate.
2897 * baseboards/visium-sim.exp: New file.
2899 2014-11-25 Ben Elliston <bje@gnu.org>
2901 * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
2902 Reported by David Malcolm.
2904 2014-10-28 Ben Elliston <bje@gnu.org>
2906 * Makefile.in: Regenerate.
2908 2014-10-28 Ben Elliston <bje@gnu.org>
2910 * example: Remove stale examples.
2912 2014-10-24 Steve Ellcey <sellcey@mips.com>
2914 * dejagnu.h (pass): Make function static as well as inline.
2919 (unresolved): Ditto.
2923 2014-10-14 Ben Elliston <bje@gnu.org>
2925 * runtest.exp: Only match $directory, not *${directory}* when the
2926 user passes the --directory option. Reported by Sergey Alyoshin.
2928 2014-10-14 Ben Elliston <bje@gnu.org>
2930 * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
2931 is not the right command keyword -- it is full_buffer. Reported by
2934 2014-07-15 Maciej W. Rozycki <macro@mips.com>
2935 Maciej W. Rozycki <macro@codesourcery.com>
2937 * lib/targetdb.exp (add_board_info): New procedure.
2938 * doc/ref.xml (Add_board_info Procedure): New section.
2939 (Set_board_info Procedure): Add description.
2940 (Unset_board_info Procedure): Likewise.
2941 * doc/user.xml (Board Config File Values): Add `add_board_info'
2942 reference. Reorder `gdb_init_command' table rows and remove a
2943 duplicate entry, reusing it for `gdb_init_commands'.
2945 2014-06-25 Rob Savoye <rob.savoye@linaro.org>
2947 * runtest.exp: (lookfor-file): Fix bug were none of the relative
2948 paths were actually being used for file lookup.
2950 2014-06-06 Ben Elliston <bje@gnu.org>
2952 * depcomp, install-sh, missing: Update to latest versions.
2953 * mkinstalldirs: Remove.
2954 * Makefile.in: Regenerate.
2956 2014-06-04 Ben Elliston <bje@gnu.org>
2958 * Makefile.in: Regenerate with Automake 1.14.1.
2959 * compile: Add missing file.
2961 2014-06-04 Ben Elliston <bje@gnu.org>
2963 * config.guess: Update to version 2014-03-23.
2964 * config.sub: Likewise.
2966 2014-06-04 Ben Elliston <bje@gnu.org>
2968 * aclocal.m4: Regenerate with Automake 1.14.1.
2969 * configure: Regenerate with Autoconf 2.69.
2971 2014-03-15 Steve Ellcey <sellcey@mips.com>
2973 * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
2975 2014-02-23 Steve Ellcey <sellcey@mips.com>
2976 Richard Sandiford <rdsandiford@googlemail.com>
2978 * config/sim.exp (sim_exec): New.
2981 2013-12-08 Richard Sandiford <rdsandiford@googlemail.com>
2983 * lib/dg.exp (dg-test): Don't put the expected and actual output
2984 of a pattern test in the test name; send it to the log instead.
2986 2013-11-01 Steve Ellcey <sellcey@mips.com>
2988 * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
2989 * Makefile.in: Regenerate.
2990 * baseboards/multi-sim.exp: New.
2992 2013-10-31 Anton Kolesov <anton.kolesov@synopsys.com>
2994 * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
2995 (remote_reboot): Add comment explaining return value of this procedure.
2996 * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
2997 * doc/dejagnu.texi: Regenerate.
2999 2013-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
3001 * baseboards/androideabi.exp (process_multilib_options): Add option.
3002 * config/adb.exp: Remove hardcoded -static option.
3003 (adb_load): Add the possibility to change the temp directory. Also
3004 handle permission potential problems.
3005 (adb_exec): Do cd to android_tmp_dir first.
3007 2013-10-05 Jose E. Marchesi <jose.marchesi@oracle.com>
3009 * baseboards/unix.exp: Add gdb settings to not use hardware
3010 watchpoints in sparc64 running GNU/Linux.
3012 2013-06-17 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3014 * runtest.exp (libdirs): New global variable.
3015 (load_lib): Append libdirs to search_and_load_files directories.
3016 * doc/ref.xml (load_lib): Document global variable libdirs.
3017 * doc/dejagnu.texi: Regenerate.
3018 * testsuite/runtest.all/load_lib.exp: New testcase.
3019 * Makefile.am (TESTSUITE_FILES): Add new testcase.
3020 * Makefile.in: Regenerate.
3022 2013-06-15 Ben Elliston <bje@gnu.org>
3024 * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3025 * Makefile.am: Export DEJAGNU.
3026 * configure: Likewise.
3027 * Makefile.in: Regenerate.
3029 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3031 * doc/user.xml: Fix typos.
3032 * doc/ref.xml: Likewise.
3033 * doc/dejagnu.texi: Regenerate.
3035 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3037 * doc/user.xml: Fix number of columns in table.
3038 * doc/dejagnu.texi: Regenerate.
3040 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3042 * doc/user.xml: Fix rendering errors around programlisting.
3043 * doc/ref.xml: Likewise.
3044 * doc/dejagnu.texi: Regenerate.
3046 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3048 * doc/user.xml: Fix spacing before productname.
3049 * doc/dejagnu.texi: Regenerate.
3051 2013-06-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3053 * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3054 magic "args" parameter name, as expect send_log proc accepts -- as
3057 2013-06-08 Makoto Fujiwara <makoto@ki.nu>
3059 * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3060 (config_DATA): Likewise for config_SCRIPTS.
3061 (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3062 (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3064 * Makefile.in: Regenerate.
3066 2013-06-08 Ben Elliston <bje@gnu.org>
3068 * configure: Regenerate with autoconf 2.69.
3069 * aclocal.m4: Regenerate.
3071 2013-03-31 Ben Elliston <bje@gnu.org>
3073 * Makefile.am (html-local): Rename target from html.
3074 * Makefile.in: Regenerate with automake 1.12.6.
3075 * aclocal.m4: Likewise.
3076 * configure: Regenerate.
3078 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3080 * TODO: Remove todo item about warncnt and errcnt.
3082 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3084 * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3086 2013-03-26 Ben Elliston <bje@gnu.org>
3088 * config.guess: Update to version 2013-02-12.
3089 * config.sub: Likewise.
3091 2013-02-16 Rob Savoye <rob@build.welcomehome.org>
3093 * config/adb.exp: Add adb_file so we can remotely delete test
3094 cases to save on limited disk space. Don't remove the file after
3095 executing it, leave that for the test driver instead.
3097 2013-02-15 Rob Savoye <rob@welcomehome.org>
3099 * config/adb.exp: Remove the test case after executing
3100 it. Otherwise we can fill up all the diskspace on a small target
3103 2013-02-11 Rob Savoye <rob@welcomehome.org>
3105 * baseboards/androideabi.exp: Board support for Android using ADB.
3106 * config/adb.exp: Config support for Android using ADB.
3107 * Makefile.am (dist): Add new config and board files.
3108 * aclocal.m4, Makefile.in, configure, example/calc/configure,
3109 example/mathhelper/configure: Regenerated with newer autotools.
3111 2012-12-05 Ben Elliston <bje@gnu.org>
3113 * example/hello: Remove.
3114 * configure.ac: Likewise.
3115 * configure: Regenerate.
3117 2012-10-04 Steve Ellcey <sellcey@mips.com>
3119 * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3120 * Makefile.in: Regenerate.
3121 * baseboards/mips-sim-mti32.exp: New.
3122 * baseboards/mips-sim-mti64.exp: New.
3123 * baseboards/mips-sim-mti64_n32.exp: New.
3124 * baseboards/mips-sim-mti64_64.exp: New.
3125 * baseboards/mips-sim-sde32.exp: New.
3126 * baseboards/mips-sim-sde64.exp: New.
3128 2012-10-04 Ben Elliston <bje@gnu.org>
3130 * aclocal.m4: Regenerate with automake 1.11.3.
3131 * Makefile.in: Likewise.
3132 * configure: Regenerate with autoconf 2.68.
3134 2012-08-22 Steve Ellcey <sellcey@mips.com>
3136 * baseboards/generic-sim.exp: New baseboard definition.
3138 2012-06-15 Andreas Schwab <schwab@linux-m68k.org>
3140 * lib/framework.exp (clone_output): Protect from leading dash in
3142 * runtest.exp (verbose): Likewise.
3144 2012-06-11 Tom Tromey <tromey@redhat.com>
3146 * doc/runtest.1: Update.
3147 * runtest.exp (xml_file_name): New global.
3149 Handle optional argument to --xml.
3150 * lib/framework.exp (open_logs): Respect xml_file_name.
3152 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3154 * runtest.exp (load_tool_init): Fix typo in -de option handling.
3156 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3158 * doc/runtest.1: Correct name of debug file.
3160 2012-02-25 Ben Elliston <bje@gnu.org>
3162 * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3163 for runtest.exp as a last resort (for usrmove environments, where
3164 /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3166 2011-12-30 Ben Elliston <bje@gnu.org>
3168 * doc/user.xml: Various spelling and consistency fixes.
3169 * doc/ref.xml: Likewise.
3170 (exit_remote_shell): Remove, as this procedure is defunct.
3171 * doc/dejagnu.texi: Regenerate.
3173 2011-12-30 Ben Elliston <bje@gnu.org>
3175 * config.guess: Update to version 2011-12-29.
3176 * config.sub: Update to version 2011-11-11.
3178 2011-06-30 Tom Tromey <tromey@redhat.com>
3180 * doc/ref.xml: Document find_gfortran.
3181 * doc/dejagnu.texi: Regenerate.
3182 * lib/target.exp (default_target_compile): Handle f90.
3183 (default_target_compile): Likewise.
3184 * lib/libgloss.exp (find_gfortran): New proc.
3186 2011-06-30 Ben Elliston <bje@gnu.org>
3188 * Makefile.am (all-local): New rule.
3189 * Makefile.in: Regenerate.
3191 2011-04-12 Ben Elliston <bje@gnu.org>
3193 * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3194 rm", for better portability.
3195 * config/netware.exp (${board}_load): Likewise.
3196 * lib/dg.exp (dg-test): Likewise.
3197 * lib/framework.exp (open_logs): Likewise.
3198 * lib/remote.exp (standard_file): Likewise.
3199 * runtest.exp: Likewise.
3200 * testsuite/runtest.all/options.exp: Likewise.
3202 2011-03-15 Ben Elliston <bje@gnu.org>
3204 * runtest.exp: Whitespace cleanups.
3205 * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3206 lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3207 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3209 2011-03-15 Ben Elliston <bje@gnu.org>
3211 * runtest: Remove trailing semicolons.
3212 * lib/rsh.exp: Likewise.
3214 2011-03-15 H.J. Lu <hjl.tools@gmail.com>
3216 * lib/remote.exp (local_exec): Ignore SIGHUP.
3218 2011-03-14 Ben Elliston <bje@gnu.org>
3220 * runtest.exp (frame_version): Set to 1.5.1.
3221 * configure.ac (AC_INIT): Set version to 1.5.1.
3222 * configure: Regenerate.
3223 * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3224 * doc/dejagnu.texi: Regenerate.
3226 2011-03-14 Ben Elliston <bje@gnu.org>
3228 * dejagnu.h: Whitespace cleanups.
3230 2011-03-14 Ben Elliston <bje@gnu.org>
3232 * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3233 * baseboards/mt-sid.exp: Likewise.
3234 * baseboards/tx39-sim.exp: Likewise.
3235 * lib/target.exp (default_target_compile): Likewise.
3237 2011-03-14 Ben Elliston <bje@gnu.org>
3239 Reported by Flash Sheridan <flash@pobox.com>:
3240 * doc/user.xml (Testing "Hello world" locally): Improve the
3241 example test script and make it robust to failures. Tidy some
3243 * doc/dejagnu.texi: Regenerate.
3245 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3247 * runtest.exp (runtest): Call reset_vars at initialisation so that
3248 perror does not affect test results in other test scripts.
3250 2011-03-09 Ben Elliston <bje@gnu.org>
3252 * NEWS: Start a new section for post-1.5 changes.
3254 2011-03-09 Ben Elliston <bje@gnu.org>
3256 * DejaGnu 1.5 released.
3258 2011-03-09 Ben Elliston <bje@gnu.org>
3260 * Makefile.am (DISTCLEANFILES): Define.
3261 * Makefile.in: Regenerate.
3262 * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3263 * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3264 * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3265 mkdir" instead of exec'ing mkdir(1).
3267 2011-03-07 Ben Elliston <bje@gnu.org>
3269 * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3270 * Makefile.in: Regenerate.
3272 2011-03-06 Ben Elliston <bje@gnu.org>
3274 * configure.ac (AC_INIT): Set version to 1.5.
3275 * configure: Regenerate.
3276 * runtest.exp (frame_version): Set to 1.5.
3277 * doc/dejagnu.texi: Regenerate.
3279 2011-03-04 Ben Elliston <bje@gnu.org>
3281 * texinfo.tex: Import latest version from ftp://tug.org/tex.
3283 2011-03-04 Ben Elliston <bje@gnu.org>
3285 * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3286 * Makefile.in: Regenerate.
3288 2011-03-03 Ben Elliston <bje@gnu.org>
3290 * Makefile.am: Bump to GPL version 3.
3291 * configure.ac: Likewise.
3292 * Makefile.in: Regenerate.
3293 * aclocal.m4: Likewise.
3294 * configure: Likewise.
3296 2011-03-03 Ben Elliston <bje@gnu.org>
3298 * config.guess: Update to most recent version.
3299 * config.sub: Likewise.
3301 2011-03-03 Ben Elliston <bje@gnu.org>
3303 * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3304 proc to ::tcl_unknown. If ::tcl_unknown returns a failure result,
3305 then fall back to the conventional DejaGnu handling. Report from
3306 David Byron <dbyron@dbyron.com>.
3308 2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
3310 * lib/remote.exp (remote_expect): Pass all exception conditions up
3313 2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3315 * lib/dg.exp (dg-test): Support nested calls.
3317 2010-04-13 Ben Elliston <bje@gnu.org>
3319 * testglue.c: Remove duplicated prototypes for abort and exit.
3321 2010-03-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3323 * doc/user.xml (Tcl Variables For Command Line Options): Correct
3326 2010-01-21 Jie Zhang <jie.zhang@analog.com>
3328 * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3330 2010-01-15 Anthony Green <green@moxielogic.com>
3332 * baseboards/moxie-sim.exp: New baseboard.
3334 2009-12-10 DJ Delorie <dj@redhat.com>
3336 * baseboards/rx-sim.exp: New baseboard.
3338 2009-10-15 Ben Elliston <bje@gnu.org>
3340 * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3341 This web page has disappeared.
3343 2009-07-06 Ben Elliston <bje@gnu.org>
3345 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3346 <option> not <emphasis>. Apply other grammatical fixes from
3348 * doc/dejagnu.texi: Regenerate.
3350 2009-07-06 Ben Elliston <bje@gnu.org>
3352 * configure.ac: Check for docbook2x-texi.
3353 * configure: Regenerate.
3355 2009-07-06 Ben Elliston <bje@gnu.org>
3357 From Reuben Thomas <rrt@sc3d.org>:
3358 * doc/runtest.1: Fix some formatting issues.
3360 2009-06-16 Ben Elliston <bje@gnu.org>
3362 * config.guess: Update to most recent version.
3363 * config.sub: Likewise.
3365 2009-06-16 Ben Elliston <bje@gnu.org>
3367 * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3368 * Makefile.in: Regenerate.
3369 * packaging: Remove directory and its contents.
3371 2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
3373 * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3376 2008-12-03 Ben Elliston <bje@gnu.org>
3378 * COPYING: Update to GPL version 3.
3380 2008-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3382 * doc/ref.xml, doc/user.xml: Fix typos.
3383 * doc/dejagnu.texi: Regenerate.
3385 2008-04-06 Daniel Jacobowitz <drow@false.org>
3387 * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3388 * Makefile.in: Regenerate.
3389 * dejagnu.exp (host_execute): Improve regexp matching.
3390 * testsuite/libdejagnu/unit.cc: C++ fixes.
3392 2008-04-06 Daniel Jacobowitz <drow@false.org>
3394 * lib/utils.exp (diff): Open both files as binary.
3396 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3398 * dejagnu.h (totals): Correct typos.
3400 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3402 * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3403 * doc/dejagnu.texi: Regenerate.
3405 2008-02-25 Ben Elliston <bje@gnu.org>
3407 * doc/runtest.1: Update date of last revision.
3409 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3411 * baseboards/h8300.exp: Use -- before switch argument that may
3413 * baseboards/cris-sim.exp: Ditto.
3415 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3417 * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3418 iq2000-sim.exp and m32r-linux-sim.exp.
3419 * Makefile.in: Regenerate.
3421 2008-02-08 Ben Elliston <bje@gnu.org>
3423 * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3425 2007-12-28 Joseph Myers <joseph@codesourcery.com>
3427 * lib/target.exp (default_link): Initialize nobjects before use.
3429 2007-12-06 Ben Elliston <bje@gnu.org>
3431 * lib/dg.exp (dg_bogus): Comment fix.
3433 2007-10-31 DJ Delorie <dj@redhat.com>
3435 * lib/framework.exp (open_logs): Line buffer the .sum file.
3437 2007-09-04 Matt Kraai <kraai@ftbfs.org>
3439 * doc/user.xml (Configuration): Fix typos.
3440 * doc/dejagnu.texi: Regenerate.
3442 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
3444 * lib/remote.exp (standard_send): Correct quoting.
3446 2007-05-17 Ben Elliston <bje@gnu.org>
3448 * doc/user.xml: Correct the syntax for running apt-get on a Debian
3449 GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
3451 2007-04-30 Bob Wilson <bob.wilson@acm.org>
3453 * baseboards/xtensa-sim.exp: Set target_install. Stop using
3454 basic-sim.exp. Run the simulator with --turbo option. Replace
3455 needs_status_wrapper with the simulator's --exit_with_target_code
3458 2006-10-15 Rob Savoye <rob@bertha.welcomehome.org>
3460 * dejagnu.h: Add support for for expected failures and
3461 unexpected successes.
3463 2005-05-06 Andrew Fyfe <a.fyfe@tiscali.co.uk>
3465 * doc/Makefile.am: Fix install path for man page.
3466 * Makefiles: Regenerated.
3468 2006-08-29 Ben Elliston <bje@gnu.org>
3470 * runtest.exp (usage): Use "triplet" instead of "config name".
3472 2006-07-13 Daniel Jacobowitz <dan@codesourcery.com>
3474 * Makefile.am (DOCBOOK2RTF): Fix typo.
3475 * Makefile.in: Regenerated.
3476 * lib/libgloss.exp (process_multilib_options): Use -- to handle
3477 options starting with hyphens.
3479 2006-06-23 Eric Botcazou <ebotcazou@adacore.com>
3481 * libgloss.exp (find_gnatmake): Rewrite.
3483 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
3485 * rsh.exp (rsh_exec): Handle inp and outp arguments. Use
3486 local_exec to run rsh. Return failure if rsh times out.
3487 * remote.exp (local_exec): Handle "|& cat" we added when deciding
3488 whether to return output.
3490 2006-06-09 Ben Elliston <bje@gnu.org>
3492 * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
3493 multiple cases, not a list (case uses lists, switch does not).
3494 Pass -glob to switch where applicable to emulate case behaviour.
3495 * baseboards/h8300.exp: Likewise.
3496 * lib/framework.exp (clone_output): Likewise.
3497 (clear_xfail): Likewise.
3498 (clear_kfail): Likewise.
3499 * lib/libgloss.exp (process_multilib_options): Likewise.
3500 * runtest.exp: Likewise.
3502 2006-06-06 Ben Elliston <bje@gnu.org>
3504 * Makefile.am (CONTRIB): New.
3505 (EXTRA_DIST): Add $(CONTRIB).
3506 (doc/dejagnu.texi): Set directory-category param to docbook2texi.
3507 * Makefile.in: Regenerate.
3508 * doc/dejagnu.texi: Likewise.
3510 2006-06-06 Ben Elliston <bje@gnu.org>
3512 * runtest.exp (load_lib): Typo fix.
3514 2006-06-06 Ben Elliston <bje@gnu.org>
3516 * dejagnu.h: Tidy comments.
3517 (_BUFFER_SIZE_): Remove to minimise namespace pollution.
3518 (wait): Define this function unconditionally. Conditionally
3519 compile the function body if _DEJAGNU_WAIT_ is defined.
3520 (buffer): Set the buffer size explicitly.
3521 (pass): Use sizeof (buffer). Call wait() unconditionally.
3522 (fail, untested, unresolved, note): Likewise.
3523 (enum teststate): Tidy whitespace.
3525 2006-06-06 Ben Elliston <bje@gnu.org>
3527 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
3528 * doc/dejagnu.texi: Regenerate.
3530 2006-06-06 Ben Elliston <bje@gnu.org>
3532 Import from GCC tree:
3533 2006-06-02 Richard Earnshaw <rearnsha@arm.com>
3534 Mike Stump <mrs@apple.com>
3536 * compare_tests: Handle multilibs better.
3538 2006-06-06 Ben Elliston <bje@gnu.org>
3540 * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
3542 * configure.ac: Check for docbook2texi, not docbook2x-texi. The
3543 wrapper script changed its name again in the latest release.
3544 * configure: Regenerate.
3545 * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
3546 (DOCBOOK2TEXI): .. to this.
3547 (doc/dejagnu.texi): Do not use output-file parameter to deposit
3548 the .texi file into the source directory; use mv(1) instead. Set
3549 directory-description parameter.
3550 * Makefile.in: Likewise.
3552 2006-06-02 Ben Elliston <bje@gnu.org>
3554 * config/sim.exp (sim_upload): Match up argument names.
3556 2006-06-02 Ben Elliston <bje@gnu.org>
3558 * config.guess: Update to most recent version.
3559 * config.sub: Likewise.
3561 2006-06-02 Ben Elliston <bje@gnu.org>
3563 * config/dos.exp (dos_open): Only run global board_info once at
3564 the beginning of the proc; remove duplicates.
3565 (dos_load): Use file join to separate path components.
3566 (dos_copy_upload): Likewise.
3567 * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
3570 2006-06-02 Ben Elliston <bje@gnu.org>
3572 * contrib/compare_tests: Import from the GCC contrib directory.
3574 2006-05-24 Ben Elliston <bje@gnu.org>
3576 * runtest.exp (verbose): Brace some expressions.
3577 (load_file, search_and_load_file): Likewise.
3578 (runtest): Likewise.
3580 2006-05-23 Ben Elliston <bje@gnu.org>
3582 * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
3583 * config/i960.exp (i960_spawn): Initialise status.
3584 * config/netware.exp (${board}_init): Brace some if expressions.
3585 * lib/dg.exp (dg-test): Brace some expressions.
3586 * lib/framework.exp (clone_output, log_and_exit, log_summary,
3587 record_test, pass, fail): Likewise.
3588 * lib/libgloss.exp (get_multilibs): Likewise.
3589 * lib/remote.exp (standard_transmit, unix_clean_filename,
3590 remote_load, check_for_board_status, remote_expect): Likewise.
3591 * lib/rsh.exp (rsh_exec): Likewise.
3593 2006-05-22 Ben Elliston <bje@gnu.org>
3595 * baseboards/cris-sim.exp: Use switch, not case.
3596 * baseboards/h8300.exp: Likewise.
3597 * config/base68k.exp (base68k_ld): Brace an if expression.
3599 2006-05-22 Ben Elliston <bje@gnu.org>
3601 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
3602 baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
3603 baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
3604 baseboards/mmixware-sim.exp, baseboards/op50n.exp,
3605 baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
3606 baseboards/usparc-cygmon.exp, config/base-config.exp,
3607 config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
3608 config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
3609 config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
3610 config/netware.exp, config/sid.exp, config/sim.exp,
3611 config/tic80.exp, config/unix.exp, config/vxworks.exp,
3612 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3613 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
3614 lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
3615 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
3616 expressions throughout.
3618 2006-05-22 Ben Elliston <bje@gnu.org>
3620 * lib/framework.exp (open_logs): Use file join where applicable.
3621 * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
3622 newlib_include_flags, g++_link_flags, libstdc++_link_flags,
3623 get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
3624 * lib/utils.exp (which): Likewise.
3625 * runtest.exp (search_and_load_file, lookfor_file,
3626 load_tool_init): Likewise.
3628 * lib/debugger.exp (watcharray): Add `array' parameter. Rename
3629 `type' parameter to `op' and update all uses in the proc.
3630 (watchvar): Add `ignore' parameter for scalar variables.
3631 Likewise, rename `type' to `op' and update throughout the proc.
3633 * runtest.exp: Use switch, not case.
3634 * lib/framework.exp (clone_output): Likewise.
3635 (clear_xfail): Likewise.
3636 (clear_kfail): Likewise.
3637 (set_warning_threshold): Make warning_threshold global.
3638 (get_warning_threshold): Likewise.
3639 * lib/libgloss.exp (process_multilib_options): Use switch, not
3641 * lib/remote.exp (local_exec): Only run global errorInfo once.
3642 (standard_upload): Fix error in variable use ($file -> $srcfile).
3643 * lib/utils.exp (grep): Use switch, not case.
3644 (slay): Fix mismatched bracket.
3646 * lib/debugger.exp (watcharray): Use switch, not case.
3647 (watchvar): Likewise.
3648 (bt): Add an explanatory comment.
3650 2006-04-03 Ben Elliston <bje@gnu.org>
3652 * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
3653 lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
3654 lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
3656 2006-01-02 Ben Elliston <bje@gnu.org>
3658 * configure.ac (AC_INIT): Set version to 1.4.99.
3659 * configure: Regenerate.
3661 2006-01-01 Ben Elliston <bje@gnu.org>
3663 * testsuite/runtest.all/utils.test: Add runtest_file_p.
3665 2006-01-01 Ben Elliston <bje@gnu.org>
3667 * runtest.exp (frame_version): Set to 1.4.99.
3669 2006-01-01 Ben Elliston <bje@gnu.org>
3671 * dejagnu.h: Update copyright notice. Use C-style /* .. */
3672 comments for portability with ISO C compilers.
3673 * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
3675 2006-01-01 Ben Elliston <bje@gnu.org>
3677 * runtest.exp: Update copyright notice.
3678 * example/calc/testsuite/calc.test/calc.exp: Likewise.
3679 * example/calc/testsuite/config/unix.exp: Likewise.
3680 * testsuite/libdejagnu/tunit.exp: Likewise.
3681 * testsuite/runtest.all/libs.exp: Likewise.
3682 * testsuite/runtest.all/options.exp: Likewise.
3683 * testsuite/runtest.all/stats-sub.exp: Likewise.
3684 * testsuite/runtest.all/stats.exp: Likewise.
3686 2006-01-01 Ben Elliston <bje@gnu.org>
3688 * config/default.exp, config/unix.exp, config/vxworks.exp,
3689 lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
3690 lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
3692 * dejagnu.h, testsuite/config/default.exp,
3693 testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
3694 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
3695 testsuite/runtest.all/options.exp,
3696 testsuite/runtest.all/stats-sub.exp,
3697 testsuite/runtest.all/stats.exp: Update copyright notice and FSF
3698 office address. Remove bug reporting address, as it is now
3699 maintained centrally in the README file.
3701 2005-12-31 Ben Elliston <bje@gnu.org>
3703 * testsuite/runtest.all/utils.test: Don't bother mentioning
3704 absolute, psource, prune and slay as untested procedures.
3706 2005-12-31 Ben Elliston <bje@gnu.org>
3708 * doc/ref.xml (Utility Procedures): Note that the following
3709 procedures are deprecated: absolute, psource, prune, slay.
3711 * doc/dejagnu.texi: Regenerate.
3713 2005-12-24 Ben Elliston <bje@gnu.org>
3715 * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
3716 case the command fails and zeroes the Texinfo source file. Move
3717 the output (if successful) by its default filename using mv(1).
3718 * Makefile.in: Regenerate.
3720 2005-12-24 Ben Elliston <bje@gnu.org>
3722 * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
3723 * configure: Regenerate.
3724 * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
3725 (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
3726 (dejagnu.pdf): Use $(DOCBOOK2PDF).
3727 (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
3728 (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
3729 (html): Likewise, use $(DOCBOOK2HTML).
3730 (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
3731 which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
3732 * Makefile.in: Regenerate.
3734 2005-12-24 Ben Elliston <bje@gnu.org>
3736 * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
3737 (XML): Remove $(srcdir) from each filename; VPATH suffices.
3738 (PACKAGING_METAFILES): Remove.
3739 * Makefile.in: Regenerate.
3741 2005-12-24 Ben Elliston <bje@gnu.org>
3745 2005-12-24 Ben Elliston <bje@gnu.org>
3749 2005-12-24 Ben Elliston <bje@gnu.org>
3751 * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
3754 2005-12-24 Ben Elliston <bje@gnu.org>
3756 * Makefile.am (RUNTEST): Simplify, as Automake already generates
3757 similar logic in Makefile.in.
3758 * Makefile.in: Regenerate.
3760 2005-12-24 Ben Elliston <bje@gnu.org>
3762 * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
3763 libdejagnu tests are run too.
3764 * Makefile.in: Regenerate.
3766 2005-12-24 Ben Elliston <bje@gnu.org>
3768 * configure: Regenerate.
3770 * lib/remote.exp: Tidy.
3771 * lib/targetdb.exp: Likewise.
3772 * lib/target.exp (prune_warnings): Improve comments.
3773 * lib/dejagnu.exp: Likewise.
3774 * lib/utils.exp: Likewise.
3778 2005-12-24 Ben Elliston <bje@gnu.org>
3780 * doc/dejagnu.xml: Don't use apostrophes in section titles.
3781 * doc/dejagnu.texi: Regenerate.
3783 2005-12-24 Ben Elliston <bje@gnu.org>
3785 * Makefile.am (XML): Include $(srcdir) in filenames.
3786 * Makefile.in: Regenerate.
3788 2005-12-24 Ben Elliston <bje@gnu.org>
3790 * doc/C/Makefile.am: Remove.
3791 * doc/C/Makefile.in: Likewise.
3793 * Makefile.am (SUBDIRS): Remove.
3794 (EXTRA_DIST): Append $(XML).
3795 (dist_man_MANS): Define.
3796 (info_TEXINFOS): Likewise.
3797 (XML): List XML source files.
3798 (dejagnu.pdf): New target.
3799 (dejagnu.ps): Likewise.
3800 (dejagnu.rtf): Likewise.
3802 (dejagnu.texi): Special rule to build Texinfo source.
3803 * Makefile.in: Regenerate.
3804 * configure.ac: Don't search for docbook2dvi.
3805 Search for docbook2rtf and docbook2pdf.
3806 Don't output doc/Makefile or doc/C/Makefile.
3807 * configure: Regenerate.
3808 * doc/texinfo.tex: Move from here ..
3809 * texinfo.tex: .. to here.
3810 * doc/Makefile.am: Remove.
3811 * doc/Makefile.in: Likewise.
3812 * doc/C/dejagnu.omf: Likewise.
3813 * doc/C/topic.dat: Likewise.
3814 * doc/C/dejagnu.xml: Move from here ..
3815 * doc/dejagnu.xml: .. to here.
3816 * doc/C/legal.xml: Move from here ..
3817 * doc/legal.xml: .. to here.
3818 * doc/C/ref.xml: Move from here ..
3819 * doc/ref.xml: .. to here.
3820 * doc/C/user.xml: Move from here ..
3821 * doc/user.xml: .. to here.
3822 * doc/dejagnu.texi: Rebuild from XML source.
3824 2005-12-23 Ben Elliston <bje@gnu.org>
3826 * doc/runtest.1: Update manual page.
3828 2005-12-23 Ben Elliston <bje@gnu.org>
3830 * doc/overview.sgml: Remove in favour of XML versions.
3831 * doc/ref.sgml: Ditto.
3832 * doc/user.sgml: Ditto.
3833 * doc/texinfo.tex: Import new version.
3835 2005-12-20 Ben Elliston <bje@gnu.org>
3837 * Makefile.am (SUBDIRS): Remove testsuite, example.
3838 (EXTRA_DIST): Add $(TESTSUITE_FILES).
3839 (TESTSUITE_FILES): New.
3840 (RUNTEST, RUNTESTDEFAULTFLAGS): New.
3842 (check_PROGRAMS): New.
3843 (unit_SOURCES): New.
3844 * Makefile.in: Regenerate.
3845 * configure.ac (AC_OUTPUT): Don't output example/Makefile,
3846 testsuite/Makefile or testsuite/libdejagnu/Makefile.
3847 * configure: Regenerate.
3848 * testsuite/Makefile.am: Remove.
3849 * testsuite/Makefile.in: Likewise.
3850 * testsuite/libdejagnu/Makefile.am: Likewise.
3851 * testsuite/libdejagnu/Makefile.in: Likewise.
3853 2005-12-20 Ben Elliston <bje@gnu.org>
3855 * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
3856 * Makefile.in: Regenerate.
3858 2005-12-20 Ben Elliston <bje@gnu.org>
3860 * configure: Regenerate with autoconf 2.59.
3861 * aclocal.m4: Regenerate with aclocal 1.9.6.
3862 * Makefile.in: Regenerate with automake 1.9.6.
3863 * doc/Makefile.in: Likewise.
3864 * doc/C/Makefile.in: Likewise.
3865 * example/Makefile.in: Likewise.
3866 * testsuite/Makefile.in: Likewise.
3867 * testsuite/libdejagnu/Makefile.in: Likewise.
3869 2005-12-20 Nathan Sidwell <nathan@codesourcery.com>
3871 * baseboards/ms1-sid.exp: Rename from this ..
3872 * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
3874 2005-12-20 Ben Elliston <bje@gnu.org>
3876 * config.guess: Update to most recent version.
3877 * config.sub: Likewise.
3879 2005-09-24 Ben Elliston <bje@gnu.org>
3881 * packaging/pkg/pkginfo (EMAIL): Update mail address.
3883 * lib/rsh.exp: Tidy comments.
3885 2005-07-07 Ben Elliston <bje@gnu.org>
3887 * lib/telnet.exp (telnet_transmit): Remove; use standard method.
3889 2005-07-07 Ben Elliston <bje@gnu.org>
3891 * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
3892 * Makefile.in: Regenerate.
3894 2005-07-06 Ben Elliston <bje@gnu.org>
3896 * lib/tip.exp (tip_open): Improve comments.
3897 (tip_download): Likewise.
3899 2005-07-06 Ben Elliston <bje@gnu.org>
3901 * lib/telnet.exp (telnet_open): Improve option handling. Clarify
3902 documentation for each proc.
3904 2005-07-06 Ben Elliston <bje@gnu.org>
3906 * aclocal.m4: Regenerate with aclocal 1.9.
3907 * configure: Regenerate with autoconf 2.59.
3908 * doc/C/Makefile.am: Remove stray include.
3909 * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
3910 example/Makefile.in, testsuite/Makefile.in,
3911 testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
3913 2005-07-06 Ben Elliston <bje@gnu.org>
3915 Import some missing hunks from this patch on sourceware:
3917 2004-11-11 Nick Clifton <nickc@redhat.com>
3919 * lib/libgloss.exp (libio_include_flags, g++_include_flags,
3920 winsup_include_flags): Revert previous patch, restoring the use of
3921 -I, for all libraries except newlib. Newlib needs -isystem to
3922 avoid the problems with <limits.h> but the C++ and winsup
3923 libraries need -I because -isystem generates an implicit 'extern
3924 "C"' which may not be appropriate for certain targets.
3926 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3928 * baseboards/ms1-sid.exp: New.
3930 2005-07-01 Ben Elliston <bje@gnu.org>
3932 Unify some changes with the 1.4 branch:
3934 2004-10-28 Nick Clifton <nickc@redhat.com>
3935 * baseboards/iq2000-sim.exp: New file.
3937 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
3938 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
3941 2004-05-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3942 * baseboards/m32r-linux-sim.exp: Add New file.
3944 2005-06-24 Ben Elliston <bje@gnu.org>
3946 * MAINTAINERS: Update my email address.
3948 2005-06-24 Ben Elliston <bje@gnu.org>
3950 * Update the FSF's physical address throughout.
3952 2005-06-22 Ben Elliston <bje@gnu.org>
3954 * config.guess: Update to most recent version.
3955 * config.sub: Likewise.
3957 2005-04-28 Mark Kettenis <kettenis@gnu.org>
3959 * lib/target.exp (prune_warnings): Add a few more linker
3960 warning patterns for OpenBSD.
3962 2005-03-20 Mark Kettenis <kettenis@gnu.org>
3964 * lib/target.exp (prune_warnings): Add linker warning patterns for
3967 2005-01-29 Hans-Peter Nilsson <hp@axis.com>
3969 * baseboards/cris-sim.exp: New file.
3971 2004-11-19 Nick Clifton <nickc@redhat.com>
3973 * lib/libgloss.exp (newlib_include_flags): Document why -isystem
3974 is used instead of -I.
3975 (libio_include_flags): Use -I instead of -isystem and
3977 (g++_include_flags): Use -I instead of -isystem.
3978 (libstdc++_include_flags): Likewise.
3980 2004-11-04 Ben Elliston <bje@gnu.org>
3982 * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
3983 mark the test as unresolved, rather than warning.
3985 2004-10-27 Nick Clifton <nickc@redhat.com>
3987 * baseboards/iq2000-sim.exp: New file.
3989 2004-08-20 Daniel Jacobowitz <dan@debian.org>
3991 * testglue.c: Prototype abort(3) and exit(3).
3993 2004-08-14 Paul Brook <paul@codesourcery.com>
3995 * config/sim.exp (sim_download, sim_upload): New procs.
3997 2004-06-30 Ben Elliston <bje@gnu.org>
3999 * config.guess: Update to current revision.
4000 * config.sub: Likewise.
4002 2004-06-12 Ben Elliston <bje@gnu.org>
4004 * config.guess: Update to current revision.
4005 * config.sub: Likewise.
4007 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4009 * testglue.c: Prototype abort and exit.
4011 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4013 * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4016 Tue Feb 25 05:19:57 UTC 2003 Brendan Conoboy <blc@@redhat.com>
4018 * lib/remote.exp (call_remote): Remove multilibs from the board
4019 name when rebooting a board.
4021 2004-06-03 Alexandre Oliva <aoliva@redhat.com>
4023 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4026 2004-06-07 Ben Elliston <bje@gnu.org>
4028 * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4030 2004-03-29 Joel Brobecker <brobecker@gnat.com>
4032 * lib/libgloss.exp (find_gnatmake): New procedure.
4033 * lib/target.exp (default_target_compile): Add support for Ada.
4035 2004-04-16 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
4037 * baseboards/m32r-linux-sim.exp: Add New file.
4039 2004-04-02 Rob Savoye <rob@direwolf.welcomehome.org>
4041 * configure.ac, example/Makefile.am: Add example/mathhelper.
4042 * configure, alocal.m4, example/Makefile.in: Regenerated.
4044 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4046 * example/mathhelper: New example for using the unit testing API.
4048 2004-03-05 Daniel Jacobowitz <drow@mvista.com>
4050 * lib/remote.exp (standard_spawn): Fix rsh username support.
4052 2004-03-06 Rob Savoye <rob@althea.welcomehome.org>
4054 * doc/C: New directory for DocBook XML files.
4055 * doc/C/dejagnu.omf: New config file for scrollkeeper.
4056 * doc/C/topic.dat: New config file for the GNOME help system.
4057 * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4059 * doc/C/ref.xml: DocBook XML formatted verion of what was
4061 * doc/C/user.xml: DocBook XML formatted verion of what was
4064 2004-02-17 Ben Elliston <bje@wasabisystems.com>
4066 * runtest.exp: Do not trap SIGSEGV.
4068 2004-02-16 Ben Elliston <bje@wasabisystems.com>
4070 * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4071 * configure: Regenerate.
4073 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4075 * doc/runtest.1: Improve some wording. Update last revision date.
4077 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4079 * NEWS: Document yesterday's work.
4081 * runtest: Improve comments.
4083 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4087 * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4089 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4091 * configure.ac: Quote strings throughout in good Autoconf style.
4092 Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4093 expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4094 existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4095 is at version 8.3 or greater.
4096 * configure: Regenerate.
4097 * acinclude.m4: Remove.
4098 * aclocal.m4: Regenerate.
4099 * Makefile.in: Likewise.
4100 * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4101 (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4102 (%.html: %.sgml): Use $(DOCBOOK2HTML).
4103 * doc/Makefile.in: Regenerate.
4104 * example/Makefile.in: Likewise.
4105 * testsuite/Makefile.in: Likewise.
4106 * testsuite/libdejagnu/Makefile.in: Likewise.
4109 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4111 * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4112 * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4113 baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4114 baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4115 baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4116 baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4117 baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4118 baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4119 baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4120 baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4121 baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4122 baseboards/vr5000-ddb.exp: Likewise.
4124 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4126 * runtest: Terminate with an error if expect cannot be found.
4129 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4131 * configure.ac: Use AC_PATH_PROG to find expect(1).
4132 (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4133 * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4134 (DJ_AC_STL): Likewise.
4135 * configure: Regenerate.
4136 * aclocal.m4: Likewise.
4137 * configure: Likewise.
4138 * Makefile.in: Likewise.
4139 * doc/Makefile.in: Likewise.
4140 * example/Makefile.in: Likewise.
4141 * testsuite/Makefile.in: Likewise.
4142 * testsuite/libdejagnu/Makefile.in: Likewise.
4145 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4147 * runtest.1: Remove any mention of mondfe.
4149 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4151 * TODO: Add an item about timeouts.
4153 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4155 * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4157 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4159 * lib/standard.exp: Tidy.
4161 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4163 * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4164 (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4165 (baseboard_SCRIPTS): Remove a29k-udi.exp.
4166 * Makefile.in: Regenerate.
4167 * baseboards/a29k-udi.exp: Remove.
4168 * baseboards/dos.exp: Update comments.
4169 * config/udi.exp: Remove.
4170 * config/vrtx.exp: Remove.
4171 * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4172 * doc/ref.sgml: Likewise.
4173 * doc/user.sgml: Likewise.
4174 * lib/mondfe.exp: Remove.
4175 * lib/xsh.exp: Likewise.
4176 * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4177 * packaging/pkg/prototype: Update.
4180 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4182 * Makefile.am (rpmspec): Remove.
4183 (rpm): Additionally depend on dejagnu.spec.
4184 ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4185 directory. This saves duplicated code in the solpkg and hpdepot
4187 (solpkg): Depend on $(PKGDIR)/dejagnu.
4188 (hpdepot): Likewise.
4189 * Makefile.in: Regenerate.
4191 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4193 * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4194 * Makefile.in: Regenerate.
4195 * testsuite/Makefile.am (CLEANFILES): Remove.
4196 (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4197 * testsuite/Makefile.in: Regenerate.
4199 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4201 * lib/util-defs.exp: Move from here ..
4202 * testsuite/lib/util-defs.exp: .. to here.
4203 * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4204 * Makefile.in: Regenerate.
4205 * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4206 * testsuite/Makefile.in: Regenerate.
4207 * doc/ref.sgml (File Map): Remove util-defs.exp.
4208 * packaging/pkg/prototype: Update file list.
4210 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4212 * NEWS: Document changes since 1.4.4.
4214 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4216 * example/Makefile.am (check-recursive): Remove target.
4217 * example/Makefile.in: Regenerate.
4219 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4221 * dejagnu.h: Conform with GNU coding standard.
4223 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4225 * Makefile.am (PKGING): Remove.
4226 (PACKAGING_METAFILES): Update accordingly.
4227 (CLEANFILES, check-DEJAGNU): Remove.
4228 (tarball): Remove; use `dist'.
4229 (deb): Update target recipe to use `make dist'.
4231 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4233 * Clean.tcl: Remove.
4235 * Makefile.am (SUBDIRS): Add testsuite, example directories.
4236 (EXTRA_DIST): Define.
4237 (pkgdata_SCRIPTS): Add lib/*.exp files.
4238 (DATE, TCLSH): Remove.
4239 (configdir, config_DATA, config_SCRIPTS): Define.
4240 (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4241 (pkgdata_DATA): Likewise.
4242 (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4243 (PKGING, PACKAGING_METAFILES): New macros.
4244 (clean-local): Remove.
4245 (rpm): Depend on dist.
4247 (dist-hook): Remove.
4248 (lib_dest, lib_files): Likewise.
4249 (baseboard_dest, baseboard_files): Likewise.
4250 (include_dest, config_dest, config_files): Likewise.
4251 (install-data-local): Likewise.
4252 (uninstall-local): Likewise.
4253 (site.exp): Likewise.
4254 * Makefile.in: Regenerate.
4256 * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4258 (EXTRA_DIST): Define.
4259 (site.exp): Remove target.
4260 * testsuite/Makefile.in: Regenerate.
4261 * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4262 (noinst_PROGRAMS): Rename from this ..
4263 (check_PROGRAMS): .. to this.
4264 * testsuite/libdejagnu/Makefile.in: Regenerate.
4266 * doc/Makefile.am (man_MANS): Rename from this ..
4267 (dist_man_MANS): .. to this.
4268 (info_TEXINFOS): Define.
4269 (TARGETS): Remove overview.rtf.
4270 (EXTRA_DIST): Define.
4271 (%.rtf: %.sgml): Remove rule.
4272 (%.gif: %.fig): Likewise.
4273 (%.epsi: %.eps): Likewise.
4274 (%.eps: %.fig): Likewise.
4275 (clean, realclean, distclean): Remove.
4276 (install-docs): Don't install overview.rtf.
4277 * doc/Makefile.in: Regenerate.
4278 * doc/texinfo.tex: New file.
4280 * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4281 (check_PROGRAMS): .. to this.
4282 (EXTRA_DIST): Add test cases and calc.1 man page.
4283 * example/calc/Makefile.in: Regenerate.
4284 * example/calc/aclocal.m4: Likewise.
4285 * example/calc/configure: Likewise.
4286 * example/calc/stamp-h.in: Remove.
4287 * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4288 (check_PROGRAMS): .. to this.
4289 (EXTRA_DIST): Define.
4290 * example/hello/Makefile.in: Regenerate.
4291 * example/hello/aclocal.m4: Likewise.
4292 * example/hello/configure: Likewise.
4293 * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4294 * example/hello/testsuite/Makefile.in: Regenerate.
4296 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4298 * configure.ac: Remove commented out code.
4299 * configure: Regenerate.
4301 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4305 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4307 * INSTALL: Import latest version.
4308 * depcomp: Likewise.
4309 * install-sh: Likewise.
4310 * missing: Likewise.
4312 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4314 * configure.in: Rename from this ..
4315 * configure.ac: .. to this. Require Autoconf 2.50.
4316 * Makefile.in: Regenerate.
4317 * doc/Makefile.in: Likewise.
4318 * example/Makefile.in: Likewise.
4319 * testsuite/Makefile.in: Likewise.
4320 * testsuite/libdejagnu/Makefile.in: Likewise.
4322 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4324 * lib/target.exp (prune_warnings): Add spaces where required in
4325 NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
4327 2004-02-05 Ben Elliston <bje@wasabisystems.com>
4329 * config.guess: Update to current revision.
4330 * config.sub: Likewise.
4332 2004-02-04 Ben Elliston <bje@wasabisystems.com>
4334 * configure.in (AC_NO_EXECUTABLES): Remove.
4335 * configure: Rebuild with Autoconf 2.59.
4336 * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4337 (DJ_AC_PATH_TCLSH): Likewise.
4338 (DJ_AC_PATH_DOCBOOK): Likewise.
4339 * aclocal.m4: Rebuild.
4340 * Makefile.in: Rebuild with Automake 1.8.2.
4341 * doc/Makefile.in: Likewise.
4342 * example/Makefile.in: Likewise.
4343 * testsuite/Makefile.in: Likewise.
4344 * testsuite/libdejagnu/Makefile.in: Likewise.
4346 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4348 Import orphaned patches from sources.redhat.com:
4350 2002-05-02 Fernando Nasser <fnasser@redhat.com>
4351 * doc/dejagnu.texi: Document KFAIL and KPASS.
4353 2002-02-20 Richard Henderson <rth@redhat.com>
4354 * lib/target.exp (prune_warnings): Revert early "In function"
4355 strip, as this breaks g++.dg tests. Match dangerous regexp
4356 without the "In function" header.
4358 2002-02-09 Richard Henderson <rth@redhat.com>
4359 * lib/target.exp (prune_warnings): Strip "In function" etc early.
4360 Adjust "dangerous" regexp for glibc's tmpnam warning.
4362 2001-09-10 Jim Blandy <jimb@redhat.com>
4363 * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4364 so we get the version of the `outbyte' function that does console
4365 output in a way that GDB's rom68k target recognizes. Note that
4366 the board can now do output.
4368 2000-04-25 Felix Lee <flee@cygnus.com>
4369 * baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete
4370 misleading comments and null statements.
4372 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4374 * DejaGnu 1.4.4 released.
4376 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4378 * Makefile.am (tarball): Depend on book1.html, not overview.html.
4379 Don't echo needless messages. Portably copy the source tree to
4380 dejagnu-${VERSION}. Portably copy documentation files from the
4381 source tree to the distribution directory. Don't copy RPM-related
4382 files -- leave that to the rpm target.
4383 (snapshot): Remove target.
4384 (overview.html): Rename target from this ..
4385 (book1.htm): .. to this.
4386 (rpm): Portably copy tar file to SOURCES directory.
4387 (deb): Depend on book1.html, not overview.html.
4388 (dist-hook): Depend on book1.html, not overview.html.
4389 * Makefile.in: Rebuild.
4390 * doc/Makefile.am (TARGETS): Depend on book1.html.
4391 (book1.html): Depend on html/book1.html.
4392 (overview.dvi): Remove target.
4393 * doc/Makefile.in: Rebuild.
4395 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4397 * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4398 (cleanfiles): Concatenate regular filenames that match .*.
4400 2004-01-12 Ben Elliston <bje@wasabisystems.com>
4402 * baseboards/frv-sim.exp: Remove reference to devo/sim.
4404 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4406 * doc/overview: Remove all files.
4408 2003-12-03 Ben Elliston <bje@wasabisystems.com>
4410 * testsuite/runtest.all/utils.test: Fix a test for proc find which
4411 assumed that "subsubfile1" would appear at the end of the returned
4412 list. Adjust to use a more robust regular expression.
4414 2003-11-26 Ben Elliston <bje@wasabisystems.com>
4416 * doc/overview.sgml (version): Update.
4417 * doc/overview/installation.html: Likewise.
4419 * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4420 * packaging/pkg/pkginfo: Likewise.
4421 * packaging/depot/dejagnu.psf: Likewise.
4423 2003-10-25 Ben Elliston <bje@wasabisystems.com>
4425 * runtest.exp (frame_version): Bump version.
4426 * configure.in (AM_INIT_AUTOMAKE): Likewise.
4427 * configure: Regenerate.
4429 2003-10-16 Rob Savoye <rob@welcomehome.org>
4431 * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4433 2003-10-13 Ben Elliston <bje@wasabisystems.com>
4435 * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4437 2003-10-11 Corinna Vinschen <vinschen@redhat.com>
4439 * baseboards/sh-sim.exp: New file.
4441 2003-10-11 Ben Elliston <bje@wasabisystems.com>
4444 * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
4446 2003-10-08 Ben Elliston <bje@wasabisystems.com>
4448 * i960glue.c: Remove.
4449 * packaging/pkg/prototype: Remove i960glue.c.
4451 2003-10-07 Ben Elliston <bje@wasabisystems.com>
4453 * contrib/README: Remove.
4454 * contrib/testit: Remove bitrotten script.
4455 * contrib/test-g++: Likewise.
4456 * contrib/test-tool: Likewise.
4458 2003-08-23 Ben Elliston <bje@wasabisystems.com>
4461 * contrib/README: Bring up to date.
4463 2003-08-23 Corinna Vinschen <vinschen@redhat.com>
4465 * config/sid.exp: Add gdb settings to use no hardware watchpoints.
4467 2003-08-23 Ben Elliston <bje@wasabisystems.com>
4469 * README: Update section on reporting bugs.
4471 2003-08-22 Ben Elliston <bje@wasabisystems.com>
4473 * lib/kermit.exp: Document procs.
4474 * lib/ftp.exp: Likewise.
4476 2003-08-19 Ben Elliston <bje@wasabisystems.com>
4478 * contrib/testit: Run wish via /usr/bin/env for portability.
4480 2003-08-18 Ben Elliston <bje@wasabisystems.com>
4482 * Makefile.am: Tidy comments and unused command lines.
4483 * Makefile.in: Regenerate.
4484 * testsuite/libdejagnu/Makefile.in: Likewise.
4486 * contrib/bluegnu2.0.3: Remove unsupported subtree.
4488 2003-08-18 Ben Elliston <bje@wasabisystems.com>
4490 * MAINTAINERS: New file.
4492 2003-08-17 Ben Elliston <bje@wasabisystems.com>
4494 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
4495 * doc/Makefile.in: Regenerate.
4497 2003-08-16 Ben Elliston <bje@wasabisystems.com>
4499 * doc/overview.sgml (overview): Start overhauling chapter.
4501 * doc/README.Writers: New document on style conventions.
4502 * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
4503 * doc/user.sgml: Likewise.
4504 * doc/overview.sgml: Likewise.
4505 * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
4507 2003-08-12 Ben Elliston <bje@wasabisystems.com>
4509 * Makefile.am (tarball): Update path to dejagnu.spec.
4510 (rpmspec): Likewise.
4511 (deb): Likewise, update path to package metafiles.
4513 (hpdepot): Likewise.
4514 * Makefile.in: Regenerate.
4515 * aclocal.m4: Likewise.
4516 * configure: Likewise.
4517 * doc/Makefile.in: Likewise.
4518 * example/Makefile.in: Likewise.
4519 * testsuite/Makefile.in: Likewise.
4520 * deb: Move from here ..
4521 * packaging/deb: .. to here.
4522 * redhat: Move from here ..
4523 * packaging/rpm: .. to here.
4524 * depot: Move from here ..
4525 * packaging/depot: .. to here.
4526 * pkg: Move from here ..
4527 * packaging/pkg: .. to here.
4529 * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
4530 (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
4531 * testsuite/libdejagnu/Makefile.in: Regenerate.
4533 2003-08-07 Ben Elliston <bje@wasabisystems.com>
4535 * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
4536 to increment count rather than count++ as in C.
4538 2003-08-06 Ben Elliston <bje@wasabisystems.com>
4540 * lib/remote.exp: Replace "TCL" with "Tcl".
4542 2003-07-30 Ben Elliston <bje@wasabisystems.com>
4544 * doc/runtest.1: Replace "TCL" with "Tcl".
4545 Make last revision date current.
4547 2003-07-29 Ben Elliston <bje@wasabisystems.com>
4549 * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
4550 URLs and other stylistic improvements.
4551 * doc/ref.sgml: Likewise.
4552 * doc/user.sgml: Likewise.
4554 2003-07-25 Mike Stump <mrs@apple.com>
4556 * lib/target.exp (prune_warnings): Handle "nfs server .* not
4557 responding" and "nfs server .* is alive again".
4559 2003-07-20 Ben Elliston <bje@wasabisystems.com>
4561 * config.guess: Update to most recent version.
4562 * config.sub: Ditto.
4563 * AUTHORS: Add self to list of maintainers.
4565 2003-07-25 Jim Dein <jdein@deinji5.apple.com> (RIP)
4567 * lib/utils.exp (find): Fix double recursion bug.
4569 2002-02-25 Jackie Smith Cashion <jsmith@redhat.com>
4571 * baseboards/am33_2.0-libremote.exp: New file.
4573 2000-11-21 Drew Moseley <dmoseley@redhat.com>
4575 * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
4578 2000-08-10 Drew Moseley <dmoseley@cygnus.com>
4580 * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
4583 2003-06-13 Phil Edwards <pme@devphil.com>
4585 * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
4586 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
4587 only -T[linker] instead of -Wl,-T[linker].
4589 2003-06-13 Jason Thorpe <thorpej@wasabisystems.com>
4591 * lib/target.exp (prune_warnings): Add two more linker
4592 warning patterns for warnings generated by modern verions
4595 2003-05-12 H.J. Lu <hongjiu.lu@intel.com>
4597 * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
4599 2003-05-09 H.J. Lu <hongjiu.lu@intel.com>
4601 * runtest: Fix a typo.
4603 2003-05-03 Nitin Dhavale <nitinpdhavale@indiatimes.com>
4605 * doc/user.sgml: Clarify how to set the verbose option.
4607 2003-03-28 Chris Demetriou <cgd@broadcom.com>
4609 * lib/framework.exp (check_conditional_xfail): Adjust so that
4610 an empty 'includes' list matches all sets of flags.
4611 * doc/dejagnu.texi: Document the above.
4612 * doc/ref.sgml: Likewise.
4614 2003-03-27 David Heine <dlheine@tensilica.com>
4616 * baseboards/xtensa-sim.exp: Fix a syntax error.
4618 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org>
4620 * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
4621 than stomp on it. This is based on a patch from Brendan Conoboy
4623 * Most files: Update copyright dates.
4625 2003-03-13 Mike Stump <mrs@apple.com>
4627 * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
4628 help ensure uniqueness.
4630 2003-03-05 Alexandre Oliva <aoliva@redhat.com>
4632 * lib/remote.exp (standard_download, standard_upload): Support
4633 nfsdir and nfsroot_server.
4635 See ChangeLog-1992 for earlier changes.