2021-03-15 Jacob Bachmeyer * Makefile.am, Makefile.in: Update accordingly. * contrib/compare_tests: Remove. This file lacked a GPL notice. This file was imported from GCC many years ago. The GCC version has benefited from continued development, while ours has not. * testsuite/runtest.libs/load_lib.exp: Remove. This file lacked a GPL notice and an attempt to contact the contributor produced no response. The tests in this file will need to be rewritten in any case; there is a bug in load_lib that they should expose and there is now additional infrastructure for tests of this type that was not available when this file was written. 2020-12-27 Jacob Bachmeyer * testsuite/runtest.libs/libs.exp (process_test): Report running test scripts as each test script is run. Also, at top-level, sort the list of tests to run. * doc/dejagnu.texi (testsuite procedure): Remove noise word "api" from new "testsuite can call api" feature test API entrypoint. * lib/framework.exp (testsuite_can): Likewise. * testsuite/runtest.libs/testsuite_can.test: Likewise. * NEWS: Likewise. 2020-12-16 Jacob Bachmeyer * configure: Regenerate. * configure.ac: Remove Tcl version check. Apply patch from Nick Clifton: * baseboards/msp430-sim.exp: Add missing copyright and GPL notice. Apply patch from Dimitar Dimitrov: * baseboards/pru-sim.exp: New file. * Makefile.am (baseboard_DATA): Add pru-sim.exp to list. * Makefile.in (baseboard_DATA): Likewise. 2020-12-15 Jacob Bachmeyer * configure: Regenerate. * Makefile.in: Regenerate. * Makefile.am (RUNTEST): Explain override of Automake default. * configure.ac: Update for autoconf 2.69 using autoupdate. * configure.ac: Remove search for expect now handled by Automake. Apply patch from Dimitar Dimitrov: * Makefile.am (dejagnu_TEXINFOS): Change this... * Makefile.am (doc_dejagnu_TEXINFOS): ...to this. This fixes an incorrectly recorded dependency. 2020-11-17 Jacob Bachmeyer PR44636 / PR44693 * doc/dejagnu.texi (Adding a new tool): Fix incorrect description that conflated the tool init file with the target interface file. (Make Check): Add cross-reference to the GNU Automake manual for more details. 2020-11-10 Jacob Bachmeyer PR44545 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item): Use [file normalize] to ensure that link targets are unambiguous. (link_dejagnu_launcher_test_item): Avoid spurious errors when test environment has already been prepared in a previous run. * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item): New procedure to collect existing repeated testsuite code. * testsuite/launcher.all/command.exp: Establish testing environment using link_dejagnu_launcher_test_item procedure. 2020-11-09 Jacob Bachmeyer * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * configure.ac: Revert development version branch tagging hook. * Makefile.am: Likewise. These caused failures (reported in PR44462 as a secondary issue) when a source tree is copied out of a Git directory. 2020-08-31 Jacob Bachmeyer * doc/runtest.1: Add brief GFDL notice. License notice in the formatted manpage should now describe DejaGnu as a whole. * NEWS: Prepare for release. 2020-08-18 Jacob Bachmeyer * testsuite/runtest.libs/testsuite_file.test: Add missing copyright and GPL notice. * testsuite/runtest.libs/testsuite_can.test: Likewise. * testsuite/runtest.libs/testcase_group.test: Likewise. 2020-08-12 Jacob Bachmeyer * doc/dejagnu.texi (The dejagnu_h header file): Remove node. (Running unit tests): Add node. (DejaGnu unit test protocol): Add node. (C unit testing API): Update to reflect current API. Move mention of dejagnu.h header here in preparation for future expanded language support. (C++ unit testing API): Likewise. Mention caveat that the C unit test API is also available in C++ programs. 2020-08-10 Jacob Bachmeyer * baseboards/qemu.exp: Tidy whitespace. 2020-08-10 Jacob Bachmeyer Merge patch from Kito Cheng to add support for RISC-V sim target. * baseboards/riscv-sim.exp: New file. * Makefile.am (baseboard_DATA): Add riscv-sim.exp. * Makefile.in (baseboard_DATA): Likewise. 2020-08-02 Jacob Bachmeyer * Makefile.am (TESTSUITE_FILES): Add files that were introduced during development but were mistakenly not added at that time. (baseboard_DATA): Sort baseboard file list. (baseboard_DATA): Add missing files. (dejagnu_TEXINFOS): New; add GNU FDL file. (CONTRIB): Add experimental Python unit test module. * Makefile.in (TESTSUITE_FILES): Likewise. (baseboard_DATA): Likewise. * testsuite/dejagnu.py: Move from here... * contrib/dejagnu.py: ...to here. 2020-08-02 Rob Savoye * Makefile.in: Regenerate so make dist works. 2020-07-25 Jacob Bachmeyer * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu procedure "perror" instead of the Tcl command "error". (Writing a test case): Reorganize node and give basic hints about Tcl quoting and backslash escape rules. (Writing a test case): Describe synchronization issues and warn that prefixes of valid input can be presented for matching. (Writing a test case): Fix markup from conversion from DocBook. 2020-07-22 Jacob Bachmeyer PR42399 * NEWS: Document changes to host_execute. * lib/dejagnu.exp (host_execute): Revise expect matching to combine all unit test protocol lines into one pattern. (host_execute): Rework other expect patterns. (host_execute): Ensure that all output from child process is read until the child closes its output to avoid sending early SIGPIPE. (host_execute): Report an ERROR (and cause the next test to be recorded as UNRESOLVED) if the Expect matching buffer overflows. (host_execute): Remove dependency on global "text" variable. * Makefile.am (TESTSUITE_FILES): Update. * testsuite/runtest.main/stats.exp: Generalize infrastructure and add tests for DejaGnu unit testing support. * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp: New file. * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk: New file. 2020-07-20 Jacob Bachmeyer PR42399 * Makefile.am (TESTSUITE_FILES): Update. * lib/dejagnu.exp (host_execute): Allow the executable to be specified with an absolute file name. (host_execute): Fix argument handling to allow passing more than one argument to the executable. Return early if given no arguments at all instead of trying to execute "./". * testsuite/runtest.main/pr42399.exp: New file. * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk: New file. * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp: New file. 2020-07-20 Jacob Bachmeyer * Makefile.am (CLEANFILES): Update. (TESTSUITE_FILES): Update to reflect testsuite reorganization. * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New procedure. (runtest_cleanup_nested_testsuite): New procedure. * testsuite/runtest.main/error.exp: Use the tool name "error" to select the proper subset of the nested testsuite. Use new procedures for handling nested testsuite. Use common nested-init.exp local init file for nested testsuite. Let local init file nested-init.exp handle setting "outdir" variable. * testsuite/runtest.main/options.exp: Likewise; "null" tool. * testsuite/runtest.main/stats.exp: Likewise; "stat" tool. * testsuite/runtest.main/nested/: Combine nested testsuites. * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp: Move from here... * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp: ...to here. * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp: Move from here... * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp: ...to here. * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp: Move from here... * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp: ...to here. * testsuite/runtest.main/error/testsuite/error.test/simple.exp: Move from here... * testsuite/runtest.main/nested/testsuite/error.test/simple.exp: ...to here. * testsuite/runtest.main/options/testsuite/null.test/null.exp: Move from here... * testsuite/runtest.main/nested/testsuite/null.test/null.exp: ...to here. * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp: Move from here... * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp: ...to here. 2020-07-16 Rob Savoye * baseboards/qemu.exp: Works now with qemu instead of sim. 2020-07-06 Rob Savoye * baseboards/qemu.exp: Initial working support to use qemu for bare metal testing. * Makefile.am: Install qemu.exp. * autogen.sh: Add script borrowed from my Gnash project to regenerate configure/build files. * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too. * doc/dejagnu.texi: Update copyright date. 2020-06-29 Jacob Bachmeyer PR 41824 / PR 41918 * NEWS: Add item for repeated error messages. * lib/framework.exp (log_and_exit): Add separator lines around the error dumps repeated at the end of a run. 2020-06-26 Jacob Bachmeyer PR 41824 / PR 41918 * NEWS: Remove items for --keep_going / --no_keep_going options. * Makefile.am (CLEANFILES): Adjust for renames. (TESTSUITE_FILES): Likewise. * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and --no_keep_going options. (A POSIX Conforming Test Framework): Document that Tcl errors in test scripts produce UNRESOLVED results as placeholders. * doc/runtest.1: Likewise. * lib/framework.exp (log_and_exit): Print collected Tcl errors. * runtest.exp (dejagnu::error): New internal namespace. (runtest): Collect Tcl errors caught while executing test scripts. (dejagnu::opt): Remove internal namespace. Remove --keep_going / --no_keep_going options. No longer abort on any Tcl errors; instead store them and repeat the messages at the end of the run. * testsuite/runtest.main/abort.exp: Rename from this ... * testsuite/runtest.main/error.exp: ... to this and revise tests. * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp: Rename from this... * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp: ... to this. * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: Rename from this... * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp: ... to this. * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp: Rename from this... * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp: ... to this. 2020-06-24 Jacob Bachmeyer PR 41824 / PR 41918 * NEWS: Revise relevant items. * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option. * doc/runtest.1: Document --no_keep_going option. Remove long-obsolete --name option. The --name option had been removed from runtest before the code was imported into what became the current repository. * runtest.exp: Add option --no_keep_going to stop immediately if a test script aborts due to a Tcl error. Remove vestiges of long-obsolete --name option. Make --keep_going option default. * testsuite/runtest.main/abort.exp: Adjust tests to use --no_keep_going and --keep_going instead of assuming a default. 2020-06-22 Jacob Bachmeyer Merge patches from Maciej W. Rozycki to fix timeout handling. * lib/remote.exp (close_wait_program): Use `catch' in killing pending force-kills. * lib/remote.exp (close_wait_program): Only kill the pending force-kills if the PID list has a single entry. (local_exec): Set the channel about to be closed to the nonblocking mode if we didn't see an EOF. (standard_close): Likewise, unconditionally. 2020-06-22 Jacob Bachmeyer * NEWS: Mention "linker=" option and added language support. * doc/dejagnu.texi (target_compile procedure): Document new "linker=" option to target_compile. * lib/target.exp (default_target_compile): Actually use internal option for separate linker provided for Go language support. This seems to have been accidentally omitted from Tom Tromey's patches. (default_target_compile): Add "linker=" option, similar to "compiler=" option, but the former overrides the latter when building an executable. (default_target_compile): Ensure that "--emit obj" is spaced from previous item when used to compile Rust. Use "--emit asm" instead of "-S" when generating assembly from Rust sources. * testsuite/runtest.libs/target.test: Add tests for Go and Rust. Also add tests for the new "early_flags=" and "linker=" options. 2020-06-20 Jacob Bachmeyer * doc/dejagnu.texi (Libgloss): Update menu. (find_go procedure, find_go_linker procedure): New nodes. (find_rustc procedure): New node. 2020-06-19 Tom Tromey * doc/dejagnu.texi (target_compile procedure): Document Go additions. * lib/target.exp (default_target_compile): Handle Go. * lib/libgloss.exp (find_go, find_go_linker): New procs. 2020-06-19 Tom Tromey * doc/dejagnu.texi (target_compile procedure): Document rust additions. * lib/target.exp (default_target_compile): Handle rust. * lib/libgloss.exp (find_rustc): New proc. 2020-06-19 Tom Tromey * lib/target.exp (default_target_compile): Add early_flags. * doc/dejagnu.texi (target_compile procedure): Document early_flags. 2020-06-19 Jacob Bachmeyer Merge patches from Tom de Vries suse.de> and write ChangeLog entries. * testsuite/runtest.main/abort.exp: Add tests that verify handling of arithmetic errors (divide-by-zero) in a procedure called within a test script. * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file. 2020-06-18 Jacob Bachmeyer PR 41824 / PR 41918 Thanks to Tom de Vries for raising these concerns and offering the initial testsuite patch that led to these changes. * NEWS: Add item for consistent abort-on-error handling. * lib/framework.exp (unknown): Always link global variables. Tidy. Silently propagate errors raised in autoloaded procedures and move the UNRESOLVED result and aborting the test run to... * runtest.exp (runtest): Report an UNRESOLVED result if a test script aborts due to a Tcl error. Link global errorCode and report its value if an error occurs. For consistency, abort the test run on any Tcl error in a test script instead of only when calling an undefined procedure. * testsuite/runtest.main/abort.exp: Add tests to verify handling of arithmetic errors (divide-by-zero) in an auto-loaded procedure called from a test script. Adjust other patterns. * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp: New file. 2020-06-17 Jacob Bachmeyer PR 41824 * NEWS: Add item for --keep_going option. * Makefile.am (CLEANFILES): Add abort-init.exp to list. (TESTSUITE_FILES): Add new testsuite files to list. * doc/dejagnu.texi (Invoking runtest): Document new --keep_going command line option. * doc/runtest.1: Likewise. * lib/framework.exp (unknown): Report an UNRESOLVED result if an unknown command is invoked. Avoid exiting and propagate the error from Tcl's "unknown" procedure if --keep_going was specified. Brace procedure argument list. * runtest.exp (dejagnu::opt): New namespace. Add option --keep_going to continue running tests after a test script aborts due to calling an undefined command. * testsuite/runtest.main/abort.exp: New file. * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp: New file. * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp: New file. 2020-06-17 Tom de Vries suse.de> * lib/framework.exp (unknown): Propagate return value of auto-loaded command. 2020-06-15 Jacob Bachmeyer Merge patches from Linaro: 2018-09-28 Christophe Lyon * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote machine, to avoid race conditions. 2016-04-25 Yvan Roux * lib/rsh.exp (rsh_exec): Don't remove trailing newline. * lib/ssh.exp (ssh_exec): Likewise. 2016-06-28 Maxim Kuvyrkov * config/unix.exp (unix_load): Prepend the value of an "exec_shell" board_info key to the command if it is defined. 2020-06-06 Jacob Bachmeyer * NEWS: Document "testcase" command. * doc/dejagnu.texi (testcase procedure): Document multiplex entry point and "testcase group" command. * lib/framework.exp: Add internal namespace ::dejagnu::group. (::dejagnu::group::check_name): New procedure. (::dejagnu::group::current): New procedure. (::dejagnu::group::push): New procedure. (::dejagnu::group::pop): New procedure. (::dejagnu::group::pop_to_file): New procedure. (testcase): New procedure for multiplex commands. (testcase_group): New procedure implementing "testcase group". * testsuite/runtest.libs/testcase_group.test: New file. 2020-06-05 Jacob Bachmeyer * NEWS: Document new "testsuite can call api" command. * doc/dejagnu.texi (testsuite procedure): Document new subcommand "testsuite can call api". * lib/framework.exp (testsuite): Add branch for "testsuite can". (testsuite_can): New procedure implementing "testsuite can". Add internal array ::dejagnu::apilist to store information for "testsuite can call api" for querying the availability of an API call. This will allow test scripts to adapt and use new features while still being able to run under older versions of DejaGnu. * testsuite/runtest.libs/testsuite_can.test: New file. 2020-06-02 Jacob Bachmeyer PR 41647 * NEWS: Fix typo. Fix Emacs mode tag. Document use of Tcl namespace ::dejagnu for internals. * runtest.exp (dejagnu::command_line): New namespace. (dejagnu::command_line::save_cmd_var): New procedure. (dejagnu::command_line::restore_cmd_vars): New procedure. (dejagnu::command_line::dump_cmd_vars): New procedure. * runtest.exp: Save internal variables set by command line arguments during the first pass and restore their values after loading testsuite init files. 2020-06-01 Jacob Bachmeyer PR 41647 * runtest.exp: Describe search for testsuite at verbose level 3. Print initial working directory at verbose level 1. 2020-05-28 Jacob Bachmeyer PR 41587 * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default value to use an absolute file name. * testsuite/lib/report-card.exp: Likewise. * testsuite/runtest.main/options.exp: Set outdir in options-init instead of changing working directory in child runtest. * runtest.exp (logname): Move verbose display of logname to immediately after finding the user's login name. PR 41585 * runtest.exp (libdir): Fix default value of global variable. * ChangeLog: Tidy irregular indentation. 2020-05-26 Jacob Bachmeyer * doc/dejagnu.texi (target_compile procedure): Add documentation. 2020-05-26 Jacob Bachmeyer * doc/dejagnu.texi (target_link procedure): New stub node. (default_link procedure): Document internal procedure. (default_target_assemble procedure): Likewise. (default_target_compile procedure): Likewise. 2020-05-20 Jacob Bachmeyer * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim, mn10300-sim, moxie-sim}.exp: Cleanup up whitespace. 2020-05-20 Jacob Bachmeyer * lib/target.exp (default_target_compile): Use "host_info" procedure to probe for a host configuration, instead of checking a local empty target_info array due to lacking "global target_info". 2020-05-20 Jacob Bachmeyer * doc/dejagnu.texi (Adding a new board): Document that the "compiler" board_info field is optional and defaults to [find_gcc] if not given. (Board configuration file): Likewise. * lib/target.exp (default_target_compile): Establish a default C compiler by evaluating [find_gcc] if no other compiler is given. * baseboards/aarch64-sim.exp: Remove no-longer-needed "set_board_info compiler [find_gcc]" from this file. * baseboards/am33_2.0-libremote.exp: Likewise. * baseboards/androideabi.exp: Likewise. * baseboards/arm-ice.exp: Likewise. * baseboards/arm-sim.exp: Likewise. * baseboards/cris-sim.exp: Likewise. * baseboards/d30v-sim.exp: Likewise. * baseboards/fr30-sim.exp: Likewise. * baseboards/frv-sim.exp: Likewise. * baseboards/gdbserver-sample.exp: Likewise. * baseboards/iq2000-sim.exp: Likewise. * baseboards/linux-gdbserver.exp: Likewise. * baseboards/linux-libremote.exp: Likewise. * baseboards/mcore-moto-sim.exp: Likewise. * baseboards/mcore-sim.exp: Likewise. * baseboards/mips-sim-idt32.exp: Likewise. * baseboards/mips-sim-idt64.exp: Likewise. * baseboards/mips-sim-mti32.exp: Likewise. * baseboards/mips-sim-mti64.exp: Likewise. * baseboards/mips-sim-mti64_64.exp: Likewise. * baseboards/mips-sim-mti64_n32.exp: Likewise. * baseboards/mips-sim-sde32.exp: Likewise. * baseboards/mips-sim-sde64.exp: Likewise. * baseboards/mips-sim.exp: Likewise. * baseboards/mmixware-sim.exp: Likewise. * baseboards/mn10200-sim.exp: Likewise. * baseboards/mn10300-sim.exp: Likewise. * baseboards/moxie-sim.exp: Likewise. * baseboards/msp430-sim.exp: Likewise. * baseboards/powerpc-sim.exp: Likewise. * baseboards/powerpcle-sim.exp: Likewise. * baseboards/rx-sim.exp: Likewise. * baseboards/sh-sim.exp: Likewise. * baseboards/sparc-sim.exp: Likewise. * baseboards/sparc64-sim.exp: Likewise. * baseboards/sparclite-sim-le.exp: Likewise. * baseboards/sparclite-sim.exp: Likewise. * baseboards/unix.exp: Likewise. * baseboards/v850-sim.exp: Likewise. * baseboards/visium-sim.exp: Likewise. * baseboards/xtensa-sim.exp: Likewise. 2020-05-24 Rob Savoye * baseboards/pi.exp: New config file for cross testing to a Raspberry PI. 2020-05-24 Tom Tromey * .gitignore: Add files. 2020-05-20 Jacob Bachmeyer * testsuite/runtest.libs/target.test: Use mockutil.tcl. Collect loading DejaGnu libraries into a single loop. Revise the mock board_info array. Add section headings for different test groups in this file. Add tests for default_target_compile in lib/target.exp. * testsuite/runtest.libs/mockutil.tcl: New file. 2020-05-20 Jacob Bachmeyer * doc/dejagnu.texi (remote_exec procedure): Explicitly list optional arguments instead of simply copying the Tcl argument list or the remote_exec procedure. 2020-05-20 Jacob Bachmeyer * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty string instead of opening a temporary file named .tmp. * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp. 2020-05-20 Jacob Bachmeyer * testsuite/runtest.libs/target.test: Rename fake "target_info" array to a fake "board_info" array, to align with changes made to the DejaGnu core on 29 January 1997 that moved the target configuration data into the global board_info array. * testsuite/runtest.libs/remote.test: Likewise. 2020-05-20 Jacob Bachmeyer * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor requests to run only some library tests. 2020-05-18 Rob Savoye * configure.ac: Extract the current branch. * Makefile.am: Change the frame_version in runtest.exp post install to add the branch and git revision to make it easier to support multiple versions during development. 2020-05-15 Rob Savoye * All files: Minor change, update copyright dates. 2019-03-08 Andrew Burgess * runtest.exp (search_and_load_file): Join the directory and filename once using 'file join'. 2019-01-24 Jacob Bachmeyer * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence spacing so the Emacs move-by-sentence commands work correctly. 2019-01-23 Ben Elliston * doc/dejagnu.texi: Replace "config file" with "configuration file" throughout. 2019-01-23 Jacob Bachmeyer * doc/dejagnu.texi (Command line option variables): Improve table formatting to fix overlapping columns and revise text slightly. 2019-01-23 Jacob Bachmeyer * doc/dejagnu.texi (Global config file): Change example to use the Tcl "switch" command instead of the deprecated "case" command. 2019-01-12 Jacob Bachmeyer * doc/dejagnu.texi (runtest_file_p procedure): Fix description of the structure of the "runtests" argument. 2019-01-12 Ben Elliston * doc/dejagnu.texi: Various documentation fixes. 2019-01-10 Jacob Bachmeyer * testsuite/runtest.libs/clone_output.test: Use new test harness for verifying output of clone_output. * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into template using store_test_output. (send_log): Likewise. (send_user): Likewise. (clear_test_output): New proc. (store_test_output): New proc. * lib/framework.exp (clone_output): Actually send errors to the error stream; bug found while improving testsuite. 2019-01-10 Jacob Bachmeyer * testsuite/runtest.libs/libs.exp (process_test): Handle blank lines from child process correctly. 2019-01-02 Jacob Bachmeyer * NEWS: Document report card. * Makefile.am (clean-local): Add target. (clean-local-check): Add target; mark as PHONY. (commands_DATA): Add "report-card" scripts. (dist_man_MANS): Add dejagnu-report-card.1 and split. (DEJATOOL): Add "report-card" tool. (TESTSUITE_FILES): Add testsuite for "report-card" tool. * commands/report-card.awk: New command script. * doc/dejagnu.texi (Invoking dejagnu report card): New node. * doc/dejagnu-report-card.1: New man page. * testsuite/lib/bohman_ssd.exp: New file. * testsuite/lib/report-card.exp: New file. * testsuite/report-card.all/onetest.exp: New file. * testsuite/report-card.all/passes.exp: New file. 2019-01-02 Ben Elliston * Makefile.am (DISTCLEANFILES): Don't use this. (CLEANFILES): Use this instead. * Makefile.in: Regenerate. 2019-01-01 Ben Elliston * configure.ac: Abort if AWK is not installed. * configure: Regenerate. 2019-01-01 Ben Elliston * config.guess: Update to latest version. * config.sub: Likewise. 2019-01-01 Ben Elliston * configure.ac: Add AC_PROG_AWK check. * configure: Regenerate. 2018-12-29 Jacob Bachmeyer * dejagnu: Avoid use of semicolon as sed(1) command separator. POSIX does not clearly require sed(1) to support that feature. 2018-12-28 Jacob Bachmeyer * testsuite/lib/util-defs.exp: Whitespace clean up. 2018-12-21 Jacob Bachmeyer PR 33817 * dejagnu: Improve command parsing to fix bug. Previously, the documented equivalence between "multi word command" and "multi-word-command" did not hold if no arguments were given. * testsuite/launcher.all/command.exp: Add tests. 2018-12-20 Ben Elliston * NEWS: Add item for new dejagnu command. * Makefile.am (EXTRA_DIST): Remove $(XML). * Makefile.in: Regenerate. 2018-12-20 Jacob Bachmeyer * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and contents of $(commands_DATA). (bin_SCRIPTS): Add "dejagnu" launcher script. (commandsdir): Installation directory for "dejagnu" subcommands is $(pkgdatadir)/commands. (commands_DATA): New, contains "commands/help.sh" as initial item. (TESTSUITE_FILES): Add testsuite for same. (DEJATOOL): Add "launcher" to list of tools to test. (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help". * doc/dejagnu.texi (Running other DejaGnu commands): New chapter. (Invoking dejagnu): New node for dejagnu(1) launcher script. (Invoking dejagnu help): New node. * doc/dejagnu.1: New man page. * doc/dejagnu-help.1: New man page. * dejagnu: New script. * commands/help.sh: New dejagnu subcommand for reading manpages. * testsuite/launcher.all/command.exp: New file. * testsuite/launcher.all/command/commands/bar-baz.awk: New file. * testsuite/launcher.all/command/commands/bar.awk: New file. * testsuite/launcher.all/command/commands/bar.sh: New file. * testsuite/launcher.all/command/commands/baz-quux.gawk: New file. * testsuite/launcher.all/command/commands/foo.sh: New file. * testsuite/launcher.all/command/commands/foo.tcl: New file. * testsuite/launcher.all/help.exp: New file. * testsuite/launcher.all/interp.exp: New file. * testsuite/launcher.all/verbose.exp: New file. * testsuite/lib/launcher.exp: New file. 2018-12-20 Jacob Bachmeyer * doc/dejagnu.texi (bt procedure): Fix Info links. 2018-12-17 Ben Elliston * doc/dejagnu.texi (Board config file): Fix up @ref. (Command line option variables): Likewise. (Debugging Procedures): Add an entry for 'bt' command. 2018-12-16 Jacob Bachmeyer * runtest.exp: Move processing of -V|--version option to first pass through command line arguments instead of delaying it. 2018-12-16 Jacob Bachmeyer * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed. * Makefile.in: Regenerate. 2018-12-15 Ben Elliston * doc/dejagnu.texi (telnet Procedure): Remove old node. (rlogin Procedure): Likewise. (rsh Procedure): Likewise. (tip Procedure): Likewise. (kermit Procedure): Likewise. (list_targets Procedure): Likewise. (prune_system_crud): Likewise. 2018-12-15 Jacob Bachmeyer * testsuite/runtest.libs/default_procs.tcl (send_error): New stub. (send_user): Likewise. * testsuite/runtest.libs/clone_output.test: Remove unneeded global variable link at top-level. * testsuite/runtest.libs/utils.test: Adjust absolute path to config.status. * testsuite/runtest.libs/clone_output.test: Use preset srcdir, subdir, and objdir variables instead of extracting them from argv. Remove setval.tmp, which is now obsolete. * testsuite/runtest.libs/config.test: Likewise. * testsuite/runtest.libs/remote.test: Likewise. * testsuite/runtest.libs/target.test: Likewise. * testsuite/runtest.libs/testsuite_file.test: Likewise. * testsuite/runtest.libs/utils.test: Likewise. * testsuite/lib/libsup.exp (make_defaults_file): Replace this .. (send_defaults): .. with this. (start_expect): Remove redundant code. * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file. Remove unneeded test for EXPECT global variable. Use one Expect subprocess to run all test cases. (process_test): Redesign to use Expect subprocess and to use throwaway slave interpreters for running test cases. 2018-12-15 Jacob Bachmeyer * testsuite/lib/runtest.exp (runtest_start): Remove. Move the sanity check in runtest_start to top-level and similarly check to ensure that $EXPECT can be found. Make failure of either sanity check an immediate fatal error. Improve error messages for sanity checks to indicate which critical tool was not found. Remove useless 'global RUNTEST' command at top-level. (runtest_version): Brace 'if' expression. 2018-12-15 Jacob Bachmeyer * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the default runtest executable instead of implicitly searching PATH. Remove unused RUNTESTFLAGS Tcl variable. 2018-12-15 Jacob Bachmeyer * testsuite/lib/runtest.exp (runtest_start): Remove unused global variable links. 2018-12-14 Jacob Bachmeyer * lib/framework.exp (log_summary): Remove "testcnt" mechanism. * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable. 2018-12-12 Ben Elliston * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp, lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp, lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify some regular expressions in constant strings by placing them inside braces instead of quotes. This allows one level of backslash quoting to be removed. 2018-12-12 Ben Elliston * doc/dejagnu.texi: Acknowledge contributions to the manual from others. 2018-12-11 Jacob Bachmeyer * testsuite/runtest.all/libs.exp: Use "testsuite file" command. * testsuite/runtest.all/load_lib.exp: Likewise. * testsuite/runtest.all/stats.exp: Likewise. * testsuite/runtest.all/stats.exp: Write local init file as "stats-init.exp" for status summary tests. Use --local_init option to runtest to load that file instead of site.exp and move the inner test module to a nested testsuite. * testsuite/runtest.all/stats-sub.exp: Move file from here .. * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp: .. to here. * testsuite/runtest.all/options.exp: Clean up whitespace in file. Wrap lines in test list and move short items to beginning of list. Write local init file as "options-init.exp" for options tests. Use --local_init option with nested runtest to load that file instead of site.exp; also create an empty nested testsuite. Local init file arranges for inner runtest processes to run in a subdirectory in the object tree to eliminate filename clashes. Set tmpdir if not already set and remove entire temporary directory after running options tests. * testsuite/runtest.all/options/testsuite/null.test/null.exp: New. * testsuite/runtest.all/clone_output.test: Move from here .. * testsuite/runtest.libs/clone_output.test: .. to here. * testsuite/runtest.all/config.test: Move from here .. * testsuite/runtest.libs/config.test: .. to here. * testsuite/runtest.all/default_procs.tcl: Move from here .. * testsuite/runtest.libs/default_procs.tcl: .. to here. * testsuite/runtest.all/libs.exp: Move from here .. * testsuite/runtest.libs/libs.exp: .. to here. * testsuite/runtest.all/load_lib.exp: Move from here .. * testsuite/runtest.libs/load_lib.exp: .. to here. * testsuite/runtest.all/remote.test: Move from here .. * testsuite/runtest.libs/remote.test: .. to here. * testsuite/runtest.all/target.test: Move from here .. * testsuite/runtest.libs/target.test: .. to here. * testsuite/runtest.all/testsuite_file.test: Move from here .. * testsuite/runtest.libs/testsuite_file.test: .. to here. * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here .. * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here. * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here .. * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here. * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1: Move from here .. * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1: .. to here. * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here .. * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here. * testsuite/runtest.all/utils.test: Move from here .. * testsuite/runtest.libs/utils.test: .. to here. * testsuite/runtest.libs/utils.test: Update references to "runtest.all". * testsuite/runtest.all/options.exp: Move from here .. * testsuite/runtest.main/options.exp: .. to here. * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move from here .. * testsuite/runtest.main/options/testsuite/null.test/null.exp: .. to here. * testsuite/runtest.all/stats.exp: Move from here .. * testsuite/runtest.main/stats.exp: .. to here. * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp: Move from here .. * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp: .. to here. * Makefile.am (DISTCLEANFILES): Update for testsuite improvements. (TESTSUITE_FILES): Update to reflect testsuite reorganization. * Makefile.in: Regenerate. 2018-12-11 Jacob Bachmeyer * doc/dejagnu.texi: Clean up whitespace. Some indented examples were changed to use the Texinfo '@ ' command (yes, a space character) to preserve correct indentation. The '@ ' command is treated as a single space by Tex and makeinfo, but prevents Emacs from complaining about indentation using spaces instead of tabs. 2018-12-11 Jacob Bachmeyer * doc/dejagnu.texi (getdirs procedure): Document hard-coded directory exclusions by name in this procedure. 2018-12-10 Ben Elliston * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl glob patterns, not "shell wildcard characters" per se. * doc/dejagnu.texi (istarget procedure): Remove stray @{. 2018-12-10 Jacob Bachmeyer * doc/dejagnu.texi (Writing a test case): Add warning about priority of Expect patterns, complete with example. * testsuite/runtest.all/libs.exp (process_test): Fix bug that caused test results other than "PASS" to be skipped if a "PASS" is further along in the input buffer. Describe problem in manual. (process_test): Ensure that the log file shows each test case run. (process_test): Directly run the test cases instead of using temporary files and "cat". All output is always available in the log file, which is no longer overwritten by other tests. (process_test): Expect END markers from test case scripts. * testsuite/runtest.all/clone_output.test: Emit END markers. * testsuite/runtest.all/config.test: Likewise. * testsuite/runtest.all/remote.test: Likewise. * testsuite/runtest.all/target.test: Likewise. * testsuite/runtest.all/testsuite_file.test: Likewise. * testsuite/runtest.all/utils.test: Likewise. 2018-12-10 Ben Elliston * lib/utils.exp (grep): Use a proper Tcl list for options. 2018-12-10 Ben Elliston * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir. * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob and catching the "no files matched glob pattern" error message. Catching the error message was the wrong thing to do because the foreach loop then iterates over each word in the error message as if they were matches. 2018-12-10 Ben Elliston * testsuite/runtest.all/utils.test (getdirs): Add a test for the non-existent directory case. 2018-12-10 Ben Elliston * runtest.exp: Remove unnecessary quotes and braces around variable expansions. * lib/debugger.exp (dumpvars): Remove unnecessary braces. 2018-12-09 Ben Elliston * runtest.exp (setup_target_hook): Use 'ne' and not '!='. (iterate_target_variants_two): Likewise. * lib/remote.exp (standard_download): Use 'eq' not '=='. (remote_upload): Likewise. * lib/framework.exp (open_logs): Likewise. (is_remote): Likewise. 2018-12-09 Ben Elliston * baseboards/basic-sid.exp, baseboards/basic-sim.exp, baseboards/i386-sid.exp, baseboards/mt-sid.exp, baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp, config/gdb_stub.exp, config/sim.exp, config/unix.exp, config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp, lib/utils.exp, testsuite/lib/libsup.exp, testsuite/runtest.all/options.exp,: Remove unnecessary braces around variable expansions. 2018-12-09 Ben Elliston * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp, lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove unnecessary quotes and braces around variable expansions. 2018-12-09 Ben Elliston * config/gdb-comm.exp: Remove unnecessary quotes. * config/gdb_stub.exp: Likewise. * config/vxworks.exp: Likewise. * config/unix.exp: Likewise. * config/sim.exp: Likewise. 2018-12-09 Ben Elliston * testsuite/lib/libsup.exp: Remove unnecessary quotes around variable expansions. * testsuite/lib/util-defs.exp: Likewise. 2018-12-09 Ben Elliston * baseboards/androideabi.exp: Remove unnecessary quotes and braces around variable expansions. * baseboards/basic-sid.exp: Likewise. * baseboards/cris-sim.exp: Likewise. * baseboards/generic-sim.exp: Likewise. * baseboards/mcore-moto-sim.exp: Likewise. * baseboards/multi-sim.exp: Likewise. 2018-12-08 Ben Elliston * NEWS: Tweak. 2018-12-08 Ben Elliston * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around variable expansions. * testsuite/runtest.all/clone_output.test: Likewise. * testsuite/runtest.all/target.test: Likewise. * testsuite/runtest.all/stats.exp: Likewise. * testsuite/runtest.all/remote.test: Likewise. * testsuite/runtest.all/config.test: Likewise. * testsuite/runtest.all/default_procs.tcl: Likewise. * testsuite/runtest.all/libs.exp: Likewise. * testsuite/runtest.all/options.exp: Likewise. 2018-12-08 Jacob Bachmeyer * NEWS: Document 'testsuite' command. * doc/dejagnu.texi (testsuite procedure): Document multiplex entry point and "testsuite file" command. * lib/framework.exp (testsuite): New proc for multiplex commands. (testsuite_file): New proc implementing "testsuite file". * testsuite/runtest.all/testsuite_file.test: New file. * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite, but also search $srcdir itself. (load_lib): Add explicit search for testsuite-local libraries. (load_tool_init): Use $testsuitedir in search. (load_config): Use $testsuitedir instead of $srcdir. (load_tool_target_config): Likewise. Add variable "testsuitedir" for testsuite root directory. Add internal global variables "testbuilddir" and "testdir" for use by "testsuite file". Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid duplicated path delimiters. Add warning if no tests are found and fallback method of searching $srcdir is used. 2018-12-08 Ben Elliston * testsuite/lib/libsup.exp (start_expect): Brace commands in if expressions. * testsuite/lib/util-defs.exp (util_test): Likewise. * testsuite/runtest.all/stats.exp: Likewise. * testsuite/runtest.all/libs.exp: Likewise. 2018-12-08 Jacob Bachmeyer * testsuite/runtest.all/default_procs.tcl: (lib_errpat_test, lib_errregexp_test, lib_err_test): New. (lib_regexp_test): Fix copy-paste-edit error. (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test): Fix handling of errors raised by tested procedure. Also ensure proper quoting of argument lists passed to eval and simplify the logic for producing return values. 2018-12-08 Ben Elliston * config/vxworks.exp (${board}_init): Use 'ne' instead of !=. 2018-12-08 Ben Elliston * lib/tip.exp (tip_open): Put braces around if expression. 2018-12-08 Ben Elliston * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp, lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp, config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp, baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp, baseboards/vr4100-sim.exp, baseboards/sh-sid.exp, baseboards/mt-sid.exp, baseboards/mips-sim.exp, baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp, baseboards/i386-sid.exp, baseboards/arm-sim.exp, baseboards/arm-ice.exp, baseboards/androideabi.exp, testsuite/runtest.all/utils.test, testsuite/runtest.all/target.test: Replace string literal comparisons using == and != with 'eq' and 'ne'. 2018-12-08 Ben Elliston * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp, lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp, lib/framework.exp, lib/dg.exp, lib/dejagnu.exp, config/vxworks.exp, config/unix.exp, config/sim.exp, config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp, baseboards/multi-sim.exp, baseboards/cris-sim.exp, baseboards/basic-sim.exp, baseboards/basic-sid.exp, baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp, testsuite/libdejagnu/tunit.exp: Replace empty string comparisons using == and != with 'eq' and 'ne'. 2018-12-07 Jacob Bachmeyer * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New. (lib_regexp_test): New. (lib_pat_test): Brace "if" conditions. (lib_pat_test): Remove spurious quotes in debugging output. (run_tests): Add support for comments in lists of procedure tests. * testsuite/runtest.all/config.test: Adjust to use run_tests procedure. Fixes issue cited in FIXME comment. * testsuite/runtest.all/utils.test (getdirs tests): Fix these. The old tests had the sense of the return value from lib_pat_test inverted and were failing but reported PASS. (find tests, relative_filename tests, runtest_file_p tests): Adjust to use run_tests procedure. 2018-12-07 Ben Elliston * doc/dejagnu.texi: Add more missing material. 2018-12-07 Jacob Bachmeyer * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy. (run_tests): Replace implicit "eval" with explicit "eval". Tidy. (verbose): Remove unnecessary quotes. 2018-12-06 Ben Elliston * doc/dejagnu.texi: Add more missing material. 2018-12-06 Jacob Bachmeyer * testsuite/runtest.all/default_procs.tcl: Whitespace clean up. (lib_pat_test): Handle an argument list instead of only a single argument for the procedure under test. (lib_ret_test): Likewise. * testsuite/runtest.all/utils.test: Whitespace clean up. Adjust to pass argument lists for improved lib_pat_test. * testsuite/runtest.all/clone_output.test: Likewise. 2018-12-06 Jacob Bachmeyer * lib/remote.exp (standard_load): Fix typo on empty string. * runtest.exp: Adjust expression to follow GNU conventions. * lib/utils.exp (diff): Fix mistake in replacing [string compare] with "eq" instead of "ne". * testsuite/runtest.all/config.test: Likewise. 2018-12-06 Ben Elliston * runtest.exp: Replace [string match] commands involving literal strings and variables known to not be Tcl glob patterns with eq and ne. * config/unix.exp: Likewise. * lib/debugger.exp: Likewise. * lib/dg.exp: Likewise. * lib/framework.exp: Likewise. * lib/remote.exp: Likewise. * lib/utils.exp: Likewise. * baseboards/androideabi.exp: Likewise. * baseboards/multi-sim.exp: Likewise. * testsuite/lib/util-defs.exp: Likewise. * testsuite/runtest.all/config.test: Likewise. 2018-12-06 Jacob Bachmeyer * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs. * testsuite/runtest.all/target.test: Likewise. * testsuite/runtest.all/remote.test: Likewise. * testsuite/runtest.all/config.test: Likewise. * testsuite/runtest.all/clone_output.test: Likewise. 2018-12-06 Ben Elliston * runtest.exp: Replace '==' with 'eq' for string compares. Likewise, replace '!=' with 'ne'. Replace a few instances of [string length $str] == 0 with $str eq "". * config/gdb-comm.exp: Likewise. * lib/dg.exp: Likewise. * lib/framework.exp: Likewise. * lib/libgloss.exp: Likewise. * lib/remote.exp: Likewise. * lib/target.exp: Likewise. * lib/utils.exp: Likewise. 2018-12-06 Jacob Bachmeyer * runtest.exp: Replace archaic use of [string match] with "eq". 2018-12-06 Ben Elliston * doc/dejagnu.texi (compile Procedure): Remove old node. (archive Procedure): Likewise. (ranlib Procedure): Likewise. 2018-12-06 Ben Elliston * doc/dejagnu.texi (rsh procedure): Fix node connectivity. 2018-12-06 Ben Elliston * lib/telnet.exp (telnet_open): Remove connectmode global. * doc/dejagnu.texi (Procedures For Remote Communication): Remove mention of connectmode. 2018-12-05 Ben Elliston * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete node. 2018-12-05 Ben Elliston * doc/dejagnu.texi: Add more missing material. 2018-12-05 Ben Elliston * testsuite/runtest.all/utils.test: Test runtest_file_p. 2018-12-05 Jacob Bachmeyer * runtest.exp (load_config): Remove unused globals. (load_generic_config): Likewise. (load_board_description): Likewise. (load_base_board_description): Likewise. 2018-12-05 Ben Elliston * lib/utils.exp (grep): Handle -n. * doc/dejagnu.texi (grep procedure): Document it. * testsuite/runtest.all/utils.test: Add a test case. * NEWS: Add an item. 2018-12-05 Ben Elliston * testsuite/runtest.all/utils.test: Test diff. 2018-12-04 Ben Elliston * testsuite/runtest.all/utils.test: Test grep. 2018-12-04 Ben Elliston * testsuite/runtest.all/utils.test (which): Fail on the else path, don't pass in either case. 2018-12-04 Ben Elliston * doc/dejagnu.texi (Libgloss): Improve documentation. (Debugging Procedures): Likewise. 2018-12-04 Ben Elliston * lib/debugger.exp (dumprocs): Fix proc comment. 2018-12-04 Ben Elliston * doc/dejagnu.texi (Utility Procedures): Improve documentation for the procedures in this section. 2018-12-04 Jacob Bachmeyer * NEWS: Document new relative_filename procedure and --local_init/ --global_init command line options. 2018-12-04 Jacob Bachmeyer * lib/utils.exp (relative_filename): New proc. * runtest.exp: Use it. * doc/dejagnu.texi (relative_filename procedure): Document it. * testsuite/runtest.all/utils.test: Add tests for relative_filename. 2018-12-03 Ben Elliston * dejagnu.h (TestState): Remove const char * variants of pass(), xpass(), fail(), xfail(), untested(), unresolved() for C++. A const char * will be implicitly converted to std::string. 2018-12-03 Ben Elliston * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level, removing the 'Reference' node and chapter. Make all subsubsections in this chapter unnumbered subheadings. 2018-12-03 Jacob Bachmeyer * doc/dejagnu.texi: Fix Info node links. The arguments to @node are: here, next, previous, up; not here, previous, next, up. 2018-12-03 Ben Elliston * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded doc/texinfo.tex. With thanks to Jacob Bachmeyer. * Makefile.in: Regenerate. 2018-12-03 Ben Elliston * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex. (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise prevents the distribution of the overridden texinfo.tex. * Makefile.in: Regenerate. * texinfo.tex: Move from here .. * doc/texinfo.tex: .. to here. 2018-12-03 Ben Elliston * lib/framework.exp (isremote): Add verbose message. 2018-12-02 Ben Elliston * lib/framework.exp (isremote): Pass $board to is_remote. 2018-12-02 Ben Elliston * doc/fdl.texi: New. * doc/dejagnu.texi (Variable Index): New. Add more concept index entries. (GNU Free Documentation License): New appendix. 2018-12-02 Ben Elliston * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function index (@findex) entries for every built-in procedure. 2018-12-02 Ben Elliston * doc/dejagnu.texi: Start an index. 2018-12-02 Ben Elliston * doc/version.texi: New. 2018-12-02 Ben Elliston * doc/dejagnu.texi: Add title page and frontmatter. Include version.texi. * Makefile.in: Regenerate. * mdate-sh: Installed by automake --add-missing. 2018-12-02 Ben Elliston * doc/dejagnu.texi (diff procedure): Tidy up this node. 2018-12-02 Jacob Bachmeyer * runtest.exp (hex): Remove useless test before setting. (decimal): Likewise. 2018-12-02 Jacob Bachmeyer * doc/dejagnu.texi (Invoking runtest): Document new --local_init and --global_init command line options. * doc/runtest.1: Likewise. * runtest.exp: Remove useless tests before setting default values for variables: all_flag, binpath, debug, options, outdir, reboot, tracelevel, verbose, log_dialog. They are set before loading any files or parsing the command line. * runtest.exp: Add options --local_init and --global_init for selecting alternate testsuite configuration files. * runtest.exp: Split variable "configfile" into "local_init_file" and "global_init_file" in preparation for adding command-line options to specify these independently. * runtest.exp (load_generic_config): Remove configfile global. (load_board_description): Likewise. (load_base_board_description): Likewise. 2018-11-30 Ben Elliston * lib/utils.exp (grep): Remove reference to "NULL" in comment. * testsuite/lib/util-defs.exp (util_start): Likewise. 2018-11-30 Ben Elliston * doc/dejagnu.texi: (verbose procedure): Improve documentation. (load_lib procedure): Likewise. 2018-11-30 Ben Elliston * doc/dejagnu.texi: More clean-ups of built-in proc documentation. 2018-11-30 Ben Elliston * runtest.exp: Use isremote. * lib/target.exp: Likewise. * lib/remote.exp: Likewise. * lib/libgloss.exp: Likewise. * config/unix.exp: Likewise. * config/sim.exp: Likewise. * config/gdb_stub.exp: Likewise. * config/gdb-comm.exp: Likewise. * baseboards/basic-sim.exp: Likewise. * baseboards/androideabi.exp: Likewise. 2018-11-30 Ben Elliston * lib/framework.exp (isremote): New. * doc/dejagnu.texi (isremote procedure): Document it. * NEWS: Mention isremote. 2018-11-30 Ben Elliston * texinfo.tex: Update to latest upstream version. * INSTALL: Likewise. 2018-11-29 Ben Elliston * lib/framework.exp (istarget, ishost, istarget): Set the argument default value to the empty string. * doc/dejagnu.texi (find procedure): Remove reference to "NULL". (getenv procedure): Re-word this node. (isbuild procedure): Update. (ishost procedure): Likewise. (istarget procedure): Likewise. * testsuite/runtest.all/config.test: Add test cases. 2018-11-28 Ben Elliston * config.guess: Update to latest version. * config.sub: Likewise. 2018-11-28 Ben Elliston * NEWS: Update. * configure.ac: Update version number. * configure: Regenerate. * doc/dejagnu.texi: Update version number. * runtest.exp: Update version number. 2018-11-28 Ben Elliston * Makefile.am (TESTSUITE_FILES): Update filenames. * Makefile.in: Regenerate. 2018-11-28 Ben Elliston * NEWS: Update. * doc/dejagnu.texi: Tidy up (fill) some paragraphs. 2018-11-25 Jacob Bachmeyer * lib/framework.exp: Clean up whitespace. 2018-11-25 Ben Elliston * config/gdb-comm.exp: Clean up whitespace. * config/gdb_stub.exp: Likewise. * config/sid.exp: Likewise. * config/sim.exp: Likewise. * config/unix.exp: Likewise. 2018-11-23 Ben Elliston * doc/dejagnu.texi (getdirs procedure): Improve documentation including documenting the -all option. (find procedure): Fix a typo. * lib/utils.exp (getdirs): Improve comments. 2018-11-22 Jacob Bachmeyer * runtest.exp: Ensure that multipass pass variables are always restored. Previously, they were only restored if the "Go digging for tests" branch was taken near the end of runtest.exp. 2018-11-22 Ben Elliston * doc/dejagnu.texi (Customizing DejaGnu): Document error handling of the $DEJAGNU environment variable (see change below). 2018-11-22 Jacob Bachmeyer * runtest.exp: Raise error if $DEJAGNU is defined but not found. 2018-11-15 Jacob Bachmeyer * runtest.exp (load_tool_init): Search for tool init file instead of assuming exactly one location. 2018-11-15 Ben Elliston * runtest.exp (load_lib): Whitespace fix. 2018-11-11 Jacob Bachmeyer * lib/ssh.exp: Clean up whitespace. * lib/remote.exp: Clean up whitespace. (remote_expect): Change literal tab to "\t" in regexp. 2018-11-05 Ben Elliston * config.guess: Update to latest version. * config.sub: Likewise. 2018-11-02 Ben Elliston * Makefile.in: Regenerate. 2018-10-31 Jacob Bachmeyer * Makefile.am (DEJATOOL): List tools in testsuite. (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing. * testsuite/config/default.exp: Rename from this ... * testsuite/lib/runtest.exp: ... to this. (runtest_exit): Remove spurious "close". This was causing per-tool testing to fail, since the testsuite for "runtest" never actually uses "spawn", so "close" ends up closing exp0, which is the terminal. The ${tool}_exit proc is not called if the --tool option is not given, so this had no effect earlier. * testsuite/lib/libdejagnu.exp: New empty file. 2018-10-31 Jacob Bachmeyer * runtest.exp (load_tool_init): Add message indicating the expected location of the tool init file. 2018-10-31 Jacob Bachmeyer * contrib/sum2junit.sh (failures): Fix typo. 2018-10-31 Jacob Bachmeyer * configure.ac (DEJAGNU): Add comments. 2018-10-31 Jacob Bachmeyer * Makefile.am (DEJATOOL): List tools in testsuite. (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing. * testsuite/config/default.exp: Rename from this ... * testsuite/lib/runtest.exp: ... to this. (runtest_exit): Remove spurious "close". This was causing per-tool testing to fail, since the testsuite for "runtest" never actually uses "spawn", so "close" ends up closing exp0, which is the terminal. The ${tool}_exit proc is not called if the --tool option is not given, so this had no effect earlier. * testsuite/lib/libdejagnu.exp: New empty file. 2018-10-30 Ben Elliston * Makefile.am (DISTCLEANFILES): Add testrun.xml. * Makefile.in: Regenerate with Automake 1.15.1. * aclocal.m4: Likewise. 2018-10-30 Ben Elliston * configure.ac (AC_CONFIG_SUBDIRS): Remove. * configure: Regenerate. 2018-10-29 Ben Elliston * README (Documentation): Update. 2018-10-28 Jacob Bachmeyer * lib/framework.exp (record_test): Really fix message formatting. 2018-10-29 Ben Elliston Reported by Jacob Bachmeyer. * testsuite/runtest.all/utils.test: Fix missing end quote. 2018-10-28 Jacob Bachmeyer * lib/framework.exp (record_test): Fix message formatting. 2018-07-20 Ben Elliston * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings. * contrib/mysql/sum2xml.sh: Likewise. 2018-07-20 Ben Elliston * contrib/compare_tests: Eliminate Shellcheck warnings. * contrib/mysql/sum2xml.sh: Likewise. 2018-07-20 Ben Elliston * compile, depcomp, install-sh: Latest upstream versions. 2018-07-20 Ben Elliston * contrib/sum2junit.sh: Eliminate some Shellcheck warnings. 2018-07-19 Ben Elliston * runtest: Use POSIX 'command', not 'type', to look for the Expect binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type' is undefined"). 2018-07-19 Ben Elliston * config.guess: Update to latest version. * config.sub: Likewise. 2018-07-06 Richard Biener * lib/remote.exp (close_wait_program): Use separate kill command for each pid. 2017-10-16 Ben Elliston * NEWS: Start a new section for the next release. * configure.ac (AC_INIT): Update version number. * configure: Regenerate. * runtest.exp (frame_version): Update version number. * doc/dejagnu.texi: Likewise. * doc/runtest.1: Update datestamp. 2017-10-16 Ben Elliston * config.guess: Update to version 2017-09-26. * config.sub: Likewise. 2017-09-13 Ben Elliston * lib/framework.exp (open_logs): Set XML version to 1.1. (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include missing 'x' in escape sequence. 2017-08-29 Ben Elliston Revert these changes: 2016-04-25 Ben Elliston * testsuite/runtest.all/utils.test: Remove unsetenv test. 2016-04-24 Ben Elliston * lib/utils.exp (unsetenv): Remove proc. * doc/dejagnu.texi: Update documentation. * NEWS: Update. 2017-08-19 Ben Elliston * lib/framework.exp (xml_tag): Escape all of the non-printable control characters (ASCII codes 1 to 31 inclusive). 2017-08-18 Tom Tromey * runtest.exp: Fix --directory matching. 2017-08-15 Ben Elliston * lib/framework.exp (xml_tag): New proc. (log_summary): Use it. (record_test): Likewise. 2017-08-15 Ben Elliston * lib/framework.exp (open_logs): Set .xml filename correctly. * runtest.exp: Remove xml_file_name var. (usage): Update --xml option to not take an argument. (load_tool_init): Likewise. * doc/dejagnu.texi (Invoking runtest): Update documentation. * doc/runtest.1: Likewise. 2017-08-01 Ben Elliston * runtest.exp (usage): Improve --strace message. 2017-08-01 Ben Elliston * runtest.exp (usage): --reboot doesn't take a 'name' parameter. 2017-06-04 Ben Elliston * lib/target.exp (push_target): Remove unnecessary global command. * testsuite/runtest.all/target.test: Overhaul tests. 2017-06-04 Ben Elliston * testsuite/runtest.all/remote.test: Remove cruft from yesteryear. 2017-06-04 Tom de Vries * testsuite/runtest.all/target.test: Remove list_targets test. 2017-06-04 Tom de Vries * testsuite/runtest.all/libs.exp (process_test): Dump entire output when there's no reportable output. * testsuite/runtest.all/remote.test (load_lib): New proc. * testsuite/runtest.all/target.test (load_lib): Same. 2017-03-11 Thomas Preud'homme * lib/remote.exp (remote_download): Add logging message when source and destination file differ in name. 2016-09-04 Jan Kratochvil * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE. 2016-06-28 Ben Elliston * aclocal.m4, Makefile.in: Regenerate with automake 1.15. * configure: Regenerate. 2016-06-22 Bernhard Reutner-Fischer * configure.ac, dejagnu.h, runtest, runtest.exp, baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp, baseboards/arm-ice.exp, baseboards/arm-sid.exp, baseboards/arm-sim.exp, baseboards/basic-sid.exp, baseboards/basic-sim.exp, baseboards/cris-sim.exp, baseboards/d30v-sim.exp, baseboards/fr30-sim.exp, baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp, baseboards/i386-sid.exp, baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp, baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp, baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp, baseboards/mips-sim-mti64_64.exp, baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp, baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp, baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp, baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp, baseboards/mt-sid.exp, baseboards/multi-sim.exp, baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp, baseboards/rx-sim.exp, baseboards/sh-sid.exp, baseboards/sh-sim.exp, baseboards/sparc-sim.exp, baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp, baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp, baseboards/unix.exp, baseboards/v850-sim.exp, baseboards/visium-sim.exp, baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp, lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp, lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp, testsuite/config/default.exp, testsuite/lib/libsup.exp, testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp, testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp, testsuite/runtest.all/stats-sub.exp, testsuite/runtest.all/stats.exp, config/adb.exp, config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp, config/sim.exp, config/unix.exp, config/vxworks.exp: Update copyright date for 2016. 2016-06-22 Bernhard Reutner-Fischer * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp, baseboards/arm-ice.exp, baseboards/arm-sid.exp, baseboards/arm-sim.exp, baseboards/basic-sid.exp, baseboards/basic-sim.exp, baseboards/cris-sim.exp, baseboards/d30v-sim.exp, baseboards/fr30-sim.exp, baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp, baseboards/generic-sim.exp, baseboards/i386-sid.exp, baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp, baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp, baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp, baseboards/mn10300-sim.exp, baseboards/mt-sid.exp, baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp, baseboards/rx-sim.exp, baseboards/sh-sid.exp, baseboards/sh-sim.exp, baseboards/sparc-sim.exp, baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp, baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp, baseboards/unix.exp, baseboards/v850-sim.exp, baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp, lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp, testsuite/config/default.exp, testsuite/lib/libsup.exp, testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp, testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp, testsuite/runtest.all/options.exp, testsuite/runtest.all/stats-sub.exp, testsuite/runtest.all/stats.exp, config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp, config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac, dejagnu.h, runtest, runtest.exp: Use condensed years in copyright statement. 2016-06-22 Bernhard Reutner-Fischer * doc/runtest.1: Use condensed years in copyright statement. 2016-06-21 Bernhard Reutner-Fischer * runtest: Quote paths. Use test -z, -n for clarity. 2016-06-21 Bernhard Reutner-Fischer * config/adb.exp (adb_exec) Improve verbose message. 2016-06-03 Jim Wilson * baseboards/aarch64-sim.exp: New file. * Makefile.am (baseboard_DATA): Add aarch64-sim.exp. * Makefile.in: Regenerate. * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64. 2016-04-26 Ben Elliston * doc/dejagnu.texi: Fill more paragraphs. 2016-04-25 Ben Elliston * testsuite/runtest.all/utils.test: Remove unsetenv test. 2016-04-24 Ben Elliston * lib/utils.exp (unsetenv): Remove proc. * doc/dejagnu.texi: Update documentation. * NEWS: Update. 2016-04-19 Nick Clifton * baseboards/msp430-sim.exp: New file. * Makefile.am (baseboard_DATA): Add msp430-sim.exp. * Makefile.in: Regenerate. 2016-04-18 Ben Elliston * runtest: Remove quoting in final exec command. 2016-04-17 Ben Elliston * lib/remote.exp: Load ssh.exp lib. 2016-04-17 Ben Elliston * lib/rsh.exp (rsh_open): Fix description comment. 2016-04-17 Ben Elliston Reported by shellcheck. * runtest: Use $((..)) not `expr ..` and defensively double quote shell variables. 2016-04-17 Ben Elliston * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp. * Makefile.in: Regenerate. 2016-04-17 Ben Elliston Reported by shellcheck. * runtest: Use $((..)) not `expr ..`. 2016-04-17 Ben Elliston * configure.ac (AC_INIT): Update version number. * configure: Regenerate. * runtest.exp (frame_version): Update version number. * doc/dejagnu.texi: Likewise. 2016-04-17 Ben Elliston * NEWS: Start a new section for the next release. 2016-04-15 Ben Elliston * Makefile.am (CONTRIB): Add new contrib scripts. * Makefile.in: Regenrate. 2016-04-15 Ben Elliston * lib/ssh.exp (ssh_exec): Handle regexp return status. 2016-04-13 Ben Elliston * lib/rsh.exp (rsh_exec): Improve verbose message. * lib/ssh.exp (ssh_exec): Likewise. * config/adb.exp: Likewise. 2016-04-13 Ben Elliston * runtest.exp: Improve --version (-v) output. * testsuite/runtest.all/options.exp: Update test case. 2016-04-13 Christophe Lyon * lib/rsh.exp (rsh_exec): Handle regexp return status. 2016-04-08 Ben Elliston Reported by Faraz Shahbazker. * doc/dejagnu.texi (Global config file): Fix broken @node. (Local config file): Likewise. 2016-04-07 Ben Elliston * lib/remote.exp (remote_exec): Join cd $remotedir and $program on the command line with ';' and not &&. 2016-04-07 Ben Elliston Reported by Faraz Shahbazker. * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node. 2016-04-06 Yvan Roux * lib/remote.exp (remnote_download): Create a remote directory if needed and use it. (remote_exec): Execute program inside remotedir when it exists. (standard_load): Set remotedir board field if not present. * config/unix.exp (unix_load): Handle remotedir in board field. (remotedir): Set board info field. * doc/dejagnu.texi (Board File Values): Document remotedir. 2016-04-06 Ben Elliston * doc/dejagnu.texi (Global config file): Put before node 'Local config file'. 2016-04-05 Ben Elliston * runtest.exp: Remove defunct and undocumented --tool_root option. 2016-04-04 Ben Elliston * doc/dejagnu.texi: More overhauling. 2016-04-04 Ben Elliston * lib/targetdb.exp (set_board_info): Improve comment. (add_board_info): Likewise. 2016-04-04 Ben Elliston * NEWS: Add some more detail. 2016-04-04 Ben Elliston * site.tmpl: Delete. * Makefile.am (EXTRA_DIST): Remove site.tmpl. * Makefile.in: Regenerate. 2016-04-03 Ben Elliston * doc/dejagnu.texi: More overhauling. 2016-04-03 Ben Elliston * runtest.exp: Document the magical handling of -D[01]. 2016-04-03 Ben Elliston * doc/runtest.1: Do not document obsolete --status option. It is still accepted for compatibility, but does nothing. 2016-04-03 Ben Elliston * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first. 2016-04-03 Ben Elliston * doc/runtest.1 (OPTIONS): Sort options. 2016-04-03 Ben Elliston * doc/dejagnu.texi: More overhauling. 2016-04-02 Ben Elliston * doc/dejagnu.texi: Fill paragraphs. 2016-04-02 Ben Elliston * doc/dejagnu.texi: Fix capitalisation of procedure names throughout. Use Tcl syntax in procedure prototypes, not C syntax. 2016-04-02 Rob Savoye * contrib/mysql/create-db.sql: New file. * contrib/mysql/importxml.sh: Likewise. * contrib/mysql/make-datafile.sh: Likewise. * contrib/mysql/plot.sh: Likewise. * contrib/mysql/README: Likewise. * contrib/mysql/sum2xml.sh: Likewise. 2016-04-02 Ben Elliston * config.guess: Update to version 2016-04-02. * config.sub: Update to version 2016-03-30. 2016-04-02 Rob Savoye * contrib/sum2junit.sh: New. 2016-04-01 Ben Elliston * doc/dejagnu.texi (connprocs): Document new SSH procs. 2016-03-31 Rob Savoye * lib/ssh.exp: New. * NEWS: Update. 2016-03-30 Ben Elliston * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp, lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp, runtest.exp: Fix spelling errors in comments. 2016-03-30 Ben Elliston * lib/remote.exp (remote_expect): Use perror not send_user. 2016-03-29 Ben Elliston * lib/remote.exp (remote_expect): Fix spelling error. 2016-03-29 Rob Savoye * runtest.exp: Only print "searching for " message at verbose level >= 2 -- too much noise. 2016-03-29 Ben Elliston * texinfo.tex: Update to latest master version. * INSTALL: Likewise. 2016-03-29 Ben Elliston * runtest.exp: More fixes identified by the Frink static analyser. * lib/dg.exp: Likewise. * config/adb.exp: Likewise. * config/vxworks.exp: Likewise. * baseboards/androideabi.exp: Likewise. * baseboards/basic-sid.exp: Likewise. * baseboards/multi-sim.exp: Likewise. 2016-03-28 Dominik Vogt * dg.exp (dg-do): Do not change the previously selected action if a de-selected dg-do is encountered. 2016-03-28 Ben Elliston * lib/framework.exp (check_xml): Remove unused proc. 2016-03-28 Rob Savoye * lib/dmucs.exp: New. 2016-03-28 Rob Savoye * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly built compiler, then look in the path. 2016-03-28 Ben Elliston * lib/utils.exp (which): Don't exclude symbolic links--Debian's /bin/which doesn't. Modern systems rely too heavily on symbolic links (eg. alternatives). 2016-03-28 Ben Elliston * baseboards/multi-sim.exp: Indent properly. 2016-03-28 Ben Elliston * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn rlogin. Identified by Frink. 2016-03-28 Ben Elliston * runtest.exp: Use 'array exists' for testing array existence rather than 'info exists'. 2016-03-28 Ben Elliston * runtest.exp: Fixes identified by the Frink static analyser: (1) use -- in switch commands for safety, (2) remove unreachable return commands after error commands, (3) replace abbreviated "info proc" with "info procs", (4) use -- in unset commands for safety where the variable name is itself a variable. * lib/dg.exp: Likewise. * lib/debugger.exp: Likewise. * lib/framework.exp: Likewise. * lib/remote.exp: Likewise. * lib/target.exp: Likewise. * lib/targetdb.exp: Likewise. * lib/telnet.exp: Likewise. * lib/utils.exp: Likewise. 2016-03-28 Ben Elliston * Makefile.am: Remove references to Docbook and friends. * configure.ac: Likewise. * Makefile.in: Regenerate. * configure: Regenerate. * doc/dejagnu.xml: Remove. * doc/legal.xml: Likewise. * doc/ref.xml: Likewise. * doc/user.xml: Likewise. 2016-03-28 Ben Elliston * lib/framework.exp (exp_continue): Remove old compatibility wrapper. Expect deprecated 'continue -expect' in August 1997. 2016-03-28 Ben Elliston * NEWS: Update. 2016-03-28 Ben Elliston * lib/utils.exp (which): Reimplement to more closely mimic the behaviour of the UNIX which utility. * testsuite/runtest.all/utils.test: Test proc which. 2016-03-27 Ben Elliston * lib/remote.exp (standard_wait): Append any trailing characters to $output that may be still in $expect_out(buffer) when eof is matched. Remove arbitrary limitation in the ".+" matching case, similar to the change to local_exec on 2016-02-17. 2016-03-23 Ben Elliston * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp, mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp. * Makefile.in: Regenerate. * baseboards/cygwin.exp, baseboards/mcore-elf.exp, baseboards/mcore-pe.exp, baseboards/vx4300.exp, baseboards/vx68k.exp, baseboards/vx960.exp, baseboards/vxsparc.exp: Remove. 2016-03-23 Ben Elliston * baseboards/README: Remove mention of devo. * baseboards/iq2000-sim.exp: Likewise. * baseboards/moxie-sim.exp: Likewise. 2016-03-23 Ben Elliston * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp. * Makefile.in: Regenerate. * baseboards/arm-ice.exp: Reinstate. * baseboards/arm-sim.exp: Likewise. 2016-03-23 Ben Elliston * Makefile.am (config_DATA): Update. (baseboard_DATA): Likewise. * Makefile.in: Regenerate. * NEWS: Update. Remove the following old config files: * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp, cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp, dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp, m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp, mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp, proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp, tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove. Remove the following old baseboard files: * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp, d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp, fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp, h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp, i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp, m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp, mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp, mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp, powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp, sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp, tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp, vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp, xscale-cygmon.exp: Remove. 2016-03-22 Ben Elliston * lib/target.exp (only--Ls): Change '???' comment to a note. This isn't a serious shortcoming, but the comment should be retained. 2016-03-22 Rob Savoye * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in the environment, use that as the spec file for bare metal testing. 2016-03-22 Ben Elliston * Makefile.am (config_DATA): Add config/aarch64-fv8.exp. * Makefile.in: Regenerate. 2016-03-22 Rob Savoye * config/aarch64-fv8.exp: Add support for testing armv8 using the ARM Foundation Model. 2016-03-21 Ben Elliston * runtest.exp: Whitespace, comment and typo fixes. * lib/dejagnu.exp: Likewise. * lib/remote.exp: Likewise. * lib/utils.exp: Likewise. 2016-03-21 Ben Elliston * baseboards/mcore-moto-sim.exp: Remove old FIXME comment. * baseboards/mmixware-sim.exp: Likewise. * config/sim.exp: Likewise. * runtest.exp: Likewise. 2016-03-21 Ben Elliston * lib/dg.exp (dg-get-options): Clean up regular expression and remove FIXME comment about it. 2016-03-20 Ben Elliston * baseboards/i960-sim.exp: Remove stale ??? comment. * config/vxworks.exp: Likewise. 2016-03-20 Ben Elliston * runtest.exp: Load .dejagnurc last not first. (load_file): Update comment about Tcl 7.5a2. * doc/user.xml (Customizing DejaGnu): Document new search order for site.exp files. * doc/dejagnu.texi: Regenerate. * NEWS: Update. 2016-03-20 Ben Elliston * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME. 2016-03-20 Ben Elliston * lib/dg.exp: Remove commented-out calls to send_user. 2016-03-20 Ben Elliston * runtest.exp (load_file): Remove old comment. 2016-03-20 Ben Elliston * lib/dg.exp (dg-test): There is no need to call unresolved to clear errcnt. Instead, pass 0 as argument 2 to perror. * runtest.exp (runtest): Likewise. 2016-03-16 Ben Elliston Revert this change (the GCC testsuite uses diff): 2016-03-15 Ben Elliston * lib/utils.exp (diff): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. * NEWS: Update. 2016-03-15 Ben Elliston * testsuite/runtest.all/options.exp: Properly clean up log files left by the runtest under test. 2016-03-15 Ben Elliston * testsuite/runtest.all/load_lib.exp: Typo fixes. 2016-03-15 Ben Elliston * testsuite/runtest.all/options.exp: Add more tests. 2016-03-15 Ben Elliston * testsuite/libdejagnu/tunit.exp: Clean up. 2016-03-15 Ben Elliston * lib/utils.exp (diff): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. * NEWS: Update. 2016-03-15 Ben Elliston Revert this change: 2016-02-14 Steve Ellcey * baseboards/multi-sim.exp (dynamic_linker_flag): Check GCC_UNDER_TEST. * baseboards/multi-sim.exp (rpath_flags): Ditto. 2016-03-13 Ben Elliston * lib/utils.exp: Whitespace fixes. 2016-03-13 Ben Elliston * lib/dg.exp (dg-process-target): Remove old commented code. * lib/dg.exp (dg-test): Likewise. 2016-03-13 Ben Elliston * lib/dg.exp: Improve top-of-file documentation. 2016-03-05 Yvan Roux * lib/remote.exp (remote_exec): Restore original timeout value. 2016-03-04 Yvan Roux * lib/remote.exp (standard_upload): Remove dead code. 2016-02-24 Ben Elliston * lib/utils.exp (prune): Restore this proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. * NEWS: Update. 2016-02-23 Iain Buclaw * lib/libgloss.exp (find_gdc): New proc. * lib/target.exp (default_target_compile): Add D support. * NEWS: Update. 2016-02-20 Ben Elliston * lib/utils.exp (diff): Replace calls to verbose followed by send_log with a single call to verbose -log. Remove additional newlines from the log messages. 2016-02-20 Ben Elliston * lib/utils.exp (getdirs): Ignore .git and .svn directories. 2016-02-20 Ben Elliston * lib/utils.exp: Improve comments. * NEWS: Update. 2016-02-20 Ben Elliston * lib/utils.exp (prune): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. 2016-02-20 Ben Elliston * lib/utils.exp (slay): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. 2016-02-20 Ben Elliston * lib/utils.exp (absolute): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. 2016-02-20 Ben Elliston * lib/utils.exp (psource): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. 2016-02-20 Ben Elliston * lib/targetdb.exp (board_info): Simplify return logic. 2016-02-19 Ben Elliston * configure.ac: Require Tcl version 8.5 at a minimum. * configure: Regenerate. 2016-02-18 Ben Elliston * configure.ac: Require Tcl version 8.6 at a minimum. * configure: Regenerate. 2016-02-17 Ben Elliston * runtest.exp: Tweak "Test run by .." output. 2016-02-17 Ben Elliston * lib/target.exp (default_target_compile): Do not pass -log to verbose when outputting the captured compiler/assembler/linker diagnostic output as it will already be in the .log file courtesy of Expect. 2016-02-17 Ben Elliston * runtest.exp: Enable --status by default. (runtest): Set exit status to 2 if there is any error sourcing the Tcl scripts. * lib/framework.exp (unknown): Likewise, set exit status to 2. * doc/runtest.1: Clarify exit status codes. * NEWS: Update. 2016-02-17 Ben Elliston * lib/remote.exp (local_exec): Call exp_continue until eof is matched. 2016-02-16 Ben Elliston * runtest.exp: Use the traditional exit codes when runtest is interrupted. This makes it possible to tell if runtest ran to completion or not. Suggested by Michael Chastain. 2016-02-15 Ben Elliston * TODO: Add ideas produced from Cauldron 2013. 2016-02-15 Ben Elliston * TODO: Update. 2016-02-15 Ben Elliston * lib/dg.exp (dg-test): Remove comment about proc unresolved not setting exit_status to 1 -- it does. 2016-02-15 Ben Elliston * lib/framework.exp (cleanup): Remove do-nothing proc. (log_and_exit): Remove call to cleanup. * doc/ref.xml: Remove documentation for cleanup. * doc/dejagnu.texi: Regenerate. 2016-02-15 Ben Elliston Reported by David Malcolm. * lib/dejagnu.exp (text): Allow angle brackets in test messages. 2016-02-15 Ben Elliston * config.guess: Update to version 2016-02-11. * config.sub: Update to version 2016-01-01. 2016-02-14 Maxim Kuvyrkov * lib/remote.exp (remote_exec): Set global timeout for benefit of _exec. 2016-02-14 Ben Elliston * lib/remote.exp (local_exec): Improve comments. 2016-02-14 Ben Elliston * doc/runtest.1: Tweak. 2016-02-14 Steve Ellcey * baseboards/multi-sim.exp (dynamic_linker_flag): Check GCC_UNDER_TEST. * baseboards/multi-sim.exp (rpath_flags): Ditto. 2016-01-23 Simon Marchi * lib/remote.exp (standard_file): Reverse return logic for remote exists case. 2016-01-23 Simon Marchi * lib/remote.exp (standard_file); Add else clause. 2016-01-16 Ben Elliston * runtest.exp (runtest): Improve comment about --status. 2016-01-12 Simon Marchi * lib/remote.exp (standard_file): The [ operator does not actually output anything. It returns 0 or 1 as its exit code, so "exit `[ -f $file ]`" always expands to "exit " (equivalent to exit 0). Instead, use test(1) to check for file existence. 2015-12-20 Ben Elliston * doc/dejagnu.xml: Begin overhauling. * doc/ref.xml: Likewise. * doc/user.xml: Likewise. * doc/dejagnu.texi: Regenerate. 2015-12-20 Ben Elliston * doc/runtest.1: Miscellaneous minor improvements. 2015-12-09 Yoshinori Sato * Makefile.am (baseboard_DATA): Add missing rx-sim.exp. * Makefile.in: Regenerate. 2015-11-16 Brooks Moses * config/unix.exp: Add ability to set test timeout from site.exp. * doc/user.xml: Document new test_timeout variable in site.exp. * doc/dejagnu.texi: Regenerate. 2015-11-16 Ben Elliston * testsuite/runtest.all/options.exp: Re-enable --strace 1 test. 2015-11-16 Ben Elliston * testsuite/runtest.all/options.exp: Remove some commented code. 2015-11-16 Ben Elliston * runtest.exp: Refer to "DejaGnu version", not "Framework version" in --version output. * testsuite/runtest.all/options.exp: Update test case. 2015-11-14 Ben Elliston * runtest.exp (usage): Improve help text. 2015-11-12 Ben Elliston * runtest.exp (usage): Sort options in usage. 2015-11-12 Ben Elliston * lib/framework.exp (note): Remove old commented-out code. 2015-11-11 Ben Elliston * doc/user.xml (Summary File): 'untested', not 'runtested'. * doc/dejagnu.texi: Regenerate. 2015-11-11 Michael Forney * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET. 2015-11-11 Ben Elliston * doc/dejagnu.texi: Regenerate. 2015-11-10 Ben Elliston * doc/user.xml: Fix runtest output formatting in . 2015-11-10 Ben Elliston * doc/dejagnu.xml: Update month and year. * doc/user.xml: Lots of editorial fixes from Daniel Thibault . 2015-09-10 Robert Suchanek * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check. 2015-07-30 Pedro Alves * lib/remote.exp (close_wait_program): New procedure. (local_exec, standard_close): Use it. 2015-05-23 Ben Elliston * doc/dejagnu.xml: Fix broken URLs. * doc/dejagnu.texi: Regenerate. 2015-05-23 Ben Elliston * doc/user.xml: Fix 'crosscompilation'. 2015-05-23 Ben Elliston * doc/runtest.1 (log_dialog): Improve documentation. 2015-05-16 Filipe Brandenburger * configure.ac: Enable subdir-objects, require automake 1.14. * Makefile.in: Regenerate. 2015-05-15 Filipe Brandenburger * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...}, possibly introduced in a conversion of .texi to SGML Docbook. * doc/user.xml: Likewise. * doc/ref.xml: Likewise. * doc/dejagnu.texi: Regenerate. 2015-05-15 Filipe Brandenburger * runtest.exp (runtest): Introduce new --log_dialog option. * doc/runtest.1: Document it. * doc/user.xml: Likewise. * doc/dejagnu.texi: Regenerate. 2015-05-14 Steve Ellcey * baseboards/multi-sim.exp (get_library_dirlist): New. (dynamic_linker_flag): Use get_library_dirlist to find dynamic linker. (rpath_flags): Use get_library_dirlist to set rpath. 2015-05-12 Steve Ellcey * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION. 2015-03-30 Ben Elliston Revert the following change which causes breakage reported here: https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html 2011-03-14 Jan Kratochvil * runtest.exp (runtest): Call reset_vars at initialisation so that perror does not affect test results in other test scripts. 2015-02-26 H.J. Lu * lib/target.exp (default_target_compile): Prepend multilib_flags, instead of appending it. 2015-02-18 Ben Elliston * lib/framework.exp (log_and_exit): Set tool to "testrun" if unset. 2015-02-05 Ben Elliston * doc/runtest.1: Fix a spelling error. 2015-02-04 Ben Elliston * config.guess: Update to version 2015-01-01. * config.sub: Likewise. 2015-01-22 Eric Botcazou * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp. * Makefile.in: Regenerate. * baseboards/visium-sim.exp: New file. 2014-11-25 Ben Elliston * lib/dejagnu.exp (host_execute): Remove stray leading hyphen. Reported by David Malcolm. 2014-10-28 Ben Elliston * Makefile.in: Regenerate. 2014-10-28 Ben Elliston * example: Remove stale examples. 2014-10-24 Steve Ellcey * dejagnu.h (pass): Make function static as well as inline. (xpass): Ditto. (fail): Ditto. (xfail): Ditto. (untested): Ditto. (unresolved): Ditto. (note): Ditto. (totals): Ditto. 2014-10-14 Ben Elliston * runtest.exp: Only match $directory, not *${directory}* when the user passes the --directory option. Reported by Sergey Alyoshin. 2014-10-14 Ben Elliston * lib/dejagnu.exp (host_execute): Remove buffer_full check. This is not the right command keyword -- it is full_buffer. Reported by David Malcolm. 2014-07-15 Maciej W. Rozycki Maciej W. Rozycki * lib/targetdb.exp (add_board_info): New procedure. * doc/ref.xml (Add_board_info Procedure): New section. (Set_board_info Procedure): Add description. (Unset_board_info Procedure): Likewise. * doc/user.xml (Board Config File Values): Add `add_board_info' reference. Reorder `gdb_init_command' table rows and remove a duplicate entry, reusing it for `gdb_init_commands'. 2014-06-25 Rob Savoye * runtest.exp: (lookfor-file): Fix bug were none of the relative paths were actually being used for file lookup. 2014-06-06 Ben Elliston * depcomp, install-sh, missing: Update to latest versions. * mkinstalldirs: Remove. * Makefile.in: Regenerate. 2014-06-04 Ben Elliston * Makefile.in: Regenerate with Automake 1.14.1. * compile: Add missing file. 2014-06-04 Ben Elliston * config.guess: Update to version 2014-03-23. * config.sub: Likewise. 2014-06-04 Ben Elliston * aclocal.m4: Regenerate with Automake 1.14.1. * configure: Regenerate with Autoconf 2.69. 2014-03-15 Steve Ellcey * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check. 2014-02-23 Steve Ellcey Richard Sandiford * config/sim.exp (sim_exec): New. (sim_file): New. 2013-12-08 Richard Sandiford * lib/dg.exp (dg-test): Don't put the expected and actual output of a pattern test in the test name; send it to the log instead. 2013-11-01 Steve Ellcey * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard. * Makefile.in: Regenerate. * baseboards/multi-sim.exp: New. 2013-10-31 Anton Kolesov * lib/remote.exp (standard_reboot): Return 1 instead of an empty string. (remote_reboot): Add comment explaining return value of this procedure. * doc/ref.xml (remote_reboot, standard_reboot): Document procedures. * doc/dejagnu.texi: Regenerate. 2013-10-15 Alexander Ivchenko * baseboards/androideabi.exp (process_multilib_options): Add option. * config/adb.exp: Remove hardcoded -static option. (adb_load): Add the possibility to change the temp directory. Also handle permission potential problems. (adb_exec): Do cd to android_tmp_dir first. 2013-10-05 Jose E. Marchesi * baseboards/unix.exp: Add gdb settings to not use hardware watchpoints in sparc64 running GNU/Linux. 2013-06-17 Bernhard Reutner-Fischer * runtest.exp (libdirs): New global variable. (load_lib): Append libdirs to search_and_load_files directories. * doc/ref.xml (load_lib): Document global variable libdirs. * doc/dejagnu.texi: Regenerate. * testsuite/runtest.all/load_lib.exp: New testcase. * Makefile.am (TESTSUITE_FILES): Add new testcase. * Makefile.in: Regenerate. 2013-06-15 Ben Elliston * configure.ac: If DEJAGNU is unset, set it to /dev/null. * Makefile.am: Export DEJAGNU. * configure: Likewise. * Makefile.in: Regenerate. 2013-06-15 Bernhard Reutner-Fischer * doc/user.xml: Fix typos. * doc/ref.xml: Likewise. * doc/dejagnu.texi: Regenerate. 2013-06-15 Bernhard Reutner-Fischer * doc/user.xml: Fix number of columns in table. * doc/dejagnu.texi: Regenerate. 2013-06-15 Bernhard Reutner-Fischer * doc/user.xml: Fix rendering errors around programlisting. * doc/ref.xml: Likewise. * doc/dejagnu.texi: Regenerate. 2013-06-15 Bernhard Reutner-Fischer * doc/user.xml: Fix spacing before productname. * doc/dejagnu.texi: Regenerate. 2013-06-12 Bernhard Reutner-Fischer * testsuite/runtest.all/default_procs.tcl (send_log): Use the magic "args" parameter name, as expect send_log proc accepts -- as a leading option. 2013-06-08 Makoto Fujiwara * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS. (config_DATA): Likewise for config_SCRIPTS. (baseboard_DATA): Likewise for baseboard_SCRIPTS. (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and baseboard_SCRIPTS. * Makefile.in: Regenerate. 2013-06-08 Ben Elliston * configure: Regenerate with autoconf 2.69. * aclocal.m4: Regenerate. 2013-03-31 Ben Elliston * Makefile.am (html-local): Rename target from html. * Makefile.in: Regenerate with automake 1.12.6. * aclocal.m4: Likewise. * configure: Regenerate. 2013-03-28 Gilles Espinasse * TODO: Remove todo item about warncnt and errcnt. 2013-03-28 Gilles Espinasse * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once. 2013-03-26 Ben Elliston * config.guess: Update to version 2013-02-12. * config.sub: Likewise. 2013-02-16 Rob Savoye * config/adb.exp: Add adb_file so we can remotely delete test cases to save on limited disk space. Don't remove the file after executing it, leave that for the test driver instead. 2013-02-15 Rob Savoye * config/adb.exp: Remove the test case after executing it. Otherwise we can fill up all the diskspace on a small target pretty fast. 2013-02-11 Rob Savoye * baseboards/androideabi.exp: Board support for Android using ADB. * config/adb.exp: Config support for Android using ADB. * Makefile.am (dist): Add new config and board files. * aclocal.m4, Makefile.in, configure, example/calc/configure, example/mathhelper/configure: Regenerated with newer autotools. 2012-12-05 Ben Elliston * example/hello: Remove. * configure.ac: Likewise. * configure: Regenerate. 2012-10-04 Steve Ellcey * Makefile.am (baseboard_SCRIPTS): Add new baseboards. * Makefile.in: Regenerate. * baseboards/mips-sim-mti32.exp: New. * baseboards/mips-sim-mti64.exp: New. * baseboards/mips-sim-mti64_n32.exp: New. * baseboards/mips-sim-mti64_64.exp: New. * baseboards/mips-sim-sde32.exp: New. * baseboards/mips-sim-sde64.exp: New. 2012-10-04 Ben Elliston * aclocal.m4: Regenerate with automake 1.11.3. * Makefile.in: Likewise. * configure: Regenerate with autoconf 2.68. 2012-08-22 Steve Ellcey * baseboards/generic-sim.exp: New baseboard definition. 2012-06-15 Andreas Schwab * lib/framework.exp (clone_output): Protect from leading dash in $message. * runtest.exp (verbose): Likewise. 2012-06-11 Tom Tromey * doc/runtest.1: Update. * runtest.exp (xml_file_name): New global. (usage): Update. Handle optional argument to --xml. * lib/framework.exp (open_logs): Respect xml_file_name. 2012-03-24 Bernhard Reutner-Fischer * runtest.exp (load_tool_init): Fix typo in -de option handling. 2012-03-24 Bernhard Reutner-Fischer * doc/runtest.1: Correct name of debug file. 2012-02-25 Ben Elliston * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu for runtest.exp as a last resort (for usrmove environments, where /bin is a link to /usr/bin). From Honza Horak . 2011-12-30 Ben Elliston * doc/user.xml: Various spelling and consistency fixes. * doc/ref.xml: Likewise. (exit_remote_shell): Remove, as this procedure is defunct. * doc/dejagnu.texi: Regenerate. 2011-12-30 Ben Elliston * config.guess: Update to version 2011-12-29. * config.sub: Update to version 2011-11-11. 2011-06-30 Tom Tromey * doc/ref.xml: Document find_gfortran. * doc/dejagnu.texi: Regenerate. * lib/target.exp (default_target_compile): Handle f90. (default_target_compile): Likewise. * lib/libgloss.exp (find_gfortran): New proc. 2011-06-30 Ben Elliston * Makefile.am (all-local): New rule. * Makefile.in: Regenerate. 2011-04-12 Ben Elliston * config/vxworks.exp (vxworks_file): Use "file delete", not "exec rm", for better portability. * config/netware.exp (${board}_load): Likewise. * lib/dg.exp (dg-test): Likewise. * lib/framework.exp (open_logs): Likewise. * lib/remote.exp (standard_file): Likewise. * runtest.exp: Likewise. * testsuite/runtest.all/options.exp: Likewise. 2011-03-15 Ben Elliston * runtest.exp: Whitespace cleanups. * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp, lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise. 2011-03-15 Ben Elliston * runtest: Remove trailing semicolons. * lib/rsh.exp: Likewise. 2011-03-15 H.J. Lu * lib/remote.exp (local_exec): Ignore SIGHUP. 2011-03-14 Ben Elliston * runtest.exp (frame_version): Set to 1.5.1. * configure.ac (AC_INIT): Set version to 1.5.1. * configure: Regenerate. * doc/dejagnu.xml (appversion, version): Set to 1.5.1. * doc/dejagnu.texi: Regenerate. 2011-03-14 Ben Elliston * dejagnu.h: Whitespace cleanups. 2011-03-14 Ben Elliston * baseboards/cris-sim.exp: Remove trailing semicolon(s). * baseboards/mt-sid.exp: Likewise. * baseboards/tx39-sim.exp: Likewise. * lib/target.exp (default_target_compile): Likewise. 2011-03-14 Ben Elliston Reported by Flash Sheridan : * doc/user.xml (Testing "Hello world" locally): Improve the example test script and make it robust to failures. Tidy some formatting errors. * doc/dejagnu.texi: Regenerate. 2011-03-14 Jan Kratochvil * runtest.exp (runtest): Call reset_vars at initialisation so that perror does not affect test results in other test scripts. 2011-03-09 Ben Elliston * NEWS: Start a new section for post-1.5 changes. 2011-03-09 Ben Elliston * DejaGnu 1.5 released. 2011-03-09 Ben Elliston * Makefile.am (DISTCLEANFILES): Define. * Makefile.in: Regenerate. * testsuite/runtest.all/libs.exp: Clean up temp files on exit. * testsuite/runtest.all/options.exp: Likewise for dbg.log. * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file mkdir" instead of exec'ing mkdir(1). 2011-03-07 Ben Elliston * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE. * Makefile.in: Regenerate. 2011-03-06 Ben Elliston * configure.ac (AC_INIT): Set version to 1.5. * configure: Regenerate. * runtest.exp (frame_version): Set to 1.5. * doc/dejagnu.texi: Regenerate. 2011-03-04 Ben Elliston * texinfo.tex: Import latest version from ftp://tug.org/tex. 2011-03-04 Ben Elliston * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog. * Makefile.in: Regenerate. 2011-03-03 Ben Elliston * Makefile.am: Bump to GPL version 3. * configure.ac: Likewise. * Makefile.in: Regenerate. * aclocal.m4: Likewise. * configure: Likewise. 2011-03-03 Ben Elliston * config.guess: Update to most recent version. * config.sub: Likewise. 2011-03-03 Ben Elliston * lib/framework.exp (unknown): Rename the native Tcl ::unknown proc to ::tcl_unknown. If ::tcl_unknown returns a failure result, then fall back to the conventional DejaGnu handling. Report from David Byron . 2011-03-03 Maciej W. Rozycki * lib/remote.exp (remote_expect): Pass all exception conditions up to the caller. 2011-03-01 Rainer Orth * lib/dg.exp (dg-test): Support nested calls. 2010-04-13 Ben Elliston * testglue.c: Remove duplicated prototypes for abort and exit. 2010-03-26 Rainer Orth * doc/user.xml (Tcl Variables For Command Line Options): Correct column count. 2010-01-21 Jie Zhang * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load. 2010-01-15 Anthony Green * baseboards/moxie-sim.exp: New baseboard. 2009-12-10 DJ Delorie * baseboards/rx-sim.exp: New baseboard. 2009-10-15 Ben Elliston * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide. This web page has disappeared. 2009-07-06 Ben Elliston * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with