1 2024-10-20 Jacob Bachmeyer <jcb@gnu.org>
5 * doc/dejagnu.texi (Writing a test case): Fix typo reported by
8 2024-09-23 Jacob Bachmeyer <jcb@gnu.org>
10 * commands/report-card.awk: When preparing to compute totals and
11 setting $0 to the list of possible test results, explicitly set NF
12 to 9 to work around a bug in AIX 7.1 awk, which fails to update NF
13 when $0 is assigned from a constant string.
15 2024-09-18 Jacob Bachmeyer <jcb@gnu.org>
17 * dejagnu: Adapt Zsh compatibility prologue from configure.
20 2024-09-17 Jacob Bachmeyer <jcb@gnu.org>
22 * dejagnu: Search for a POSIX shell for commands implemented as
23 shell scripts instead of expecting commands to run with /bin/sh.
24 This allows command scripts to assume a POSIX shell from now on.
26 * dejagnu: Improve search for Awk interpreter using POSIX
27 command(1) utility to search paths. Also use POSIX getconf(1) to
28 obtain a standard system PATH that should contain POSIX versions
29 of various utilities; this enables finding POSIX Awk on Solaris 10.
31 * dejagnu: Quote "$verbose" when incrementing verbosity counter to
32 resolve shellcheck warning.
35 * dejagnu: Fix minor bug in extraction of help messages from
38 2024-09-16 Jacob Bachmeyer <jcb@gnu.org>
40 * testsuite/lib/launcher.exp (dejagnu_run): Add support for
41 testing the dejagnu(1) launcher with a shell specified as
42 LAUNCHER_SHELL on the command line.
44 Also add support for multipass testing with multiple shells by
45 setting LAUNCHER_SHELLS to a Tcl list on the command line.
47 2024-09-12 Jacob Bachmeyer <jcb@gnu.org>
49 * dejagnu: Adjust #! line according to recommendation in the
50 Autoconf manual. *Note: (autoconf)Portable Shell.
53 2024-09-06 Jacob Bachmeyer <jcb@gnu.org>
55 Thanks to Stefan for trying an environment that exposed this bug.
57 * runtest.exp: Revise search for user login name. Remove useless
58 test because there is no way for logname to be set when this code
59 is reached. Collect nested if/else/if tree into if/elseif chain.
60 Fix use of catch to avoid errors if whoami(1) and who(1) are not
63 2024-09-03 Jacob Bachmeyer <jcb@gnu.org>
65 Clean up whitespace issues found while updating license notices.
66 Also fix a missing paragraph separator line in one of the notices.
68 Update license notices to standard form for GPLv3. The move to
69 GPLv3+ appears to have been done by s/version 2/version 3/ in the
70 notices. Unfortunately, the FSF has moved their office and the
71 old mailing address is no longer valid.
73 Most of the work was automated using Emacs:
74 (let ((filelist (cons default-directory nil)))
77 (message "Examining %s ..." (car filelist)))
79 ((null (car filelist)) nil)
80 ;; These files are either imported or not GPL.
82 (concat "/dejagnu/\\(doc/\\|ChangeLog\\|AUTHORS\\|COPYING"
83 "\\|INSTALL\\|MAINTAINERS\\|NEWS\\|TODO\\|aclocal[.]m4"
84 "\\|compile\\|config[.]\\(?:guess\\|sub\\)\\|depcomp"
85 "\\|configure\\|install-sh\\|mdate-sh\\|missing"
88 ;; Nor do any of the READMEs contain GPL notices.
89 ((string-match "README" (car filelist)) nil)
90 ((file-directory-p (car filelist))
95 ((string-equal "." x) nil)
96 ((string-equal ".." x) nil)
97 ((string-match "^[.]git" x) nil)
98 (t (concat (file-name-as-directory
101 (directory-files (car filelist)))))
102 ((file-regular-p (car filelist))
104 (let ((had-buffer-p (get-file-buffer (car filelist))))
105 (cond (had-buffer-p (switch-to-buffer had-buffer-p))
107 (find-file-noselect (car filelist)))))
110 ;; The license block is at the beginning of the file.
111 (goto-char (point-min))
112 ;; Two minor punctuation changes:
113 (search-forward "DejaGnu is free software; ")
114 (replace-match "DejaGnu is free software: ")
115 (search-forward "Free Software Foundation; either")
116 (replace-match "Free Software Foundation, either")
117 ;; The most important change is trickier:
119 "received a copy of the GNU General Public License")
120 (search-forward "along with DejaGnu")
121 (let* ((start (point-marker))
122 (end (copy-marker (search-forward "USA") t)))
123 (delete-region start end)
126 ". If not, see <http://www.gnu.org/licenses/>"))
127 ;; Do not update copyright years for trivial changes.
128 (let ((before-save-hook nil)) (save-buffer)))
129 (search-failed (setq had-buffer-p t) nil))
130 (unless had-buffer-p (kill-buffer nil))))))
132 (message "Examining %s ... done." (car filelist)))
133 (setq filelist (cdr filelist))))
135 2024-08-14 Jacob Bachmeyer <jcb@gnu.org>
137 Thanks to Hans-Peter Nilsson for reporting this issue.
139 * lib/target.exp (prune_warnings): Adjust patterns for messages
140 emitted by the GNU linker. Older versions capitalized the message
141 stating the function that triggered the warning, while newer
142 versions do not. DejaGnu now recognizes and removes both forms.
144 2024-06-19 Jacob Bachmeyer <jcb@gnu.org>
148 * testsuite/lib/libsup.exp (start_expect): Remove "-onlret" from
149 stty_init. While POSIX defines this option, it is not implemented
150 on Mac OS X 10.5.8 and causes spurious failures on that system.
151 * testsuite/report-card.all/onetest.exp: Likewise.
153 * testsuite/report-card.all/passes.exp: While revising stty_init,
154 the lack of a similar setting was noticed in this file. Ensure
155 that "stty -onlcr" is applied to the Expect ptys.
157 2024-04-13 Jacob Bachmeyer <jcb@gnu.org>
159 * doc/dejagnu.texi (What is DejaGnu?): Update web site addresses.
161 2023-12-12 Jacob Bachmeyer <jcb@gnu.org>
163 Import patches from Maciej W. Rozycki <macro@embecosm.com>
165 * baseboards/qemu.exp (qemu_load): Add execution reporting.
166 * config/gdb-comm.exp (gdb_comm_load): Likewise.
167 * config/gdb_stub.exp (gdb_stub_load): Likewise.
168 * config/sim.exp (sim_load): Likewise.
169 * config/unix.exp (unix_load): Report full command in addition to
172 * baseboards/qemu.exp (qemu_load): Respect global `test_timeout'
174 * config/gdb-comm.exp (gdb_comm_load): Likewise.
175 * config/gdb_stub.exp (gdb_stub_load): Likewise.
176 * config/sim.exp (sim_load): Likewise.
177 * config/unix.exp (unix_load): Likewise, in the remote case.
178 * doc/dejagnu.texi (Local configuration file): Update
181 * config/gdb-comm.exp (gdb_comm_load): Set `testcase_timeout'
184 * config/unix.exp (unix_load): Don't ever set `test_timeout',
187 2023-11-22 Jacob Bachmeyer <jcb@gnu.org>
191 * doc/dejagnu.texi (Invoking dejagnu report card): Document
192 existence of totals rows in the produced table.
194 2023-11-07 Jacob Bachmeyer <jcb@gnu.org>
198 * runtest.exp: Change tests for [info exists target_alias] to
199 instead test for the empty string, to which target_alias is
200 unconditionally initialized at early startup.
202 2023-04-20 Jacob Bachmeyer <jcb@gnu.org>
206 Initial report: Christoph Muellner <christoph.muellner@vrull.eu>
208 * runtest.exp (restore_cmd_vars): Fix handling of values
209 containing whitespace, which are treated as multiple-element
210 lists and disrupt the eval implied by uplevel here.
212 * testsuite/runtest.main/options.exp: Add PR62982 regression test.
213 Improve tests for --target_board option by checking reported
214 target list instead of relying on actually running targets for
215 which no description file exists.
217 * testsuite/runtest.main/options.exp: Change argument lists for
218 test cases to conventional Tcl list notation using braces.
220 2023-04-18 Jacob Bachmeyer <jcb@gnu.org>
222 * testsuite/runtest.main/options.exp: Adjust pattern matched in
223 --objdir test to require the objdir given on the command line to
224 remain in force immediately after the local init file is loaded.
226 2022-12-20 Jacob Bachmeyer <jcb@gnu.org>
228 * dejagnu.h (totals, TestState::totals): Change "real failed" to
229 "failed" when listing number of failed tests.
230 * testsuite/libdejagnu/harness.exp (test_libdejagnu_unit): Update
231 to match above change.
233 * dejagnu.h (DG_error, DG_warning): New functions.
234 (TestState::error, TestState::warning): New methods.
235 * doc/dejagnu.texi (C unit testing API): Document new functions.
236 (C++ unit testing API): Document new methods and fix an error:
237 TestState::unsupported does not take varargs.
238 * testsuite/libdejagnu/unit-c.c (main): Add support for testing
240 * testsuite/libdejagnu/unit-cxx.cxx (main): Likewise.
241 * testsuite/libdejagnu/unit-ccxxmix.cxx (main): Likewise.
242 * testsuite/libdejagnu/harness.exp: Add tests.
243 (test_libdejagnu_unit): Add support for ERROR and WARNING tokens.
245 * doc/dejagnu.texi (DejaGnu unit test protocol): Add ERROR and
246 WARNING tokens to DejaGnu unit testing protocol.
247 * lib/dejagnu.exp (host_execute): Implement same.
248 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp,
249 testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
250 Add support for testing ERROR and WARNING tokens.
251 * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
252 results after warnings and errors in unit test programs.
254 * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
255 results after warnings and errors.
256 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
257 Add support for above.
259 2022-11-30 Jacob Bachmeyer <jcb@gnu.org>
261 * testsuite/libdejagnu/unit.exp: Rename this...
262 * testsuite/libdejagnu/harness.exp: ...to this.
264 * doc/dejagnu.texi (C++ unit testing API): Document recent
265 improvements and the rest of the C++ API.
267 * dejagnu.h (TestState::TestState): Only perform initialization
268 when the first TestState object is constructed.
269 (DG): Add global TestState object.
271 * dejagnu.h (DG__endmsg): New function, called using atexit().
272 (endmsg_registered, TestState_count): Add fields to DG__status.
273 (DG__init): New function, to register DG__endmsg.
274 (pass, xpass, fail, xfail, untested, unresolved, unsupported)
275 (note): Call DG__init to ensure libdejagnu initialization.
276 (totals): Move "END" message to DG__endmsg.
277 (TestState::TestState): Consider DG__endmsg registered when a
278 TestState object is constructed.
279 (TestState::TestState, TestState::~TestState): Track number of
280 live TestState objects in global status structure.
281 (TestState::~TestState): Call totals() and emit "END" message only
282 when the last TestState object is destroyed.
284 * dejagnu.h (outstate): Remove.
285 (TestState::pass, TestState::xpass, TestState::fail)
286 (TestState::xfail, TestState::untested, TestState::unresolved)
287 (TestState::unsupported, TestState::note): Remove support for
288 overriding protocol tag lines.
289 (outstate_list): Rename this...
290 (DG__outstate_list): ...to this to mark it as internal.
291 (teststate): Rename this...
292 (DG_teststate): ...to this to avoid name collisions with user code.
293 (TestState::TestState): Sort lines by length.
295 * dejagnu.h (buffer): Remove this variable.
296 (pass, xpass, fail, xfail, untested, unresolved, unsupported)
297 (note): Replace use of buffer and vsnprintf with flockfile,
298 multiple writes, and funlockfile in all functions.
300 * dejagnu.h (DG__status): New struct for test counters.
301 (passed, failed, xpassed, xfailed, untest, unresolve, unsupport):
302 Move all counters into new struct, changing all functions.
304 * doc/dejagnu.texi (C unit testing API): Document use of "DG_"
305 prefix in dejagnu.h and "DG__" for internal symbols.
306 (C++ unit testing API): Likewise. Also declare namespace
307 "DejaGnu" reserved for future expansion.
309 2022-11-29 Jacob Bachmeyer <jcb@gnu.org>
311 * Makefile.in: Regenerate.
312 * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-ccxxmix.
313 (testsuite_libdejagnu_unit_ccxxmix_SOURCES): Add.
314 * testsuite/libdejagnu/unit.exp: Add tests for C/C++ mixed usage.
315 * testsuite/libdejagnu/unit-ccxxmix.cxx: New file.
317 * testsuite/libdejagnu/unit.exp: Add note that tests for the
318 framework side of the unit testing protocol are located in
319 testsuite/runtest.main/stats.exp and its nested testsuite.
321 * Makefile.in: Regenerate.
322 * Makefile.am (check_PROGRAMS): Remove unit.
323 (unit_SOURCES): Remove.
324 * testsuite/libdejagnu/tunit.exp: Remove file.
325 * testsuite/libdejagnu/unit.cc: Remove file.
326 The limited coverage of this test is now included in unit.exp
327 and unit-cxx, and supporting this test required some leaky
328 abstractions in dejagnu.h that can now be cleaned up.
330 * Makefile.in: Regenerate.
331 * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-cxx.
332 (testsuite_libdejagnu_unit_cxx_SOURCES): Add.
333 * testsuite/libdejagnu/unit.exp: Add tests for C++ unit test API.
334 * testsuite/libdejagnu/unit-cxx.cxx: New file.
336 * dejagnu.h (TestState::totals): Emit header line, like the C version.
338 * dejagnu.h (TestState::note): New method, like C note().
339 * doc/dejagnu.texi (C++ unit testing API): Add note() method.
341 * doc/dejagnu.texi (C++ unit testing API): Fix incorrect
342 documentation. The C and C++ interfaces share the same global
343 counters, as do all C++ TestState objects.
345 2022-11-28 Jacob Bachmeyer <jcb@gnu.org>
347 * dejagnu.h: Remove _DEJAGNU_WAIT_ conditional and revise comment
348 to explain improved solution to the problem for which it seems to
349 have been intended as a workaround.
350 (wait): Remove this function. It conflicted with POSIX wait(2);
351 this conflict was reported as PR59586.
353 * testsuite/runtest.main/stats.exp: Add test for UNSUPPORTED
354 result from a unit test program.
355 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
356 Update to account for addition of END marker and UNSUPPORTED to
357 DejaGnu unit testing protocol.
359 * dejagnu.h: Add UNSUPPORTED test result.
360 (unsupport): New counter variable for UNSUPPORTED results.
361 (unsupported): New function in C API.
362 (TestState::unsupported): New function in C++ API.
363 (outstate_list): Add UNSUPPORTED entry.
364 (teststate::laststate): Likewise.
365 (totals): Mention number of unsupported tests.
366 (TestState::totals): Likewise for C++ API.
367 * lib/dejagnu.exp (host_execute): Add UNSUPPORTED test result.
368 * doc/dejagnu.texi (DejaGnu unit test protocol): Document same.
369 (C unit testing API): Document new function for same.
370 (C++ unit testing API): Document new function for same.
372 * testsuite/libdejagnu/unit-c.c: Add test for UNSUPPORTED.
373 * testsuite/libdejagnu/unit.exp: Likewise.
375 * testsuite/libdejagnu/unit.exp: Add test for NOTE message.
377 2022-11-26 Jacob Bachmeyer <jcb@gnu.org>
379 * Makefile.in: Regenerate.
380 * Makefile.am (AM_CXXFLAGS): Change this...
381 (AM_CPPFLAGS): ...to this. (Also remove -g flag.)
382 (check_PROGRAMS): Add testsuite/libdejagnu/unit-c.
383 (testsuite_libdejagnu_unit_c_SOURCES): Add.
384 (TESTSUITE_FILES): Update.
385 * testsuite/libdejagnu/unit-c.c: New file.
386 * testsuite/libdejagnu/unit.exp: New file.
388 * dejagnu.h (xpass): Fix use of wrong counter.
390 (totals): Report unexpected passes if any occurred.
392 * doc/dejagnu.texi (DejaGnu unit test protocol): Add end marker
393 line using "END" to allow detecting tests that exit prematurely.
394 The "Totals:" line was previously used for this purpose, but it
395 does not match the pattern documented as reserved for carrying
396 unit test results and information.
398 * lib/dejagnu.exp (host_execute): Remove test for "Totals" line.
399 (host_execute): Add corresponding support for the new line types.
401 * dejagnu.h (totals): Add end marker.
402 (TestState::totals): Likewise.
404 2022-10-04 Jacob Bachmeyer <jcb@gnu.org>
408 * lib/dg.exp (dg-test): Store results of analyzing messages in a
409 list, then report them to the framework after giving the pruning
410 callback an opportunity to skip the test case.
412 * testsuite/runtest.libs/dg.test: Add tests for skipping tests
413 based on special result codes from mock-dg-prune.
414 (mock-dg-test): Add directive for output text.
415 (mock-dg-prune): Recognize special markers for
416 UNRESOLVED/UNSUPPORTED/UNTESTED result codes.
418 2022-10-01 Jacob Bachmeyer <jcb@gnu.org>
422 * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks):
423 Report test failure instead of raising errors.
425 * testsuite/runtest.libs/dg.test: Add more unit tests.
426 (eval_tests): Copy this procedure...
427 * testsuite/runtest.libs/target.test (eval_tests): ...from here.
429 2022-09-30 Jacob Bachmeyer <jcb@gnu.org>
433 * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks): Add
434 usage comment and option to match number of calls for test.
435 (create_test_interpreter): Add support for mockvfs.
437 * testsuite/runtest.libs/dg.test: New file.
439 2022-09-29 Jacob Bachmeyer <jcb@gnu.org>
443 * testsuite/runtest.libs/mockvfs.tcl: New file.
445 2022-09-26 Jacob Bachmeyer <jcb@gnu.org>
447 * testsuite/runtest.libs/libs.exp (process_test): Add forward
448 slash to the list of characters recognized as text.
450 2022-01-21 Jacob Bachmeyer <jcb@gnu.org>
454 * runtest.exp (runtest): Reset the global warning and error
455 counters before running each test file. This prevents an error
456 "left over" from a previous test file from causing the first test
457 in the next file to be spuriously reported as UNRESOLVED.
459 * Makefile.am (TESTSUITE_FILES): Add new files.
461 * testsuite/runtest.main/pr53427.exp: New file for regression test.
462 * testsuite/runtest.main/nested/testsuite/pr53427.test/a.exp: Likewise.
463 * testsuite/runtest.main/nested/testsuite/pr53427.test/b.exp: Likewise.
465 2021-06-29 Jacob Bachmeyer <jcb@gnu.org>
469 * runtest.exp: Adjust detection logic for deprecated broken legacy
470 case of a testsuite not actually in a testsuite/ directory.
472 This was never supported but happened to work in older versions.
474 2021-05-22 Jacob Bachmeyer <jcb@gnu.org>
476 * Makefile.am (TESTSUITE_FILES): Correct oversight.
478 * configure, Makefile.in, aclocal.m4: Regenerate.
480 * runtest.exp, configure.ac, doc/version.texi: Update version.
482 * dejagnu: Fix error message.
484 * config.guess: Import patched version; patches sent upstream.
486 * commands/help.sh: Add test mode in which man(1) is never
487 actually invoked. The ability to reference a manpage by absolute
488 file name seems to be unique to Free systems.
489 * testsuite/launcher.all/help.exp: Amend test list to use new
490 testing mode in "dejagnu help" command. This mode should also
491 work on Solaris, so the logic for skipping the tests is removed.
493 2021-05-20 Jacob Bachmeyer <jcb@gnu.org>
495 * dejagnu: Search for a POSIX Awk and validate that at least a
496 simple Awk program actually works.
497 * testsuite/launcher.all/command.exp: Add tests for error produced
498 when no Awk is found and a help message is requested.
500 * lib/dejagnu.exp: Avoid reporting next test as UNRESOLVED when
501 reporting error due to missing size(1) while loading file.
503 * testsuite/lib/runtest.exp (runtest_copy_nested_testsuite_log):
504 New procedure. Dumps log from nested run into main test log.
506 * testsuite/runtest.libs/utils.test: Change test for [which make]
507 to [which sh] because make(1) is not always available on non-GNU
508 systems but sh(1) exists on any Unix. GNU make is often installed
509 as "gmake" on non-GNU systems and may be the only "make" utility.
511 * testsuite/runtest.main/pr42399.exp (test_pr42399): Revise to
512 ensure that a failure to produce any output at all in the inner
513 test will be detected. This was discovered on Solaris 10.
515 * testsuite/runtest.main/stats.exp: Copy stat.log from nested
516 testsuite run to the main test log upon test failure.
518 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
519 Explicitly pass /dev/null to unit-sub.awk because /usr/bin/awk on
520 Solaris 10 does not seem to recognize assignment to ARGV.
521 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
524 2021-05-18 Jacob Bachmeyer <jcb@gnu.org>
526 * dejagnu: Redirect input from /dev/null when testing if awk is
527 GNU Awk; this avoids a hang on Solaris 10 where awk treats
528 --version as an Awk program and attempts to read input.
529 (command): Rework the initial setting of this variable to avoid
530 limitations in Solaris 10 awk.
532 * testsuite/report-card.all/onetest.exp: Avoid Tcl error when item
533 and totals lines are missing entirely.
535 * testsuite/runtest.main/pr48155.exp: Fix assumption about exit
536 code from /bin/false, which is different on Solaris.
538 2021-05-05 Jacob Bachmeyer <jcb@gnu.org>
542 * Makefile.am (TESTSUITE_FILES): Update.
543 (CLEANFILES): Add special init file for PR48155 nested tests.
545 * testsuite/runtest.main/pr48155.exp: New file.
546 * testsuite/runtest.main/pr48155-csh.sh: New trivial file. This
547 script emulates the behavior of the C shell if an attempt is made
548 to use it to run the config.guess script.
550 2021-05-04 Jacob Bachmeyer <jcb@gnu.org>
554 * runtest.exp: Tighten regexp used to validate output from
555 config.guess. The previous regexp would accept an error produced
556 if config.guess was incorrectly run using the C shell.
558 2021-04-28 Jacob Bachmeyer <jcb@gnu.org>
560 * configure, Makefile.in: Regenerate.
562 * runtest.exp, configure.ac, doc/version.texi: Update version.
564 * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
565 to work around Automake limitation of assuming that v7 is default.
567 2021-04-20 Jacob Bachmeyer <jcb@gnu.org>
569 * configure.ac: Set Automake options to use the ancient and
570 universal V7 format when building distribution tarballs. The
571 limitations of this format are not expected to impact DejaGnu; the
572 "ustar" format will be used instead if this is proved wrong.
574 * Makefile.am (TAR_OPTIONS): Add exported environment variable to
575 set options when building distribution tarballs. Ensure that all
576 files in distribution tarballs will be recorded as owned by root.
578 2021-04-16 Jacob Bachmeyer <jcb@gnu.org>
582 * dejagnu (command): Use Awk instead of non-portable basename(1)
583 and a non-portable sed(1) pattern to initially set this variable.
585 * dejagnu: Use shell "case" pattern match instead of non-portable
586 "grep -q" to determine if "awk" is GNU Awk.
588 * dejagnu: Use Awk instead of non-portable "grep -q" to verify
589 that a file contains a help message. Also use Awk to extract help
590 messages from files, instead of a complex dynamic sed(1) program.
592 * configure.ac: Remove experimental support for propagating
593 CONFIG_SHELL to scripts in the source directory.
595 * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
596 running config.guess. Check the result carefully and stop with an
597 error immediately if running config.guess does not produce
598 something that plausibly resembles a triplet. Advise the user
599 that SHELL or CONFIG_SHELL may need to be set in the environment.
601 2021-04-15 Jacob Bachmeyer <jcb@gnu.org>
605 * dejagnu: Avoid using $? for an exit code; it is convenient until
606 the tests fail because the script is run on Solaris where false
607 returns 255 instead of 1 and the test harness expects exit code 1.
609 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
613 * dejagnu: Replace use of "expr :" with shell "case" pattern
614 match to avoid limitations of Solaris 10 expr(1).
616 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
618 * lib/specs.exp, testsuite/runtest.libs/specs.test: New files.
620 2021-04-08 Jacob Bachmeyer <jcb@gnu.org>
622 * configure: Regenerate.
624 * runtest.exp, configure.ac, doc/version.texi: Update version.
626 * configure.ac: Change "dnl" comments that should appear in
627 configure to regular comments.
628 Add experimental support for propagating CONFIG_SHELL to the
629 config.sub and config.guess scripts in the source directory.
631 2021-04-01 Jacob Bachmeyer <jcb@gnu.org>
635 * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
636 message to better fit GNU conventions, with thanks to Tom Tromey
637 for the reporting this issue.
641 * runtest: Remove use of non-portable "if !" that causes problems
642 with /bin/sh on Solaris 10.
644 * dejagnu (Variants): Split the declaration of this read-only
645 variable into an assignment followed by marking it read-only,
646 instead of doing both in one statement. The Solaris 10 /bin/sh
647 does not accept the combined form.
649 2021-03-30 Jacob Bachmeyer <jcb@gnu.org>
651 * configure: Regenerate.
653 * runtest.exp, configure.ac, doc/version.texi: Update version.
655 2021-03-26 Jacob Bachmeyer <jcb@gnu.org>
659 * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
660 since Solaris man(1) does not accept explicit filenames. The
661 manpages will be installed as usual, and the "dejagnu help"
662 command should work after installation.
664 Also set PAGER for testing, since other systems might also ignore
665 MANPAGER and that would cause the test to hang.
667 * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
668 copies of the output produced to the log.
670 * commands/help.sh: Extend PR47382 fix (below) to this file.
674 * testsuite/lib/runtest.exp: Remove support for automatically
675 locating an Expect executable in the old Cygnus tree layout.
677 2021-03-25 Jacob Bachmeyer <jcb@gnu.org>
681 * dejagnu, runtest: Remove use of "$()" command substitution and
682 "$(())" arithmetic substitution shell constructs. The /bin/sh on
683 Solaris 10 does not support them. They were replaced with the
684 traditional backticks for command substitution and backticks and
685 the expr command for arithmetic substitution.
687 Also add markers to explicitly disable shellcheck warnings that
688 would lead to reintroducing these problems.
690 Also avoid the non-portable "`..."..."...`" construct on a warning
691 in the GNU Autoconf manual, section "Shell Substitutions",
692 although this introduces additional variables.
694 2021-03-22 Jacob Bachmeyer <jcb@gnu.org>
696 * configure: Regenerate.
698 * runtest.exp, configure.ac, doc/version.texi: Update version.
700 * config.guess, config.sub: Import from upstream.
702 * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
704 2021-03-15 Jacob Bachmeyer <jcb@gnu.org>
706 * Makefile.am, Makefile.in: Update accordingly.
708 * contrib/compare_tests: Remove. This file lacked a GPL notice.
709 This file was imported from GCC many years ago. The GCC version
710 has benefited from continued development, while ours has not.
712 * testsuite/runtest.libs/load_lib.exp: Remove. This file lacked a
713 GPL notice and an attempt to contact the contributor produced no
714 response. The tests in this file will need to be rewritten in any
715 case; there is a bug in load_lib that they should expose and there
716 is now additional infrastructure for tests of this type that was
717 not available when this file was written.
719 2020-12-27 Jacob Bachmeyer <jcb@gnu.org>
721 * testsuite/runtest.libs/libs.exp (process_test): Report running
722 test scripts as each test script is run.
723 Also, at top-level, sort the list of tests to run.
725 * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
726 from new "testsuite can call api" feature test API entrypoint.
727 * lib/framework.exp (testsuite_can): Likewise.
728 * testsuite/runtest.libs/testsuite_can.test: Likewise.
731 2020-12-16 Jacob Bachmeyer <jcb@gnu.org>
733 * configure: Regenerate.
735 * configure.ac: Remove Tcl version check.
737 Apply patch from Nick Clifton:
739 * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
741 Apply patch from Dimitar Dimitrov:
743 * baseboards/pru-sim.exp: New file.
745 * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
746 * Makefile.in (baseboard_DATA): Likewise.
748 2020-12-15 Jacob Bachmeyer <jcb@gnu.org>
750 * configure: Regenerate.
751 * Makefile.in: Regenerate.
753 * Makefile.am (RUNTEST): Explain override of Automake default.
755 * configure.ac: Update for autoconf 2.69 using autoupdate.
756 * configure.ac: Remove search for expect now handled by Automake.
758 Apply patch from Dimitar Dimitrov:
760 * Makefile.am (dejagnu_TEXINFOS): Change this...
761 * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
763 This fixes an incorrectly recorded dependency.
765 2020-11-17 Jacob Bachmeyer <jcb@gnu.org>
769 * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
770 that conflated the tool init file with the target interface file.
771 (Make Check): Add cross-reference to the GNU Automake manual for
774 2020-11-10 Jacob Bachmeyer <jcb@gnu.org>
778 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
779 Use [file normalize] to ensure that link targets are unambiguous.
780 (link_dejagnu_launcher_test_item): Avoid spurious errors when test
781 environment has already been prepared in a previous run.
783 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
784 New procedure to collect existing repeated testsuite code.
785 * testsuite/launcher.all/command.exp: Establish testing
786 environment using link_dejagnu_launcher_test_item procedure.
788 2020-11-09 Jacob Bachmeyer <jcb@gnu.org>
790 * aclocal.m4: Regenerate.
791 * configure: Regenerate.
792 * Makefile.in: Regenerate.
794 * configure.ac: Revert development version branch tagging hook.
795 * Makefile.am: Likewise.
797 These caused failures (reported in PR44462 as a secondary issue)
798 when a source tree is copied out of a Git directory.
800 2020-08-31 Jacob Bachmeyer <jcb@gnu.org>
802 * doc/runtest.1: Add brief GFDL notice. License notice in the
803 formatted manpage should now describe DejaGnu as a whole.
805 * NEWS: Prepare for release.
807 2020-08-18 Jacob Bachmeyer <jcb@gnu.org>
809 * testsuite/runtest.libs/testsuite_file.test: Add missing
810 copyright and GPL notice.
811 * testsuite/runtest.libs/testsuite_can.test: Likewise.
812 * testsuite/runtest.libs/testcase_group.test: Likewise.
814 2020-08-12 Jacob Bachmeyer <jcb@gnu.org>
816 * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
817 (Running unit tests): Add node.
818 (DejaGnu unit test protocol): Add node.
819 (C unit testing API): Update to reflect current API. Move mention
820 of dejagnu.h header here in preparation for future expanded
822 (C++ unit testing API): Likewise. Mention caveat that the C unit
823 test API is also available in C++ programs.
825 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
827 * baseboards/qemu.exp: Tidy whitespace.
829 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
831 Merge patch from Kito Cheng to add support for RISC-V sim target.
833 * baseboards/riscv-sim.exp: New file.
834 * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
835 * Makefile.in (baseboard_DATA): Likewise.
837 2020-08-02 Jacob Bachmeyer <jcb@gnu.org>
839 * Makefile.am (TESTSUITE_FILES): Add files that were introduced
840 during development but were mistakenly not added at that time.
841 (baseboard_DATA): Sort baseboard file list.
842 (baseboard_DATA): Add missing files.
843 (dejagnu_TEXINFOS): New; add GNU FDL file.
844 (CONTRIB): Add experimental Python unit test module.
846 * Makefile.in (TESTSUITE_FILES): Likewise.
847 (baseboard_DATA): Likewise.
849 * testsuite/dejagnu.py: Move from here...
850 * contrib/dejagnu.py: ...to here.
852 2020-08-02 Rob Savoye <rob@senecass.com>
854 * Makefile.in: Regenerate so make dist works.
856 2020-07-25 Jacob Bachmeyer <jcb62281+dev@gmail.com>
858 * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
859 procedure "perror" instead of the Tcl command "error".
860 (Writing a test case): Reorganize node and give basic hints about
861 Tcl quoting and backslash escape rules.
862 (Writing a test case): Describe synchronization issues and warn
863 that prefixes of valid input can be presented for matching.
864 (Writing a test case): Fix markup from conversion from DocBook.
866 2020-07-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
870 * NEWS: Document changes to host_execute.
872 * lib/dejagnu.exp (host_execute): Revise expect matching to
873 combine all unit test protocol lines into one pattern.
874 (host_execute): Rework other expect patterns.
875 (host_execute): Ensure that all output from child process is read
876 until the child closes its output to avoid sending early SIGPIPE.
877 (host_execute): Report an ERROR (and cause the next test to be
878 recorded as UNRESOLVED) if the Expect matching buffer overflows.
879 (host_execute): Remove dependency on global "text" variable.
881 * Makefile.am (TESTSUITE_FILES): Update.
883 * testsuite/runtest.main/stats.exp: Generalize infrastructure and
884 add tests for DejaGnu unit testing support.
885 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
887 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
890 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
894 * Makefile.am (TESTSUITE_FILES): Update.
896 * lib/dejagnu.exp (host_execute): Allow the executable to be
897 specified with an absolute file name.
898 (host_execute): Fix argument handling to allow passing more than
899 one argument to the executable. Return early if given no
900 arguments at all instead of trying to execute "./".
902 * testsuite/runtest.main/pr42399.exp: New file.
903 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
905 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
908 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
910 * Makefile.am (CLEANFILES): Update.
911 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
913 * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
915 (runtest_cleanup_nested_testsuite): New procedure.
917 * testsuite/runtest.main/error.exp: Use the tool name "error" to
918 select the proper subset of the nested testsuite. Use new
919 procedures for handling nested testsuite. Use common
920 nested-init.exp local init file for nested testsuite. Let local
921 init file nested-init.exp handle setting "outdir" variable.
922 * testsuite/runtest.main/options.exp: Likewise; "null" tool.
923 * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
925 * testsuite/runtest.main/nested/: Combine nested testsuites.
926 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
928 * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
930 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
932 * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
934 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
936 * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
938 * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
940 * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
942 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
944 * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
946 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
948 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
951 2020-07-16 Rob Savoye <rob@senecass.com>
953 * baseboards/qemu.exp: Works now with qemu instead of sim.
955 2020-07-06 Rob Savoye <rob@senecass.com>
957 * baseboards/qemu.exp: Initial working support to use qemu for
959 * Makefile.am: Install qemu.exp.
960 * autogen.sh: Add script borrowed from my Gnash project to
961 regenerate configure/build files.
962 * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
963 * doc/dejagnu.texi: Update copyright date.
965 2020-06-29 Jacob Bachmeyer <jcb62281+dev@gmail.com>
969 * NEWS: Add item for repeated error messages.
971 * lib/framework.exp (log_and_exit): Add separator lines around the
972 error dumps repeated at the end of a run.
974 2020-06-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
978 * NEWS: Remove items for --keep_going / --no_keep_going options.
980 * Makefile.am (CLEANFILES): Adjust for renames.
981 (TESTSUITE_FILES): Likewise.
983 * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
984 --no_keep_going options.
985 (A POSIX Conforming Test Framework): Document that Tcl errors in
986 test scripts produce UNRESOLVED results as placeholders.
988 * doc/runtest.1: Likewise.
990 * lib/framework.exp (log_and_exit): Print collected Tcl errors.
992 * runtest.exp (dejagnu::error): New internal namespace.
993 (runtest): Collect Tcl errors caught while executing test scripts.
994 (dejagnu::opt): Remove internal namespace.
995 Remove --keep_going / --no_keep_going options. No longer abort on
996 any Tcl errors; instead store them and repeat the messages at the
999 * testsuite/runtest.main/abort.exp: Rename from this ...
1000 * testsuite/runtest.main/error.exp: ... to this and revise tests.
1002 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
1004 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
1006 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
1008 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
1010 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
1012 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
1015 2020-06-24 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1019 * NEWS: Revise relevant items.
1021 * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
1022 * doc/runtest.1: Document --no_keep_going option. Remove
1023 long-obsolete --name option. The --name option had been removed
1024 from runtest before the code was imported into what became the
1027 * runtest.exp: Add option --no_keep_going to stop immediately if a
1028 test script aborts due to a Tcl error. Remove vestiges of
1029 long-obsolete --name option. Make --keep_going option default.
1031 * testsuite/runtest.main/abort.exp: Adjust tests to use
1032 --no_keep_going and --keep_going instead of assuming a default.
1034 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1036 Merge patches from Maciej W. Rozycki to fix timeout handling.
1038 * lib/remote.exp (close_wait_program): Use `catch' in killing
1039 pending force-kills.
1041 * lib/remote.exp (close_wait_program): Only kill the pending
1042 force-kills if the PID list has a single entry.
1043 (local_exec): Set the channel about to be closed to the
1044 nonblocking mode if we didn't see an EOF.
1045 (standard_close): Likewise, unconditionally.
1047 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1049 * NEWS: Mention "linker=" option and added language support.
1051 * doc/dejagnu.texi (target_compile procedure): Document new
1052 "linker=" option to target_compile.
1054 * lib/target.exp (default_target_compile): Actually use internal
1055 option for separate linker provided for Go language support. This
1056 seems to have been accidentally omitted from Tom Tromey's patches.
1057 (default_target_compile): Add "linker=" option, similar to
1058 "compiler=" option, but the former overrides the latter when
1059 building an executable.
1060 (default_target_compile): Ensure that "--emit obj" is spaced from
1061 previous item when used to compile Rust. Use "--emit asm" instead
1062 of "-S" when generating assembly from Rust sources.
1064 * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
1065 Also add tests for the new "early_flags=" and "linker=" options.
1067 2020-06-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1069 * doc/dejagnu.texi (Libgloss): Update menu.
1070 (find_go procedure, find_go_linker procedure): New nodes.
1071 (find_rustc procedure): New node.
1073 2020-06-19 Tom Tromey <tromey@adacore.com>
1075 * doc/dejagnu.texi (target_compile procedure): Document Go
1077 * lib/target.exp (default_target_compile): Handle Go.
1078 * lib/libgloss.exp (find_go, find_go_linker): New procs.
1080 2020-06-19 Tom Tromey <tromey@adacore.com>
1082 * doc/dejagnu.texi (target_compile procedure): Document rust
1084 * lib/target.exp (default_target_compile): Handle rust.
1085 * lib/libgloss.exp (find_rustc): New proc.
1087 2020-06-19 Tom Tromey <tromey@adacore.com>
1089 * lib/target.exp (default_target_compile): Add early_flags.
1090 * doc/dejagnu.texi (target_compile procedure): Document
1093 2020-06-19 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1095 Merge patches from Tom de Vries <tdevries <at> suse.de> and write
1098 * testsuite/runtest.main/abort.exp: Add tests that verify handling
1099 of arithmetic errors (divide-by-zero) in a procedure called within
1102 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
1104 2020-06-18 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1108 Thanks to Tom de Vries for raising these concerns and offering the
1109 initial testsuite patch that led to these changes.
1111 * NEWS: Add item for consistent abort-on-error handling.
1113 * lib/framework.exp (unknown): Always link global variables. Tidy.
1114 Silently propagate errors raised in autoloaded procedures and move
1115 the UNRESOLVED result and aborting the test run to...
1116 * runtest.exp (runtest): Report an UNRESOLVED result if a test
1117 script aborts due to a Tcl error. Link global errorCode and
1118 report its value if an error occurs. For consistency, abort the
1119 test run on any Tcl error in a test script instead of only when
1120 calling an undefined procedure.
1122 * testsuite/runtest.main/abort.exp: Add tests to verify handling
1123 of arithmetic errors (divide-by-zero) in an auto-loaded procedure
1124 called from a test script. Adjust other patterns.
1126 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
1129 2020-06-17 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1133 * NEWS: Add item for --keep_going option.
1135 * Makefile.am (CLEANFILES): Add abort-init.exp to list.
1136 (TESTSUITE_FILES): Add new testsuite files to list.
1138 * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
1139 command line option.
1140 * doc/runtest.1: Likewise.
1142 * lib/framework.exp (unknown): Report an UNRESOLVED result if an
1143 unknown command is invoked. Avoid exiting and propagate the error
1144 from Tcl's "unknown" procedure if --keep_going was
1145 specified. Brace procedure argument list.
1146 * runtest.exp (dejagnu::opt): New namespace.
1147 Add option --keep_going to continue running tests after a test
1148 script aborts due to calling an undefined command.
1150 * testsuite/runtest.main/abort.exp: New file.
1151 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
1153 * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
1156 2020-06-17 Tom de Vries <tdevries <at> suse.de>
1158 * lib/framework.exp (unknown): Propagate return value of auto-loaded
1161 2020-06-15 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1163 Merge patches from Linaro:
1165 2018-09-28 Christophe Lyon <christophe.lyon@linaro.org>
1166 * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
1167 machine, to avoid race conditions.
1169 2016-04-25 Yvan Roux <yvan.roux@linaro.org>
1170 * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
1171 * lib/ssh.exp (ssh_exec): Likewise.
1173 2016-06-28 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1174 * config/unix.exp (unix_load): Prepend the value of an
1175 "exec_shell" board_info key to the command if it is defined.
1177 2020-06-06 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1179 * NEWS: Document "testcase" command.
1181 * doc/dejagnu.texi (testcase procedure): Document multiplex entry
1182 point and "testcase group" command.
1184 * lib/framework.exp: Add internal namespace ::dejagnu::group.
1185 (::dejagnu::group::check_name): New procedure.
1186 (::dejagnu::group::current): New procedure.
1187 (::dejagnu::group::push): New procedure.
1188 (::dejagnu::group::pop): New procedure.
1189 (::dejagnu::group::pop_to_file): New procedure.
1190 (testcase): New procedure for multiplex commands.
1191 (testcase_group): New procedure implementing "testcase group".
1193 * testsuite/runtest.libs/testcase_group.test: New file.
1195 2020-06-05 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1197 * NEWS: Document new "testsuite can call api" command.
1199 * doc/dejagnu.texi (testsuite procedure): Document new subcommand
1200 "testsuite can call api".
1202 * lib/framework.exp (testsuite): Add branch for "testsuite can".
1203 (testsuite_can): New procedure implementing "testsuite can".
1205 Add internal array ::dejagnu::apilist to store information for
1206 "testsuite can call api" for querying the availability of an API
1207 call. This will allow test scripts to adapt and use new features
1208 while still being able to run under older versions of DejaGnu.
1210 * testsuite/runtest.libs/testsuite_can.test: New file.
1212 2020-06-02 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1215 * NEWS: Fix typo. Fix Emacs mode tag.
1216 Document use of Tcl namespace ::dejagnu for internals.
1217 * runtest.exp (dejagnu::command_line): New namespace.
1218 (dejagnu::command_line::save_cmd_var): New procedure.
1219 (dejagnu::command_line::restore_cmd_vars): New procedure.
1220 (dejagnu::command_line::dump_cmd_vars): New procedure.
1221 * runtest.exp: Save internal variables set by command line
1222 arguments during the first pass and restore their values after
1223 loading testsuite init files.
1225 2020-06-01 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1228 * runtest.exp: Describe search for testsuite at verbose level 3.
1229 Print initial working directory at verbose level 1.
1231 2020-05-28 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1234 * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
1235 value to use an absolute file name.
1236 * testsuite/lib/report-card.exp: Likewise.
1237 * testsuite/runtest.main/options.exp: Set outdir in options-init
1238 instead of changing working directory in child runtest.
1240 * runtest.exp (logname): Move verbose display of logname to
1241 immediately after finding the user's login name.
1244 * runtest.exp (libdir): Fix default value of global variable.
1246 * ChangeLog: Tidy irregular indentation.
1248 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1250 * doc/dejagnu.texi (target_compile procedure): Add documentation.
1252 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1254 * doc/dejagnu.texi (target_link procedure): New stub node.
1255 (default_link procedure): Document internal procedure.
1256 (default_target_assemble procedure): Likewise.
1257 (default_target_compile procedure): Likewise.
1259 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1261 * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
1262 mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
1264 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1266 * lib/target.exp (default_target_compile): Use "host_info"
1267 procedure to probe for a host configuration, instead of checking a
1268 local empty target_info array due to lacking "global target_info".
1270 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1272 * doc/dejagnu.texi (Adding a new board): Document that the
1273 "compiler" board_info field is optional and defaults to [find_gcc]
1275 (Board configuration file): Likewise.
1277 * lib/target.exp (default_target_compile): Establish a default C
1278 compiler by evaluating [find_gcc] if no other compiler is given.
1280 * baseboards/aarch64-sim.exp: Remove no-longer-needed
1281 "set_board_info compiler [find_gcc]" from this file.
1282 * baseboards/am33_2.0-libremote.exp: Likewise.
1283 * baseboards/androideabi.exp: Likewise.
1284 * baseboards/arm-ice.exp: Likewise.
1285 * baseboards/arm-sim.exp: Likewise.
1286 * baseboards/cris-sim.exp: Likewise.
1287 * baseboards/d30v-sim.exp: Likewise.
1288 * baseboards/fr30-sim.exp: Likewise.
1289 * baseboards/frv-sim.exp: Likewise.
1290 * baseboards/gdbserver-sample.exp: Likewise.
1291 * baseboards/iq2000-sim.exp: Likewise.
1292 * baseboards/linux-gdbserver.exp: Likewise.
1293 * baseboards/linux-libremote.exp: Likewise.
1294 * baseboards/mcore-moto-sim.exp: Likewise.
1295 * baseboards/mcore-sim.exp: Likewise.
1296 * baseboards/mips-sim-idt32.exp: Likewise.
1297 * baseboards/mips-sim-idt64.exp: Likewise.
1298 * baseboards/mips-sim-mti32.exp: Likewise.
1299 * baseboards/mips-sim-mti64.exp: Likewise.
1300 * baseboards/mips-sim-mti64_64.exp: Likewise.
1301 * baseboards/mips-sim-mti64_n32.exp: Likewise.
1302 * baseboards/mips-sim-sde32.exp: Likewise.
1303 * baseboards/mips-sim-sde64.exp: Likewise.
1304 * baseboards/mips-sim.exp: Likewise.
1305 * baseboards/mmixware-sim.exp: Likewise.
1306 * baseboards/mn10200-sim.exp: Likewise.
1307 * baseboards/mn10300-sim.exp: Likewise.
1308 * baseboards/moxie-sim.exp: Likewise.
1309 * baseboards/msp430-sim.exp: Likewise.
1310 * baseboards/powerpc-sim.exp: Likewise.
1311 * baseboards/powerpcle-sim.exp: Likewise.
1312 * baseboards/rx-sim.exp: Likewise.
1313 * baseboards/sh-sim.exp: Likewise.
1314 * baseboards/sparc-sim.exp: Likewise.
1315 * baseboards/sparc64-sim.exp: Likewise.
1316 * baseboards/sparclite-sim-le.exp: Likewise.
1317 * baseboards/sparclite-sim.exp: Likewise.
1318 * baseboards/unix.exp: Likewise.
1319 * baseboards/v850-sim.exp: Likewise.
1320 * baseboards/visium-sim.exp: Likewise.
1321 * baseboards/xtensa-sim.exp: Likewise.
1323 2020-05-24 Rob Savoye <rob@senecass.com>
1325 * baseboards/pi.exp: New config file for cross testing to a
1328 2020-05-24 Tom Tromey <tom@tromey.com>
1330 * .gitignore: Add files.
1332 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1334 * testsuite/runtest.libs/target.test: Use mockutil.tcl.
1335 Collect loading DejaGnu libraries into a single loop.
1336 Revise the mock board_info array.
1337 Add section headings for different test groups in this file.
1338 Add tests for default_target_compile in lib/target.exp.
1339 * testsuite/runtest.libs/mockutil.tcl: New file.
1341 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1343 * doc/dejagnu.texi (remote_exec procedure): Explicitly list
1344 optional arguments instead of simply copying the Tcl argument list
1345 or the remote_exec procedure.
1347 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1349 * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
1350 string instead of opening a temporary file named .tmp.
1351 * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
1353 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1355 * testsuite/runtest.libs/target.test: Rename fake "target_info"
1356 array to a fake "board_info" array, to align with changes made to
1357 the DejaGnu core on 29 January 1997 that moved the target
1358 configuration data into the global board_info array.
1360 * testsuite/runtest.libs/remote.test: Likewise.
1362 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1364 * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
1365 requests to run only some library tests.
1367 2020-05-18 Rob Savoye <rob@senecass.com>
1369 * configure.ac: Extract the current branch.
1370 * Makefile.am: Change the frame_version in runtest.exp post
1371 install to add the branch and git revision to make it easier to
1372 support multiple versions during development.
1374 2020-05-15 Rob Savoye <rob@senecass.com>
1376 * All files: Minor change, update copyright dates.
1378 2019-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1380 * runtest.exp (search_and_load_file): Join the directory and
1381 filename once using 'file join'.
1383 2019-01-24 Jacob Bachmeyer <jcb62281@gmail.com>
1385 * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
1386 spacing so the Emacs move-by-sentence commands work correctly.
1388 2019-01-23 Ben Elliston <bje@gnu.org>
1390 * doc/dejagnu.texi: Replace "config file" with "configuration
1393 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
1395 * doc/dejagnu.texi (Command line option variables): Improve table
1396 formatting to fix overlapping columns and revise text slightly.
1398 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
1400 * doc/dejagnu.texi (Global config file): Change example to use the
1401 Tcl "switch" command instead of the deprecated "case" command.
1403 2019-01-12 Jacob Bachmeyer <jcb62281@gmail.com>
1405 * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
1406 the structure of the "runtests" argument.
1408 2019-01-12 Ben Elliston <bje@gnu.org>
1410 * doc/dejagnu.texi: Various documentation fixes.
1412 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
1414 * testsuite/runtest.libs/clone_output.test: Use new test harness
1415 for verifying output of clone_output.
1417 * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
1418 template using store_test_output.
1419 (send_log): Likewise.
1420 (send_user): Likewise.
1421 (clear_test_output): New proc.
1422 (store_test_output): New proc.
1424 * lib/framework.exp (clone_output): Actually send errors to the
1425 error stream; bug found while improving testsuite.
1427 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
1429 * testsuite/runtest.libs/libs.exp (process_test): Handle blank
1430 lines from child process correctly.
1432 2019-01-02 Jacob Bachmeyer <jcb62281@gmail.com>
1434 * NEWS: Document report card.
1436 * Makefile.am (clean-local): Add target.
1437 (clean-local-check): Add target; mark as PHONY.
1438 (commands_DATA): Add "report-card" scripts.
1439 (dist_man_MANS): Add dejagnu-report-card.1 and split.
1440 (DEJATOOL): Add "report-card" tool.
1441 (TESTSUITE_FILES): Add testsuite for "report-card" tool.
1443 * commands/report-card.awk: New command script.
1445 * doc/dejagnu.texi (Invoking dejagnu report card): New node.
1446 * doc/dejagnu-report-card.1: New man page.
1448 * testsuite/lib/bohman_ssd.exp: New file.
1449 * testsuite/lib/report-card.exp: New file.
1450 * testsuite/report-card.all/onetest.exp: New file.
1451 * testsuite/report-card.all/passes.exp: New file.
1453 2019-01-02 Ben Elliston <bje@gnu.org>
1455 * Makefile.am (DISTCLEANFILES): Don't use this.
1456 (CLEANFILES): Use this instead.
1457 * Makefile.in: Regenerate.
1459 2019-01-01 Ben Elliston <bje@gnu.org>
1461 * configure.ac: Abort if AWK is not installed.
1462 * configure: Regenerate.
1464 2019-01-01 Ben Elliston <bje@gnu.org>
1466 * config.guess: Update to latest version.
1467 * config.sub: Likewise.
1469 2019-01-01 Ben Elliston <bje@gnu.org>
1471 * configure.ac: Add AC_PROG_AWK check.
1472 * configure: Regenerate.
1474 2018-12-29 Jacob Bachmeyer <jcb62281@gmail.com>
1476 * dejagnu: Avoid use of semicolon as sed(1) command separator.
1477 POSIX does not clearly require sed(1) to support that feature.
1479 2018-12-28 Jacob Bachmeyer <jcb62281@gmail.com>
1481 * testsuite/lib/util-defs.exp: Whitespace clean up.
1483 2018-12-21 Jacob Bachmeyer <jcb62281@gmail.com>
1486 * dejagnu: Improve command parsing to fix bug. Previously, the
1487 documented equivalence between "multi word command" and
1488 "multi-word-command" did not hold if no arguments were given.
1489 * testsuite/launcher.all/command.exp: Add tests.
1491 2018-12-20 Ben Elliston <bje@gnu.org>
1493 * NEWS: Add item for new dejagnu command.
1495 * Makefile.am (EXTRA_DIST): Remove $(XML).
1496 * Makefile.in: Regenerate.
1498 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
1500 * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
1501 contents of $(commands_DATA).
1502 (bin_SCRIPTS): Add "dejagnu" launcher script.
1503 (commandsdir): Installation directory for "dejagnu" subcommands is
1504 $(pkgdatadir)/commands.
1505 (commands_DATA): New, contains "commands/help.sh" as initial item.
1506 (TESTSUITE_FILES): Add testsuite for same.
1507 (DEJATOOL): Add "launcher" to list of tools to test.
1508 (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
1510 * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
1511 (Invoking dejagnu): New node for dejagnu(1) launcher script.
1512 (Invoking dejagnu help): New node.
1514 * doc/dejagnu.1: New man page.
1515 * doc/dejagnu-help.1: New man page.
1517 * dejagnu: New script.
1519 * commands/help.sh: New dejagnu subcommand for reading manpages.
1521 * testsuite/launcher.all/command.exp: New file.
1522 * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
1523 * testsuite/launcher.all/command/commands/bar.awk: New file.
1524 * testsuite/launcher.all/command/commands/bar.sh: New file.
1525 * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
1526 * testsuite/launcher.all/command/commands/foo.sh: New file.
1527 * testsuite/launcher.all/command/commands/foo.tcl: New file.
1528 * testsuite/launcher.all/help.exp: New file.
1529 * testsuite/launcher.all/interp.exp: New file.
1530 * testsuite/launcher.all/verbose.exp: New file.
1531 * testsuite/lib/launcher.exp: New file.
1533 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
1535 * doc/dejagnu.texi (bt procedure): Fix Info links.
1537 2018-12-17 Ben Elliston <bje@gnu.org>
1539 * doc/dejagnu.texi (Board config file): Fix up @ref.
1540 (Command line option variables): Likewise.
1541 (Debugging Procedures): Add an entry for 'bt' command.
1543 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1545 * runtest.exp: Move processing of -V|--version option to first
1546 pass through command line arguments instead of delaying it.
1548 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1550 * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
1551 * Makefile.in: Regenerate.
1553 2018-12-15 Ben Elliston <bje@gnu.org>
1555 * doc/dejagnu.texi (telnet Procedure): Remove old node.
1556 (rlogin Procedure): Likewise.
1557 (rsh Procedure): Likewise.
1558 (tip Procedure): Likewise.
1559 (kermit Procedure): Likewise.
1560 (list_targets Procedure): Likewise.
1561 (prune_system_crud): Likewise.
1563 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1565 * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1566 (send_user): Likewise.
1567 * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1568 variable link at top-level.
1569 * testsuite/runtest.libs/utils.test: Adjust absolute path to
1571 * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1572 subdir, and objdir variables instead of extracting them from argv.
1573 Remove setval.tmp, which is now obsolete.
1574 * testsuite/runtest.libs/config.test: Likewise.
1575 * testsuite/runtest.libs/remote.test: Likewise.
1576 * testsuite/runtest.libs/target.test: Likewise.
1577 * testsuite/runtest.libs/testsuite_file.test: Likewise.
1578 * testsuite/runtest.libs/utils.test: Likewise.
1580 * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1581 (send_defaults): .. with this.
1582 (start_expect): Remove redundant code.
1584 * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1585 Remove unneeded test for EXPECT global variable.
1586 Use one Expect subprocess to run all test cases.
1587 (process_test): Redesign to use Expect subprocess and to use
1588 throwaway slave interpreters for running test cases.
1590 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1592 * testsuite/lib/runtest.exp (runtest_start): Remove.
1593 Move the sanity check in runtest_start to top-level and similarly
1594 check to ensure that $EXPECT can be found. Make failure of either
1595 sanity check an immediate fatal error.
1596 Improve error messages for sanity checks to indicate which
1597 critical tool was not found. Remove useless 'global RUNTEST'
1598 command at top-level.
1599 (runtest_version): Brace 'if' expression.
1601 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1603 * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1604 default runtest executable instead of implicitly searching PATH.
1605 Remove unused RUNTESTFLAGS Tcl variable.
1607 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1609 * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1612 2018-12-14 Jacob Bachmeyer <jcb62281@gmail.com>
1614 * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1615 * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1617 2018-12-12 Ben Elliston <bje@gnu.org>
1619 * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1620 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1621 lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1622 some regular expressions in constant strings by placing them
1623 inside braces instead of quotes. This allows one level of
1624 backslash quoting to be removed.
1626 2018-12-12 Ben Elliston <bje@gnu.org>
1628 * doc/dejagnu.texi: Acknowledge contributions to the manual from
1631 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1633 * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1634 * testsuite/runtest.all/load_lib.exp: Likewise.
1635 * testsuite/runtest.all/stats.exp: Likewise.
1637 * testsuite/runtest.all/stats.exp: Write local init file as
1638 "stats-init.exp" for status summary tests. Use --local_init
1639 option to runtest to load that file instead of site.exp and move
1640 the inner test module to a nested testsuite.
1641 * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1642 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1645 * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1646 Wrap lines in test list and move short items to beginning of list.
1647 Write local init file as "options-init.exp" for options tests.
1648 Use --local_init option with nested runtest to load that file
1649 instead of site.exp; also create an empty nested testsuite. Local
1650 init file arranges for inner runtest processes to run in a
1651 subdirectory in the object tree to eliminate filename clashes.
1652 Set tmpdir if not already set and remove entire temporary
1653 directory after running options tests.
1654 * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1656 * testsuite/runtest.all/clone_output.test: Move from here ..
1657 * testsuite/runtest.libs/clone_output.test: .. to here.
1658 * testsuite/runtest.all/config.test: Move from here ..
1659 * testsuite/runtest.libs/config.test: .. to here.
1660 * testsuite/runtest.all/default_procs.tcl: Move from here ..
1661 * testsuite/runtest.libs/default_procs.tcl: .. to here.
1662 * testsuite/runtest.all/libs.exp: Move from here ..
1663 * testsuite/runtest.libs/libs.exp: .. to here.
1664 * testsuite/runtest.all/load_lib.exp: Move from here ..
1665 * testsuite/runtest.libs/load_lib.exp: .. to here.
1666 * testsuite/runtest.all/remote.test: Move from here ..
1667 * testsuite/runtest.libs/remote.test: .. to here.
1668 * testsuite/runtest.all/target.test: Move from here ..
1669 * testsuite/runtest.libs/target.test: .. to here.
1670 * testsuite/runtest.all/testsuite_file.test: Move from here ..
1671 * testsuite/runtest.libs/testsuite_file.test: .. to here.
1672 * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1673 * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1674 * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1675 * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1676 * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1678 * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1680 * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1681 * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1682 * testsuite/runtest.all/utils.test: Move from here ..
1683 * testsuite/runtest.libs/utils.test: .. to here.
1684 * testsuite/runtest.libs/utils.test: Update references to
1687 * testsuite/runtest.all/options.exp: Move from here ..
1688 * testsuite/runtest.main/options.exp: .. to here.
1689 * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1691 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1693 * testsuite/runtest.all/stats.exp: Move from here ..
1694 * testsuite/runtest.main/stats.exp: .. to here.
1695 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1697 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1700 * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1701 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1702 * Makefile.in: Regenerate.
1704 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1706 * doc/dejagnu.texi: Clean up whitespace. Some indented examples
1707 were changed to use the Texinfo '@ ' command (yes, a space
1708 character) to preserve correct indentation. The '@ ' command is
1709 treated as a single space by Tex and makeinfo, but prevents Emacs
1710 from complaining about indentation using spaces instead of tabs.
1712 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1714 * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1715 directory exclusions by name in this procedure.
1717 2018-12-10 Ben Elliston <bje@gnu.org>
1719 * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1720 glob patterns, not "shell wildcard characters" per se.
1722 * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1724 2018-12-10 Jacob Bachmeyer <jcb62281@gmail.com>
1726 * doc/dejagnu.texi (Writing a test case): Add warning about
1727 priority of Expect patterns, complete with example.
1728 * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1729 caused test results other than "PASS" to be skipped if a "PASS" is
1730 further along in the input buffer. Describe problem in manual.
1731 (process_test): Ensure that the log file shows each test case run.
1732 (process_test): Directly run the test cases instead of using
1733 temporary files and "cat". All output is always available in the
1734 log file, which is no longer overwritten by other tests.
1735 (process_test): Expect END markers from test case scripts.
1736 * testsuite/runtest.all/clone_output.test: Emit END markers.
1737 * testsuite/runtest.all/config.test: Likewise.
1738 * testsuite/runtest.all/remote.test: Likewise.
1739 * testsuite/runtest.all/target.test: Likewise.
1740 * testsuite/runtest.all/testsuite_file.test: Likewise.
1741 * testsuite/runtest.all/utils.test: Likewise.
1743 2018-12-10 Ben Elliston <bje@gnu.org>
1745 * lib/utils.exp (grep): Use a proper Tcl list for options.
1747 2018-12-10 Ben Elliston <bje@gnu.org>
1749 * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1751 * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1752 and catching the "no files matched glob pattern" error
1753 message. Catching the error message was the wrong thing to do
1754 because the foreach loop then iterates over each word in the error
1755 message as if they were matches.
1757 2018-12-10 Ben Elliston <bje@gnu.org>
1759 * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1760 non-existent directory case.
1762 2018-12-10 Ben Elliston <bje@gnu.org>
1764 * runtest.exp: Remove unnecessary quotes and braces around
1765 variable expansions.
1767 * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1769 2018-12-09 Ben Elliston <bje@gnu.org>
1771 * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1772 (iterate_target_variants_two): Likewise.
1773 * lib/remote.exp (standard_download): Use 'eq' not '=='.
1774 (remote_upload): Likewise.
1775 * lib/framework.exp (open_logs): Likewise.
1776 (is_remote): Likewise.
1778 2018-12-09 Ben Elliston <bje@gnu.org>
1780 * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1781 baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1782 baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1783 config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1784 config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1785 lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1786 lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1787 lib/utils.exp, testsuite/lib/libsup.exp,
1788 testsuite/runtest.all/options.exp,: Remove unnecessary braces
1789 around variable expansions.
1791 2018-12-09 Ben Elliston <bje@gnu.org>
1793 * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1794 lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1795 lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1796 unnecessary quotes and braces around variable expansions.
1798 2018-12-09 Ben Elliston <bje@gnu.org>
1800 * config/gdb-comm.exp: Remove unnecessary quotes.
1801 * config/gdb_stub.exp: Likewise.
1802 * config/vxworks.exp: Likewise.
1803 * config/unix.exp: Likewise.
1804 * config/sim.exp: Likewise.
1806 2018-12-09 Ben Elliston <bje@gnu.org>
1808 * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1809 variable expansions.
1810 * testsuite/lib/util-defs.exp: Likewise.
1812 2018-12-09 Ben Elliston <bje@gnu.org>
1814 * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1815 around variable expansions.
1816 * baseboards/basic-sid.exp: Likewise.
1817 * baseboards/cris-sim.exp: Likewise.
1818 * baseboards/generic-sim.exp: Likewise.
1819 * baseboards/mcore-moto-sim.exp: Likewise.
1820 * baseboards/multi-sim.exp: Likewise.
1822 2018-12-08 Ben Elliston <bje@gnu.org>
1826 2018-12-08 Ben Elliston <bje@gnu.org>
1828 * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1829 variable expansions.
1830 * testsuite/runtest.all/clone_output.test: Likewise.
1831 * testsuite/runtest.all/target.test: Likewise.
1832 * testsuite/runtest.all/stats.exp: Likewise.
1833 * testsuite/runtest.all/remote.test: Likewise.
1834 * testsuite/runtest.all/config.test: Likewise.
1835 * testsuite/runtest.all/default_procs.tcl: Likewise.
1836 * testsuite/runtest.all/libs.exp: Likewise.
1837 * testsuite/runtest.all/options.exp: Likewise.
1839 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1841 * NEWS: Document 'testsuite' command.
1842 * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1843 point and "testsuite file" command.
1844 * lib/framework.exp (testsuite): New proc for multiplex commands.
1845 (testsuite_file): New proc implementing "testsuite file".
1846 * testsuite/runtest.all/testsuite_file.test: New file.
1847 * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1848 but also search $srcdir itself.
1849 (load_lib): Add explicit search for testsuite-local libraries.
1850 (load_tool_init): Use $testsuitedir in search.
1851 (load_config): Use $testsuitedir instead of $srcdir.
1852 (load_tool_target_config): Likewise.
1854 Add variable "testsuitedir" for testsuite root directory.
1856 Add internal global variables "testbuilddir" and "testdir" for use
1857 by "testsuite file".
1859 Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1860 duplicated path delimiters.
1862 Add warning if no tests are found and fallback method of searching
1865 2018-12-08 Ben Elliston <bje@gnu.org>
1867 * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1869 * testsuite/lib/util-defs.exp (util_test): Likewise.
1870 * testsuite/runtest.all/stats.exp: Likewise.
1871 * testsuite/runtest.all/libs.exp: Likewise.
1873 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1875 * testsuite/runtest.all/default_procs.tcl:
1876 (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1877 (lib_regexp_test): Fix copy-paste-edit error.
1878 (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1879 Fix handling of errors raised by tested procedure. Also ensure
1880 proper quoting of argument lists passed to eval and simplify
1881 the logic for producing return values.
1883 2018-12-08 Ben Elliston <bje@gnu.org>
1885 * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1887 2018-12-08 Ben Elliston <bje@gnu.org>
1889 * lib/tip.exp (tip_open): Put braces around if expression.
1891 2018-12-08 Ben Elliston <bje@gnu.org>
1893 * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1894 lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1895 config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1896 baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1897 baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1898 baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1899 baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1900 baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1901 baseboards/arm-ice.exp, baseboards/androideabi.exp,
1902 testsuite/runtest.all/utils.test,
1903 testsuite/runtest.all/target.test: Replace string literal
1904 comparisons using == and != with 'eq' and 'ne'.
1906 2018-12-08 Ben Elliston <bje@gnu.org>
1908 * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1909 lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1910 lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1911 config/vxworks.exp, config/unix.exp, config/sim.exp,
1912 config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1913 baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1914 baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1915 baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1916 testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1917 using == and != with 'eq' and 'ne'.
1919 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1921 * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1922 (lib_regexp_test): New.
1923 (lib_pat_test): Brace "if" conditions.
1924 (lib_pat_test): Remove spurious quotes in debugging output.
1925 (run_tests): Add support for comments in lists of procedure tests.
1927 * testsuite/runtest.all/config.test: Adjust to use run_tests
1928 procedure. Fixes issue cited in FIXME comment.
1930 * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1931 The old tests had the sense of the return value from lib_pat_test
1932 inverted and were failing but reported PASS.
1933 (find tests, relative_filename tests, runtest_file_p tests):
1934 Adjust to use run_tests procedure.
1936 2018-12-07 Ben Elliston <bje@gnu.org>
1938 * doc/dejagnu.texi: Add more missing material.
1940 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1942 * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1943 (run_tests): Replace implicit "eval" with explicit "eval". Tidy.
1944 (verbose): Remove unnecessary quotes.
1946 2018-12-06 Ben Elliston <bje@gnu.org>
1948 * doc/dejagnu.texi: Add more missing material.
1950 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1952 * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1953 (lib_pat_test): Handle an argument list instead of only a single
1954 argument for the procedure under test.
1955 (lib_ret_test): Likewise.
1956 * testsuite/runtest.all/utils.test: Whitespace clean up.
1957 Adjust to pass argument lists for improved lib_pat_test.
1958 * testsuite/runtest.all/clone_output.test: Likewise.
1960 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1962 * lib/remote.exp (standard_load): Fix typo on empty string.
1963 * runtest.exp: Adjust expression to follow GNU conventions.
1964 * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1965 with "eq" instead of "ne".
1966 * testsuite/runtest.all/config.test: Likewise.
1968 2018-12-06 Ben Elliston <bje@gnu.org>
1970 * runtest.exp: Replace [string match] commands involving literal
1971 strings and variables known to not be Tcl glob patterns with eq
1973 * config/unix.exp: Likewise.
1974 * lib/debugger.exp: Likewise.
1975 * lib/dg.exp: Likewise.
1976 * lib/framework.exp: Likewise.
1977 * lib/remote.exp: Likewise.
1978 * lib/utils.exp: Likewise.
1979 * baseboards/androideabi.exp: Likewise.
1980 * baseboards/multi-sim.exp: Likewise.
1981 * testsuite/lib/util-defs.exp: Likewise.
1982 * testsuite/runtest.all/config.test: Likewise.
1984 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1986 * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1987 * testsuite/runtest.all/target.test: Likewise.
1988 * testsuite/runtest.all/remote.test: Likewise.
1989 * testsuite/runtest.all/config.test: Likewise.
1990 * testsuite/runtest.all/clone_output.test: Likewise.
1992 2018-12-06 Ben Elliston <bje@gnu.org>
1994 * runtest.exp: Replace '==' with 'eq' for string compares.
1995 Likewise, replace '!=' with 'ne'. Replace a few instances of
1996 [string length $str] == 0 with $str eq "".
1997 * config/gdb-comm.exp: Likewise.
1998 * lib/dg.exp: Likewise.
1999 * lib/framework.exp: Likewise.
2000 * lib/libgloss.exp: Likewise.
2001 * lib/remote.exp: Likewise.
2002 * lib/target.exp: Likewise.
2003 * lib/utils.exp: Likewise.
2005 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
2007 * runtest.exp: Replace archaic use of [string match] with "eq".
2009 2018-12-06 Ben Elliston <bje@gnu.org>
2011 * doc/dejagnu.texi (compile Procedure): Remove old node.
2012 (archive Procedure): Likewise.
2013 (ranlib Procedure): Likewise.
2015 2018-12-06 Ben Elliston <bje@gnu.org>
2017 * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
2019 2018-12-06 Ben Elliston <bje@gnu.org>
2021 * lib/telnet.exp (telnet_open): Remove connectmode global.
2022 * doc/dejagnu.texi (Procedures For Remote Communication): Remove
2023 mention of connectmode.
2025 2018-12-05 Ben Elliston <bje@gnu.org>
2027 * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
2030 2018-12-05 Ben Elliston <bje@gnu.org>
2032 * doc/dejagnu.texi: Add more missing material.
2034 2018-12-05 Ben Elliston <bje@gnu.org>
2036 * testsuite/runtest.all/utils.test: Test runtest_file_p.
2038 2018-12-05 Jacob Bachmeyer <jcb62281@gmail.com>
2040 * runtest.exp (load_config): Remove unused globals.
2041 (load_generic_config): Likewise.
2042 (load_board_description): Likewise.
2043 (load_base_board_description): Likewise.
2045 2018-12-05 Ben Elliston <bje@gnu.org>
2047 * lib/utils.exp (grep): Handle -n.
2048 * doc/dejagnu.texi (grep procedure): Document it.
2049 * testsuite/runtest.all/utils.test: Add a test case.
2050 * NEWS: Add an item.
2052 2018-12-05 Ben Elliston <bje@gnu.org>
2054 * testsuite/runtest.all/utils.test: Test diff.
2056 2018-12-04 Ben Elliston <bje@gnu.org>
2058 * testsuite/runtest.all/utils.test: Test grep.
2060 2018-12-04 Ben Elliston <bje@gnu.org>
2062 * testsuite/runtest.all/utils.test (which): Fail on the else path,
2063 don't pass in either case.
2065 2018-12-04 Ben Elliston <bje@gnu.org>
2067 * doc/dejagnu.texi (Libgloss): Improve documentation.
2068 (Debugging Procedures): Likewise.
2070 2018-12-04 Ben Elliston <bje@gnu.org>
2072 * lib/debugger.exp (dumprocs): Fix proc comment.
2074 2018-12-04 Ben Elliston <bje@gnu.org>
2076 * doc/dejagnu.texi (Utility Procedures): Improve documentation for
2077 the procedures in this section.
2079 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
2081 * NEWS: Document new relative_filename procedure and --local_init/
2082 --global_init command line options.
2084 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
2086 * lib/utils.exp (relative_filename): New proc.
2087 * runtest.exp: Use it.
2088 * doc/dejagnu.texi (relative_filename procedure): Document it.
2089 * testsuite/runtest.all/utils.test: Add tests for relative_filename.
2091 2018-12-03 Ben Elliston <bje@gnu.org>
2093 * dejagnu.h (TestState): Remove const char * variants of pass(),
2094 xpass(), fail(), xfail(), untested(), unresolved() for C++. A
2095 const char * will be implicitly converted to std::string.
2097 2018-12-03 Ben Elliston <bje@gnu.org>
2099 * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
2100 removing the 'Reference' node and chapter. Make all subsubsections
2101 in this chapter unnumbered subheadings.
2103 2018-12-03 Jacob Bachmeyer <jcb62281@gmail.com>
2105 * doc/dejagnu.texi: Fix Info node links. The arguments to @node
2106 are: here, next, previous, up; not here, previous, next, up.
2108 2018-12-03 Ben Elliston <bje@gnu.org>
2110 * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
2111 doc/texinfo.tex. With thanks to Jacob Bachmeyer.
2112 * Makefile.in: Regenerate.
2114 2018-12-03 Ben Elliston <bje@gnu.org>
2116 * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
2117 (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
2118 prevents the distribution of the overridden texinfo.tex.
2119 * Makefile.in: Regenerate.
2120 * texinfo.tex: Move from here ..
2121 * doc/texinfo.tex: .. to here.
2123 2018-12-03 Ben Elliston <bje@gnu.org>
2125 * lib/framework.exp (isremote): Add verbose message.
2127 2018-12-02 Ben Elliston <bje@gnu.org>
2129 * lib/framework.exp (isremote): Pass $board to is_remote.
2131 2018-12-02 Ben Elliston <bje@gnu.org>
2133 * doc/fdl.texi: New.
2134 * doc/dejagnu.texi (Variable Index): New.
2135 Add more concept index entries.
2136 (GNU Free Documentation License): New appendix.
2138 2018-12-02 Ben Elliston <bje@gnu.org>
2140 * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
2141 index (@findex) entries for every built-in procedure.
2143 2018-12-02 Ben Elliston <bje@gnu.org>
2145 * doc/dejagnu.texi: Start an index.
2147 2018-12-02 Ben Elliston <bje@gnu.org>
2149 * doc/version.texi: New.
2151 2018-12-02 Ben Elliston <bje@gnu.org>
2153 * doc/dejagnu.texi: Add title page and frontmatter. Include
2155 * Makefile.in: Regenerate.
2156 * mdate-sh: Installed by automake --add-missing.
2158 2018-12-02 Ben Elliston <bje@gnu.org>
2160 * doc/dejagnu.texi (diff procedure): Tidy up this node.
2162 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
2164 * runtest.exp (hex): Remove useless test before setting.
2165 (decimal): Likewise.
2167 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
2169 * doc/dejagnu.texi (Invoking runtest): Document new --local_init
2170 and --global_init command line options.
2171 * doc/runtest.1: Likewise.
2173 * runtest.exp: Remove useless tests before setting default values
2174 for variables: all_flag, binpath, debug, options, outdir, reboot,
2175 tracelevel, verbose, log_dialog. They are set before loading any
2176 files or parsing the command line.
2178 * runtest.exp: Add options --local_init and --global_init for
2179 selecting alternate testsuite configuration files.
2181 * runtest.exp: Split variable "configfile" into "local_init_file"
2182 and "global_init_file" in preparation for adding command-line
2183 options to specify these independently.
2185 * runtest.exp (load_generic_config): Remove configfile global.
2186 (load_board_description): Likewise.
2187 (load_base_board_description): Likewise.
2189 2018-11-30 Ben Elliston <bje@gnu.org>
2191 * lib/utils.exp (grep): Remove reference to "NULL" in comment.
2192 * testsuite/lib/util-defs.exp (util_start): Likewise.
2194 2018-11-30 Ben Elliston <bje@gnu.org>
2196 * doc/dejagnu.texi: (verbose procedure): Improve documentation.
2197 (load_lib procedure): Likewise.
2199 2018-11-30 Ben Elliston <bje@gnu.org>
2201 * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
2203 2018-11-30 Ben Elliston <bje@gnu.org>
2205 * runtest.exp: Use isremote.
2206 * lib/target.exp: Likewise.
2207 * lib/remote.exp: Likewise.
2208 * lib/libgloss.exp: Likewise.
2209 * config/unix.exp: Likewise.
2210 * config/sim.exp: Likewise.
2211 * config/gdb_stub.exp: Likewise.
2212 * config/gdb-comm.exp: Likewise.
2213 * baseboards/basic-sim.exp: Likewise.
2214 * baseboards/androideabi.exp: Likewise.
2216 2018-11-30 Ben Elliston <bje@gnu.org>
2218 * lib/framework.exp (isremote): New.
2219 * doc/dejagnu.texi (isremote procedure): Document it.
2220 * NEWS: Mention isremote.
2222 2018-11-30 Ben Elliston <bje@gnu.org>
2224 * texinfo.tex: Update to latest upstream version.
2225 * INSTALL: Likewise.
2227 2018-11-29 Ben Elliston <bje@gnu.org>
2229 * lib/framework.exp (istarget, ishost, istarget): Set the argument
2230 default value to the empty string.
2231 * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
2232 (getenv procedure): Re-word this node.
2233 (isbuild procedure): Update.
2234 (ishost procedure): Likewise.
2235 (istarget procedure): Likewise.
2236 * testsuite/runtest.all/config.test: Add test cases.
2238 2018-11-28 Ben Elliston <bje@gnu.org>
2240 * config.guess: Update to latest version.
2241 * config.sub: Likewise.
2243 2018-11-28 Ben Elliston <bje@gnu.org>
2246 * configure.ac: Update version number.
2247 * configure: Regenerate.
2248 * doc/dejagnu.texi: Update version number.
2249 * runtest.exp: Update version number.
2251 2018-11-28 Ben Elliston <bje@gnu.org>
2253 * Makefile.am (TESTSUITE_FILES): Update filenames.
2254 * Makefile.in: Regenerate.
2256 2018-11-28 Ben Elliston <bje@gnu.org>
2260 * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
2262 2018-11-25 Jacob Bachmeyer <jcb62281@gmail.com>
2264 * lib/framework.exp: Clean up whitespace.
2266 2018-11-25 Ben Elliston <bje@gnu.org>
2268 * config/gdb-comm.exp: Clean up whitespace.
2269 * config/gdb_stub.exp: Likewise.
2270 * config/sid.exp: Likewise.
2271 * config/sim.exp: Likewise.
2272 * config/unix.exp: Likewise.
2274 2018-11-23 Ben Elliston <bje@gnu.org>
2276 * doc/dejagnu.texi (getdirs procedure): Improve documentation
2277 including documenting the -all option.
2278 (find procedure): Fix a typo.
2279 * lib/utils.exp (getdirs): Improve comments.
2281 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
2283 * runtest.exp: Ensure that multipass pass variables are always
2284 restored. Previously, they were only restored if the "Go digging
2285 for tests" branch was taken near the end of runtest.exp.
2287 2018-11-22 Ben Elliston <bje@gnu.org>
2289 * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
2290 of the $DEJAGNU environment variable (see change below).
2292 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
2294 * runtest.exp: Raise error if $DEJAGNU is defined but not found.
2296 2018-11-15 Jacob Bachmeyer <jcb62281@gmail.com>
2298 * runtest.exp (load_tool_init): Search for tool init file instead
2299 of assuming exactly one location.
2301 2018-11-15 Ben Elliston <bje@gnu.org>
2303 * runtest.exp (load_lib): Whitespace fix.
2305 2018-11-11 Jacob Bachmeyer <jcb62281@gmail.com>
2307 * lib/ssh.exp: Clean up whitespace.
2308 * lib/remote.exp: Clean up whitespace.
2309 (remote_expect): Change literal tab to "\t" in regexp.
2311 2018-11-05 Ben Elliston <bje@gnu.org>
2313 * config.guess: Update to latest version.
2314 * config.sub: Likewise.
2316 2018-11-02 Ben Elliston <bje@gnu.org>
2318 * Makefile.in: Regenerate.
2320 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2322 * Makefile.am (DEJATOOL): List tools in testsuite.
2323 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2324 * testsuite/config/default.exp: Rename from this ...
2325 * testsuite/lib/runtest.exp: ... to this.
2326 (runtest_exit): Remove spurious "close". This was causing per-tool
2327 testing to fail, since the testsuite for "runtest" never actually
2328 uses "spawn", so "close" ends up closing exp0, which is the
2329 terminal. The ${tool}_exit proc is not called if the --tool
2330 option is not given, so this had no effect earlier.
2331 * testsuite/lib/libdejagnu.exp: New empty file.
2333 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2335 * runtest.exp (load_tool_init): Add message indicating the
2336 expected location of the tool init file.
2338 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2340 * contrib/sum2junit.sh (failures): Fix typo.
2342 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2344 * configure.ac (DEJAGNU): Add comments.
2346 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2348 * Makefile.am (DEJATOOL): List tools in testsuite.
2349 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2350 * testsuite/config/default.exp: Rename from this ...
2351 * testsuite/lib/runtest.exp: ... to this.
2352 (runtest_exit): Remove spurious "close". This was causing
2353 per-tool testing to fail, since the testsuite for "runtest" never
2354 actually uses "spawn", so "close" ends up closing exp0, which is
2355 the terminal. The ${tool}_exit proc is not called if the --tool
2356 option is not given, so this had no effect earlier.
2357 * testsuite/lib/libdejagnu.exp: New empty file.
2359 2018-10-30 Ben Elliston <bje@gnu.org>
2361 * Makefile.am (DISTCLEANFILES): Add testrun.xml.
2362 * Makefile.in: Regenerate with Automake 1.15.1.
2363 * aclocal.m4: Likewise.
2365 2018-10-30 Ben Elliston <bje@gnu.org>
2367 * configure.ac (AC_CONFIG_SUBDIRS): Remove.
2368 * configure: Regenerate.
2370 2018-10-29 Ben Elliston <bje@gnu.org>
2372 * README (Documentation): Update.
2374 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
2376 * lib/framework.exp (record_test): Really fix message formatting.
2378 2018-10-29 Ben Elliston <bje@gnu.org>
2380 Reported by Jacob Bachmeyer.
2381 * testsuite/runtest.all/utils.test: Fix missing end quote.
2383 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
2385 * lib/framework.exp (record_test): Fix message formatting.
2387 2018-07-20 Ben Elliston <bje@gnu.org>
2389 * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
2390 * contrib/mysql/sum2xml.sh: Likewise.
2392 2018-07-20 Ben Elliston <bje@gnu.org>
2394 * contrib/compare_tests: Eliminate Shellcheck warnings.
2395 * contrib/mysql/sum2xml.sh: Likewise.
2397 2018-07-20 Ben Elliston <bje@gnu.org>
2399 * compile, depcomp, install-sh: Latest upstream versions.
2401 2018-07-20 Ben Elliston <bje@gnu.org>
2403 * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
2405 2018-07-19 Ben Elliston <bje@gnu.org>
2407 * runtest: Use POSIX 'command', not 'type', to look for the Expect
2408 binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
2411 2018-07-19 Ben Elliston <bje@gnu.org>
2413 * config.guess: Update to latest version.
2414 * config.sub: Likewise.
2416 2018-07-06 Richard Biener <rguenther@suse.de>
2418 * lib/remote.exp (close_wait_program): Use separate kill command
2421 2017-10-16 Ben Elliston <bje@gnu.org>
2423 * NEWS: Start a new section for the next release.
2424 * configure.ac (AC_INIT): Update version number.
2425 * configure: Regenerate.
2426 * runtest.exp (frame_version): Update version number.
2427 * doc/dejagnu.texi: Likewise.
2428 * doc/runtest.1: Update datestamp.
2430 2017-10-16 Ben Elliston <bje@gnu.org>
2432 * config.guess: Update to version 2017-09-26.
2433 * config.sub: Likewise.
2435 2017-09-13 Ben Elliston <bje@gnu.org>
2437 * lib/framework.exp (open_logs): Set XML version to 1.1.
2438 (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
2439 missing 'x' in escape sequence.
2441 2017-08-29 Ben Elliston <bje@gnu.org>
2443 Revert these changes:
2445 2016-04-25 Ben Elliston <bje@gnu.org>
2447 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2449 2016-04-24 Ben Elliston <bje@gnu.org>
2451 * lib/utils.exp (unsetenv): Remove proc.
2452 * doc/dejagnu.texi: Update documentation.
2455 2017-08-19 Ben Elliston <bje@gnu.org>
2457 * lib/framework.exp (xml_tag): Escape all of the non-printable
2458 control characters (ASCII codes 1 to 31 inclusive).
2460 2017-08-18 Tom Tromey <tom@tromey.com>
2462 * runtest.exp: Fix --directory matching.
2464 2017-08-15 Ben Elliston <bje@gnu.org>
2466 * lib/framework.exp (xml_tag): New proc.
2467 (log_summary): Use it.
2468 (record_test): Likewise.
2470 2017-08-15 Ben Elliston <bje@gnu.org>
2472 * lib/framework.exp (open_logs): Set .xml filename correctly.
2473 * runtest.exp: Remove xml_file_name var.
2474 (usage): Update --xml option to not take an argument.
2475 (load_tool_init): Likewise.
2476 * doc/dejagnu.texi (Invoking runtest): Update documentation.
2477 * doc/runtest.1: Likewise.
2479 2017-08-01 Ben Elliston <bje@gnu.org>
2481 * runtest.exp (usage): Improve --strace message.
2483 2017-08-01 Ben Elliston <bje@gnu.org>
2485 * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
2487 2017-06-04 Ben Elliston <bje@gnu.org>
2489 * lib/target.exp (push_target): Remove unnecessary global command.
2490 * testsuite/runtest.all/target.test: Overhaul tests.
2492 2017-06-04 Ben Elliston <bje@gnu.org>
2494 * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
2496 2017-06-04 Tom de Vries <tom@codesourcery.com>
2498 * testsuite/runtest.all/target.test: Remove list_targets test.
2500 2017-06-04 Tom de Vries <tom@codesourcery.com>
2502 * testsuite/runtest.all/libs.exp (process_test): Dump entire
2503 output when there's no reportable output.
2504 * testsuite/runtest.all/remote.test (load_lib): New proc.
2505 * testsuite/runtest.all/target.test (load_lib): Same.
2507 2017-03-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
2509 * lib/remote.exp (remote_download): Add logging message when
2510 source and destination file differ in name.
2512 2016-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2514 * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2516 2016-06-28 Ben Elliston <bje@gnu.org>
2518 * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
2519 * configure: Regenerate.
2521 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2523 * configure.ac, dejagnu.h, runtest, runtest.exp,
2524 baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
2525 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2526 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2527 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2528 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2529 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2530 baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
2531 baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
2532 baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
2533 baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
2534 baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
2535 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
2536 baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
2537 baseboards/mips-sim-mti64_64.exp,
2538 baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
2539 baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
2540 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2541 baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
2542 baseboards/mt-sid.exp, baseboards/multi-sim.exp,
2543 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2544 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2545 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2546 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2547 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2548 baseboards/unix.exp, baseboards/v850-sim.exp,
2549 baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
2550 baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
2551 baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
2552 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
2553 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2554 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2555 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2556 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2557 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2558 testsuite/runtest.all/stats-sub.exp,
2559 testsuite/runtest.all/stats.exp, config/adb.exp,
2560 config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2561 config/sid.exp, config/sim.exp, config/unix.exp,
2562 config/vxworks.exp: Update copyright date for 2016.
2564 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2566 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2567 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2568 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2569 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2570 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2571 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2572 baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2573 baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2574 baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2575 baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2576 baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2577 baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2578 baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2579 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2580 baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2581 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2582 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2583 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2584 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2585 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2586 baseboards/unix.exp, baseboards/v850-sim.exp,
2587 baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2588 baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2589 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2590 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2591 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2592 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2593 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2594 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2595 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2596 testsuite/runtest.all/options.exp,
2597 testsuite/runtest.all/stats-sub.exp,
2598 testsuite/runtest.all/stats.exp, config/default.exp,
2599 config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2600 config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2601 dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2604 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2606 * doc/runtest.1: Use condensed years in copyright statement.
2608 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2610 * runtest: Quote paths. Use test -z, -n for clarity.
2612 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2614 * config/adb.exp (adb_exec) Improve verbose message.
2616 2016-06-03 Jim Wilson <jim.wilson@linaro.org>
2618 * baseboards/aarch64-sim.exp: New file.
2619 * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2620 * Makefile.in: Regenerate.
2621 * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2623 2016-04-26 Ben Elliston <bje@gnu.org>
2625 * doc/dejagnu.texi: Fill more paragraphs.
2627 2016-04-25 Ben Elliston <bje@gnu.org>
2629 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2631 2016-04-24 Ben Elliston <bje@gnu.org>
2633 * lib/utils.exp (unsetenv): Remove proc.
2634 * doc/dejagnu.texi: Update documentation.
2637 2016-04-19 Nick Clifton <nickc@redhat.com>
2639 * baseboards/msp430-sim.exp: New file.
2640 * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2641 * Makefile.in: Regenerate.
2643 2016-04-18 Ben Elliston <bje@gnu.org>
2645 * runtest: Remove quoting in final exec command.
2647 2016-04-17 Ben Elliston <bje@gnu.org>
2649 * lib/remote.exp: Load ssh.exp lib.
2651 2016-04-17 Ben Elliston <bje@gnu.org>
2653 * lib/rsh.exp (rsh_open): Fix description comment.
2655 2016-04-17 Ben Elliston <bje@gnu.org>
2657 Reported by shellcheck.
2658 * runtest: Use $((..)) not `expr ..` and defensively double quote
2661 2016-04-17 Ben Elliston <bje@gnu.org>
2663 * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2664 * Makefile.in: Regenerate.
2666 2016-04-17 Ben Elliston <bje@gnu.org>
2668 Reported by shellcheck.
2669 * runtest: Use $((..)) not `expr ..`.
2671 2016-04-17 Ben Elliston <bje@gnu.org>
2673 * configure.ac (AC_INIT): Update version number.
2674 * configure: Regenerate.
2675 * runtest.exp (frame_version): Update version number.
2676 * doc/dejagnu.texi: Likewise.
2678 2016-04-17 Ben Elliston <bje@gnu.org>
2680 * NEWS: Start a new section for the next release.
2682 2016-04-15 Ben Elliston <bje@gnu.org>
2684 * Makefile.am (CONTRIB): Add new contrib scripts.
2685 * Makefile.in: Regenrate.
2687 2016-04-15 Ben Elliston <bje@gnu.org>
2689 * lib/ssh.exp (ssh_exec): Handle regexp return status.
2691 2016-04-13 Ben Elliston <bje@gnu.org>
2693 * lib/rsh.exp (rsh_exec): Improve verbose message.
2694 * lib/ssh.exp (ssh_exec): Likewise.
2695 * config/adb.exp: Likewise.
2697 2016-04-13 Ben Elliston <bje@gnu.org>
2699 * runtest.exp: Improve --version (-v) output.
2700 * testsuite/runtest.all/options.exp: Update test case.
2702 2016-04-13 Christophe Lyon <christophe.lyon@linaro.org>
2704 * lib/rsh.exp (rsh_exec): Handle regexp return status.
2706 2016-04-08 Ben Elliston <bje@gnu.org>
2708 Reported by Faraz Shahbazker.
2709 * doc/dejagnu.texi (Global config file): Fix broken @node.
2710 (Local config file): Likewise.
2712 2016-04-07 Ben Elliston <bje@gnu.org>
2714 * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2715 the command line with ';' and not &&.
2717 2016-04-07 Ben Elliston <bje@gnu.org>
2719 Reported by Faraz Shahbazker.
2720 * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2722 2016-04-06 Yvan Roux <yvan.roux@linaro.org>
2724 * lib/remote.exp (remnote_download): Create a remote directory if
2726 (remote_exec): Execute program inside remotedir when it exists.
2727 (standard_load): Set remotedir board field if not present.
2728 * config/unix.exp (unix_load): Handle remotedir in board field.
2729 (remotedir): Set board info field.
2730 * doc/dejagnu.texi (Board File Values): Document remotedir.
2732 2016-04-06 Ben Elliston <bje@gnu.org>
2734 * doc/dejagnu.texi (Global config file): Put before node 'Local
2737 2016-04-05 Ben Elliston <bje@gnu.org>
2739 * runtest.exp: Remove defunct and undocumented --tool_root option.
2741 2016-04-04 Ben Elliston <bje@gnu.org>
2743 * doc/dejagnu.texi: More overhauling.
2745 2016-04-04 Ben Elliston <bje@gnu.org>
2747 * lib/targetdb.exp (set_board_info): Improve comment.
2748 (add_board_info): Likewise.
2750 2016-04-04 Ben Elliston <bje@gnu.org>
2752 * NEWS: Add some more detail.
2754 2016-04-04 Ben Elliston <bje@gnu.org>
2756 * site.tmpl: Delete.
2757 * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2758 * Makefile.in: Regenerate.
2760 2016-04-03 Ben Elliston <bje@gnu.org>
2762 * doc/dejagnu.texi: More overhauling.
2764 2016-04-03 Ben Elliston <bje@gnu.org>
2766 * runtest.exp: Document the magical handling of -D[01].
2768 2016-04-03 Ben Elliston <bje@gnu.org>
2770 * doc/runtest.1: Do not document obsolete --status option. It is
2771 still accepted for compatibility, but does nothing.
2773 2016-04-03 Ben Elliston <bje@gnu.org>
2775 * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2777 2016-04-03 Ben Elliston <bje@gnu.org>
2779 * doc/runtest.1 (OPTIONS): Sort options.
2781 2016-04-03 Ben Elliston <bje@gnu.org>
2783 * doc/dejagnu.texi: More overhauling.
2785 2016-04-02 Ben Elliston <bje@gnu.org>
2787 * doc/dejagnu.texi: Fill paragraphs.
2789 2016-04-02 Ben Elliston <bje@gnu.org>
2791 * doc/dejagnu.texi: Fix capitalisation of procedure names
2792 throughout. Use Tcl syntax in procedure prototypes, not C syntax.
2794 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2796 * contrib/mysql/create-db.sql: New file.
2797 * contrib/mysql/importxml.sh: Likewise.
2798 * contrib/mysql/make-datafile.sh: Likewise.
2799 * contrib/mysql/plot.sh: Likewise.
2800 * contrib/mysql/README: Likewise.
2801 * contrib/mysql/sum2xml.sh: Likewise.
2803 2016-04-02 Ben Elliston <bje@gnu.org>
2805 * config.guess: Update to version 2016-04-02.
2806 * config.sub: Update to version 2016-03-30.
2808 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2810 * contrib/sum2junit.sh: New.
2812 2016-04-01 Ben Elliston <bje@gnu.org>
2814 * doc/dejagnu.texi (connprocs): Document new SSH procs.
2816 2016-03-31 Rob Savoye <rob.savoye@linaro.org>
2821 2016-03-30 Ben Elliston <bje@gnu.org>
2823 * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2824 lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2825 runtest.exp: Fix spelling errors in comments.
2827 2016-03-30 Ben Elliston <bje@gnu.org>
2829 * lib/remote.exp (remote_expect): Use perror not send_user.
2831 2016-03-29 Ben Elliston <bje@gnu.org>
2833 * lib/remote.exp (remote_expect): Fix spelling error.
2835 2016-03-29 Rob Savoye <rob.savoye@linaro.org>
2837 * runtest.exp: Only print "searching for <test name>" message at
2838 verbose level >= 2 -- too much noise.
2840 2016-03-29 Ben Elliston <bje@gnu.org>
2842 * texinfo.tex: Update to latest master version.
2843 * INSTALL: Likewise.
2845 2016-03-29 Ben Elliston <bje@gnu.org>
2847 * runtest.exp: More fixes identified by the Frink static analyser.
2848 * lib/dg.exp: Likewise.
2849 * config/adb.exp: Likewise.
2850 * config/vxworks.exp: Likewise.
2851 * baseboards/androideabi.exp: Likewise.
2852 * baseboards/basic-sid.exp: Likewise.
2853 * baseboards/multi-sim.exp: Likewise.
2855 2016-03-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
2857 * dg.exp (dg-do): Do not change the previously selected action if
2858 a de-selected dg-do is encountered.
2860 2016-03-28 Ben Elliston <bje@gnu.org>
2862 * lib/framework.exp (check_xml): Remove unused proc.
2864 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2866 * lib/dmucs.exp: New.
2868 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2870 * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2871 built compiler, then look in the path.
2873 2016-03-28 Ben Elliston <bje@gnu.org>
2875 * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2876 /bin/which doesn't. Modern systems rely too heavily on symbolic
2877 links (eg. alternatives).
2879 2016-03-28 Ben Elliston <bje@gnu.org>
2881 * baseboards/multi-sim.exp: Indent properly.
2883 2016-03-28 Ben Elliston <bje@gnu.org>
2885 * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2886 rlogin. Identified by Frink.
2888 2016-03-28 Ben Elliston <bje@gnu.org>
2890 * runtest.exp: Use 'array exists' for testing array existence
2891 rather than 'info exists'.
2893 2016-03-28 Ben Elliston <bje@gnu.org>
2895 * runtest.exp: Fixes identified by the Frink static analyser:
2896 (1) use -- in switch commands for safety,
2897 (2) remove unreachable return commands after error commands,
2898 (3) replace abbreviated "info proc" with "info procs",
2899 (4) use -- in unset commands for safety where the variable name
2900 is itself a variable.
2901 * lib/dg.exp: Likewise.
2902 * lib/debugger.exp: Likewise.
2903 * lib/framework.exp: Likewise.
2904 * lib/remote.exp: Likewise.
2905 * lib/target.exp: Likewise.
2906 * lib/targetdb.exp: Likewise.
2907 * lib/telnet.exp: Likewise.
2908 * lib/utils.exp: Likewise.
2910 2016-03-28 Ben Elliston <bje@gnu.org>
2912 * Makefile.am: Remove references to Docbook and friends.
2913 * configure.ac: Likewise.
2914 * Makefile.in: Regenerate.
2915 * configure: Regenerate.
2916 * doc/dejagnu.xml: Remove.
2917 * doc/legal.xml: Likewise.
2918 * doc/ref.xml: Likewise.
2919 * doc/user.xml: Likewise.
2921 2016-03-28 Ben Elliston <bje@gnu.org>
2923 * lib/framework.exp (exp_continue): Remove old compatibility
2924 wrapper. Expect deprecated 'continue -expect' in August 1997.
2926 2016-03-28 Ben Elliston <bje@gnu.org>
2930 2016-03-28 Ben Elliston <bje@gnu.org>
2932 * lib/utils.exp (which): Reimplement to more closely mimic the
2933 behaviour of the UNIX which utility.
2934 * testsuite/runtest.all/utils.test: Test proc which.
2936 2016-03-27 Ben Elliston <bje@gnu.org>
2938 * lib/remote.exp (standard_wait): Append any trailing characters
2939 to $output that may be still in $expect_out(buffer) when eof is
2940 matched. Remove arbitrary limitation in the ".+" matching case,
2941 similar to the change to local_exec on 2016-02-17.
2943 2016-03-23 Ben Elliston <bje@gnu.org>
2945 * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2946 mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2947 * Makefile.in: Regenerate.
2948 * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2949 baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2950 baseboards/vx68k.exp, baseboards/vx960.exp,
2951 baseboards/vxsparc.exp: Remove.
2953 2016-03-23 Ben Elliston <bje@gnu.org>
2955 * baseboards/README: Remove mention of devo.
2956 * baseboards/iq2000-sim.exp: Likewise.
2957 * baseboards/moxie-sim.exp: Likewise.
2959 2016-03-23 Ben Elliston <bje@gnu.org>
2961 * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2962 * Makefile.in: Regenerate.
2963 * baseboards/arm-ice.exp: Reinstate.
2964 * baseboards/arm-sim.exp: Likewise.
2966 2016-03-23 Ben Elliston <bje@gnu.org>
2968 * Makefile.am (config_DATA): Update.
2969 (baseboard_DATA): Likewise.
2970 * Makefile.in: Regenerate.
2973 Remove the following old config files:
2975 * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2976 cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2977 dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2978 m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2979 mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2980 proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2981 tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2983 Remove the following old baseboard files:
2985 * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2986 d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2987 fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2988 h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2989 i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2990 m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2991 mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2992 mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2993 powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2994 sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2995 tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2996 vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2997 xscale-cygmon.exp: Remove.
2999 2016-03-22 Ben Elliston <bje@gnu.org>
3001 * lib/target.exp (only--Ls): Change '???' comment to a note. This
3002 isn't a serious shortcoming, but the comment should be retained.
3004 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
3006 * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
3007 the environment, use that as the spec file for bare metal testing.
3009 2016-03-22 Ben Elliston <bje@gnu.org>
3011 * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
3012 * Makefile.in: Regenerate.
3014 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
3016 * config/aarch64-fv8.exp: Add support for testing armv8 using the
3017 ARM Foundation Model.
3019 2016-03-21 Ben Elliston <bje@gnu.org>
3021 * runtest.exp: Whitespace, comment and typo fixes.
3022 * lib/dejagnu.exp: Likewise.
3023 * lib/remote.exp: Likewise.
3024 * lib/utils.exp: Likewise.
3026 2016-03-21 Ben Elliston <bje@gnu.org>
3028 * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
3029 * baseboards/mmixware-sim.exp: Likewise.
3030 * config/sim.exp: Likewise.
3031 * runtest.exp: Likewise.
3033 2016-03-21 Ben Elliston <bje@gnu.org>
3035 * lib/dg.exp (dg-get-options): Clean up regular expression and
3036 remove FIXME comment about it.
3038 2016-03-20 Ben Elliston <bje@gnu.org>
3040 * baseboards/i960-sim.exp: Remove stale ??? comment.
3041 * config/vxworks.exp: Likewise.
3043 2016-03-20 Ben Elliston <bje@gnu.org>
3045 * runtest.exp: Load .dejagnurc last not first.
3046 (load_file): Update comment about Tcl 7.5a2.
3047 * doc/user.xml (Customizing DejaGnu): Document new search order
3049 * doc/dejagnu.texi: Regenerate.
3052 2016-03-20 Ben Elliston <bje@gnu.org>
3054 * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
3056 2016-03-20 Ben Elliston <bje@gnu.org>
3058 * lib/dg.exp: Remove commented-out calls to send_user.
3060 2016-03-20 Ben Elliston <bje@gnu.org>
3062 * runtest.exp (load_file): Remove old comment.
3064 2016-03-20 Ben Elliston <bje@gnu.org>
3066 * lib/dg.exp (dg-test): There is no need to call unresolved to
3067 clear errcnt. Instead, pass 0 as argument 2 to perror.
3068 * runtest.exp (runtest): Likewise.
3070 2016-03-16 Ben Elliston <bje@gnu.org>
3072 Revert this change (the GCC testsuite uses diff):
3074 2016-03-15 Ben Elliston <bje@gnu.org>
3076 * lib/utils.exp (diff): Remove proc.
3077 * doc/ref.xml: Update documentation.
3078 * doc/dejagnu.texi: Regenerate.
3081 2016-03-15 Ben Elliston <bje@gnu.org>
3083 * testsuite/runtest.all/options.exp: Properly clean up log files
3084 left by the runtest under test.
3086 2016-03-15 Ben Elliston <bje@gnu.org>
3088 * testsuite/runtest.all/load_lib.exp: Typo fixes.
3090 2016-03-15 Ben Elliston <bje@gnu.org>
3092 * testsuite/runtest.all/options.exp: Add more tests.
3094 2016-03-15 Ben Elliston <bje@gnu.org>
3096 * testsuite/libdejagnu/tunit.exp: Clean up.
3098 2016-03-15 Ben Elliston <bje@gnu.org>
3100 * lib/utils.exp (diff): Remove proc.
3101 * doc/ref.xml: Update documentation.
3102 * doc/dejagnu.texi: Regenerate.
3105 2016-03-15 Ben Elliston <bje@gnu.org>
3108 2016-02-14 Steve Ellcey <sellcey@mips.com>
3110 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
3112 * baseboards/multi-sim.exp (rpath_flags): Ditto.
3114 2016-03-13 Ben Elliston <bje@gnu.org>
3116 * lib/utils.exp: Whitespace fixes.
3118 2016-03-13 Ben Elliston <bje@gnu.org>
3120 * lib/dg.exp (dg-process-target): Remove old commented code.
3121 * lib/dg.exp (dg-test): Likewise.
3123 2016-03-13 Ben Elliston <bje@gnu.org>
3125 * lib/dg.exp: Improve top-of-file documentation.
3127 2016-03-05 Yvan Roux <yvan.roux@linaro.org>
3129 * lib/remote.exp (remote_exec): Restore original timeout value.
3131 2016-03-04 Yvan Roux <yvan.roux@linaro.org>
3133 * lib/remote.exp (standard_upload): Remove dead code.
3135 2016-02-24 Ben Elliston <bje@gnu.org>
3137 * lib/utils.exp (prune): Restore this proc.
3138 * doc/ref.xml: Update documentation.
3139 * doc/dejagnu.texi: Regenerate.
3142 2016-02-23 Iain Buclaw <ibuclaw@gdcproject.org>
3144 * lib/libgloss.exp (find_gdc): New proc.
3145 * lib/target.exp (default_target_compile): Add D support.
3148 2016-02-20 Ben Elliston <bje@gnu.org>
3150 * lib/utils.exp (diff): Replace calls to verbose followed by
3151 send_log with a single call to verbose -log. Remove additional
3152 newlines from the log messages.
3154 2016-02-20 Ben Elliston <bje@gnu.org>
3156 * lib/utils.exp (getdirs): Ignore .git and .svn directories.
3158 2016-02-20 Ben Elliston <bje@gnu.org>
3160 * lib/utils.exp: Improve comments.
3163 2016-02-20 Ben Elliston <bje@gnu.org>
3165 * lib/utils.exp (prune): Remove proc.
3166 * doc/ref.xml: Update documentation.
3167 * doc/dejagnu.texi: Regenerate.
3169 2016-02-20 Ben Elliston <bje@gnu.org>
3171 * lib/utils.exp (slay): Remove proc.
3172 * doc/ref.xml: Update documentation.
3173 * doc/dejagnu.texi: Regenerate.
3175 2016-02-20 Ben Elliston <bje@gnu.org>
3177 * lib/utils.exp (absolute): Remove proc.
3178 * doc/ref.xml: Update documentation.
3179 * doc/dejagnu.texi: Regenerate.
3181 2016-02-20 Ben Elliston <bje@gnu.org>
3183 * lib/utils.exp (psource): Remove proc.
3184 * doc/ref.xml: Update documentation.
3185 * doc/dejagnu.texi: Regenerate.
3187 2016-02-20 Ben Elliston <bje@gnu.org>
3189 * lib/targetdb.exp (board_info): Simplify return logic.
3191 2016-02-19 Ben Elliston <bje@gnu.org>
3193 * configure.ac: Require Tcl version 8.5 at a minimum.
3194 * configure: Regenerate.
3196 2016-02-18 Ben Elliston <bje@gnu.org>
3198 * configure.ac: Require Tcl version 8.6 at a minimum.
3199 * configure: Regenerate.
3201 2016-02-17 Ben Elliston <bje@gnu.org>
3203 * runtest.exp: Tweak "Test run by .." output.
3205 2016-02-17 Ben Elliston <bje@gnu.org>
3207 * lib/target.exp (default_target_compile): Do not pass -log to
3208 verbose when outputting the captured compiler/assembler/linker
3209 diagnostic output as it will already be in the .log file courtesy
3212 2016-02-17 Ben Elliston <bje@gnu.org>
3214 * runtest.exp: Enable --status by default.
3215 (runtest): Set exit status to 2 if there is any error sourcing
3217 * lib/framework.exp (unknown): Likewise, set exit status to 2.
3218 * doc/runtest.1: Clarify exit status codes.
3221 2016-02-17 Ben Elliston <bje@gnu.org>
3223 * lib/remote.exp (local_exec): Call exp_continue until eof is
3226 2016-02-16 Ben Elliston <bje@gnu.org>
3228 * runtest.exp: Use the traditional exit codes when runtest is
3229 interrupted. This makes it possible to tell if runtest ran to
3230 completion or not. Suggested by Michael Chastain.
3232 2016-02-15 Ben Elliston <bje@gnu.org>
3234 * TODO: Add ideas produced from Cauldron 2013.
3236 2016-02-15 Ben Elliston <bje@gnu.org>
3240 2016-02-15 Ben Elliston <bje@gnu.org>
3242 * lib/dg.exp (dg-test): Remove comment about proc unresolved not
3243 setting exit_status to 1 -- it does.
3245 2016-02-15 Ben Elliston <bje@gnu.org>
3247 * lib/framework.exp (cleanup): Remove do-nothing proc.
3248 (log_and_exit): Remove call to cleanup.
3249 * doc/ref.xml: Remove documentation for cleanup.
3250 * doc/dejagnu.texi: Regenerate.
3252 2016-02-15 Ben Elliston <bje@gnu.org>
3254 Reported by David Malcolm.
3255 * lib/dejagnu.exp (text): Allow angle brackets in test messages.
3257 2016-02-15 Ben Elliston <bje@gnu.org>
3259 * config.guess: Update to version 2016-02-11.
3260 * config.sub: Update to version 2016-01-01.
3262 2016-02-14 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
3264 * lib/remote.exp (remote_exec): Set global timeout for benefit of
3267 2016-02-14 Ben Elliston <bje@gnu.org>
3269 * lib/remote.exp (local_exec): Improve comments.
3271 2016-02-14 Ben Elliston <bje@gnu.org>
3273 * doc/runtest.1: Tweak.
3275 2016-02-14 Steve Ellcey <sellcey@mips.com>
3277 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
3279 * baseboards/multi-sim.exp (rpath_flags): Ditto.
3281 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
3283 * lib/remote.exp (standard_file): Reverse return logic for remote
3286 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
3288 * lib/remote.exp (standard_file); Add else clause.
3290 2016-01-16 Ben Elliston <bje@gnu.org>
3292 * runtest.exp (runtest): Improve comment about --status.
3294 2016-01-12 Simon Marchi <simon.marchi@ericsson.com>
3296 * lib/remote.exp (standard_file): The [ operator does not actually
3297 output anything. It returns 0 or 1 as its exit code, so "exit `[
3298 -f $file ]`" always expands to "exit " (equivalent to exit 0).
3299 Instead, use test(1) to check for file existence.
3301 2015-12-20 Ben Elliston <bje@gnu.org>
3303 * doc/dejagnu.xml: Begin overhauling.
3304 * doc/ref.xml: Likewise.
3305 * doc/user.xml: Likewise.
3306 * doc/dejagnu.texi: Regenerate.
3308 2015-12-20 Ben Elliston <bje@gnu.org>
3310 * doc/runtest.1: Miscellaneous minor improvements.
3312 2015-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
3314 * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
3315 * Makefile.in: Regenerate.
3317 2015-11-16 Brooks Moses <bmoses@google.com>
3319 * config/unix.exp: Add ability to set test timeout from site.exp.
3320 * doc/user.xml: Document new test_timeout variable in site.exp.
3321 * doc/dejagnu.texi: Regenerate.
3323 2015-11-16 Ben Elliston <bje@gnu.org>
3325 * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
3327 2015-11-16 Ben Elliston <bje@gnu.org>
3329 * testsuite/runtest.all/options.exp: Remove some commented code.
3331 2015-11-16 Ben Elliston <bje@gnu.org>
3333 * runtest.exp: Refer to "DejaGnu version", not "Framework
3334 version" in --version output.
3335 * testsuite/runtest.all/options.exp: Update test case.
3337 2015-11-14 Ben Elliston <bje@gnu.org>
3339 * runtest.exp (usage): Improve help text.
3341 2015-11-12 Ben Elliston <bje@gnu.org>
3343 * runtest.exp (usage): Sort options in usage.
3345 2015-11-12 Ben Elliston <bje@gnu.org>
3347 * lib/framework.exp (note): Remove old commented-out code.
3349 2015-11-11 Ben Elliston <bje@gnu.org>
3351 * doc/user.xml (Summary File): 'untested', not 'runtested'.
3352 * doc/dejagnu.texi: Regenerate.
3354 2015-11-11 Michael Forney <forney@google.com>
3356 * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
3358 2015-11-11 Ben Elliston <bje@gnu.org>
3360 * doc/dejagnu.texi: Regenerate.
3362 2015-11-10 Ben Elliston <bje@gnu.org>
3364 * doc/user.xml: Fix runtest output formatting in <programlisting>.
3366 2015-11-10 Ben Elliston <bje@gnu.org>
3368 * doc/dejagnu.xml: Update month and year.
3369 * doc/user.xml: Lots of editorial fixes from Daniel Thibault
3370 <Daniel.Thibault@drdc-rddc.gc.ca>.
3372 2015-09-10 Robert Suchanek <Robert.Suchanek@imgtec.com>
3374 * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
3376 2015-07-30 Pedro Alves <palves@redhat.com>
3378 * lib/remote.exp (close_wait_program): New procedure.
3379 (local_exec, standard_close): Use it.
3381 2015-05-23 Ben Elliston <bje@gnu.org>
3383 * doc/dejagnu.xml: Fix broken URLs.
3384 * doc/dejagnu.texi: Regenerate.
3386 2015-05-23 Ben Elliston <bje@gnu.org>
3388 * doc/user.xml: Fix 'crosscompilation'.
3390 2015-05-23 Ben Elliston <bje@gnu.org>
3392 * doc/runtest.1 (log_dialog): Improve documentation.
3394 2015-05-16 Filipe Brandenburger <filbranden@google.com>
3396 * configure.ac: Enable subdir-objects, require automake 1.14.
3397 * Makefile.in: Regenerate.
3399 2015-05-15 Filipe Brandenburger <filbranden@google.com>
3401 * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
3402 possibly introduced in a conversion of .texi to SGML Docbook.
3403 * doc/user.xml: Likewise.
3404 * doc/ref.xml: Likewise.
3405 * doc/dejagnu.texi: Regenerate.
3407 2015-05-15 Filipe Brandenburger <filbranden@google.com>
3409 * runtest.exp (runtest): Introduce new --log_dialog option.
3410 * doc/runtest.1: Document it.
3411 * doc/user.xml: Likewise.
3412 * doc/dejagnu.texi: Regenerate.
3414 2015-05-14 Steve Ellcey <sellcey@imgtec.com>
3416 * baseboards/multi-sim.exp (get_library_dirlist): New.
3417 (dynamic_linker_flag): Use get_library_dirlist to find dynamic
3419 (rpath_flags): Use get_library_dirlist to set rpath.
3421 2015-05-12 Steve Ellcey <sellcey@imgtec.com>
3423 * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
3425 2015-03-30 Ben Elliston <bje@gnu.org>
3427 Revert the following change which causes breakage reported here:
3428 https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
3430 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3432 * runtest.exp (runtest): Call reset_vars at initialisation so that
3433 perror does not affect test results in other test scripts.
3435 2015-02-26 H.J. Lu <hjl.tools@gmail.com>
3437 * lib/target.exp (default_target_compile): Prepend multilib_flags,
3438 instead of appending it.
3440 2015-02-18 Ben Elliston <bje@gnu.org>
3442 * lib/framework.exp (log_and_exit): Set tool to "testrun" if
3445 2015-02-05 Ben Elliston <bje@gnu.org>
3447 * doc/runtest.1: Fix a spelling error.
3449 2015-02-04 Ben Elliston <bje@gnu.org>
3451 * config.guess: Update to version 2015-01-01.
3452 * config.sub: Likewise.
3454 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
3456 * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
3457 * Makefile.in: Regenerate.
3458 * baseboards/visium-sim.exp: New file.
3460 2014-11-25 Ben Elliston <bje@gnu.org>
3462 * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
3463 Reported by David Malcolm.
3465 2014-10-28 Ben Elliston <bje@gnu.org>
3467 * Makefile.in: Regenerate.
3469 2014-10-28 Ben Elliston <bje@gnu.org>
3471 * example: Remove stale examples.
3473 2014-10-24 Steve Ellcey <sellcey@mips.com>
3475 * dejagnu.h (pass): Make function static as well as inline.
3480 (unresolved): Ditto.
3484 2014-10-14 Ben Elliston <bje@gnu.org>
3486 * runtest.exp: Only match $directory, not *${directory}* when the
3487 user passes the --directory option. Reported by Sergey Alyoshin.
3489 2014-10-14 Ben Elliston <bje@gnu.org>
3491 * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
3492 is not the right command keyword -- it is full_buffer. Reported by
3495 2014-07-15 Maciej W. Rozycki <macro@mips.com>
3496 Maciej W. Rozycki <macro@codesourcery.com>
3498 * lib/targetdb.exp (add_board_info): New procedure.
3499 * doc/ref.xml (Add_board_info Procedure): New section.
3500 (Set_board_info Procedure): Add description.
3501 (Unset_board_info Procedure): Likewise.
3502 * doc/user.xml (Board Config File Values): Add `add_board_info'
3503 reference. Reorder `gdb_init_command' table rows and remove a
3504 duplicate entry, reusing it for `gdb_init_commands'.
3506 2014-06-25 Rob Savoye <rob.savoye@linaro.org>
3508 * runtest.exp: (lookfor-file): Fix bug were none of the relative
3509 paths were actually being used for file lookup.
3511 2014-06-06 Ben Elliston <bje@gnu.org>
3513 * depcomp, install-sh, missing: Update to latest versions.
3514 * mkinstalldirs: Remove.
3515 * Makefile.in: Regenerate.
3517 2014-06-04 Ben Elliston <bje@gnu.org>
3519 * Makefile.in: Regenerate with Automake 1.14.1.
3520 * compile: Add missing file.
3522 2014-06-04 Ben Elliston <bje@gnu.org>
3524 * config.guess: Update to version 2014-03-23.
3525 * config.sub: Likewise.
3527 2014-06-04 Ben Elliston <bje@gnu.org>
3529 * aclocal.m4: Regenerate with Automake 1.14.1.
3530 * configure: Regenerate with Autoconf 2.69.
3532 2014-03-15 Steve Ellcey <sellcey@mips.com>
3534 * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
3536 2014-02-23 Steve Ellcey <sellcey@mips.com>
3537 Richard Sandiford <rdsandiford@googlemail.com>
3539 * config/sim.exp (sim_exec): New.
3542 2013-12-08 Richard Sandiford <rdsandiford@googlemail.com>
3544 * lib/dg.exp (dg-test): Don't put the expected and actual output
3545 of a pattern test in the test name; send it to the log instead.
3547 2013-11-01 Steve Ellcey <sellcey@mips.com>
3549 * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
3550 * Makefile.in: Regenerate.
3551 * baseboards/multi-sim.exp: New.
3553 2013-10-31 Anton Kolesov <anton.kolesov@synopsys.com>
3555 * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
3556 (remote_reboot): Add comment explaining return value of this procedure.
3557 * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
3558 * doc/dejagnu.texi: Regenerate.
3560 2013-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
3562 * baseboards/androideabi.exp (process_multilib_options): Add option.
3563 * config/adb.exp: Remove hardcoded -static option.
3564 (adb_load): Add the possibility to change the temp directory. Also
3565 handle permission potential problems.
3566 (adb_exec): Do cd to android_tmp_dir first.
3568 2013-10-05 Jose E. Marchesi <jose.marchesi@oracle.com>
3570 * baseboards/unix.exp: Add gdb settings to not use hardware
3571 watchpoints in sparc64 running GNU/Linux.
3573 2013-06-17 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3575 * runtest.exp (libdirs): New global variable.
3576 (load_lib): Append libdirs to search_and_load_files directories.
3577 * doc/ref.xml (load_lib): Document global variable libdirs.
3578 * doc/dejagnu.texi: Regenerate.
3579 * testsuite/runtest.all/load_lib.exp: New testcase.
3580 * Makefile.am (TESTSUITE_FILES): Add new testcase.
3581 * Makefile.in: Regenerate.
3583 2013-06-15 Ben Elliston <bje@gnu.org>
3585 * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3586 * Makefile.am: Export DEJAGNU.
3587 * configure: Likewise.
3588 * Makefile.in: Regenerate.
3590 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3592 * doc/user.xml: Fix typos.
3593 * doc/ref.xml: Likewise.
3594 * doc/dejagnu.texi: Regenerate.
3596 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3598 * doc/user.xml: Fix number of columns in table.
3599 * doc/dejagnu.texi: Regenerate.
3601 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3603 * doc/user.xml: Fix rendering errors around programlisting.
3604 * doc/ref.xml: Likewise.
3605 * doc/dejagnu.texi: Regenerate.
3607 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3609 * doc/user.xml: Fix spacing before productname.
3610 * doc/dejagnu.texi: Regenerate.
3612 2013-06-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3614 * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3615 magic "args" parameter name, as expect send_log proc accepts -- as
3618 2013-06-08 Makoto Fujiwara <makoto@ki.nu>
3620 * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3621 (config_DATA): Likewise for config_SCRIPTS.
3622 (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3623 (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3625 * Makefile.in: Regenerate.
3627 2013-06-08 Ben Elliston <bje@gnu.org>
3629 * configure: Regenerate with autoconf 2.69.
3630 * aclocal.m4: Regenerate.
3632 2013-03-31 Ben Elliston <bje@gnu.org>
3634 * Makefile.am (html-local): Rename target from html.
3635 * Makefile.in: Regenerate with automake 1.12.6.
3636 * aclocal.m4: Likewise.
3637 * configure: Regenerate.
3639 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3641 * TODO: Remove todo item about warncnt and errcnt.
3643 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3645 * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3647 2013-03-26 Ben Elliston <bje@gnu.org>
3649 * config.guess: Update to version 2013-02-12.
3650 * config.sub: Likewise.
3652 2013-02-16 Rob Savoye <rob@build.welcomehome.org>
3654 * config/adb.exp: Add adb_file so we can remotely delete test
3655 cases to save on limited disk space. Don't remove the file after
3656 executing it, leave that for the test driver instead.
3658 2013-02-15 Rob Savoye <rob@welcomehome.org>
3660 * config/adb.exp: Remove the test case after executing
3661 it. Otherwise we can fill up all the diskspace on a small target
3664 2013-02-11 Rob Savoye <rob@welcomehome.org>
3666 * baseboards/androideabi.exp: Board support for Android using ADB.
3667 * config/adb.exp: Config support for Android using ADB.
3668 * Makefile.am (dist): Add new config and board files.
3669 * aclocal.m4, Makefile.in, configure, example/calc/configure,
3670 example/mathhelper/configure: Regenerated with newer autotools.
3672 2012-12-05 Ben Elliston <bje@gnu.org>
3674 * example/hello: Remove.
3675 * configure.ac: Likewise.
3676 * configure: Regenerate.
3678 2012-10-04 Steve Ellcey <sellcey@mips.com>
3680 * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3681 * Makefile.in: Regenerate.
3682 * baseboards/mips-sim-mti32.exp: New.
3683 * baseboards/mips-sim-mti64.exp: New.
3684 * baseboards/mips-sim-mti64_n32.exp: New.
3685 * baseboards/mips-sim-mti64_64.exp: New.
3686 * baseboards/mips-sim-sde32.exp: New.
3687 * baseboards/mips-sim-sde64.exp: New.
3689 2012-10-04 Ben Elliston <bje@gnu.org>
3691 * aclocal.m4: Regenerate with automake 1.11.3.
3692 * Makefile.in: Likewise.
3693 * configure: Regenerate with autoconf 2.68.
3695 2012-08-22 Steve Ellcey <sellcey@mips.com>
3697 * baseboards/generic-sim.exp: New baseboard definition.
3699 2012-06-15 Andreas Schwab <schwab@linux-m68k.org>
3701 * lib/framework.exp (clone_output): Protect from leading dash in
3703 * runtest.exp (verbose): Likewise.
3705 2012-06-11 Tom Tromey <tromey@redhat.com>
3707 * doc/runtest.1: Update.
3708 * runtest.exp (xml_file_name): New global.
3710 Handle optional argument to --xml.
3711 * lib/framework.exp (open_logs): Respect xml_file_name.
3713 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3715 * runtest.exp (load_tool_init): Fix typo in -de option handling.
3717 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3719 * doc/runtest.1: Correct name of debug file.
3721 2012-02-25 Ben Elliston <bje@gnu.org>
3723 * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3724 for runtest.exp as a last resort (for usrmove environments, where
3725 /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3727 2011-12-30 Ben Elliston <bje@gnu.org>
3729 * doc/user.xml: Various spelling and consistency fixes.
3730 * doc/ref.xml: Likewise.
3731 (exit_remote_shell): Remove, as this procedure is defunct.
3732 * doc/dejagnu.texi: Regenerate.
3734 2011-12-30 Ben Elliston <bje@gnu.org>
3736 * config.guess: Update to version 2011-12-29.
3737 * config.sub: Update to version 2011-11-11.
3739 2011-06-30 Tom Tromey <tromey@redhat.com>
3741 * doc/ref.xml: Document find_gfortran.
3742 * doc/dejagnu.texi: Regenerate.
3743 * lib/target.exp (default_target_compile): Handle f90.
3744 (default_target_compile): Likewise.
3745 * lib/libgloss.exp (find_gfortran): New proc.
3747 2011-06-30 Ben Elliston <bje@gnu.org>
3749 * Makefile.am (all-local): New rule.
3750 * Makefile.in: Regenerate.
3752 2011-04-12 Ben Elliston <bje@gnu.org>
3754 * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3755 rm", for better portability.
3756 * config/netware.exp (${board}_load): Likewise.
3757 * lib/dg.exp (dg-test): Likewise.
3758 * lib/framework.exp (open_logs): Likewise.
3759 * lib/remote.exp (standard_file): Likewise.
3760 * runtest.exp: Likewise.
3761 * testsuite/runtest.all/options.exp: Likewise.
3763 2011-03-15 Ben Elliston <bje@gnu.org>
3765 * runtest.exp: Whitespace cleanups.
3766 * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3767 lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3768 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3770 2011-03-15 Ben Elliston <bje@gnu.org>
3772 * runtest: Remove trailing semicolons.
3773 * lib/rsh.exp: Likewise.
3775 2011-03-15 H.J. Lu <hjl.tools@gmail.com>
3777 * lib/remote.exp (local_exec): Ignore SIGHUP.
3779 2011-03-14 Ben Elliston <bje@gnu.org>
3781 * runtest.exp (frame_version): Set to 1.5.1.
3782 * configure.ac (AC_INIT): Set version to 1.5.1.
3783 * configure: Regenerate.
3784 * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3785 * doc/dejagnu.texi: Regenerate.
3787 2011-03-14 Ben Elliston <bje@gnu.org>
3789 * dejagnu.h: Whitespace cleanups.
3791 2011-03-14 Ben Elliston <bje@gnu.org>
3793 * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3794 * baseboards/mt-sid.exp: Likewise.
3795 * baseboards/tx39-sim.exp: Likewise.
3796 * lib/target.exp (default_target_compile): Likewise.
3798 2011-03-14 Ben Elliston <bje@gnu.org>
3800 Reported by Flash Sheridan <flash@pobox.com>:
3801 * doc/user.xml (Testing "Hello world" locally): Improve the
3802 example test script and make it robust to failures. Tidy some
3804 * doc/dejagnu.texi: Regenerate.
3806 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3808 * runtest.exp (runtest): Call reset_vars at initialisation so that
3809 perror does not affect test results in other test scripts.
3811 2011-03-09 Ben Elliston <bje@gnu.org>
3813 * NEWS: Start a new section for post-1.5 changes.
3815 2011-03-09 Ben Elliston <bje@gnu.org>
3817 * DejaGnu 1.5 released.
3819 2011-03-09 Ben Elliston <bje@gnu.org>
3821 * Makefile.am (DISTCLEANFILES): Define.
3822 * Makefile.in: Regenerate.
3823 * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3824 * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3825 * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3826 mkdir" instead of exec'ing mkdir(1).
3828 2011-03-07 Ben Elliston <bje@gnu.org>
3830 * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3831 * Makefile.in: Regenerate.
3833 2011-03-06 Ben Elliston <bje@gnu.org>
3835 * configure.ac (AC_INIT): Set version to 1.5.
3836 * configure: Regenerate.
3837 * runtest.exp (frame_version): Set to 1.5.
3838 * doc/dejagnu.texi: Regenerate.
3840 2011-03-04 Ben Elliston <bje@gnu.org>
3842 * texinfo.tex: Import latest version from ftp://tug.org/tex.
3844 2011-03-04 Ben Elliston <bje@gnu.org>
3846 * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3847 * Makefile.in: Regenerate.
3849 2011-03-03 Ben Elliston <bje@gnu.org>
3851 * Makefile.am: Bump to GPL version 3.
3852 * configure.ac: Likewise.
3853 * Makefile.in: Regenerate.
3854 * aclocal.m4: Likewise.
3855 * configure: Likewise.
3857 2011-03-03 Ben Elliston <bje@gnu.org>
3859 * config.guess: Update to most recent version.
3860 * config.sub: Likewise.
3862 2011-03-03 Ben Elliston <bje@gnu.org>
3864 * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3865 proc to ::tcl_unknown. If ::tcl_unknown returns a failure result,
3866 then fall back to the conventional DejaGnu handling. Report from
3867 David Byron <dbyron@dbyron.com>.
3869 2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
3871 * lib/remote.exp (remote_expect): Pass all exception conditions up
3874 2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3876 * lib/dg.exp (dg-test): Support nested calls.
3878 2010-04-13 Ben Elliston <bje@gnu.org>
3880 * testglue.c: Remove duplicated prototypes for abort and exit.
3882 2010-03-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3884 * doc/user.xml (Tcl Variables For Command Line Options): Correct
3887 2010-01-21 Jie Zhang <jie.zhang@analog.com>
3889 * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3891 2010-01-15 Anthony Green <green@moxielogic.com>
3893 * baseboards/moxie-sim.exp: New baseboard.
3895 2009-12-10 DJ Delorie <dj@redhat.com>
3897 * baseboards/rx-sim.exp: New baseboard.
3899 2009-10-15 Ben Elliston <bje@gnu.org>
3901 * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3902 This web page has disappeared.
3904 2009-07-06 Ben Elliston <bje@gnu.org>
3906 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3907 <option> not <emphasis>. Apply other grammatical fixes from
3909 * doc/dejagnu.texi: Regenerate.
3911 2009-07-06 Ben Elliston <bje@gnu.org>
3913 * configure.ac: Check for docbook2x-texi.
3914 * configure: Regenerate.
3916 2009-07-06 Ben Elliston <bje@gnu.org>
3918 From Reuben Thomas <rrt@sc3d.org>:
3919 * doc/runtest.1: Fix some formatting issues.
3921 2009-06-16 Ben Elliston <bje@gnu.org>
3923 * config.guess: Update to most recent version.
3924 * config.sub: Likewise.
3926 2009-06-16 Ben Elliston <bje@gnu.org>
3928 * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3929 * Makefile.in: Regenerate.
3930 * packaging: Remove directory and its contents.
3932 2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
3934 * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3937 2008-12-03 Ben Elliston <bje@gnu.org>
3939 * COPYING: Update to GPL version 3.
3941 2008-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3943 * doc/ref.xml, doc/user.xml: Fix typos.
3944 * doc/dejagnu.texi: Regenerate.
3946 2008-04-06 Daniel Jacobowitz <drow@false.org>
3948 * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3949 * Makefile.in: Regenerate.
3950 * dejagnu.exp (host_execute): Improve regexp matching.
3951 * testsuite/libdejagnu/unit.cc: C++ fixes.
3953 2008-04-06 Daniel Jacobowitz <drow@false.org>
3955 * lib/utils.exp (diff): Open both files as binary.
3957 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3959 * dejagnu.h (totals): Correct typos.
3961 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3963 * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3964 * doc/dejagnu.texi: Regenerate.
3966 2008-02-25 Ben Elliston <bje@gnu.org>
3968 * doc/runtest.1: Update date of last revision.
3970 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3972 * baseboards/h8300.exp: Use -- before switch argument that may
3974 * baseboards/cris-sim.exp: Ditto.
3976 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3978 * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3979 iq2000-sim.exp and m32r-linux-sim.exp.
3980 * Makefile.in: Regenerate.
3982 2008-02-08 Ben Elliston <bje@gnu.org>
3984 * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3986 2007-12-28 Joseph Myers <joseph@codesourcery.com>
3988 * lib/target.exp (default_link): Initialize nobjects before use.
3990 2007-12-06 Ben Elliston <bje@gnu.org>
3992 * lib/dg.exp (dg_bogus): Comment fix.
3994 2007-10-31 DJ Delorie <dj@redhat.com>
3996 * lib/framework.exp (open_logs): Line buffer the .sum file.
3998 2007-09-04 Matt Kraai <kraai@ftbfs.org>
4000 * doc/user.xml (Configuration): Fix typos.
4001 * doc/dejagnu.texi: Regenerate.
4003 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4005 * lib/remote.exp (standard_send): Correct quoting.
4007 2007-05-17 Ben Elliston <bje@gnu.org>
4009 * doc/user.xml: Correct the syntax for running apt-get on a Debian
4010 GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
4012 2007-04-30 Bob Wilson <bob.wilson@acm.org>
4014 * baseboards/xtensa-sim.exp: Set target_install. Stop using
4015 basic-sim.exp. Run the simulator with --turbo option. Replace
4016 needs_status_wrapper with the simulator's --exit_with_target_code
4019 2006-10-15 Rob Savoye <rob@bertha.welcomehome.org>
4021 * dejagnu.h: Add support for for expected failures and
4022 unexpected successes.
4024 2005-05-06 Andrew Fyfe <a.fyfe@tiscali.co.uk>
4026 * doc/Makefile.am: Fix install path for man page.
4027 * Makefiles: Regenerated.
4029 2006-08-29 Ben Elliston <bje@gnu.org>
4031 * runtest.exp (usage): Use "triplet" instead of "config name".
4033 2006-07-13 Daniel Jacobowitz <dan@codesourcery.com>
4035 * Makefile.am (DOCBOOK2RTF): Fix typo.
4036 * Makefile.in: Regenerated.
4037 * lib/libgloss.exp (process_multilib_options): Use -- to handle
4038 options starting with hyphens.
4040 2006-06-23 Eric Botcazou <ebotcazou@adacore.com>
4042 * libgloss.exp (find_gnatmake): Rewrite.
4044 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4046 * rsh.exp (rsh_exec): Handle inp and outp arguments. Use
4047 local_exec to run rsh. Return failure if rsh times out.
4048 * remote.exp (local_exec): Handle "|& cat" we added when deciding
4049 whether to return output.
4051 2006-06-09 Ben Elliston <bje@gnu.org>
4053 * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
4054 multiple cases, not a list (case uses lists, switch does not).
4055 Pass -glob to switch where applicable to emulate case behaviour.
4056 * baseboards/h8300.exp: Likewise.
4057 * lib/framework.exp (clone_output): Likewise.
4058 (clear_xfail): Likewise.
4059 (clear_kfail): Likewise.
4060 * lib/libgloss.exp (process_multilib_options): Likewise.
4061 * runtest.exp: Likewise.
4063 2006-06-06 Ben Elliston <bje@gnu.org>
4065 * Makefile.am (CONTRIB): New.
4066 (EXTRA_DIST): Add $(CONTRIB).
4067 (doc/dejagnu.texi): Set directory-category param to docbook2texi.
4068 * Makefile.in: Regenerate.
4069 * doc/dejagnu.texi: Likewise.
4071 2006-06-06 Ben Elliston <bje@gnu.org>
4073 * runtest.exp (load_lib): Typo fix.
4075 2006-06-06 Ben Elliston <bje@gnu.org>
4077 * dejagnu.h: Tidy comments.
4078 (_BUFFER_SIZE_): Remove to minimise namespace pollution.
4079 (wait): Define this function unconditionally. Conditionally
4080 compile the function body if _DEJAGNU_WAIT_ is defined.
4081 (buffer): Set the buffer size explicitly.
4082 (pass): Use sizeof (buffer). Call wait() unconditionally.
4083 (fail, untested, unresolved, note): Likewise.
4084 (enum teststate): Tidy whitespace.
4086 2006-06-06 Ben Elliston <bje@gnu.org>
4088 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
4089 * doc/dejagnu.texi: Regenerate.
4091 2006-06-06 Ben Elliston <bje@gnu.org>
4093 Import from GCC tree:
4094 2006-06-02 Richard Earnshaw <rearnsha@arm.com>
4095 Mike Stump <mrs@apple.com>
4097 * compare_tests: Handle multilibs better.
4099 2006-06-06 Ben Elliston <bje@gnu.org>
4101 * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
4103 * configure.ac: Check for docbook2texi, not docbook2x-texi. The
4104 wrapper script changed its name again in the latest release.
4105 * configure: Regenerate.
4106 * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
4107 (DOCBOOK2TEXI): .. to this.
4108 (doc/dejagnu.texi): Do not use output-file parameter to deposit
4109 the .texi file into the source directory; use mv(1) instead. Set
4110 directory-description parameter.
4111 * Makefile.in: Likewise.
4113 2006-06-02 Ben Elliston <bje@gnu.org>
4115 * config/sim.exp (sim_upload): Match up argument names.
4117 2006-06-02 Ben Elliston <bje@gnu.org>
4119 * config.guess: Update to most recent version.
4120 * config.sub: Likewise.
4122 2006-06-02 Ben Elliston <bje@gnu.org>
4124 * config/dos.exp (dos_open): Only run global board_info once at
4125 the beginning of the proc; remove duplicates.
4126 (dos_load): Use file join to separate path components.
4127 (dos_copy_upload): Likewise.
4128 * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
4131 2006-06-02 Ben Elliston <bje@gnu.org>
4133 * contrib/compare_tests: Import from the GCC contrib directory.
4135 2006-05-24 Ben Elliston <bje@gnu.org>
4137 * runtest.exp (verbose): Brace some expressions.
4138 (load_file, search_and_load_file): Likewise.
4139 (runtest): Likewise.
4141 2006-05-23 Ben Elliston <bje@gnu.org>
4143 * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
4144 * config/i960.exp (i960_spawn): Initialise status.
4145 * config/netware.exp (${board}_init): Brace some if expressions.
4146 * lib/dg.exp (dg-test): Brace some expressions.
4147 * lib/framework.exp (clone_output, log_and_exit, log_summary,
4148 record_test, pass, fail): Likewise.
4149 * lib/libgloss.exp (get_multilibs): Likewise.
4150 * lib/remote.exp (standard_transmit, unix_clean_filename,
4151 remote_load, check_for_board_status, remote_expect): Likewise.
4152 * lib/rsh.exp (rsh_exec): Likewise.
4154 2006-05-22 Ben Elliston <bje@gnu.org>
4156 * baseboards/cris-sim.exp: Use switch, not case.
4157 * baseboards/h8300.exp: Likewise.
4158 * config/base68k.exp (base68k_ld): Brace an if expression.
4160 2006-05-22 Ben Elliston <bje@gnu.org>
4162 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
4163 baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
4164 baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
4165 baseboards/mmixware-sim.exp, baseboards/op50n.exp,
4166 baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
4167 baseboards/usparc-cygmon.exp, config/base-config.exp,
4168 config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
4169 config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
4170 config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
4171 config/netware.exp, config/sid.exp, config/sim.exp,
4172 config/tic80.exp, config/unix.exp, config/vxworks.exp,
4173 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
4174 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
4175 lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
4176 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
4177 expressions throughout.
4179 2006-05-22 Ben Elliston <bje@gnu.org>
4181 * lib/framework.exp (open_logs): Use file join where applicable.
4182 * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
4183 newlib_include_flags, g++_link_flags, libstdc++_link_flags,
4184 get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
4185 * lib/utils.exp (which): Likewise.
4186 * runtest.exp (search_and_load_file, lookfor_file,
4187 load_tool_init): Likewise.
4189 * lib/debugger.exp (watcharray): Add `array' parameter. Rename
4190 `type' parameter to `op' and update all uses in the proc.
4191 (watchvar): Add `ignore' parameter for scalar variables.
4192 Likewise, rename `type' to `op' and update throughout the proc.
4194 * runtest.exp: Use switch, not case.
4195 * lib/framework.exp (clone_output): Likewise.
4196 (clear_xfail): Likewise.
4197 (clear_kfail): Likewise.
4198 (set_warning_threshold): Make warning_threshold global.
4199 (get_warning_threshold): Likewise.
4200 * lib/libgloss.exp (process_multilib_options): Use switch, not
4202 * lib/remote.exp (local_exec): Only run global errorInfo once.
4203 (standard_upload): Fix error in variable use ($file -> $srcfile).
4204 * lib/utils.exp (grep): Use switch, not case.
4205 (slay): Fix mismatched bracket.
4207 * lib/debugger.exp (watcharray): Use switch, not case.
4208 (watchvar): Likewise.
4209 (bt): Add an explanatory comment.
4211 2006-04-03 Ben Elliston <bje@gnu.org>
4213 * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
4214 lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
4215 lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
4217 2006-01-02 Ben Elliston <bje@gnu.org>
4219 * configure.ac (AC_INIT): Set version to 1.4.99.
4220 * configure: Regenerate.
4222 2006-01-01 Ben Elliston <bje@gnu.org>
4224 * testsuite/runtest.all/utils.test: Add runtest_file_p.
4226 2006-01-01 Ben Elliston <bje@gnu.org>
4228 * runtest.exp (frame_version): Set to 1.4.99.
4230 2006-01-01 Ben Elliston <bje@gnu.org>
4232 * dejagnu.h: Update copyright notice. Use C-style /* .. */
4233 comments for portability with ISO C compilers.
4234 * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
4236 2006-01-01 Ben Elliston <bje@gnu.org>
4238 * runtest.exp: Update copyright notice.
4239 * example/calc/testsuite/calc.test/calc.exp: Likewise.
4240 * example/calc/testsuite/config/unix.exp: Likewise.
4241 * testsuite/libdejagnu/tunit.exp: Likewise.
4242 * testsuite/runtest.all/libs.exp: Likewise.
4243 * testsuite/runtest.all/options.exp: Likewise.
4244 * testsuite/runtest.all/stats-sub.exp: Likewise.
4245 * testsuite/runtest.all/stats.exp: Likewise.
4247 2006-01-01 Ben Elliston <bje@gnu.org>
4249 * config/default.exp, config/unix.exp, config/vxworks.exp,
4250 lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
4251 lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
4253 * dejagnu.h, testsuite/config/default.exp,
4254 testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
4255 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
4256 testsuite/runtest.all/options.exp,
4257 testsuite/runtest.all/stats-sub.exp,
4258 testsuite/runtest.all/stats.exp: Update copyright notice and FSF
4259 office address. Remove bug reporting address, as it is now
4260 maintained centrally in the README file.
4262 2005-12-31 Ben Elliston <bje@gnu.org>
4264 * testsuite/runtest.all/utils.test: Don't bother mentioning
4265 absolute, psource, prune and slay as untested procedures.
4267 2005-12-31 Ben Elliston <bje@gnu.org>
4269 * doc/ref.xml (Utility Procedures): Note that the following
4270 procedures are deprecated: absolute, psource, prune, slay.
4272 * doc/dejagnu.texi: Regenerate.
4274 2005-12-24 Ben Elliston <bje@gnu.org>
4276 * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
4277 case the command fails and zeroes the Texinfo source file. Move
4278 the output (if successful) by its default filename using mv(1).
4279 * Makefile.in: Regenerate.
4281 2005-12-24 Ben Elliston <bje@gnu.org>
4283 * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
4284 * configure: Regenerate.
4285 * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
4286 (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
4287 (dejagnu.pdf): Use $(DOCBOOK2PDF).
4288 (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
4289 (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
4290 (html): Likewise, use $(DOCBOOK2HTML).
4291 (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
4292 which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
4293 * Makefile.in: Regenerate.
4295 2005-12-24 Ben Elliston <bje@gnu.org>
4297 * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
4298 (XML): Remove $(srcdir) from each filename; VPATH suffices.
4299 (PACKAGING_METAFILES): Remove.
4300 * Makefile.in: Regenerate.
4302 2005-12-24 Ben Elliston <bje@gnu.org>
4306 2005-12-24 Ben Elliston <bje@gnu.org>
4310 2005-12-24 Ben Elliston <bje@gnu.org>
4312 * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
4315 2005-12-24 Ben Elliston <bje@gnu.org>
4317 * Makefile.am (RUNTEST): Simplify, as Automake already generates
4318 similar logic in Makefile.in.
4319 * Makefile.in: Regenerate.
4321 2005-12-24 Ben Elliston <bje@gnu.org>
4323 * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
4324 libdejagnu tests are run too.
4325 * Makefile.in: Regenerate.
4327 2005-12-24 Ben Elliston <bje@gnu.org>
4329 * configure: Regenerate.
4331 * lib/remote.exp: Tidy.
4332 * lib/targetdb.exp: Likewise.
4333 * lib/target.exp (prune_warnings): Improve comments.
4334 * lib/dejagnu.exp: Likewise.
4335 * lib/utils.exp: Likewise.
4339 2005-12-24 Ben Elliston <bje@gnu.org>
4341 * doc/dejagnu.xml: Don't use apostrophes in section titles.
4342 * doc/dejagnu.texi: Regenerate.
4344 2005-12-24 Ben Elliston <bje@gnu.org>
4346 * Makefile.am (XML): Include $(srcdir) in filenames.
4347 * Makefile.in: Regenerate.
4349 2005-12-24 Ben Elliston <bje@gnu.org>
4351 * doc/C/Makefile.am: Remove.
4352 * doc/C/Makefile.in: Likewise.
4354 * Makefile.am (SUBDIRS): Remove.
4355 (EXTRA_DIST): Append $(XML).
4356 (dist_man_MANS): Define.
4357 (info_TEXINFOS): Likewise.
4358 (XML): List XML source files.
4359 (dejagnu.pdf): New target.
4360 (dejagnu.ps): Likewise.
4361 (dejagnu.rtf): Likewise.
4363 (dejagnu.texi): Special rule to build Texinfo source.
4364 * Makefile.in: Regenerate.
4365 * configure.ac: Don't search for docbook2dvi.
4366 Search for docbook2rtf and docbook2pdf.
4367 Don't output doc/Makefile or doc/C/Makefile.
4368 * configure: Regenerate.
4369 * doc/texinfo.tex: Move from here ..
4370 * texinfo.tex: .. to here.
4371 * doc/Makefile.am: Remove.
4372 * doc/Makefile.in: Likewise.
4373 * doc/C/dejagnu.omf: Likewise.
4374 * doc/C/topic.dat: Likewise.
4375 * doc/C/dejagnu.xml: Move from here ..
4376 * doc/dejagnu.xml: .. to here.
4377 * doc/C/legal.xml: Move from here ..
4378 * doc/legal.xml: .. to here.
4379 * doc/C/ref.xml: Move from here ..
4380 * doc/ref.xml: .. to here.
4381 * doc/C/user.xml: Move from here ..
4382 * doc/user.xml: .. to here.
4383 * doc/dejagnu.texi: Rebuild from XML source.
4385 2005-12-23 Ben Elliston <bje@gnu.org>
4387 * doc/runtest.1: Update manual page.
4389 2005-12-23 Ben Elliston <bje@gnu.org>
4391 * doc/overview.sgml: Remove in favour of XML versions.
4392 * doc/ref.sgml: Ditto.
4393 * doc/user.sgml: Ditto.
4394 * doc/texinfo.tex: Import new version.
4396 2005-12-20 Ben Elliston <bje@gnu.org>
4398 * Makefile.am (SUBDIRS): Remove testsuite, example.
4399 (EXTRA_DIST): Add $(TESTSUITE_FILES).
4400 (TESTSUITE_FILES): New.
4401 (RUNTEST, RUNTESTDEFAULTFLAGS): New.
4403 (check_PROGRAMS): New.
4404 (unit_SOURCES): New.
4405 * Makefile.in: Regenerate.
4406 * configure.ac (AC_OUTPUT): Don't output example/Makefile,
4407 testsuite/Makefile or testsuite/libdejagnu/Makefile.
4408 * configure: Regenerate.
4409 * testsuite/Makefile.am: Remove.
4410 * testsuite/Makefile.in: Likewise.
4411 * testsuite/libdejagnu/Makefile.am: Likewise.
4412 * testsuite/libdejagnu/Makefile.in: Likewise.
4414 2005-12-20 Ben Elliston <bje@gnu.org>
4416 * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
4417 * Makefile.in: Regenerate.
4419 2005-12-20 Ben Elliston <bje@gnu.org>
4421 * configure: Regenerate with autoconf 2.59.
4422 * aclocal.m4: Regenerate with aclocal 1.9.6.
4423 * Makefile.in: Regenerate with automake 1.9.6.
4424 * doc/Makefile.in: Likewise.
4425 * doc/C/Makefile.in: Likewise.
4426 * example/Makefile.in: Likewise.
4427 * testsuite/Makefile.in: Likewise.
4428 * testsuite/libdejagnu/Makefile.in: Likewise.
4430 2005-12-20 Nathan Sidwell <nathan@codesourcery.com>
4432 * baseboards/ms1-sid.exp: Rename from this ..
4433 * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
4435 2005-12-20 Ben Elliston <bje@gnu.org>
4437 * config.guess: Update to most recent version.
4438 * config.sub: Likewise.
4440 2005-09-24 Ben Elliston <bje@gnu.org>
4442 * packaging/pkg/pkginfo (EMAIL): Update mail address.
4444 * lib/rsh.exp: Tidy comments.
4446 2005-07-07 Ben Elliston <bje@gnu.org>
4448 * lib/telnet.exp (telnet_transmit): Remove; use standard method.
4450 2005-07-07 Ben Elliston <bje@gnu.org>
4452 * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
4453 * Makefile.in: Regenerate.
4455 2005-07-06 Ben Elliston <bje@gnu.org>
4457 * lib/tip.exp (tip_open): Improve comments.
4458 (tip_download): Likewise.
4460 2005-07-06 Ben Elliston <bje@gnu.org>
4462 * lib/telnet.exp (telnet_open): Improve option handling. Clarify
4463 documentation for each proc.
4465 2005-07-06 Ben Elliston <bje@gnu.org>
4467 * aclocal.m4: Regenerate with aclocal 1.9.
4468 * configure: Regenerate with autoconf 2.59.
4469 * doc/C/Makefile.am: Remove stray include.
4470 * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
4471 example/Makefile.in, testsuite/Makefile.in,
4472 testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
4474 2005-07-06 Ben Elliston <bje@gnu.org>
4476 Import some missing hunks from this patch on sourceware:
4478 2004-11-11 Nick Clifton <nickc@redhat.com>
4480 * lib/libgloss.exp (libio_include_flags, g++_include_flags,
4481 winsup_include_flags): Revert previous patch, restoring the use of
4482 -I, for all libraries except newlib. Newlib needs -isystem to
4483 avoid the problems with <limits.h> but the C++ and winsup
4484 libraries need -I because -isystem generates an implicit 'extern
4485 "C"' which may not be appropriate for certain targets.
4487 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
4489 * baseboards/ms1-sid.exp: New.
4491 2005-07-01 Ben Elliston <bje@gnu.org>
4493 Unify some changes with the 1.4 branch:
4495 2004-10-28 Nick Clifton <nickc@redhat.com>
4496 * baseboards/iq2000-sim.exp: New file.
4498 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4499 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4502 2004-05-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4503 * baseboards/m32r-linux-sim.exp: Add New file.
4505 2005-06-24 Ben Elliston <bje@gnu.org>
4507 * MAINTAINERS: Update my email address.
4509 2005-06-24 Ben Elliston <bje@gnu.org>
4511 * Update the FSF's physical address throughout.
4513 2005-06-22 Ben Elliston <bje@gnu.org>
4515 * config.guess: Update to most recent version.
4516 * config.sub: Likewise.
4518 2005-04-28 Mark Kettenis <kettenis@gnu.org>
4520 * lib/target.exp (prune_warnings): Add a few more linker
4521 warning patterns for OpenBSD.
4523 2005-03-20 Mark Kettenis <kettenis@gnu.org>
4525 * lib/target.exp (prune_warnings): Add linker warning patterns for
4528 2005-01-29 Hans-Peter Nilsson <hp@axis.com>
4530 * baseboards/cris-sim.exp: New file.
4532 2004-11-19 Nick Clifton <nickc@redhat.com>
4534 * lib/libgloss.exp (newlib_include_flags): Document why -isystem
4535 is used instead of -I.
4536 (libio_include_flags): Use -I instead of -isystem and
4538 (g++_include_flags): Use -I instead of -isystem.
4539 (libstdc++_include_flags): Likewise.
4541 2004-11-04 Ben Elliston <bje@gnu.org>
4543 * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
4544 mark the test as unresolved, rather than warning.
4546 2004-10-27 Nick Clifton <nickc@redhat.com>
4548 * baseboards/iq2000-sim.exp: New file.
4550 2004-08-20 Daniel Jacobowitz <dan@debian.org>
4552 * testglue.c: Prototype abort(3) and exit(3).
4554 2004-08-14 Paul Brook <paul@codesourcery.com>
4556 * config/sim.exp (sim_download, sim_upload): New procs.
4558 2004-06-30 Ben Elliston <bje@gnu.org>
4560 * config.guess: Update to current revision.
4561 * config.sub: Likewise.
4563 2004-06-12 Ben Elliston <bje@gnu.org>
4565 * config.guess: Update to current revision.
4566 * config.sub: Likewise.
4568 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4570 * testglue.c: Prototype abort and exit.
4572 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4574 * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4577 Tue Feb 25 05:19:57 UTC 2003 Brendan Conoboy <blc@@redhat.com>
4579 * lib/remote.exp (call_remote): Remove multilibs from the board
4580 name when rebooting a board.
4582 2004-06-03 Alexandre Oliva <aoliva@redhat.com>
4584 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4587 2004-06-07 Ben Elliston <bje@gnu.org>
4589 * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4591 2004-03-29 Joel Brobecker <brobecker@gnat.com>
4593 * lib/libgloss.exp (find_gnatmake): New procedure.
4594 * lib/target.exp (default_target_compile): Add support for Ada.
4596 2004-04-16 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
4598 * baseboards/m32r-linux-sim.exp: Add New file.
4600 2004-04-02 Rob Savoye <rob@direwolf.welcomehome.org>
4602 * configure.ac, example/Makefile.am: Add example/mathhelper.
4603 * configure, alocal.m4, example/Makefile.in: Regenerated.
4605 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4607 * example/mathhelper: New example for using the unit testing API.
4609 2004-03-05 Daniel Jacobowitz <drow@mvista.com>
4611 * lib/remote.exp (standard_spawn): Fix rsh username support.
4613 2004-03-06 Rob Savoye <rob@althea.welcomehome.org>
4615 * doc/C: New directory for DocBook XML files.
4616 * doc/C/dejagnu.omf: New config file for scrollkeeper.
4617 * doc/C/topic.dat: New config file for the GNOME help system.
4618 * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4620 * doc/C/ref.xml: DocBook XML formatted verion of what was
4622 * doc/C/user.xml: DocBook XML formatted verion of what was
4625 2004-02-17 Ben Elliston <bje@wasabisystems.com>
4627 * runtest.exp: Do not trap SIGSEGV.
4629 2004-02-16 Ben Elliston <bje@wasabisystems.com>
4631 * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4632 * configure: Regenerate.
4634 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4636 * doc/runtest.1: Improve some wording. Update last revision date.
4638 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4640 * NEWS: Document yesterday's work.
4642 * runtest: Improve comments.
4644 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4648 * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4650 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4652 * configure.ac: Quote strings throughout in good Autoconf style.
4653 Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4654 expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4655 existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4656 is at version 8.3 or greater.
4657 * configure: Regenerate.
4658 * acinclude.m4: Remove.
4659 * aclocal.m4: Regenerate.
4660 * Makefile.in: Likewise.
4661 * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4662 (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4663 (%.html: %.sgml): Use $(DOCBOOK2HTML).
4664 * doc/Makefile.in: Regenerate.
4665 * example/Makefile.in: Likewise.
4666 * testsuite/Makefile.in: Likewise.
4667 * testsuite/libdejagnu/Makefile.in: Likewise.
4670 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4672 * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4673 * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4674 baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4675 baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4676 baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4677 baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4678 baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4679 baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4680 baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4681 baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4682 baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4683 baseboards/vr5000-ddb.exp: Likewise.
4685 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4687 * runtest: Terminate with an error if expect cannot be found.
4690 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4692 * configure.ac: Use AC_PATH_PROG to find expect(1).
4693 (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4694 * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4695 (DJ_AC_STL): Likewise.
4696 * configure: Regenerate.
4697 * aclocal.m4: Likewise.
4698 * configure: Likewise.
4699 * Makefile.in: Likewise.
4700 * doc/Makefile.in: Likewise.
4701 * example/Makefile.in: Likewise.
4702 * testsuite/Makefile.in: Likewise.
4703 * testsuite/libdejagnu/Makefile.in: Likewise.
4706 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4708 * runtest.1: Remove any mention of mondfe.
4710 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4712 * TODO: Add an item about timeouts.
4714 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4716 * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4718 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4720 * lib/standard.exp: Tidy.
4722 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4724 * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4725 (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4726 (baseboard_SCRIPTS): Remove a29k-udi.exp.
4727 * Makefile.in: Regenerate.
4728 * baseboards/a29k-udi.exp: Remove.
4729 * baseboards/dos.exp: Update comments.
4730 * config/udi.exp: Remove.
4731 * config/vrtx.exp: Remove.
4732 * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4733 * doc/ref.sgml: Likewise.
4734 * doc/user.sgml: Likewise.
4735 * lib/mondfe.exp: Remove.
4736 * lib/xsh.exp: Likewise.
4737 * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4738 * packaging/pkg/prototype: Update.
4741 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4743 * Makefile.am (rpmspec): Remove.
4744 (rpm): Additionally depend on dejagnu.spec.
4745 ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4746 directory. This saves duplicated code in the solpkg and hpdepot
4748 (solpkg): Depend on $(PKGDIR)/dejagnu.
4749 (hpdepot): Likewise.
4750 * Makefile.in: Regenerate.
4752 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4754 * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4755 * Makefile.in: Regenerate.
4756 * testsuite/Makefile.am (CLEANFILES): Remove.
4757 (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4758 * testsuite/Makefile.in: Regenerate.
4760 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4762 * lib/util-defs.exp: Move from here ..
4763 * testsuite/lib/util-defs.exp: .. to here.
4764 * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4765 * Makefile.in: Regenerate.
4766 * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4767 * testsuite/Makefile.in: Regenerate.
4768 * doc/ref.sgml (File Map): Remove util-defs.exp.
4769 * packaging/pkg/prototype: Update file list.
4771 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4773 * NEWS: Document changes since 1.4.4.
4775 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4777 * example/Makefile.am (check-recursive): Remove target.
4778 * example/Makefile.in: Regenerate.
4780 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4782 * dejagnu.h: Conform with GNU coding standard.
4784 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4786 * Makefile.am (PKGING): Remove.
4787 (PACKAGING_METAFILES): Update accordingly.
4788 (CLEANFILES, check-DEJAGNU): Remove.
4789 (tarball): Remove; use `dist'.
4790 (deb): Update target recipe to use `make dist'.
4792 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4794 * Clean.tcl: Remove.
4796 * Makefile.am (SUBDIRS): Add testsuite, example directories.
4797 (EXTRA_DIST): Define.
4798 (pkgdata_SCRIPTS): Add lib/*.exp files.
4799 (DATE, TCLSH): Remove.
4800 (configdir, config_DATA, config_SCRIPTS): Define.
4801 (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4802 (pkgdata_DATA): Likewise.
4803 (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4804 (PKGING, PACKAGING_METAFILES): New macros.
4805 (clean-local): Remove.
4806 (rpm): Depend on dist.
4808 (dist-hook): Remove.
4809 (lib_dest, lib_files): Likewise.
4810 (baseboard_dest, baseboard_files): Likewise.
4811 (include_dest, config_dest, config_files): Likewise.
4812 (install-data-local): Likewise.
4813 (uninstall-local): Likewise.
4814 (site.exp): Likewise.
4815 * Makefile.in: Regenerate.
4817 * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4819 (EXTRA_DIST): Define.
4820 (site.exp): Remove target.
4821 * testsuite/Makefile.in: Regenerate.
4822 * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4823 (noinst_PROGRAMS): Rename from this ..
4824 (check_PROGRAMS): .. to this.
4825 * testsuite/libdejagnu/Makefile.in: Regenerate.
4827 * doc/Makefile.am (man_MANS): Rename from this ..
4828 (dist_man_MANS): .. to this.
4829 (info_TEXINFOS): Define.
4830 (TARGETS): Remove overview.rtf.
4831 (EXTRA_DIST): Define.
4832 (%.rtf: %.sgml): Remove rule.
4833 (%.gif: %.fig): Likewise.
4834 (%.epsi: %.eps): Likewise.
4835 (%.eps: %.fig): Likewise.
4836 (clean, realclean, distclean): Remove.
4837 (install-docs): Don't install overview.rtf.
4838 * doc/Makefile.in: Regenerate.
4839 * doc/texinfo.tex: New file.
4841 * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4842 (check_PROGRAMS): .. to this.
4843 (EXTRA_DIST): Add test cases and calc.1 man page.
4844 * example/calc/Makefile.in: Regenerate.
4845 * example/calc/aclocal.m4: Likewise.
4846 * example/calc/configure: Likewise.
4847 * example/calc/stamp-h.in: Remove.
4848 * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4849 (check_PROGRAMS): .. to this.
4850 (EXTRA_DIST): Define.
4851 * example/hello/Makefile.in: Regenerate.
4852 * example/hello/aclocal.m4: Likewise.
4853 * example/hello/configure: Likewise.
4854 * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4855 * example/hello/testsuite/Makefile.in: Regenerate.
4857 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4859 * configure.ac: Remove commented out code.
4860 * configure: Regenerate.
4862 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4866 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4868 * INSTALL: Import latest version.
4869 * depcomp: Likewise.
4870 * install-sh: Likewise.
4871 * missing: Likewise.
4873 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4875 * configure.in: Rename from this ..
4876 * configure.ac: .. to this. Require Autoconf 2.50.
4877 * Makefile.in: Regenerate.
4878 * doc/Makefile.in: Likewise.
4879 * example/Makefile.in: Likewise.
4880 * testsuite/Makefile.in: Likewise.
4881 * testsuite/libdejagnu/Makefile.in: Likewise.
4883 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4885 * lib/target.exp (prune_warnings): Add spaces where required in
4886 NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
4888 2004-02-05 Ben Elliston <bje@wasabisystems.com>
4890 * config.guess: Update to current revision.
4891 * config.sub: Likewise.
4893 2004-02-04 Ben Elliston <bje@wasabisystems.com>
4895 * configure.in (AC_NO_EXECUTABLES): Remove.
4896 * configure: Rebuild with Autoconf 2.59.
4897 * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4898 (DJ_AC_PATH_TCLSH): Likewise.
4899 (DJ_AC_PATH_DOCBOOK): Likewise.
4900 * aclocal.m4: Rebuild.
4901 * Makefile.in: Rebuild with Automake 1.8.2.
4902 * doc/Makefile.in: Likewise.
4903 * example/Makefile.in: Likewise.
4904 * testsuite/Makefile.in: Likewise.
4905 * testsuite/libdejagnu/Makefile.in: Likewise.
4907 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4909 Import orphaned patches from sources.redhat.com:
4911 2002-05-02 Fernando Nasser <fnasser@redhat.com>
4912 * doc/dejagnu.texi: Document KFAIL and KPASS.
4914 2002-02-20 Richard Henderson <rth@redhat.com>
4915 * lib/target.exp (prune_warnings): Revert early "In function"
4916 strip, as this breaks g++.dg tests. Match dangerous regexp
4917 without the "In function" header.
4919 2002-02-09 Richard Henderson <rth@redhat.com>
4920 * lib/target.exp (prune_warnings): Strip "In function" etc early.
4921 Adjust "dangerous" regexp for glibc's tmpnam warning.
4923 2001-09-10 Jim Blandy <jimb@redhat.com>
4924 * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4925 so we get the version of the `outbyte' function that does console
4926 output in a way that GDB's rom68k target recognizes. Note that
4927 the board can now do output.
4929 2000-04-25 Felix Lee <flee@cygnus.com>
4930 * baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete
4931 misleading comments and null statements.
4933 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4935 * DejaGnu 1.4.4 released.
4937 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4939 * Makefile.am (tarball): Depend on book1.html, not overview.html.
4940 Don't echo needless messages. Portably copy the source tree to
4941 dejagnu-${VERSION}. Portably copy documentation files from the
4942 source tree to the distribution directory. Don't copy RPM-related
4943 files -- leave that to the rpm target.
4944 (snapshot): Remove target.
4945 (overview.html): Rename target from this ..
4946 (book1.htm): .. to this.
4947 (rpm): Portably copy tar file to SOURCES directory.
4948 (deb): Depend on book1.html, not overview.html.
4949 (dist-hook): Depend on book1.html, not overview.html.
4950 * Makefile.in: Rebuild.
4951 * doc/Makefile.am (TARGETS): Depend on book1.html.
4952 (book1.html): Depend on html/book1.html.
4953 (overview.dvi): Remove target.
4954 * doc/Makefile.in: Rebuild.
4956 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4958 * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4959 (cleanfiles): Concatenate regular filenames that match .*.
4961 2004-01-12 Ben Elliston <bje@wasabisystems.com>
4963 * baseboards/frv-sim.exp: Remove reference to devo/sim.
4965 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4967 * doc/overview: Remove all files.
4969 2003-12-03 Ben Elliston <bje@wasabisystems.com>
4971 * testsuite/runtest.all/utils.test: Fix a test for proc find which
4972 assumed that "subsubfile1" would appear at the end of the returned
4973 list. Adjust to use a more robust regular expression.
4975 2003-11-26 Ben Elliston <bje@wasabisystems.com>
4977 * doc/overview.sgml (version): Update.
4978 * doc/overview/installation.html: Likewise.
4980 * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4981 * packaging/pkg/pkginfo: Likewise.
4982 * packaging/depot/dejagnu.psf: Likewise.
4984 2003-10-25 Ben Elliston <bje@wasabisystems.com>
4986 * runtest.exp (frame_version): Bump version.
4987 * configure.in (AM_INIT_AUTOMAKE): Likewise.
4988 * configure: Regenerate.
4990 2003-10-16 Rob Savoye <rob@welcomehome.org>
4992 * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4994 2003-10-13 Ben Elliston <bje@wasabisystems.com>
4996 * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4998 2003-10-11 Corinna Vinschen <vinschen@redhat.com>
5000 * baseboards/sh-sim.exp: New file.
5002 2003-10-11 Ben Elliston <bje@wasabisystems.com>
5005 * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
5007 2003-10-08 Ben Elliston <bje@wasabisystems.com>
5009 * i960glue.c: Remove.
5010 * packaging/pkg/prototype: Remove i960glue.c.
5012 2003-10-07 Ben Elliston <bje@wasabisystems.com>
5014 * contrib/README: Remove.
5015 * contrib/testit: Remove bitrotten script.
5016 * contrib/test-g++: Likewise.
5017 * contrib/test-tool: Likewise.
5019 2003-08-23 Ben Elliston <bje@wasabisystems.com>
5022 * contrib/README: Bring up to date.
5024 2003-08-23 Corinna Vinschen <vinschen@redhat.com>
5026 * config/sid.exp: Add gdb settings to use no hardware watchpoints.
5028 2003-08-23 Ben Elliston <bje@wasabisystems.com>
5030 * README: Update section on reporting bugs.
5032 2003-08-22 Ben Elliston <bje@wasabisystems.com>
5034 * lib/kermit.exp: Document procs.
5035 * lib/ftp.exp: Likewise.
5037 2003-08-19 Ben Elliston <bje@wasabisystems.com>
5039 * contrib/testit: Run wish via /usr/bin/env for portability.
5041 2003-08-18 Ben Elliston <bje@wasabisystems.com>
5043 * Makefile.am: Tidy comments and unused command lines.
5044 * Makefile.in: Regenerate.
5045 * testsuite/libdejagnu/Makefile.in: Likewise.
5047 * contrib/bluegnu2.0.3: Remove unsupported subtree.
5049 2003-08-18 Ben Elliston <bje@wasabisystems.com>
5051 * MAINTAINERS: New file.
5053 2003-08-17 Ben Elliston <bje@wasabisystems.com>
5055 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
5056 * doc/Makefile.in: Regenerate.
5058 2003-08-16 Ben Elliston <bje@wasabisystems.com>
5060 * doc/overview.sgml (overview): Start overhauling chapter.
5062 * doc/README.Writers: New document on style conventions.
5063 * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
5064 * doc/user.sgml: Likewise.
5065 * doc/overview.sgml: Likewise.
5066 * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
5068 2003-08-12 Ben Elliston <bje@wasabisystems.com>
5070 * Makefile.am (tarball): Update path to dejagnu.spec.
5071 (rpmspec): Likewise.
5072 (deb): Likewise, update path to package metafiles.
5074 (hpdepot): Likewise.
5075 * Makefile.in: Regenerate.
5076 * aclocal.m4: Likewise.
5077 * configure: Likewise.
5078 * doc/Makefile.in: Likewise.
5079 * example/Makefile.in: Likewise.
5080 * testsuite/Makefile.in: Likewise.
5081 * deb: Move from here ..
5082 * packaging/deb: .. to here.
5083 * redhat: Move from here ..
5084 * packaging/rpm: .. to here.
5085 * depot: Move from here ..
5086 * packaging/depot: .. to here.
5087 * pkg: Move from here ..
5088 * packaging/pkg: .. to here.
5090 * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
5091 (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
5092 * testsuite/libdejagnu/Makefile.in: Regenerate.
5094 2003-08-07 Ben Elliston <bje@wasabisystems.com>
5096 * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
5097 to increment count rather than count++ as in C.
5099 2003-08-06 Ben Elliston <bje@wasabisystems.com>
5101 * lib/remote.exp: Replace "TCL" with "Tcl".
5103 2003-07-30 Ben Elliston <bje@wasabisystems.com>
5105 * doc/runtest.1: Replace "TCL" with "Tcl".
5106 Make last revision date current.
5108 2003-07-29 Ben Elliston <bje@wasabisystems.com>
5110 * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
5111 URLs and other stylistic improvements.
5112 * doc/ref.sgml: Likewise.
5113 * doc/user.sgml: Likewise.
5115 2003-07-25 Mike Stump <mrs@apple.com>
5117 * lib/target.exp (prune_warnings): Handle "nfs server .* not
5118 responding" and "nfs server .* is alive again".
5120 2003-07-20 Ben Elliston <bje@wasabisystems.com>
5122 * config.guess: Update to most recent version.
5123 * config.sub: Ditto.
5124 * AUTHORS: Add self to list of maintainers.
5126 2003-07-25 Jim Dein <jdein@deinji5.apple.com> (RIP)
5128 * lib/utils.exp (find): Fix double recursion bug.
5130 2002-02-25 Jackie Smith Cashion <jsmith@redhat.com>
5132 * baseboards/am33_2.0-libremote.exp: New file.
5134 2000-11-21 Drew Moseley <dmoseley@redhat.com>
5136 * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
5139 2000-08-10 Drew Moseley <dmoseley@cygnus.com>
5141 * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
5144 2003-06-13 Phil Edwards <pme@devphil.com>
5146 * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
5147 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
5148 only -T[linker] instead of -Wl,-T[linker].
5150 2003-06-13 Jason Thorpe <thorpej@wasabisystems.com>
5152 * lib/target.exp (prune_warnings): Add two more linker
5153 warning patterns for warnings generated by modern verions
5156 2003-05-12 H.J. Lu <hongjiu.lu@intel.com>
5158 * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
5160 2003-05-09 H.J. Lu <hongjiu.lu@intel.com>
5162 * runtest: Fix a typo.
5164 2003-05-03 Nitin Dhavale <nitinpdhavale@indiatimes.com>
5166 * doc/user.sgml: Clarify how to set the verbose option.
5168 2003-03-28 Chris Demetriou <cgd@broadcom.com>
5170 * lib/framework.exp (check_conditional_xfail): Adjust so that
5171 an empty 'includes' list matches all sets of flags.
5172 * doc/dejagnu.texi: Document the above.
5173 * doc/ref.sgml: Likewise.
5175 2003-03-27 David Heine <dlheine@tensilica.com>
5177 * baseboards/xtensa-sim.exp: Fix a syntax error.
5179 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org>
5181 * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
5182 than stomp on it. This is based on a patch from Brendan Conoboy
5184 * Most files: Update copyright dates.
5186 2003-03-13 Mike Stump <mrs@apple.com>
5188 * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
5189 help ensure uniqueness.
5191 2003-03-05 Alexandre Oliva <aoliva@redhat.com>
5193 * lib/remote.exp (standard_download, standard_upload): Support
5194 nfsdir and nfsroot_server.
5196 See ChangeLog-1992 for earlier changes.