1 2024-09-18 Jacob Bachmeyer <jcb@gnu.org>
3 * dejagnu: Adapt Zsh compatibility prologue from configure.
6 2024-09-17 Jacob Bachmeyer <jcb@gnu.org>
8 * dejagnu: Search for a POSIX shell for commands implemented as
9 shell scripts instead of expecting commands to run with /bin/sh.
10 This allows command scripts to assume a POSIX shell from now on.
12 * dejagnu: Improve search for Awk interpreter using POSIX
13 command(1) utility to search paths. Also use POSIX getconf(1) to
14 obtain a standard system PATH that should contain POSIX versions
15 of various utilities; this enables finding POSIX Awk on Solaris 10.
17 * dejagnu: Quote "$verbose" when incrementing verbosity counter to
18 resolve shellcheck warning.
21 * dejagnu: Fix minor bug in extraction of help messages from
24 2024-09-16 Jacob Bachmeyer <jcb@gnu.org>
26 * testsuite/lib/launcher.exp (dejagnu_run): Add support for
27 testing the dejagnu(1) launcher with a shell specified as
28 LAUNCHER_SHELL on the command line.
30 Also add support for multipass testing with multiple shells by
31 setting LAUNCHER_SHELLS to a Tcl list on the command line.
33 2024-09-12 Jacob Bachmeyer <jcb@gnu.org>
35 * dejagnu: Adjust #! line according to recommendation in the
36 Autoconf manual. *Note: (autoconf)Portable Shell.
39 2024-09-06 Jacob Bachmeyer <jcb@gnu.org>
41 Thanks to Stefan for trying an environment that exposed this bug.
43 * runtest.exp: Revise search for user login name. Remove useless
44 test because there is no way for logname to be set when this code
45 is reached. Collect nested if/else/if tree into if/elseif chain.
46 Fix use of catch to avoid errors if whoami(1) and who(1) are not
49 2024-09-03 Jacob Bachmeyer <jcb@gnu.org>
51 Clean up whitespace issues found while updating license notices.
52 Also fix a missing paragraph separator line in one of the notices.
54 Update license notices to standard form for GPLv3. The move to
55 GPLv3+ appears to have been done by s/version 2/version 3/ in the
56 notices. Unfortunately, the FSF has moved their office and the
57 old mailing address is no longer valid.
59 Most of the work was automated using Emacs:
60 (let ((filelist (cons default-directory nil)))
63 (message "Examining %s ..." (car filelist)))
65 ((null (car filelist)) nil)
66 ;; These files are either imported or not GPL.
68 (concat "/dejagnu/\\(doc/\\|ChangeLog\\|AUTHORS\\|COPYING"
69 "\\|INSTALL\\|MAINTAINERS\\|NEWS\\|TODO\\|aclocal[.]m4"
70 "\\|compile\\|config[.]\\(?:guess\\|sub\\)\\|depcomp"
71 "\\|configure\\|install-sh\\|mdate-sh\\|missing"
74 ;; Nor do any of the READMEs contain GPL notices.
75 ((string-match "README" (car filelist)) nil)
76 ((file-directory-p (car filelist))
81 ((string-equal "." x) nil)
82 ((string-equal ".." x) nil)
83 ((string-match "^[.]git" x) nil)
84 (t (concat (file-name-as-directory
87 (directory-files (car filelist)))))
88 ((file-regular-p (car filelist))
90 (let ((had-buffer-p (get-file-buffer (car filelist))))
91 (cond (had-buffer-p (switch-to-buffer had-buffer-p))
93 (find-file-noselect (car filelist)))))
96 ;; The license block is at the beginning of the file.
97 (goto-char (point-min))
98 ;; Two minor punctuation changes:
99 (search-forward "DejaGnu is free software; ")
100 (replace-match "DejaGnu is free software: ")
101 (search-forward "Free Software Foundation; either")
102 (replace-match "Free Software Foundation, either")
103 ;; The most important change is trickier:
105 "received a copy of the GNU General Public License")
106 (search-forward "along with DejaGnu")
107 (let* ((start (point-marker))
108 (end (copy-marker (search-forward "USA") t)))
109 (delete-region start end)
112 ". If not, see <http://www.gnu.org/licenses/>"))
113 ;; Do not update copyright years for trivial changes.
114 (let ((before-save-hook nil)) (save-buffer)))
115 (search-failed (setq had-buffer-p t) nil))
116 (unless had-buffer-p (kill-buffer nil))))))
118 (message "Examining %s ... done." (car filelist)))
119 (setq filelist (cdr filelist))))
121 2024-08-14 Jacob Bachmeyer <jcb@gnu.org>
123 Thanks to Hans-Peter Nilsson for reporting this issue.
125 * lib/target.exp (prune_warnings): Adjust patterns for messages
126 emitted by the GNU linker. Older versions capitalized the message
127 stating the function that triggered the warning, while newer
128 versions do not. DejaGnu now recognizes and removes both forms.
130 2024-06-19 Jacob Bachmeyer <jcb@gnu.org>
134 * testsuite/lib/libsup.exp (start_expect): Remove "-onlret" from
135 stty_init. While POSIX defines this option, it is not implemented
136 on Mac OS X 10.5.8 and causes spurious failures on that system.
137 * testsuite/report-card.all/onetest.exp: Likewise.
139 * testsuite/report-card.all/passes.exp: While revising stty_init,
140 the lack of a similar setting was noticed in this file. Ensure
141 that "stty -onlcr" is applied to the Expect ptys.
143 2024-04-13 Jacob Bachmeyer <jcb@gnu.org>
145 * doc/dejagnu.texi (What is DejaGnu?): Update web site addresses.
147 2023-12-12 Jacob Bachmeyer <jcb@gnu.org>
149 Import patches from Maciej W. Rozycki <macro@embecosm.com>
151 * baseboards/qemu.exp (qemu_load): Add execution reporting.
152 * config/gdb-comm.exp (gdb_comm_load): Likewise.
153 * config/gdb_stub.exp (gdb_stub_load): Likewise.
154 * config/sim.exp (sim_load): Likewise.
155 * config/unix.exp (unix_load): Report full command in addition to
158 * baseboards/qemu.exp (qemu_load): Respect global `test_timeout'
160 * config/gdb-comm.exp (gdb_comm_load): Likewise.
161 * config/gdb_stub.exp (gdb_stub_load): Likewise.
162 * config/sim.exp (sim_load): Likewise.
163 * config/unix.exp (unix_load): Likewise, in the remote case.
164 * doc/dejagnu.texi (Local configuration file): Update
167 * config/gdb-comm.exp (gdb_comm_load): Set `testcase_timeout'
170 * config/unix.exp (unix_load): Don't ever set `test_timeout',
173 2023-11-22 Jacob Bachmeyer <jcb@gnu.org>
177 * doc/dejagnu.texi (Invoking dejagnu report card): Document
178 existence of totals rows in the produced table.
180 2023-11-07 Jacob Bachmeyer <jcb@gnu.org>
184 * runtest.exp: Change tests for [info exists target_alias] to
185 instead test for the empty string, to which target_alias is
186 unconditionally initialized at early startup.
188 2023-04-20 Jacob Bachmeyer <jcb@gnu.org>
192 Initial report: Christoph Muellner <christoph.muellner@vrull.eu>
194 * runtest.exp (restore_cmd_vars): Fix handling of values
195 containing whitespace, which are treated as multiple-element
196 lists and disrupt the eval implied by uplevel here.
198 * testsuite/runtest.main/options.exp: Add PR62982 regression test.
199 Improve tests for --target_board option by checking reported
200 target list instead of relying on actually running targets for
201 which no description file exists.
203 * testsuite/runtest.main/options.exp: Change argument lists for
204 test cases to conventional Tcl list notation using braces.
206 2023-04-18 Jacob Bachmeyer <jcb@gnu.org>
208 * testsuite/runtest.main/options.exp: Adjust pattern matched in
209 --objdir test to require the objdir given on the command line to
210 remain in force immediately after the local init file is loaded.
212 2022-12-20 Jacob Bachmeyer <jcb@gnu.org>
214 * dejagnu.h (totals, TestState::totals): Change "real failed" to
215 "failed" when listing number of failed tests.
216 * testsuite/libdejagnu/harness.exp (test_libdejagnu_unit): Update
217 to match above change.
219 * dejagnu.h (DG_error, DG_warning): New functions.
220 (TestState::error, TestState::warning): New methods.
221 * doc/dejagnu.texi (C unit testing API): Document new functions.
222 (C++ unit testing API): Document new methods and fix an error:
223 TestState::unsupported does not take varargs.
224 * testsuite/libdejagnu/unit-c.c (main): Add support for testing
226 * testsuite/libdejagnu/unit-cxx.cxx (main): Likewise.
227 * testsuite/libdejagnu/unit-ccxxmix.cxx (main): Likewise.
228 * testsuite/libdejagnu/harness.exp: Add tests.
229 (test_libdejagnu_unit): Add support for ERROR and WARNING tokens.
231 * doc/dejagnu.texi (DejaGnu unit test protocol): Add ERROR and
232 WARNING tokens to DejaGnu unit testing protocol.
233 * lib/dejagnu.exp (host_execute): Implement same.
234 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp,
235 testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
236 Add support for testing ERROR and WARNING tokens.
237 * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
238 results after warnings and errors in unit test programs.
240 * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
241 results after warnings and errors.
242 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
243 Add support for above.
245 2022-11-30 Jacob Bachmeyer <jcb@gnu.org>
247 * testsuite/libdejagnu/unit.exp: Rename this...
248 * testsuite/libdejagnu/harness.exp: ...to this.
250 * doc/dejagnu.texi (C++ unit testing API): Document recent
251 improvements and the rest of the C++ API.
253 * dejagnu.h (TestState::TestState): Only perform initialization
254 when the first TestState object is constructed.
255 (DG): Add global TestState object.
257 * dejagnu.h (DG__endmsg): New function, called using atexit().
258 (endmsg_registered, TestState_count): Add fields to DG__status.
259 (DG__init): New function, to register DG__endmsg.
260 (pass, xpass, fail, xfail, untested, unresolved, unsupported)
261 (note): Call DG__init to ensure libdejagnu initialization.
262 (totals): Move "END" message to DG__endmsg.
263 (TestState::TestState): Consider DG__endmsg registered when a
264 TestState object is constructed.
265 (TestState::TestState, TestState::~TestState): Track number of
266 live TestState objects in global status structure.
267 (TestState::~TestState): Call totals() and emit "END" message only
268 when the last TestState object is destroyed.
270 * dejagnu.h (outstate): Remove.
271 (TestState::pass, TestState::xpass, TestState::fail)
272 (TestState::xfail, TestState::untested, TestState::unresolved)
273 (TestState::unsupported, TestState::note): Remove support for
274 overriding protocol tag lines.
275 (outstate_list): Rename this...
276 (DG__outstate_list): ...to this to mark it as internal.
277 (teststate): Rename this...
278 (DG_teststate): ...to this to avoid name collisions with user code.
279 (TestState::TestState): Sort lines by length.
281 * dejagnu.h (buffer): Remove this variable.
282 (pass, xpass, fail, xfail, untested, unresolved, unsupported)
283 (note): Replace use of buffer and vsnprintf with flockfile,
284 multiple writes, and funlockfile in all functions.
286 * dejagnu.h (DG__status): New struct for test counters.
287 (passed, failed, xpassed, xfailed, untest, unresolve, unsupport):
288 Move all counters into new struct, changing all functions.
290 * doc/dejagnu.texi (C unit testing API): Document use of "DG_"
291 prefix in dejagnu.h and "DG__" for internal symbols.
292 (C++ unit testing API): Likewise. Also declare namespace
293 "DejaGnu" reserved for future expansion.
295 2022-11-29 Jacob Bachmeyer <jcb@gnu.org>
297 * Makefile.in: Regenerate.
298 * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-ccxxmix.
299 (testsuite_libdejagnu_unit_ccxxmix_SOURCES): Add.
300 * testsuite/libdejagnu/unit.exp: Add tests for C/C++ mixed usage.
301 * testsuite/libdejagnu/unit-ccxxmix.cxx: New file.
303 * testsuite/libdejagnu/unit.exp: Add note that tests for the
304 framework side of the unit testing protocol are located in
305 testsuite/runtest.main/stats.exp and its nested testsuite.
307 * Makefile.in: Regenerate.
308 * Makefile.am (check_PROGRAMS): Remove unit.
309 (unit_SOURCES): Remove.
310 * testsuite/libdejagnu/tunit.exp: Remove file.
311 * testsuite/libdejagnu/unit.cc: Remove file.
312 The limited coverage of this test is now included in unit.exp
313 and unit-cxx, and supporting this test required some leaky
314 abstractions in dejagnu.h that can now be cleaned up.
316 * Makefile.in: Regenerate.
317 * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-cxx.
318 (testsuite_libdejagnu_unit_cxx_SOURCES): Add.
319 * testsuite/libdejagnu/unit.exp: Add tests for C++ unit test API.
320 * testsuite/libdejagnu/unit-cxx.cxx: New file.
322 * dejagnu.h (TestState::totals): Emit header line, like the C version.
324 * dejagnu.h (TestState::note): New method, like C note().
325 * doc/dejagnu.texi (C++ unit testing API): Add note() method.
327 * doc/dejagnu.texi (C++ unit testing API): Fix incorrect
328 documentation. The C and C++ interfaces share the same global
329 counters, as do all C++ TestState objects.
331 2022-11-28 Jacob Bachmeyer <jcb@gnu.org>
333 * dejagnu.h: Remove _DEJAGNU_WAIT_ conditional and revise comment
334 to explain improved solution to the problem for which it seems to
335 have been intended as a workaround.
336 (wait): Remove this function. It conflicted with POSIX wait(2);
337 this conflict was reported as PR59586.
339 * testsuite/runtest.main/stats.exp: Add test for UNSUPPORTED
340 result from a unit test program.
341 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
342 Update to account for addition of END marker and UNSUPPORTED to
343 DejaGnu unit testing protocol.
345 * dejagnu.h: Add UNSUPPORTED test result.
346 (unsupport): New counter variable for UNSUPPORTED results.
347 (unsupported): New function in C API.
348 (TestState::unsupported): New function in C++ API.
349 (outstate_list): Add UNSUPPORTED entry.
350 (teststate::laststate): Likewise.
351 (totals): Mention number of unsupported tests.
352 (TestState::totals): Likewise for C++ API.
353 * lib/dejagnu.exp (host_execute): Add UNSUPPORTED test result.
354 * doc/dejagnu.texi (DejaGnu unit test protocol): Document same.
355 (C unit testing API): Document new function for same.
356 (C++ unit testing API): Document new function for same.
358 * testsuite/libdejagnu/unit-c.c: Add test for UNSUPPORTED.
359 * testsuite/libdejagnu/unit.exp: Likewise.
361 * testsuite/libdejagnu/unit.exp: Add test for NOTE message.
363 2022-11-26 Jacob Bachmeyer <jcb@gnu.org>
365 * Makefile.in: Regenerate.
366 * Makefile.am (AM_CXXFLAGS): Change this...
367 (AM_CPPFLAGS): ...to this. (Also remove -g flag.)
368 (check_PROGRAMS): Add testsuite/libdejagnu/unit-c.
369 (testsuite_libdejagnu_unit_c_SOURCES): Add.
370 (TESTSUITE_FILES): Update.
371 * testsuite/libdejagnu/unit-c.c: New file.
372 * testsuite/libdejagnu/unit.exp: New file.
374 * dejagnu.h (xpass): Fix use of wrong counter.
376 (totals): Report unexpected passes if any occurred.
378 * doc/dejagnu.texi (DejaGnu unit test protocol): Add end marker
379 line using "END" to allow detecting tests that exit prematurely.
380 The "Totals:" line was previously used for this purpose, but it
381 does not match the pattern documented as reserved for carrying
382 unit test results and information.
384 * lib/dejagnu.exp (host_execute): Remove test for "Totals" line.
385 (host_execute): Add corresponding support for the new line types.
387 * dejagnu.h (totals): Add end marker.
388 (TestState::totals): Likewise.
390 2022-10-04 Jacob Bachmeyer <jcb@gnu.org>
394 * lib/dg.exp (dg-test): Store results of analyzing messages in a
395 list, then report them to the framework after giving the pruning
396 callback an opportunity to skip the test case.
398 * testsuite/runtest.libs/dg.test: Add tests for skipping tests
399 based on special result codes from mock-dg-prune.
400 (mock-dg-test): Add directive for output text.
401 (mock-dg-prune): Recognize special markers for
402 UNRESOLVED/UNSUPPORTED/UNTESTED result codes.
404 2022-10-01 Jacob Bachmeyer <jcb@gnu.org>
408 * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks):
409 Report test failure instead of raising errors.
411 * testsuite/runtest.libs/dg.test: Add more unit tests.
412 (eval_tests): Copy this procedure...
413 * testsuite/runtest.libs/target.test (eval_tests): ...from here.
415 2022-09-30 Jacob Bachmeyer <jcb@gnu.org>
419 * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks): Add
420 usage comment and option to match number of calls for test.
421 (create_test_interpreter): Add support for mockvfs.
423 * testsuite/runtest.libs/dg.test: New file.
425 2022-09-29 Jacob Bachmeyer <jcb@gnu.org>
429 * testsuite/runtest.libs/mockvfs.tcl: New file.
431 2022-09-26 Jacob Bachmeyer <jcb@gnu.org>
433 * testsuite/runtest.libs/libs.exp (process_test): Add forward
434 slash to the list of characters recognized as text.
436 2022-01-21 Jacob Bachmeyer <jcb@gnu.org>
440 * runtest.exp (runtest): Reset the global warning and error
441 counters before running each test file. This prevents an error
442 "left over" from a previous test file from causing the first test
443 in the next file to be spuriously reported as UNRESOLVED.
445 * Makefile.am (TESTSUITE_FILES): Add new files.
447 * testsuite/runtest.main/pr53427.exp: New file for regression test.
448 * testsuite/runtest.main/nested/testsuite/pr53427.test/a.exp: Likewise.
449 * testsuite/runtest.main/nested/testsuite/pr53427.test/b.exp: Likewise.
451 2021-06-29 Jacob Bachmeyer <jcb@gnu.org>
455 * runtest.exp: Adjust detection logic for deprecated broken legacy
456 case of a testsuite not actually in a testsuite/ directory.
458 This was never supported but happened to work in older versions.
460 2021-05-22 Jacob Bachmeyer <jcb@gnu.org>
462 * Makefile.am (TESTSUITE_FILES): Correct oversight.
464 * configure, Makefile.in, aclocal.m4: Regenerate.
466 * runtest.exp, configure.ac, doc/version.texi: Update version.
468 * dejagnu: Fix error message.
470 * config.guess: Import patched version; patches sent upstream.
472 * commands/help.sh: Add test mode in which man(1) is never
473 actually invoked. The ability to reference a manpage by absolute
474 file name seems to be unique to Free systems.
475 * testsuite/launcher.all/help.exp: Amend test list to use new
476 testing mode in "dejagnu help" command. This mode should also
477 work on Solaris, so the logic for skipping the tests is removed.
479 2021-05-20 Jacob Bachmeyer <jcb@gnu.org>
481 * dejagnu: Search for a POSIX Awk and validate that at least a
482 simple Awk program actually works.
483 * testsuite/launcher.all/command.exp: Add tests for error produced
484 when no Awk is found and a help message is requested.
486 * lib/dejagnu.exp: Avoid reporting next test as UNRESOLVED when
487 reporting error due to missing size(1) while loading file.
489 * testsuite/lib/runtest.exp (runtest_copy_nested_testsuite_log):
490 New procedure. Dumps log from nested run into main test log.
492 * testsuite/runtest.libs/utils.test: Change test for [which make]
493 to [which sh] because make(1) is not always available on non-GNU
494 systems but sh(1) exists on any Unix. GNU make is often installed
495 as "gmake" on non-GNU systems and may be the only "make" utility.
497 * testsuite/runtest.main/pr42399.exp (test_pr42399): Revise to
498 ensure that a failure to produce any output at all in the inner
499 test will be detected. This was discovered on Solaris 10.
501 * testsuite/runtest.main/stats.exp: Copy stat.log from nested
502 testsuite run to the main test log upon test failure.
504 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
505 Explicitly pass /dev/null to unit-sub.awk because /usr/bin/awk on
506 Solaris 10 does not seem to recognize assignment to ARGV.
507 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
510 2021-05-18 Jacob Bachmeyer <jcb@gnu.org>
512 * dejagnu: Redirect input from /dev/null when testing if awk is
513 GNU Awk; this avoids a hang on Solaris 10 where awk treats
514 --version as an Awk program and attempts to read input.
515 (command): Rework the initial setting of this variable to avoid
516 limitations in Solaris 10 awk.
518 * testsuite/report-card.all/onetest.exp: Avoid Tcl error when item
519 and totals lines are missing entirely.
521 * testsuite/runtest.main/pr48155.exp: Fix assumption about exit
522 code from /bin/false, which is different on Solaris.
524 2021-05-05 Jacob Bachmeyer <jcb@gnu.org>
528 * Makefile.am (TESTSUITE_FILES): Update.
529 (CLEANFILES): Add special init file for PR48155 nested tests.
531 * testsuite/runtest.main/pr48155.exp: New file.
532 * testsuite/runtest.main/pr48155-csh.sh: New trivial file. This
533 script emulates the behavior of the C shell if an attempt is made
534 to use it to run the config.guess script.
536 2021-05-04 Jacob Bachmeyer <jcb@gnu.org>
540 * runtest.exp: Tighten regexp used to validate output from
541 config.guess. The previous regexp would accept an error produced
542 if config.guess was incorrectly run using the C shell.
544 2021-04-28 Jacob Bachmeyer <jcb@gnu.org>
546 * configure, Makefile.in: Regenerate.
548 * runtest.exp, configure.ac, doc/version.texi: Update version.
550 * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
551 to work around Automake limitation of assuming that v7 is default.
553 2021-04-20 Jacob Bachmeyer <jcb@gnu.org>
555 * configure.ac: Set Automake options to use the ancient and
556 universal V7 format when building distribution tarballs. The
557 limitations of this format are not expected to impact DejaGnu; the
558 "ustar" format will be used instead if this is proved wrong.
560 * Makefile.am (TAR_OPTIONS): Add exported environment variable to
561 set options when building distribution tarballs. Ensure that all
562 files in distribution tarballs will be recorded as owned by root.
564 2021-04-16 Jacob Bachmeyer <jcb@gnu.org>
568 * dejagnu (command): Use Awk instead of non-portable basename(1)
569 and a non-portable sed(1) pattern to initially set this variable.
571 * dejagnu: Use shell "case" pattern match instead of non-portable
572 "grep -q" to determine if "awk" is GNU Awk.
574 * dejagnu: Use Awk instead of non-portable "grep -q" to verify
575 that a file contains a help message. Also use Awk to extract help
576 messages from files, instead of a complex dynamic sed(1) program.
578 * configure.ac: Remove experimental support for propagating
579 CONFIG_SHELL to scripts in the source directory.
581 * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
582 running config.guess. Check the result carefully and stop with an
583 error immediately if running config.guess does not produce
584 something that plausibly resembles a triplet. Advise the user
585 that SHELL or CONFIG_SHELL may need to be set in the environment.
587 2021-04-15 Jacob Bachmeyer <jcb@gnu.org>
591 * dejagnu: Avoid using $? for an exit code; it is convenient until
592 the tests fail because the script is run on Solaris where false
593 returns 255 instead of 1 and the test harness expects exit code 1.
595 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
599 * dejagnu: Replace use of "expr :" with shell "case" pattern
600 match to avoid limitations of Solaris 10 expr(1).
602 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
604 * lib/specs.exp, testsuite/runtest.libs/specs.test: New files.
606 2021-04-08 Jacob Bachmeyer <jcb@gnu.org>
608 * configure: Regenerate.
610 * runtest.exp, configure.ac, doc/version.texi: Update version.
612 * configure.ac: Change "dnl" comments that should appear in
613 configure to regular comments.
614 Add experimental support for propagating CONFIG_SHELL to the
615 config.sub and config.guess scripts in the source directory.
617 2021-04-01 Jacob Bachmeyer <jcb@gnu.org>
621 * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
622 message to better fit GNU conventions, with thanks to Tom Tromey
623 for the reporting this issue.
627 * runtest: Remove use of non-portable "if !" that causes problems
628 with /bin/sh on Solaris 10.
630 * dejagnu (Variants): Split the declaration of this read-only
631 variable into an assignment followed by marking it read-only,
632 instead of doing both in one statement. The Solaris 10 /bin/sh
633 does not accept the combined form.
635 2021-03-30 Jacob Bachmeyer <jcb@gnu.org>
637 * configure: Regenerate.
639 * runtest.exp, configure.ac, doc/version.texi: Update version.
641 2021-03-26 Jacob Bachmeyer <jcb@gnu.org>
645 * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
646 since Solaris man(1) does not accept explicit filenames. The
647 manpages will be installed as usual, and the "dejagnu help"
648 command should work after installation.
650 Also set PAGER for testing, since other systems might also ignore
651 MANPAGER and that would cause the test to hang.
653 * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
654 copies of the output produced to the log.
656 * commands/help.sh: Extend PR47382 fix (below) to this file.
660 * testsuite/lib/runtest.exp: Remove support for automatically
661 locating an Expect executable in the old Cygnus tree layout.
663 2021-03-25 Jacob Bachmeyer <jcb@gnu.org>
667 * dejagnu, runtest: Remove use of "$()" command substitution and
668 "$(())" arithmetic substitution shell constructs. The /bin/sh on
669 Solaris 10 does not support them. They were replaced with the
670 traditional backticks for command substitution and backticks and
671 the expr command for arithmetic substitution.
673 Also add markers to explicitly disable shellcheck warnings that
674 would lead to reintroducing these problems.
676 Also avoid the non-portable "`..."..."...`" construct on a warning
677 in the GNU Autoconf manual, section "Shell Substitutions",
678 although this introduces additional variables.
680 2021-03-22 Jacob Bachmeyer <jcb@gnu.org>
682 * configure: Regenerate.
684 * runtest.exp, configure.ac, doc/version.texi: Update version.
686 * config.guess, config.sub: Import from upstream.
688 * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
690 2021-03-15 Jacob Bachmeyer <jcb@gnu.org>
692 * Makefile.am, Makefile.in: Update accordingly.
694 * contrib/compare_tests: Remove. This file lacked a GPL notice.
695 This file was imported from GCC many years ago. The GCC version
696 has benefited from continued development, while ours has not.
698 * testsuite/runtest.libs/load_lib.exp: Remove. This file lacked a
699 GPL notice and an attempt to contact the contributor produced no
700 response. The tests in this file will need to be rewritten in any
701 case; there is a bug in load_lib that they should expose and there
702 is now additional infrastructure for tests of this type that was
703 not available when this file was written.
705 2020-12-27 Jacob Bachmeyer <jcb@gnu.org>
707 * testsuite/runtest.libs/libs.exp (process_test): Report running
708 test scripts as each test script is run.
709 Also, at top-level, sort the list of tests to run.
711 * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
712 from new "testsuite can call api" feature test API entrypoint.
713 * lib/framework.exp (testsuite_can): Likewise.
714 * testsuite/runtest.libs/testsuite_can.test: Likewise.
717 2020-12-16 Jacob Bachmeyer <jcb@gnu.org>
719 * configure: Regenerate.
721 * configure.ac: Remove Tcl version check.
723 Apply patch from Nick Clifton:
725 * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
727 Apply patch from Dimitar Dimitrov:
729 * baseboards/pru-sim.exp: New file.
731 * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
732 * Makefile.in (baseboard_DATA): Likewise.
734 2020-12-15 Jacob Bachmeyer <jcb@gnu.org>
736 * configure: Regenerate.
737 * Makefile.in: Regenerate.
739 * Makefile.am (RUNTEST): Explain override of Automake default.
741 * configure.ac: Update for autoconf 2.69 using autoupdate.
742 * configure.ac: Remove search for expect now handled by Automake.
744 Apply patch from Dimitar Dimitrov:
746 * Makefile.am (dejagnu_TEXINFOS): Change this...
747 * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
749 This fixes an incorrectly recorded dependency.
751 2020-11-17 Jacob Bachmeyer <jcb@gnu.org>
755 * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
756 that conflated the tool init file with the target interface file.
757 (Make Check): Add cross-reference to the GNU Automake manual for
760 2020-11-10 Jacob Bachmeyer <jcb@gnu.org>
764 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
765 Use [file normalize] to ensure that link targets are unambiguous.
766 (link_dejagnu_launcher_test_item): Avoid spurious errors when test
767 environment has already been prepared in a previous run.
769 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
770 New procedure to collect existing repeated testsuite code.
771 * testsuite/launcher.all/command.exp: Establish testing
772 environment using link_dejagnu_launcher_test_item procedure.
774 2020-11-09 Jacob Bachmeyer <jcb@gnu.org>
776 * aclocal.m4: Regenerate.
777 * configure: Regenerate.
778 * Makefile.in: Regenerate.
780 * configure.ac: Revert development version branch tagging hook.
781 * Makefile.am: Likewise.
783 These caused failures (reported in PR44462 as a secondary issue)
784 when a source tree is copied out of a Git directory.
786 2020-08-31 Jacob Bachmeyer <jcb@gnu.org>
788 * doc/runtest.1: Add brief GFDL notice. License notice in the
789 formatted manpage should now describe DejaGnu as a whole.
791 * NEWS: Prepare for release.
793 2020-08-18 Jacob Bachmeyer <jcb@gnu.org>
795 * testsuite/runtest.libs/testsuite_file.test: Add missing
796 copyright and GPL notice.
797 * testsuite/runtest.libs/testsuite_can.test: Likewise.
798 * testsuite/runtest.libs/testcase_group.test: Likewise.
800 2020-08-12 Jacob Bachmeyer <jcb@gnu.org>
802 * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
803 (Running unit tests): Add node.
804 (DejaGnu unit test protocol): Add node.
805 (C unit testing API): Update to reflect current API. Move mention
806 of dejagnu.h header here in preparation for future expanded
808 (C++ unit testing API): Likewise. Mention caveat that the C unit
809 test API is also available in C++ programs.
811 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
813 * baseboards/qemu.exp: Tidy whitespace.
815 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
817 Merge patch from Kito Cheng to add support for RISC-V sim target.
819 * baseboards/riscv-sim.exp: New file.
820 * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
821 * Makefile.in (baseboard_DATA): Likewise.
823 2020-08-02 Jacob Bachmeyer <jcb@gnu.org>
825 * Makefile.am (TESTSUITE_FILES): Add files that were introduced
826 during development but were mistakenly not added at that time.
827 (baseboard_DATA): Sort baseboard file list.
828 (baseboard_DATA): Add missing files.
829 (dejagnu_TEXINFOS): New; add GNU FDL file.
830 (CONTRIB): Add experimental Python unit test module.
832 * Makefile.in (TESTSUITE_FILES): Likewise.
833 (baseboard_DATA): Likewise.
835 * testsuite/dejagnu.py: Move from here...
836 * contrib/dejagnu.py: ...to here.
838 2020-08-02 Rob Savoye <rob@senecass.com>
840 * Makefile.in: Regenerate so make dist works.
842 2020-07-25 Jacob Bachmeyer <jcb62281+dev@gmail.com>
844 * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
845 procedure "perror" instead of the Tcl command "error".
846 (Writing a test case): Reorganize node and give basic hints about
847 Tcl quoting and backslash escape rules.
848 (Writing a test case): Describe synchronization issues and warn
849 that prefixes of valid input can be presented for matching.
850 (Writing a test case): Fix markup from conversion from DocBook.
852 2020-07-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
856 * NEWS: Document changes to host_execute.
858 * lib/dejagnu.exp (host_execute): Revise expect matching to
859 combine all unit test protocol lines into one pattern.
860 (host_execute): Rework other expect patterns.
861 (host_execute): Ensure that all output from child process is read
862 until the child closes its output to avoid sending early SIGPIPE.
863 (host_execute): Report an ERROR (and cause the next test to be
864 recorded as UNRESOLVED) if the Expect matching buffer overflows.
865 (host_execute): Remove dependency on global "text" variable.
867 * Makefile.am (TESTSUITE_FILES): Update.
869 * testsuite/runtest.main/stats.exp: Generalize infrastructure and
870 add tests for DejaGnu unit testing support.
871 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
873 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
876 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
880 * Makefile.am (TESTSUITE_FILES): Update.
882 * lib/dejagnu.exp (host_execute): Allow the executable to be
883 specified with an absolute file name.
884 (host_execute): Fix argument handling to allow passing more than
885 one argument to the executable. Return early if given no
886 arguments at all instead of trying to execute "./".
888 * testsuite/runtest.main/pr42399.exp: New file.
889 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
891 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
894 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
896 * Makefile.am (CLEANFILES): Update.
897 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
899 * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
901 (runtest_cleanup_nested_testsuite): New procedure.
903 * testsuite/runtest.main/error.exp: Use the tool name "error" to
904 select the proper subset of the nested testsuite. Use new
905 procedures for handling nested testsuite. Use common
906 nested-init.exp local init file for nested testsuite. Let local
907 init file nested-init.exp handle setting "outdir" variable.
908 * testsuite/runtest.main/options.exp: Likewise; "null" tool.
909 * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
911 * testsuite/runtest.main/nested/: Combine nested testsuites.
912 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
914 * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
916 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
918 * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
920 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
922 * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
924 * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
926 * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
928 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
930 * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
932 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
934 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
937 2020-07-16 Rob Savoye <rob@senecass.com>
939 * baseboards/qemu.exp: Works now with qemu instead of sim.
941 2020-07-06 Rob Savoye <rob@senecass.com>
943 * baseboards/qemu.exp: Initial working support to use qemu for
945 * Makefile.am: Install qemu.exp.
946 * autogen.sh: Add script borrowed from my Gnash project to
947 regenerate configure/build files.
948 * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
949 * doc/dejagnu.texi: Update copyright date.
951 2020-06-29 Jacob Bachmeyer <jcb62281+dev@gmail.com>
955 * NEWS: Add item for repeated error messages.
957 * lib/framework.exp (log_and_exit): Add separator lines around the
958 error dumps repeated at the end of a run.
960 2020-06-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
964 * NEWS: Remove items for --keep_going / --no_keep_going options.
966 * Makefile.am (CLEANFILES): Adjust for renames.
967 (TESTSUITE_FILES): Likewise.
969 * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
970 --no_keep_going options.
971 (A POSIX Conforming Test Framework): Document that Tcl errors in
972 test scripts produce UNRESOLVED results as placeholders.
974 * doc/runtest.1: Likewise.
976 * lib/framework.exp (log_and_exit): Print collected Tcl errors.
978 * runtest.exp (dejagnu::error): New internal namespace.
979 (runtest): Collect Tcl errors caught while executing test scripts.
980 (dejagnu::opt): Remove internal namespace.
981 Remove --keep_going / --no_keep_going options. No longer abort on
982 any Tcl errors; instead store them and repeat the messages at the
985 * testsuite/runtest.main/abort.exp: Rename from this ...
986 * testsuite/runtest.main/error.exp: ... to this and revise tests.
988 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
990 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
992 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
994 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
996 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
998 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
1001 2020-06-24 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1005 * NEWS: Revise relevant items.
1007 * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
1008 * doc/runtest.1: Document --no_keep_going option. Remove
1009 long-obsolete --name option. The --name option had been removed
1010 from runtest before the code was imported into what became the
1013 * runtest.exp: Add option --no_keep_going to stop immediately if a
1014 test script aborts due to a Tcl error. Remove vestiges of
1015 long-obsolete --name option. Make --keep_going option default.
1017 * testsuite/runtest.main/abort.exp: Adjust tests to use
1018 --no_keep_going and --keep_going instead of assuming a default.
1020 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1022 Merge patches from Maciej W. Rozycki to fix timeout handling.
1024 * lib/remote.exp (close_wait_program): Use `catch' in killing
1025 pending force-kills.
1027 * lib/remote.exp (close_wait_program): Only kill the pending
1028 force-kills if the PID list has a single entry.
1029 (local_exec): Set the channel about to be closed to the
1030 nonblocking mode if we didn't see an EOF.
1031 (standard_close): Likewise, unconditionally.
1033 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1035 * NEWS: Mention "linker=" option and added language support.
1037 * doc/dejagnu.texi (target_compile procedure): Document new
1038 "linker=" option to target_compile.
1040 * lib/target.exp (default_target_compile): Actually use internal
1041 option for separate linker provided for Go language support. This
1042 seems to have been accidentally omitted from Tom Tromey's patches.
1043 (default_target_compile): Add "linker=" option, similar to
1044 "compiler=" option, but the former overrides the latter when
1045 building an executable.
1046 (default_target_compile): Ensure that "--emit obj" is spaced from
1047 previous item when used to compile Rust. Use "--emit asm" instead
1048 of "-S" when generating assembly from Rust sources.
1050 * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
1051 Also add tests for the new "early_flags=" and "linker=" options.
1053 2020-06-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1055 * doc/dejagnu.texi (Libgloss): Update menu.
1056 (find_go procedure, find_go_linker procedure): New nodes.
1057 (find_rustc procedure): New node.
1059 2020-06-19 Tom Tromey <tromey@adacore.com>
1061 * doc/dejagnu.texi (target_compile procedure): Document Go
1063 * lib/target.exp (default_target_compile): Handle Go.
1064 * lib/libgloss.exp (find_go, find_go_linker): New procs.
1066 2020-06-19 Tom Tromey <tromey@adacore.com>
1068 * doc/dejagnu.texi (target_compile procedure): Document rust
1070 * lib/target.exp (default_target_compile): Handle rust.
1071 * lib/libgloss.exp (find_rustc): New proc.
1073 2020-06-19 Tom Tromey <tromey@adacore.com>
1075 * lib/target.exp (default_target_compile): Add early_flags.
1076 * doc/dejagnu.texi (target_compile procedure): Document
1079 2020-06-19 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1081 Merge patches from Tom de Vries <tdevries <at> suse.de> and write
1084 * testsuite/runtest.main/abort.exp: Add tests that verify handling
1085 of arithmetic errors (divide-by-zero) in a procedure called within
1088 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
1090 2020-06-18 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1094 Thanks to Tom de Vries for raising these concerns and offering the
1095 initial testsuite patch that led to these changes.
1097 * NEWS: Add item for consistent abort-on-error handling.
1099 * lib/framework.exp (unknown): Always link global variables. Tidy.
1100 Silently propagate errors raised in autoloaded procedures and move
1101 the UNRESOLVED result and aborting the test run to...
1102 * runtest.exp (runtest): Report an UNRESOLVED result if a test
1103 script aborts due to a Tcl error. Link global errorCode and
1104 report its value if an error occurs. For consistency, abort the
1105 test run on any Tcl error in a test script instead of only when
1106 calling an undefined procedure.
1108 * testsuite/runtest.main/abort.exp: Add tests to verify handling
1109 of arithmetic errors (divide-by-zero) in an auto-loaded procedure
1110 called from a test script. Adjust other patterns.
1112 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
1115 2020-06-17 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1119 * NEWS: Add item for --keep_going option.
1121 * Makefile.am (CLEANFILES): Add abort-init.exp to list.
1122 (TESTSUITE_FILES): Add new testsuite files to list.
1124 * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
1125 command line option.
1126 * doc/runtest.1: Likewise.
1128 * lib/framework.exp (unknown): Report an UNRESOLVED result if an
1129 unknown command is invoked. Avoid exiting and propagate the error
1130 from Tcl's "unknown" procedure if --keep_going was
1131 specified. Brace procedure argument list.
1132 * runtest.exp (dejagnu::opt): New namespace.
1133 Add option --keep_going to continue running tests after a test
1134 script aborts due to calling an undefined command.
1136 * testsuite/runtest.main/abort.exp: New file.
1137 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
1139 * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
1142 2020-06-17 Tom de Vries <tdevries <at> suse.de>
1144 * lib/framework.exp (unknown): Propagate return value of auto-loaded
1147 2020-06-15 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1149 Merge patches from Linaro:
1151 2018-09-28 Christophe Lyon <christophe.lyon@linaro.org>
1152 * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
1153 machine, to avoid race conditions.
1155 2016-04-25 Yvan Roux <yvan.roux@linaro.org>
1156 * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
1157 * lib/ssh.exp (ssh_exec): Likewise.
1159 2016-06-28 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1160 * config/unix.exp (unix_load): Prepend the value of an
1161 "exec_shell" board_info key to the command if it is defined.
1163 2020-06-06 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1165 * NEWS: Document "testcase" command.
1167 * doc/dejagnu.texi (testcase procedure): Document multiplex entry
1168 point and "testcase group" command.
1170 * lib/framework.exp: Add internal namespace ::dejagnu::group.
1171 (::dejagnu::group::check_name): New procedure.
1172 (::dejagnu::group::current): New procedure.
1173 (::dejagnu::group::push): New procedure.
1174 (::dejagnu::group::pop): New procedure.
1175 (::dejagnu::group::pop_to_file): New procedure.
1176 (testcase): New procedure for multiplex commands.
1177 (testcase_group): New procedure implementing "testcase group".
1179 * testsuite/runtest.libs/testcase_group.test: New file.
1181 2020-06-05 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1183 * NEWS: Document new "testsuite can call api" command.
1185 * doc/dejagnu.texi (testsuite procedure): Document new subcommand
1186 "testsuite can call api".
1188 * lib/framework.exp (testsuite): Add branch for "testsuite can".
1189 (testsuite_can): New procedure implementing "testsuite can".
1191 Add internal array ::dejagnu::apilist to store information for
1192 "testsuite can call api" for querying the availability of an API
1193 call. This will allow test scripts to adapt and use new features
1194 while still being able to run under older versions of DejaGnu.
1196 * testsuite/runtest.libs/testsuite_can.test: New file.
1198 2020-06-02 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1201 * NEWS: Fix typo. Fix Emacs mode tag.
1202 Document use of Tcl namespace ::dejagnu for internals.
1203 * runtest.exp (dejagnu::command_line): New namespace.
1204 (dejagnu::command_line::save_cmd_var): New procedure.
1205 (dejagnu::command_line::restore_cmd_vars): New procedure.
1206 (dejagnu::command_line::dump_cmd_vars): New procedure.
1207 * runtest.exp: Save internal variables set by command line
1208 arguments during the first pass and restore their values after
1209 loading testsuite init files.
1211 2020-06-01 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1214 * runtest.exp: Describe search for testsuite at verbose level 3.
1215 Print initial working directory at verbose level 1.
1217 2020-05-28 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1220 * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
1221 value to use an absolute file name.
1222 * testsuite/lib/report-card.exp: Likewise.
1223 * testsuite/runtest.main/options.exp: Set outdir in options-init
1224 instead of changing working directory in child runtest.
1226 * runtest.exp (logname): Move verbose display of logname to
1227 immediately after finding the user's login name.
1230 * runtest.exp (libdir): Fix default value of global variable.
1232 * ChangeLog: Tidy irregular indentation.
1234 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1236 * doc/dejagnu.texi (target_compile procedure): Add documentation.
1238 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1240 * doc/dejagnu.texi (target_link procedure): New stub node.
1241 (default_link procedure): Document internal procedure.
1242 (default_target_assemble procedure): Likewise.
1243 (default_target_compile procedure): Likewise.
1245 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1247 * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
1248 mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
1250 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1252 * lib/target.exp (default_target_compile): Use "host_info"
1253 procedure to probe for a host configuration, instead of checking a
1254 local empty target_info array due to lacking "global target_info".
1256 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1258 * doc/dejagnu.texi (Adding a new board): Document that the
1259 "compiler" board_info field is optional and defaults to [find_gcc]
1261 (Board configuration file): Likewise.
1263 * lib/target.exp (default_target_compile): Establish a default C
1264 compiler by evaluating [find_gcc] if no other compiler is given.
1266 * baseboards/aarch64-sim.exp: Remove no-longer-needed
1267 "set_board_info compiler [find_gcc]" from this file.
1268 * baseboards/am33_2.0-libremote.exp: Likewise.
1269 * baseboards/androideabi.exp: Likewise.
1270 * baseboards/arm-ice.exp: Likewise.
1271 * baseboards/arm-sim.exp: Likewise.
1272 * baseboards/cris-sim.exp: Likewise.
1273 * baseboards/d30v-sim.exp: Likewise.
1274 * baseboards/fr30-sim.exp: Likewise.
1275 * baseboards/frv-sim.exp: Likewise.
1276 * baseboards/gdbserver-sample.exp: Likewise.
1277 * baseboards/iq2000-sim.exp: Likewise.
1278 * baseboards/linux-gdbserver.exp: Likewise.
1279 * baseboards/linux-libremote.exp: Likewise.
1280 * baseboards/mcore-moto-sim.exp: Likewise.
1281 * baseboards/mcore-sim.exp: Likewise.
1282 * baseboards/mips-sim-idt32.exp: Likewise.
1283 * baseboards/mips-sim-idt64.exp: Likewise.
1284 * baseboards/mips-sim-mti32.exp: Likewise.
1285 * baseboards/mips-sim-mti64.exp: Likewise.
1286 * baseboards/mips-sim-mti64_64.exp: Likewise.
1287 * baseboards/mips-sim-mti64_n32.exp: Likewise.
1288 * baseboards/mips-sim-sde32.exp: Likewise.
1289 * baseboards/mips-sim-sde64.exp: Likewise.
1290 * baseboards/mips-sim.exp: Likewise.
1291 * baseboards/mmixware-sim.exp: Likewise.
1292 * baseboards/mn10200-sim.exp: Likewise.
1293 * baseboards/mn10300-sim.exp: Likewise.
1294 * baseboards/moxie-sim.exp: Likewise.
1295 * baseboards/msp430-sim.exp: Likewise.
1296 * baseboards/powerpc-sim.exp: Likewise.
1297 * baseboards/powerpcle-sim.exp: Likewise.
1298 * baseboards/rx-sim.exp: Likewise.
1299 * baseboards/sh-sim.exp: Likewise.
1300 * baseboards/sparc-sim.exp: Likewise.
1301 * baseboards/sparc64-sim.exp: Likewise.
1302 * baseboards/sparclite-sim-le.exp: Likewise.
1303 * baseboards/sparclite-sim.exp: Likewise.
1304 * baseboards/unix.exp: Likewise.
1305 * baseboards/v850-sim.exp: Likewise.
1306 * baseboards/visium-sim.exp: Likewise.
1307 * baseboards/xtensa-sim.exp: Likewise.
1309 2020-05-24 Rob Savoye <rob@senecass.com>
1311 * baseboards/pi.exp: New config file for cross testing to a
1314 2020-05-24 Tom Tromey <tom@tromey.com>
1316 * .gitignore: Add files.
1318 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1320 * testsuite/runtest.libs/target.test: Use mockutil.tcl.
1321 Collect loading DejaGnu libraries into a single loop.
1322 Revise the mock board_info array.
1323 Add section headings for different test groups in this file.
1324 Add tests for default_target_compile in lib/target.exp.
1325 * testsuite/runtest.libs/mockutil.tcl: New file.
1327 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1329 * doc/dejagnu.texi (remote_exec procedure): Explicitly list
1330 optional arguments instead of simply copying the Tcl argument list
1331 or the remote_exec procedure.
1333 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1335 * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
1336 string instead of opening a temporary file named .tmp.
1337 * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
1339 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1341 * testsuite/runtest.libs/target.test: Rename fake "target_info"
1342 array to a fake "board_info" array, to align with changes made to
1343 the DejaGnu core on 29 January 1997 that moved the target
1344 configuration data into the global board_info array.
1346 * testsuite/runtest.libs/remote.test: Likewise.
1348 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1350 * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
1351 requests to run only some library tests.
1353 2020-05-18 Rob Savoye <rob@senecass.com>
1355 * configure.ac: Extract the current branch.
1356 * Makefile.am: Change the frame_version in runtest.exp post
1357 install to add the branch and git revision to make it easier to
1358 support multiple versions during development.
1360 2020-05-15 Rob Savoye <rob@senecass.com>
1362 * All files: Minor change, update copyright dates.
1364 2019-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1366 * runtest.exp (search_and_load_file): Join the directory and
1367 filename once using 'file join'.
1369 2019-01-24 Jacob Bachmeyer <jcb62281@gmail.com>
1371 * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
1372 spacing so the Emacs move-by-sentence commands work correctly.
1374 2019-01-23 Ben Elliston <bje@gnu.org>
1376 * doc/dejagnu.texi: Replace "config file" with "configuration
1379 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
1381 * doc/dejagnu.texi (Command line option variables): Improve table
1382 formatting to fix overlapping columns and revise text slightly.
1384 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
1386 * doc/dejagnu.texi (Global config file): Change example to use the
1387 Tcl "switch" command instead of the deprecated "case" command.
1389 2019-01-12 Jacob Bachmeyer <jcb62281@gmail.com>
1391 * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
1392 the structure of the "runtests" argument.
1394 2019-01-12 Ben Elliston <bje@gnu.org>
1396 * doc/dejagnu.texi: Various documentation fixes.
1398 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
1400 * testsuite/runtest.libs/clone_output.test: Use new test harness
1401 for verifying output of clone_output.
1403 * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
1404 template using store_test_output.
1405 (send_log): Likewise.
1406 (send_user): Likewise.
1407 (clear_test_output): New proc.
1408 (store_test_output): New proc.
1410 * lib/framework.exp (clone_output): Actually send errors to the
1411 error stream; bug found while improving testsuite.
1413 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
1415 * testsuite/runtest.libs/libs.exp (process_test): Handle blank
1416 lines from child process correctly.
1418 2019-01-02 Jacob Bachmeyer <jcb62281@gmail.com>
1420 * NEWS: Document report card.
1422 * Makefile.am (clean-local): Add target.
1423 (clean-local-check): Add target; mark as PHONY.
1424 (commands_DATA): Add "report-card" scripts.
1425 (dist_man_MANS): Add dejagnu-report-card.1 and split.
1426 (DEJATOOL): Add "report-card" tool.
1427 (TESTSUITE_FILES): Add testsuite for "report-card" tool.
1429 * commands/report-card.awk: New command script.
1431 * doc/dejagnu.texi (Invoking dejagnu report card): New node.
1432 * doc/dejagnu-report-card.1: New man page.
1434 * testsuite/lib/bohman_ssd.exp: New file.
1435 * testsuite/lib/report-card.exp: New file.
1436 * testsuite/report-card.all/onetest.exp: New file.
1437 * testsuite/report-card.all/passes.exp: New file.
1439 2019-01-02 Ben Elliston <bje@gnu.org>
1441 * Makefile.am (DISTCLEANFILES): Don't use this.
1442 (CLEANFILES): Use this instead.
1443 * Makefile.in: Regenerate.
1445 2019-01-01 Ben Elliston <bje@gnu.org>
1447 * configure.ac: Abort if AWK is not installed.
1448 * configure: Regenerate.
1450 2019-01-01 Ben Elliston <bje@gnu.org>
1452 * config.guess: Update to latest version.
1453 * config.sub: Likewise.
1455 2019-01-01 Ben Elliston <bje@gnu.org>
1457 * configure.ac: Add AC_PROG_AWK check.
1458 * configure: Regenerate.
1460 2018-12-29 Jacob Bachmeyer <jcb62281@gmail.com>
1462 * dejagnu: Avoid use of semicolon as sed(1) command separator.
1463 POSIX does not clearly require sed(1) to support that feature.
1465 2018-12-28 Jacob Bachmeyer <jcb62281@gmail.com>
1467 * testsuite/lib/util-defs.exp: Whitespace clean up.
1469 2018-12-21 Jacob Bachmeyer <jcb62281@gmail.com>
1472 * dejagnu: Improve command parsing to fix bug. Previously, the
1473 documented equivalence between "multi word command" and
1474 "multi-word-command" did not hold if no arguments were given.
1475 * testsuite/launcher.all/command.exp: Add tests.
1477 2018-12-20 Ben Elliston <bje@gnu.org>
1479 * NEWS: Add item for new dejagnu command.
1481 * Makefile.am (EXTRA_DIST): Remove $(XML).
1482 * Makefile.in: Regenerate.
1484 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
1486 * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
1487 contents of $(commands_DATA).
1488 (bin_SCRIPTS): Add "dejagnu" launcher script.
1489 (commandsdir): Installation directory for "dejagnu" subcommands is
1490 $(pkgdatadir)/commands.
1491 (commands_DATA): New, contains "commands/help.sh" as initial item.
1492 (TESTSUITE_FILES): Add testsuite for same.
1493 (DEJATOOL): Add "launcher" to list of tools to test.
1494 (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
1496 * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
1497 (Invoking dejagnu): New node for dejagnu(1) launcher script.
1498 (Invoking dejagnu help): New node.
1500 * doc/dejagnu.1: New man page.
1501 * doc/dejagnu-help.1: New man page.
1503 * dejagnu: New script.
1505 * commands/help.sh: New dejagnu subcommand for reading manpages.
1507 * testsuite/launcher.all/command.exp: New file.
1508 * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
1509 * testsuite/launcher.all/command/commands/bar.awk: New file.
1510 * testsuite/launcher.all/command/commands/bar.sh: New file.
1511 * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
1512 * testsuite/launcher.all/command/commands/foo.sh: New file.
1513 * testsuite/launcher.all/command/commands/foo.tcl: New file.
1514 * testsuite/launcher.all/help.exp: New file.
1515 * testsuite/launcher.all/interp.exp: New file.
1516 * testsuite/launcher.all/verbose.exp: New file.
1517 * testsuite/lib/launcher.exp: New file.
1519 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
1521 * doc/dejagnu.texi (bt procedure): Fix Info links.
1523 2018-12-17 Ben Elliston <bje@gnu.org>
1525 * doc/dejagnu.texi (Board config file): Fix up @ref.
1526 (Command line option variables): Likewise.
1527 (Debugging Procedures): Add an entry for 'bt' command.
1529 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1531 * runtest.exp: Move processing of -V|--version option to first
1532 pass through command line arguments instead of delaying it.
1534 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1536 * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
1537 * Makefile.in: Regenerate.
1539 2018-12-15 Ben Elliston <bje@gnu.org>
1541 * doc/dejagnu.texi (telnet Procedure): Remove old node.
1542 (rlogin Procedure): Likewise.
1543 (rsh Procedure): Likewise.
1544 (tip Procedure): Likewise.
1545 (kermit Procedure): Likewise.
1546 (list_targets Procedure): Likewise.
1547 (prune_system_crud): Likewise.
1549 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1551 * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1552 (send_user): Likewise.
1553 * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1554 variable link at top-level.
1555 * testsuite/runtest.libs/utils.test: Adjust absolute path to
1557 * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1558 subdir, and objdir variables instead of extracting them from argv.
1559 Remove setval.tmp, which is now obsolete.
1560 * testsuite/runtest.libs/config.test: Likewise.
1561 * testsuite/runtest.libs/remote.test: Likewise.
1562 * testsuite/runtest.libs/target.test: Likewise.
1563 * testsuite/runtest.libs/testsuite_file.test: Likewise.
1564 * testsuite/runtest.libs/utils.test: Likewise.
1566 * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1567 (send_defaults): .. with this.
1568 (start_expect): Remove redundant code.
1570 * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1571 Remove unneeded test for EXPECT global variable.
1572 Use one Expect subprocess to run all test cases.
1573 (process_test): Redesign to use Expect subprocess and to use
1574 throwaway slave interpreters for running test cases.
1576 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1578 * testsuite/lib/runtest.exp (runtest_start): Remove.
1579 Move the sanity check in runtest_start to top-level and similarly
1580 check to ensure that $EXPECT can be found. Make failure of either
1581 sanity check an immediate fatal error.
1582 Improve error messages for sanity checks to indicate which
1583 critical tool was not found. Remove useless 'global RUNTEST'
1584 command at top-level.
1585 (runtest_version): Brace 'if' expression.
1587 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1589 * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1590 default runtest executable instead of implicitly searching PATH.
1591 Remove unused RUNTESTFLAGS Tcl variable.
1593 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1595 * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1598 2018-12-14 Jacob Bachmeyer <jcb62281@gmail.com>
1600 * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1601 * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1603 2018-12-12 Ben Elliston <bje@gnu.org>
1605 * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1606 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1607 lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1608 some regular expressions in constant strings by placing them
1609 inside braces instead of quotes. This allows one level of
1610 backslash quoting to be removed.
1612 2018-12-12 Ben Elliston <bje@gnu.org>
1614 * doc/dejagnu.texi: Acknowledge contributions to the manual from
1617 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1619 * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1620 * testsuite/runtest.all/load_lib.exp: Likewise.
1621 * testsuite/runtest.all/stats.exp: Likewise.
1623 * testsuite/runtest.all/stats.exp: Write local init file as
1624 "stats-init.exp" for status summary tests. Use --local_init
1625 option to runtest to load that file instead of site.exp and move
1626 the inner test module to a nested testsuite.
1627 * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1628 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1631 * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1632 Wrap lines in test list and move short items to beginning of list.
1633 Write local init file as "options-init.exp" for options tests.
1634 Use --local_init option with nested runtest to load that file
1635 instead of site.exp; also create an empty nested testsuite. Local
1636 init file arranges for inner runtest processes to run in a
1637 subdirectory in the object tree to eliminate filename clashes.
1638 Set tmpdir if not already set and remove entire temporary
1639 directory after running options tests.
1640 * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1642 * testsuite/runtest.all/clone_output.test: Move from here ..
1643 * testsuite/runtest.libs/clone_output.test: .. to here.
1644 * testsuite/runtest.all/config.test: Move from here ..
1645 * testsuite/runtest.libs/config.test: .. to here.
1646 * testsuite/runtest.all/default_procs.tcl: Move from here ..
1647 * testsuite/runtest.libs/default_procs.tcl: .. to here.
1648 * testsuite/runtest.all/libs.exp: Move from here ..
1649 * testsuite/runtest.libs/libs.exp: .. to here.
1650 * testsuite/runtest.all/load_lib.exp: Move from here ..
1651 * testsuite/runtest.libs/load_lib.exp: .. to here.
1652 * testsuite/runtest.all/remote.test: Move from here ..
1653 * testsuite/runtest.libs/remote.test: .. to here.
1654 * testsuite/runtest.all/target.test: Move from here ..
1655 * testsuite/runtest.libs/target.test: .. to here.
1656 * testsuite/runtest.all/testsuite_file.test: Move from here ..
1657 * testsuite/runtest.libs/testsuite_file.test: .. to here.
1658 * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1659 * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1660 * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1661 * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1662 * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1664 * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1666 * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1667 * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1668 * testsuite/runtest.all/utils.test: Move from here ..
1669 * testsuite/runtest.libs/utils.test: .. to here.
1670 * testsuite/runtest.libs/utils.test: Update references to
1673 * testsuite/runtest.all/options.exp: Move from here ..
1674 * testsuite/runtest.main/options.exp: .. to here.
1675 * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1677 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1679 * testsuite/runtest.all/stats.exp: Move from here ..
1680 * testsuite/runtest.main/stats.exp: .. to here.
1681 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1683 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1686 * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1687 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1688 * Makefile.in: Regenerate.
1690 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1692 * doc/dejagnu.texi: Clean up whitespace. Some indented examples
1693 were changed to use the Texinfo '@ ' command (yes, a space
1694 character) to preserve correct indentation. The '@ ' command is
1695 treated as a single space by Tex and makeinfo, but prevents Emacs
1696 from complaining about indentation using spaces instead of tabs.
1698 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1700 * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1701 directory exclusions by name in this procedure.
1703 2018-12-10 Ben Elliston <bje@gnu.org>
1705 * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1706 glob patterns, not "shell wildcard characters" per se.
1708 * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1710 2018-12-10 Jacob Bachmeyer <jcb62281@gmail.com>
1712 * doc/dejagnu.texi (Writing a test case): Add warning about
1713 priority of Expect patterns, complete with example.
1714 * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1715 caused test results other than "PASS" to be skipped if a "PASS" is
1716 further along in the input buffer. Describe problem in manual.
1717 (process_test): Ensure that the log file shows each test case run.
1718 (process_test): Directly run the test cases instead of using
1719 temporary files and "cat". All output is always available in the
1720 log file, which is no longer overwritten by other tests.
1721 (process_test): Expect END markers from test case scripts.
1722 * testsuite/runtest.all/clone_output.test: Emit END markers.
1723 * testsuite/runtest.all/config.test: Likewise.
1724 * testsuite/runtest.all/remote.test: Likewise.
1725 * testsuite/runtest.all/target.test: Likewise.
1726 * testsuite/runtest.all/testsuite_file.test: Likewise.
1727 * testsuite/runtest.all/utils.test: Likewise.
1729 2018-12-10 Ben Elliston <bje@gnu.org>
1731 * lib/utils.exp (grep): Use a proper Tcl list for options.
1733 2018-12-10 Ben Elliston <bje@gnu.org>
1735 * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1737 * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1738 and catching the "no files matched glob pattern" error
1739 message. Catching the error message was the wrong thing to do
1740 because the foreach loop then iterates over each word in the error
1741 message as if they were matches.
1743 2018-12-10 Ben Elliston <bje@gnu.org>
1745 * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1746 non-existent directory case.
1748 2018-12-10 Ben Elliston <bje@gnu.org>
1750 * runtest.exp: Remove unnecessary quotes and braces around
1751 variable expansions.
1753 * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1755 2018-12-09 Ben Elliston <bje@gnu.org>
1757 * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1758 (iterate_target_variants_two): Likewise.
1759 * lib/remote.exp (standard_download): Use 'eq' not '=='.
1760 (remote_upload): Likewise.
1761 * lib/framework.exp (open_logs): Likewise.
1762 (is_remote): Likewise.
1764 2018-12-09 Ben Elliston <bje@gnu.org>
1766 * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1767 baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1768 baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1769 config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1770 config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1771 lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1772 lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1773 lib/utils.exp, testsuite/lib/libsup.exp,
1774 testsuite/runtest.all/options.exp,: Remove unnecessary braces
1775 around variable expansions.
1777 2018-12-09 Ben Elliston <bje@gnu.org>
1779 * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1780 lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1781 lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1782 unnecessary quotes and braces around variable expansions.
1784 2018-12-09 Ben Elliston <bje@gnu.org>
1786 * config/gdb-comm.exp: Remove unnecessary quotes.
1787 * config/gdb_stub.exp: Likewise.
1788 * config/vxworks.exp: Likewise.
1789 * config/unix.exp: Likewise.
1790 * config/sim.exp: Likewise.
1792 2018-12-09 Ben Elliston <bje@gnu.org>
1794 * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1795 variable expansions.
1796 * testsuite/lib/util-defs.exp: Likewise.
1798 2018-12-09 Ben Elliston <bje@gnu.org>
1800 * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1801 around variable expansions.
1802 * baseboards/basic-sid.exp: Likewise.
1803 * baseboards/cris-sim.exp: Likewise.
1804 * baseboards/generic-sim.exp: Likewise.
1805 * baseboards/mcore-moto-sim.exp: Likewise.
1806 * baseboards/multi-sim.exp: Likewise.
1808 2018-12-08 Ben Elliston <bje@gnu.org>
1812 2018-12-08 Ben Elliston <bje@gnu.org>
1814 * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1815 variable expansions.
1816 * testsuite/runtest.all/clone_output.test: Likewise.
1817 * testsuite/runtest.all/target.test: Likewise.
1818 * testsuite/runtest.all/stats.exp: Likewise.
1819 * testsuite/runtest.all/remote.test: Likewise.
1820 * testsuite/runtest.all/config.test: Likewise.
1821 * testsuite/runtest.all/default_procs.tcl: Likewise.
1822 * testsuite/runtest.all/libs.exp: Likewise.
1823 * testsuite/runtest.all/options.exp: Likewise.
1825 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1827 * NEWS: Document 'testsuite' command.
1828 * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1829 point and "testsuite file" command.
1830 * lib/framework.exp (testsuite): New proc for multiplex commands.
1831 (testsuite_file): New proc implementing "testsuite file".
1832 * testsuite/runtest.all/testsuite_file.test: New file.
1833 * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1834 but also search $srcdir itself.
1835 (load_lib): Add explicit search for testsuite-local libraries.
1836 (load_tool_init): Use $testsuitedir in search.
1837 (load_config): Use $testsuitedir instead of $srcdir.
1838 (load_tool_target_config): Likewise.
1840 Add variable "testsuitedir" for testsuite root directory.
1842 Add internal global variables "testbuilddir" and "testdir" for use
1843 by "testsuite file".
1845 Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1846 duplicated path delimiters.
1848 Add warning if no tests are found and fallback method of searching
1851 2018-12-08 Ben Elliston <bje@gnu.org>
1853 * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1855 * testsuite/lib/util-defs.exp (util_test): Likewise.
1856 * testsuite/runtest.all/stats.exp: Likewise.
1857 * testsuite/runtest.all/libs.exp: Likewise.
1859 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1861 * testsuite/runtest.all/default_procs.tcl:
1862 (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1863 (lib_regexp_test): Fix copy-paste-edit error.
1864 (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1865 Fix handling of errors raised by tested procedure. Also ensure
1866 proper quoting of argument lists passed to eval and simplify
1867 the logic for producing return values.
1869 2018-12-08 Ben Elliston <bje@gnu.org>
1871 * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1873 2018-12-08 Ben Elliston <bje@gnu.org>
1875 * lib/tip.exp (tip_open): Put braces around if expression.
1877 2018-12-08 Ben Elliston <bje@gnu.org>
1879 * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1880 lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1881 config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1882 baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1883 baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1884 baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1885 baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1886 baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1887 baseboards/arm-ice.exp, baseboards/androideabi.exp,
1888 testsuite/runtest.all/utils.test,
1889 testsuite/runtest.all/target.test: Replace string literal
1890 comparisons using == and != with 'eq' and 'ne'.
1892 2018-12-08 Ben Elliston <bje@gnu.org>
1894 * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1895 lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1896 lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1897 config/vxworks.exp, config/unix.exp, config/sim.exp,
1898 config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1899 baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1900 baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1901 baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1902 testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1903 using == and != with 'eq' and 'ne'.
1905 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1907 * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1908 (lib_regexp_test): New.
1909 (lib_pat_test): Brace "if" conditions.
1910 (lib_pat_test): Remove spurious quotes in debugging output.
1911 (run_tests): Add support for comments in lists of procedure tests.
1913 * testsuite/runtest.all/config.test: Adjust to use run_tests
1914 procedure. Fixes issue cited in FIXME comment.
1916 * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1917 The old tests had the sense of the return value from lib_pat_test
1918 inverted and were failing but reported PASS.
1919 (find tests, relative_filename tests, runtest_file_p tests):
1920 Adjust to use run_tests procedure.
1922 2018-12-07 Ben Elliston <bje@gnu.org>
1924 * doc/dejagnu.texi: Add more missing material.
1926 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1928 * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1929 (run_tests): Replace implicit "eval" with explicit "eval". Tidy.
1930 (verbose): Remove unnecessary quotes.
1932 2018-12-06 Ben Elliston <bje@gnu.org>
1934 * doc/dejagnu.texi: Add more missing material.
1936 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1938 * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1939 (lib_pat_test): Handle an argument list instead of only a single
1940 argument for the procedure under test.
1941 (lib_ret_test): Likewise.
1942 * testsuite/runtest.all/utils.test: Whitespace clean up.
1943 Adjust to pass argument lists for improved lib_pat_test.
1944 * testsuite/runtest.all/clone_output.test: Likewise.
1946 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1948 * lib/remote.exp (standard_load): Fix typo on empty string.
1949 * runtest.exp: Adjust expression to follow GNU conventions.
1950 * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1951 with "eq" instead of "ne".
1952 * testsuite/runtest.all/config.test: Likewise.
1954 2018-12-06 Ben Elliston <bje@gnu.org>
1956 * runtest.exp: Replace [string match] commands involving literal
1957 strings and variables known to not be Tcl glob patterns with eq
1959 * config/unix.exp: Likewise.
1960 * lib/debugger.exp: Likewise.
1961 * lib/dg.exp: Likewise.
1962 * lib/framework.exp: Likewise.
1963 * lib/remote.exp: Likewise.
1964 * lib/utils.exp: Likewise.
1965 * baseboards/androideabi.exp: Likewise.
1966 * baseboards/multi-sim.exp: Likewise.
1967 * testsuite/lib/util-defs.exp: Likewise.
1968 * testsuite/runtest.all/config.test: Likewise.
1970 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1972 * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1973 * testsuite/runtest.all/target.test: Likewise.
1974 * testsuite/runtest.all/remote.test: Likewise.
1975 * testsuite/runtest.all/config.test: Likewise.
1976 * testsuite/runtest.all/clone_output.test: Likewise.
1978 2018-12-06 Ben Elliston <bje@gnu.org>
1980 * runtest.exp: Replace '==' with 'eq' for string compares.
1981 Likewise, replace '!=' with 'ne'. Replace a few instances of
1982 [string length $str] == 0 with $str eq "".
1983 * config/gdb-comm.exp: Likewise.
1984 * lib/dg.exp: Likewise.
1985 * lib/framework.exp: Likewise.
1986 * lib/libgloss.exp: Likewise.
1987 * lib/remote.exp: Likewise.
1988 * lib/target.exp: Likewise.
1989 * lib/utils.exp: Likewise.
1991 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1993 * runtest.exp: Replace archaic use of [string match] with "eq".
1995 2018-12-06 Ben Elliston <bje@gnu.org>
1997 * doc/dejagnu.texi (compile Procedure): Remove old node.
1998 (archive Procedure): Likewise.
1999 (ranlib Procedure): Likewise.
2001 2018-12-06 Ben Elliston <bje@gnu.org>
2003 * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
2005 2018-12-06 Ben Elliston <bje@gnu.org>
2007 * lib/telnet.exp (telnet_open): Remove connectmode global.
2008 * doc/dejagnu.texi (Procedures For Remote Communication): Remove
2009 mention of connectmode.
2011 2018-12-05 Ben Elliston <bje@gnu.org>
2013 * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
2016 2018-12-05 Ben Elliston <bje@gnu.org>
2018 * doc/dejagnu.texi: Add more missing material.
2020 2018-12-05 Ben Elliston <bje@gnu.org>
2022 * testsuite/runtest.all/utils.test: Test runtest_file_p.
2024 2018-12-05 Jacob Bachmeyer <jcb62281@gmail.com>
2026 * runtest.exp (load_config): Remove unused globals.
2027 (load_generic_config): Likewise.
2028 (load_board_description): Likewise.
2029 (load_base_board_description): Likewise.
2031 2018-12-05 Ben Elliston <bje@gnu.org>
2033 * lib/utils.exp (grep): Handle -n.
2034 * doc/dejagnu.texi (grep procedure): Document it.
2035 * testsuite/runtest.all/utils.test: Add a test case.
2036 * NEWS: Add an item.
2038 2018-12-05 Ben Elliston <bje@gnu.org>
2040 * testsuite/runtest.all/utils.test: Test diff.
2042 2018-12-04 Ben Elliston <bje@gnu.org>
2044 * testsuite/runtest.all/utils.test: Test grep.
2046 2018-12-04 Ben Elliston <bje@gnu.org>
2048 * testsuite/runtest.all/utils.test (which): Fail on the else path,
2049 don't pass in either case.
2051 2018-12-04 Ben Elliston <bje@gnu.org>
2053 * doc/dejagnu.texi (Libgloss): Improve documentation.
2054 (Debugging Procedures): Likewise.
2056 2018-12-04 Ben Elliston <bje@gnu.org>
2058 * lib/debugger.exp (dumprocs): Fix proc comment.
2060 2018-12-04 Ben Elliston <bje@gnu.org>
2062 * doc/dejagnu.texi (Utility Procedures): Improve documentation for
2063 the procedures in this section.
2065 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
2067 * NEWS: Document new relative_filename procedure and --local_init/
2068 --global_init command line options.
2070 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
2072 * lib/utils.exp (relative_filename): New proc.
2073 * runtest.exp: Use it.
2074 * doc/dejagnu.texi (relative_filename procedure): Document it.
2075 * testsuite/runtest.all/utils.test: Add tests for relative_filename.
2077 2018-12-03 Ben Elliston <bje@gnu.org>
2079 * dejagnu.h (TestState): Remove const char * variants of pass(),
2080 xpass(), fail(), xfail(), untested(), unresolved() for C++. A
2081 const char * will be implicitly converted to std::string.
2083 2018-12-03 Ben Elliston <bje@gnu.org>
2085 * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
2086 removing the 'Reference' node and chapter. Make all subsubsections
2087 in this chapter unnumbered subheadings.
2089 2018-12-03 Jacob Bachmeyer <jcb62281@gmail.com>
2091 * doc/dejagnu.texi: Fix Info node links. The arguments to @node
2092 are: here, next, previous, up; not here, previous, next, up.
2094 2018-12-03 Ben Elliston <bje@gnu.org>
2096 * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
2097 doc/texinfo.tex. With thanks to Jacob Bachmeyer.
2098 * Makefile.in: Regenerate.
2100 2018-12-03 Ben Elliston <bje@gnu.org>
2102 * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
2103 (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
2104 prevents the distribution of the overridden texinfo.tex.
2105 * Makefile.in: Regenerate.
2106 * texinfo.tex: Move from here ..
2107 * doc/texinfo.tex: .. to here.
2109 2018-12-03 Ben Elliston <bje@gnu.org>
2111 * lib/framework.exp (isremote): Add verbose message.
2113 2018-12-02 Ben Elliston <bje@gnu.org>
2115 * lib/framework.exp (isremote): Pass $board to is_remote.
2117 2018-12-02 Ben Elliston <bje@gnu.org>
2119 * doc/fdl.texi: New.
2120 * doc/dejagnu.texi (Variable Index): New.
2121 Add more concept index entries.
2122 (GNU Free Documentation License): New appendix.
2124 2018-12-02 Ben Elliston <bje@gnu.org>
2126 * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
2127 index (@findex) entries for every built-in procedure.
2129 2018-12-02 Ben Elliston <bje@gnu.org>
2131 * doc/dejagnu.texi: Start an index.
2133 2018-12-02 Ben Elliston <bje@gnu.org>
2135 * doc/version.texi: New.
2137 2018-12-02 Ben Elliston <bje@gnu.org>
2139 * doc/dejagnu.texi: Add title page and frontmatter. Include
2141 * Makefile.in: Regenerate.
2142 * mdate-sh: Installed by automake --add-missing.
2144 2018-12-02 Ben Elliston <bje@gnu.org>
2146 * doc/dejagnu.texi (diff procedure): Tidy up this node.
2148 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
2150 * runtest.exp (hex): Remove useless test before setting.
2151 (decimal): Likewise.
2153 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
2155 * doc/dejagnu.texi (Invoking runtest): Document new --local_init
2156 and --global_init command line options.
2157 * doc/runtest.1: Likewise.
2159 * runtest.exp: Remove useless tests before setting default values
2160 for variables: all_flag, binpath, debug, options, outdir, reboot,
2161 tracelevel, verbose, log_dialog. They are set before loading any
2162 files or parsing the command line.
2164 * runtest.exp: Add options --local_init and --global_init for
2165 selecting alternate testsuite configuration files.
2167 * runtest.exp: Split variable "configfile" into "local_init_file"
2168 and "global_init_file" in preparation for adding command-line
2169 options to specify these independently.
2171 * runtest.exp (load_generic_config): Remove configfile global.
2172 (load_board_description): Likewise.
2173 (load_base_board_description): Likewise.
2175 2018-11-30 Ben Elliston <bje@gnu.org>
2177 * lib/utils.exp (grep): Remove reference to "NULL" in comment.
2178 * testsuite/lib/util-defs.exp (util_start): Likewise.
2180 2018-11-30 Ben Elliston <bje@gnu.org>
2182 * doc/dejagnu.texi: (verbose procedure): Improve documentation.
2183 (load_lib procedure): Likewise.
2185 2018-11-30 Ben Elliston <bje@gnu.org>
2187 * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
2189 2018-11-30 Ben Elliston <bje@gnu.org>
2191 * runtest.exp: Use isremote.
2192 * lib/target.exp: Likewise.
2193 * lib/remote.exp: Likewise.
2194 * lib/libgloss.exp: Likewise.
2195 * config/unix.exp: Likewise.
2196 * config/sim.exp: Likewise.
2197 * config/gdb_stub.exp: Likewise.
2198 * config/gdb-comm.exp: Likewise.
2199 * baseboards/basic-sim.exp: Likewise.
2200 * baseboards/androideabi.exp: Likewise.
2202 2018-11-30 Ben Elliston <bje@gnu.org>
2204 * lib/framework.exp (isremote): New.
2205 * doc/dejagnu.texi (isremote procedure): Document it.
2206 * NEWS: Mention isremote.
2208 2018-11-30 Ben Elliston <bje@gnu.org>
2210 * texinfo.tex: Update to latest upstream version.
2211 * INSTALL: Likewise.
2213 2018-11-29 Ben Elliston <bje@gnu.org>
2215 * lib/framework.exp (istarget, ishost, istarget): Set the argument
2216 default value to the empty string.
2217 * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
2218 (getenv procedure): Re-word this node.
2219 (isbuild procedure): Update.
2220 (ishost procedure): Likewise.
2221 (istarget procedure): Likewise.
2222 * testsuite/runtest.all/config.test: Add test cases.
2224 2018-11-28 Ben Elliston <bje@gnu.org>
2226 * config.guess: Update to latest version.
2227 * config.sub: Likewise.
2229 2018-11-28 Ben Elliston <bje@gnu.org>
2232 * configure.ac: Update version number.
2233 * configure: Regenerate.
2234 * doc/dejagnu.texi: Update version number.
2235 * runtest.exp: Update version number.
2237 2018-11-28 Ben Elliston <bje@gnu.org>
2239 * Makefile.am (TESTSUITE_FILES): Update filenames.
2240 * Makefile.in: Regenerate.
2242 2018-11-28 Ben Elliston <bje@gnu.org>
2246 * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
2248 2018-11-25 Jacob Bachmeyer <jcb62281@gmail.com>
2250 * lib/framework.exp: Clean up whitespace.
2252 2018-11-25 Ben Elliston <bje@gnu.org>
2254 * config/gdb-comm.exp: Clean up whitespace.
2255 * config/gdb_stub.exp: Likewise.
2256 * config/sid.exp: Likewise.
2257 * config/sim.exp: Likewise.
2258 * config/unix.exp: Likewise.
2260 2018-11-23 Ben Elliston <bje@gnu.org>
2262 * doc/dejagnu.texi (getdirs procedure): Improve documentation
2263 including documenting the -all option.
2264 (find procedure): Fix a typo.
2265 * lib/utils.exp (getdirs): Improve comments.
2267 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
2269 * runtest.exp: Ensure that multipass pass variables are always
2270 restored. Previously, they were only restored if the "Go digging
2271 for tests" branch was taken near the end of runtest.exp.
2273 2018-11-22 Ben Elliston <bje@gnu.org>
2275 * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
2276 of the $DEJAGNU environment variable (see change below).
2278 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
2280 * runtest.exp: Raise error if $DEJAGNU is defined but not found.
2282 2018-11-15 Jacob Bachmeyer <jcb62281@gmail.com>
2284 * runtest.exp (load_tool_init): Search for tool init file instead
2285 of assuming exactly one location.
2287 2018-11-15 Ben Elliston <bje@gnu.org>
2289 * runtest.exp (load_lib): Whitespace fix.
2291 2018-11-11 Jacob Bachmeyer <jcb62281@gmail.com>
2293 * lib/ssh.exp: Clean up whitespace.
2294 * lib/remote.exp: Clean up whitespace.
2295 (remote_expect): Change literal tab to "\t" in regexp.
2297 2018-11-05 Ben Elliston <bje@gnu.org>
2299 * config.guess: Update to latest version.
2300 * config.sub: Likewise.
2302 2018-11-02 Ben Elliston <bje@gnu.org>
2304 * Makefile.in: Regenerate.
2306 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2308 * Makefile.am (DEJATOOL): List tools in testsuite.
2309 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2310 * testsuite/config/default.exp: Rename from this ...
2311 * testsuite/lib/runtest.exp: ... to this.
2312 (runtest_exit): Remove spurious "close". This was causing per-tool
2313 testing to fail, since the testsuite for "runtest" never actually
2314 uses "spawn", so "close" ends up closing exp0, which is the
2315 terminal. The ${tool}_exit proc is not called if the --tool
2316 option is not given, so this had no effect earlier.
2317 * testsuite/lib/libdejagnu.exp: New empty file.
2319 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2321 * runtest.exp (load_tool_init): Add message indicating the
2322 expected location of the tool init file.
2324 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2326 * contrib/sum2junit.sh (failures): Fix typo.
2328 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2330 * configure.ac (DEJAGNU): Add comments.
2332 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2334 * Makefile.am (DEJATOOL): List tools in testsuite.
2335 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2336 * testsuite/config/default.exp: Rename from this ...
2337 * testsuite/lib/runtest.exp: ... to this.
2338 (runtest_exit): Remove spurious "close". This was causing
2339 per-tool testing to fail, since the testsuite for "runtest" never
2340 actually uses "spawn", so "close" ends up closing exp0, which is
2341 the terminal. The ${tool}_exit proc is not called if the --tool
2342 option is not given, so this had no effect earlier.
2343 * testsuite/lib/libdejagnu.exp: New empty file.
2345 2018-10-30 Ben Elliston <bje@gnu.org>
2347 * Makefile.am (DISTCLEANFILES): Add testrun.xml.
2348 * Makefile.in: Regenerate with Automake 1.15.1.
2349 * aclocal.m4: Likewise.
2351 2018-10-30 Ben Elliston <bje@gnu.org>
2353 * configure.ac (AC_CONFIG_SUBDIRS): Remove.
2354 * configure: Regenerate.
2356 2018-10-29 Ben Elliston <bje@gnu.org>
2358 * README (Documentation): Update.
2360 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
2362 * lib/framework.exp (record_test): Really fix message formatting.
2364 2018-10-29 Ben Elliston <bje@gnu.org>
2366 Reported by Jacob Bachmeyer.
2367 * testsuite/runtest.all/utils.test: Fix missing end quote.
2369 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
2371 * lib/framework.exp (record_test): Fix message formatting.
2373 2018-07-20 Ben Elliston <bje@gnu.org>
2375 * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
2376 * contrib/mysql/sum2xml.sh: Likewise.
2378 2018-07-20 Ben Elliston <bje@gnu.org>
2380 * contrib/compare_tests: Eliminate Shellcheck warnings.
2381 * contrib/mysql/sum2xml.sh: Likewise.
2383 2018-07-20 Ben Elliston <bje@gnu.org>
2385 * compile, depcomp, install-sh: Latest upstream versions.
2387 2018-07-20 Ben Elliston <bje@gnu.org>
2389 * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
2391 2018-07-19 Ben Elliston <bje@gnu.org>
2393 * runtest: Use POSIX 'command', not 'type', to look for the Expect
2394 binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
2397 2018-07-19 Ben Elliston <bje@gnu.org>
2399 * config.guess: Update to latest version.
2400 * config.sub: Likewise.
2402 2018-07-06 Richard Biener <rguenther@suse.de>
2404 * lib/remote.exp (close_wait_program): Use separate kill command
2407 2017-10-16 Ben Elliston <bje@gnu.org>
2409 * NEWS: Start a new section for the next release.
2410 * configure.ac (AC_INIT): Update version number.
2411 * configure: Regenerate.
2412 * runtest.exp (frame_version): Update version number.
2413 * doc/dejagnu.texi: Likewise.
2414 * doc/runtest.1: Update datestamp.
2416 2017-10-16 Ben Elliston <bje@gnu.org>
2418 * config.guess: Update to version 2017-09-26.
2419 * config.sub: Likewise.
2421 2017-09-13 Ben Elliston <bje@gnu.org>
2423 * lib/framework.exp (open_logs): Set XML version to 1.1.
2424 (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
2425 missing 'x' in escape sequence.
2427 2017-08-29 Ben Elliston <bje@gnu.org>
2429 Revert these changes:
2431 2016-04-25 Ben Elliston <bje@gnu.org>
2433 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2435 2016-04-24 Ben Elliston <bje@gnu.org>
2437 * lib/utils.exp (unsetenv): Remove proc.
2438 * doc/dejagnu.texi: Update documentation.
2441 2017-08-19 Ben Elliston <bje@gnu.org>
2443 * lib/framework.exp (xml_tag): Escape all of the non-printable
2444 control characters (ASCII codes 1 to 31 inclusive).
2446 2017-08-18 Tom Tromey <tom@tromey.com>
2448 * runtest.exp: Fix --directory matching.
2450 2017-08-15 Ben Elliston <bje@gnu.org>
2452 * lib/framework.exp (xml_tag): New proc.
2453 (log_summary): Use it.
2454 (record_test): Likewise.
2456 2017-08-15 Ben Elliston <bje@gnu.org>
2458 * lib/framework.exp (open_logs): Set .xml filename correctly.
2459 * runtest.exp: Remove xml_file_name var.
2460 (usage): Update --xml option to not take an argument.
2461 (load_tool_init): Likewise.
2462 * doc/dejagnu.texi (Invoking runtest): Update documentation.
2463 * doc/runtest.1: Likewise.
2465 2017-08-01 Ben Elliston <bje@gnu.org>
2467 * runtest.exp (usage): Improve --strace message.
2469 2017-08-01 Ben Elliston <bje@gnu.org>
2471 * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
2473 2017-06-04 Ben Elliston <bje@gnu.org>
2475 * lib/target.exp (push_target): Remove unnecessary global command.
2476 * testsuite/runtest.all/target.test: Overhaul tests.
2478 2017-06-04 Ben Elliston <bje@gnu.org>
2480 * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
2482 2017-06-04 Tom de Vries <tom@codesourcery.com>
2484 * testsuite/runtest.all/target.test: Remove list_targets test.
2486 2017-06-04 Tom de Vries <tom@codesourcery.com>
2488 * testsuite/runtest.all/libs.exp (process_test): Dump entire
2489 output when there's no reportable output.
2490 * testsuite/runtest.all/remote.test (load_lib): New proc.
2491 * testsuite/runtest.all/target.test (load_lib): Same.
2493 2017-03-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
2495 * lib/remote.exp (remote_download): Add logging message when
2496 source and destination file differ in name.
2498 2016-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2500 * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2502 2016-06-28 Ben Elliston <bje@gnu.org>
2504 * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
2505 * configure: Regenerate.
2507 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2509 * configure.ac, dejagnu.h, runtest, runtest.exp,
2510 baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
2511 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2512 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2513 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2514 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2515 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2516 baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
2517 baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
2518 baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
2519 baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
2520 baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
2521 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
2522 baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
2523 baseboards/mips-sim-mti64_64.exp,
2524 baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
2525 baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
2526 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2527 baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
2528 baseboards/mt-sid.exp, baseboards/multi-sim.exp,
2529 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2530 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2531 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2532 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2533 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2534 baseboards/unix.exp, baseboards/v850-sim.exp,
2535 baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
2536 baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
2537 baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
2538 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
2539 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2540 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2541 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2542 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2543 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2544 testsuite/runtest.all/stats-sub.exp,
2545 testsuite/runtest.all/stats.exp, config/adb.exp,
2546 config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2547 config/sid.exp, config/sim.exp, config/unix.exp,
2548 config/vxworks.exp: Update copyright date for 2016.
2550 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2552 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2553 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2554 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2555 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2556 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2557 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2558 baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2559 baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2560 baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2561 baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2562 baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2563 baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2564 baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2565 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2566 baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2567 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2568 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2569 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2570 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2571 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2572 baseboards/unix.exp, baseboards/v850-sim.exp,
2573 baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2574 baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2575 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2576 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2577 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2578 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2579 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2580 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2581 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2582 testsuite/runtest.all/options.exp,
2583 testsuite/runtest.all/stats-sub.exp,
2584 testsuite/runtest.all/stats.exp, config/default.exp,
2585 config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2586 config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2587 dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2590 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2592 * doc/runtest.1: Use condensed years in copyright statement.
2594 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2596 * runtest: Quote paths. Use test -z, -n for clarity.
2598 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2600 * config/adb.exp (adb_exec) Improve verbose message.
2602 2016-06-03 Jim Wilson <jim.wilson@linaro.org>
2604 * baseboards/aarch64-sim.exp: New file.
2605 * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2606 * Makefile.in: Regenerate.
2607 * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2609 2016-04-26 Ben Elliston <bje@gnu.org>
2611 * doc/dejagnu.texi: Fill more paragraphs.
2613 2016-04-25 Ben Elliston <bje@gnu.org>
2615 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2617 2016-04-24 Ben Elliston <bje@gnu.org>
2619 * lib/utils.exp (unsetenv): Remove proc.
2620 * doc/dejagnu.texi: Update documentation.
2623 2016-04-19 Nick Clifton <nickc@redhat.com>
2625 * baseboards/msp430-sim.exp: New file.
2626 * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2627 * Makefile.in: Regenerate.
2629 2016-04-18 Ben Elliston <bje@gnu.org>
2631 * runtest: Remove quoting in final exec command.
2633 2016-04-17 Ben Elliston <bje@gnu.org>
2635 * lib/remote.exp: Load ssh.exp lib.
2637 2016-04-17 Ben Elliston <bje@gnu.org>
2639 * lib/rsh.exp (rsh_open): Fix description comment.
2641 2016-04-17 Ben Elliston <bje@gnu.org>
2643 Reported by shellcheck.
2644 * runtest: Use $((..)) not `expr ..` and defensively double quote
2647 2016-04-17 Ben Elliston <bje@gnu.org>
2649 * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2650 * Makefile.in: Regenerate.
2652 2016-04-17 Ben Elliston <bje@gnu.org>
2654 Reported by shellcheck.
2655 * runtest: Use $((..)) not `expr ..`.
2657 2016-04-17 Ben Elliston <bje@gnu.org>
2659 * configure.ac (AC_INIT): Update version number.
2660 * configure: Regenerate.
2661 * runtest.exp (frame_version): Update version number.
2662 * doc/dejagnu.texi: Likewise.
2664 2016-04-17 Ben Elliston <bje@gnu.org>
2666 * NEWS: Start a new section for the next release.
2668 2016-04-15 Ben Elliston <bje@gnu.org>
2670 * Makefile.am (CONTRIB): Add new contrib scripts.
2671 * Makefile.in: Regenrate.
2673 2016-04-15 Ben Elliston <bje@gnu.org>
2675 * lib/ssh.exp (ssh_exec): Handle regexp return status.
2677 2016-04-13 Ben Elliston <bje@gnu.org>
2679 * lib/rsh.exp (rsh_exec): Improve verbose message.
2680 * lib/ssh.exp (ssh_exec): Likewise.
2681 * config/adb.exp: Likewise.
2683 2016-04-13 Ben Elliston <bje@gnu.org>
2685 * runtest.exp: Improve --version (-v) output.
2686 * testsuite/runtest.all/options.exp: Update test case.
2688 2016-04-13 Christophe Lyon <christophe.lyon@linaro.org>
2690 * lib/rsh.exp (rsh_exec): Handle regexp return status.
2692 2016-04-08 Ben Elliston <bje@gnu.org>
2694 Reported by Faraz Shahbazker.
2695 * doc/dejagnu.texi (Global config file): Fix broken @node.
2696 (Local config file): Likewise.
2698 2016-04-07 Ben Elliston <bje@gnu.org>
2700 * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2701 the command line with ';' and not &&.
2703 2016-04-07 Ben Elliston <bje@gnu.org>
2705 Reported by Faraz Shahbazker.
2706 * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2708 2016-04-06 Yvan Roux <yvan.roux@linaro.org>
2710 * lib/remote.exp (remnote_download): Create a remote directory if
2712 (remote_exec): Execute program inside remotedir when it exists.
2713 (standard_load): Set remotedir board field if not present.
2714 * config/unix.exp (unix_load): Handle remotedir in board field.
2715 (remotedir): Set board info field.
2716 * doc/dejagnu.texi (Board File Values): Document remotedir.
2718 2016-04-06 Ben Elliston <bje@gnu.org>
2720 * doc/dejagnu.texi (Global config file): Put before node 'Local
2723 2016-04-05 Ben Elliston <bje@gnu.org>
2725 * runtest.exp: Remove defunct and undocumented --tool_root option.
2727 2016-04-04 Ben Elliston <bje@gnu.org>
2729 * doc/dejagnu.texi: More overhauling.
2731 2016-04-04 Ben Elliston <bje@gnu.org>
2733 * lib/targetdb.exp (set_board_info): Improve comment.
2734 (add_board_info): Likewise.
2736 2016-04-04 Ben Elliston <bje@gnu.org>
2738 * NEWS: Add some more detail.
2740 2016-04-04 Ben Elliston <bje@gnu.org>
2742 * site.tmpl: Delete.
2743 * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2744 * Makefile.in: Regenerate.
2746 2016-04-03 Ben Elliston <bje@gnu.org>
2748 * doc/dejagnu.texi: More overhauling.
2750 2016-04-03 Ben Elliston <bje@gnu.org>
2752 * runtest.exp: Document the magical handling of -D[01].
2754 2016-04-03 Ben Elliston <bje@gnu.org>
2756 * doc/runtest.1: Do not document obsolete --status option. It is
2757 still accepted for compatibility, but does nothing.
2759 2016-04-03 Ben Elliston <bje@gnu.org>
2761 * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2763 2016-04-03 Ben Elliston <bje@gnu.org>
2765 * doc/runtest.1 (OPTIONS): Sort options.
2767 2016-04-03 Ben Elliston <bje@gnu.org>
2769 * doc/dejagnu.texi: More overhauling.
2771 2016-04-02 Ben Elliston <bje@gnu.org>
2773 * doc/dejagnu.texi: Fill paragraphs.
2775 2016-04-02 Ben Elliston <bje@gnu.org>
2777 * doc/dejagnu.texi: Fix capitalisation of procedure names
2778 throughout. Use Tcl syntax in procedure prototypes, not C syntax.
2780 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2782 * contrib/mysql/create-db.sql: New file.
2783 * contrib/mysql/importxml.sh: Likewise.
2784 * contrib/mysql/make-datafile.sh: Likewise.
2785 * contrib/mysql/plot.sh: Likewise.
2786 * contrib/mysql/README: Likewise.
2787 * contrib/mysql/sum2xml.sh: Likewise.
2789 2016-04-02 Ben Elliston <bje@gnu.org>
2791 * config.guess: Update to version 2016-04-02.
2792 * config.sub: Update to version 2016-03-30.
2794 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2796 * contrib/sum2junit.sh: New.
2798 2016-04-01 Ben Elliston <bje@gnu.org>
2800 * doc/dejagnu.texi (connprocs): Document new SSH procs.
2802 2016-03-31 Rob Savoye <rob.savoye@linaro.org>
2807 2016-03-30 Ben Elliston <bje@gnu.org>
2809 * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2810 lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2811 runtest.exp: Fix spelling errors in comments.
2813 2016-03-30 Ben Elliston <bje@gnu.org>
2815 * lib/remote.exp (remote_expect): Use perror not send_user.
2817 2016-03-29 Ben Elliston <bje@gnu.org>
2819 * lib/remote.exp (remote_expect): Fix spelling error.
2821 2016-03-29 Rob Savoye <rob.savoye@linaro.org>
2823 * runtest.exp: Only print "searching for <test name>" message at
2824 verbose level >= 2 -- too much noise.
2826 2016-03-29 Ben Elliston <bje@gnu.org>
2828 * texinfo.tex: Update to latest master version.
2829 * INSTALL: Likewise.
2831 2016-03-29 Ben Elliston <bje@gnu.org>
2833 * runtest.exp: More fixes identified by the Frink static analyser.
2834 * lib/dg.exp: Likewise.
2835 * config/adb.exp: Likewise.
2836 * config/vxworks.exp: Likewise.
2837 * baseboards/androideabi.exp: Likewise.
2838 * baseboards/basic-sid.exp: Likewise.
2839 * baseboards/multi-sim.exp: Likewise.
2841 2016-03-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
2843 * dg.exp (dg-do): Do not change the previously selected action if
2844 a de-selected dg-do is encountered.
2846 2016-03-28 Ben Elliston <bje@gnu.org>
2848 * lib/framework.exp (check_xml): Remove unused proc.
2850 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2852 * lib/dmucs.exp: New.
2854 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2856 * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2857 built compiler, then look in the path.
2859 2016-03-28 Ben Elliston <bje@gnu.org>
2861 * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2862 /bin/which doesn't. Modern systems rely too heavily on symbolic
2863 links (eg. alternatives).
2865 2016-03-28 Ben Elliston <bje@gnu.org>
2867 * baseboards/multi-sim.exp: Indent properly.
2869 2016-03-28 Ben Elliston <bje@gnu.org>
2871 * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2872 rlogin. Identified by Frink.
2874 2016-03-28 Ben Elliston <bje@gnu.org>
2876 * runtest.exp: Use 'array exists' for testing array existence
2877 rather than 'info exists'.
2879 2016-03-28 Ben Elliston <bje@gnu.org>
2881 * runtest.exp: Fixes identified by the Frink static analyser:
2882 (1) use -- in switch commands for safety,
2883 (2) remove unreachable return commands after error commands,
2884 (3) replace abbreviated "info proc" with "info procs",
2885 (4) use -- in unset commands for safety where the variable name
2886 is itself a variable.
2887 * lib/dg.exp: Likewise.
2888 * lib/debugger.exp: Likewise.
2889 * lib/framework.exp: Likewise.
2890 * lib/remote.exp: Likewise.
2891 * lib/target.exp: Likewise.
2892 * lib/targetdb.exp: Likewise.
2893 * lib/telnet.exp: Likewise.
2894 * lib/utils.exp: Likewise.
2896 2016-03-28 Ben Elliston <bje@gnu.org>
2898 * Makefile.am: Remove references to Docbook and friends.
2899 * configure.ac: Likewise.
2900 * Makefile.in: Regenerate.
2901 * configure: Regenerate.
2902 * doc/dejagnu.xml: Remove.
2903 * doc/legal.xml: Likewise.
2904 * doc/ref.xml: Likewise.
2905 * doc/user.xml: Likewise.
2907 2016-03-28 Ben Elliston <bje@gnu.org>
2909 * lib/framework.exp (exp_continue): Remove old compatibility
2910 wrapper. Expect deprecated 'continue -expect' in August 1997.
2912 2016-03-28 Ben Elliston <bje@gnu.org>
2916 2016-03-28 Ben Elliston <bje@gnu.org>
2918 * lib/utils.exp (which): Reimplement to more closely mimic the
2919 behaviour of the UNIX which utility.
2920 * testsuite/runtest.all/utils.test: Test proc which.
2922 2016-03-27 Ben Elliston <bje@gnu.org>
2924 * lib/remote.exp (standard_wait): Append any trailing characters
2925 to $output that may be still in $expect_out(buffer) when eof is
2926 matched. Remove arbitrary limitation in the ".+" matching case,
2927 similar to the change to local_exec on 2016-02-17.
2929 2016-03-23 Ben Elliston <bje@gnu.org>
2931 * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2932 mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2933 * Makefile.in: Regenerate.
2934 * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2935 baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2936 baseboards/vx68k.exp, baseboards/vx960.exp,
2937 baseboards/vxsparc.exp: Remove.
2939 2016-03-23 Ben Elliston <bje@gnu.org>
2941 * baseboards/README: Remove mention of devo.
2942 * baseboards/iq2000-sim.exp: Likewise.
2943 * baseboards/moxie-sim.exp: Likewise.
2945 2016-03-23 Ben Elliston <bje@gnu.org>
2947 * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2948 * Makefile.in: Regenerate.
2949 * baseboards/arm-ice.exp: Reinstate.
2950 * baseboards/arm-sim.exp: Likewise.
2952 2016-03-23 Ben Elliston <bje@gnu.org>
2954 * Makefile.am (config_DATA): Update.
2955 (baseboard_DATA): Likewise.
2956 * Makefile.in: Regenerate.
2959 Remove the following old config files:
2961 * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2962 cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2963 dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2964 m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2965 mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2966 proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2967 tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2969 Remove the following old baseboard files:
2971 * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2972 d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2973 fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2974 h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2975 i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2976 m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2977 mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2978 mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2979 powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2980 sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2981 tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2982 vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2983 xscale-cygmon.exp: Remove.
2985 2016-03-22 Ben Elliston <bje@gnu.org>
2987 * lib/target.exp (only--Ls): Change '???' comment to a note. This
2988 isn't a serious shortcoming, but the comment should be retained.
2990 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2992 * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
2993 the environment, use that as the spec file for bare metal testing.
2995 2016-03-22 Ben Elliston <bje@gnu.org>
2997 * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
2998 * Makefile.in: Regenerate.
3000 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
3002 * config/aarch64-fv8.exp: Add support for testing armv8 using the
3003 ARM Foundation Model.
3005 2016-03-21 Ben Elliston <bje@gnu.org>
3007 * runtest.exp: Whitespace, comment and typo fixes.
3008 * lib/dejagnu.exp: Likewise.
3009 * lib/remote.exp: Likewise.
3010 * lib/utils.exp: Likewise.
3012 2016-03-21 Ben Elliston <bje@gnu.org>
3014 * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
3015 * baseboards/mmixware-sim.exp: Likewise.
3016 * config/sim.exp: Likewise.
3017 * runtest.exp: Likewise.
3019 2016-03-21 Ben Elliston <bje@gnu.org>
3021 * lib/dg.exp (dg-get-options): Clean up regular expression and
3022 remove FIXME comment about it.
3024 2016-03-20 Ben Elliston <bje@gnu.org>
3026 * baseboards/i960-sim.exp: Remove stale ??? comment.
3027 * config/vxworks.exp: Likewise.
3029 2016-03-20 Ben Elliston <bje@gnu.org>
3031 * runtest.exp: Load .dejagnurc last not first.
3032 (load_file): Update comment about Tcl 7.5a2.
3033 * doc/user.xml (Customizing DejaGnu): Document new search order
3035 * doc/dejagnu.texi: Regenerate.
3038 2016-03-20 Ben Elliston <bje@gnu.org>
3040 * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
3042 2016-03-20 Ben Elliston <bje@gnu.org>
3044 * lib/dg.exp: Remove commented-out calls to send_user.
3046 2016-03-20 Ben Elliston <bje@gnu.org>
3048 * runtest.exp (load_file): Remove old comment.
3050 2016-03-20 Ben Elliston <bje@gnu.org>
3052 * lib/dg.exp (dg-test): There is no need to call unresolved to
3053 clear errcnt. Instead, pass 0 as argument 2 to perror.
3054 * runtest.exp (runtest): Likewise.
3056 2016-03-16 Ben Elliston <bje@gnu.org>
3058 Revert this change (the GCC testsuite uses diff):
3060 2016-03-15 Ben Elliston <bje@gnu.org>
3062 * lib/utils.exp (diff): Remove proc.
3063 * doc/ref.xml: Update documentation.
3064 * doc/dejagnu.texi: Regenerate.
3067 2016-03-15 Ben Elliston <bje@gnu.org>
3069 * testsuite/runtest.all/options.exp: Properly clean up log files
3070 left by the runtest under test.
3072 2016-03-15 Ben Elliston <bje@gnu.org>
3074 * testsuite/runtest.all/load_lib.exp: Typo fixes.
3076 2016-03-15 Ben Elliston <bje@gnu.org>
3078 * testsuite/runtest.all/options.exp: Add more tests.
3080 2016-03-15 Ben Elliston <bje@gnu.org>
3082 * testsuite/libdejagnu/tunit.exp: Clean up.
3084 2016-03-15 Ben Elliston <bje@gnu.org>
3086 * lib/utils.exp (diff): Remove proc.
3087 * doc/ref.xml: Update documentation.
3088 * doc/dejagnu.texi: Regenerate.
3091 2016-03-15 Ben Elliston <bje@gnu.org>
3094 2016-02-14 Steve Ellcey <sellcey@mips.com>
3096 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
3098 * baseboards/multi-sim.exp (rpath_flags): Ditto.
3100 2016-03-13 Ben Elliston <bje@gnu.org>
3102 * lib/utils.exp: Whitespace fixes.
3104 2016-03-13 Ben Elliston <bje@gnu.org>
3106 * lib/dg.exp (dg-process-target): Remove old commented code.
3107 * lib/dg.exp (dg-test): Likewise.
3109 2016-03-13 Ben Elliston <bje@gnu.org>
3111 * lib/dg.exp: Improve top-of-file documentation.
3113 2016-03-05 Yvan Roux <yvan.roux@linaro.org>
3115 * lib/remote.exp (remote_exec): Restore original timeout value.
3117 2016-03-04 Yvan Roux <yvan.roux@linaro.org>
3119 * lib/remote.exp (standard_upload): Remove dead code.
3121 2016-02-24 Ben Elliston <bje@gnu.org>
3123 * lib/utils.exp (prune): Restore this proc.
3124 * doc/ref.xml: Update documentation.
3125 * doc/dejagnu.texi: Regenerate.
3128 2016-02-23 Iain Buclaw <ibuclaw@gdcproject.org>
3130 * lib/libgloss.exp (find_gdc): New proc.
3131 * lib/target.exp (default_target_compile): Add D support.
3134 2016-02-20 Ben Elliston <bje@gnu.org>
3136 * lib/utils.exp (diff): Replace calls to verbose followed by
3137 send_log with a single call to verbose -log. Remove additional
3138 newlines from the log messages.
3140 2016-02-20 Ben Elliston <bje@gnu.org>
3142 * lib/utils.exp (getdirs): Ignore .git and .svn directories.
3144 2016-02-20 Ben Elliston <bje@gnu.org>
3146 * lib/utils.exp: Improve comments.
3149 2016-02-20 Ben Elliston <bje@gnu.org>
3151 * lib/utils.exp (prune): Remove proc.
3152 * doc/ref.xml: Update documentation.
3153 * doc/dejagnu.texi: Regenerate.
3155 2016-02-20 Ben Elliston <bje@gnu.org>
3157 * lib/utils.exp (slay): Remove proc.
3158 * doc/ref.xml: Update documentation.
3159 * doc/dejagnu.texi: Regenerate.
3161 2016-02-20 Ben Elliston <bje@gnu.org>
3163 * lib/utils.exp (absolute): Remove proc.
3164 * doc/ref.xml: Update documentation.
3165 * doc/dejagnu.texi: Regenerate.
3167 2016-02-20 Ben Elliston <bje@gnu.org>
3169 * lib/utils.exp (psource): Remove proc.
3170 * doc/ref.xml: Update documentation.
3171 * doc/dejagnu.texi: Regenerate.
3173 2016-02-20 Ben Elliston <bje@gnu.org>
3175 * lib/targetdb.exp (board_info): Simplify return logic.
3177 2016-02-19 Ben Elliston <bje@gnu.org>
3179 * configure.ac: Require Tcl version 8.5 at a minimum.
3180 * configure: Regenerate.
3182 2016-02-18 Ben Elliston <bje@gnu.org>
3184 * configure.ac: Require Tcl version 8.6 at a minimum.
3185 * configure: Regenerate.
3187 2016-02-17 Ben Elliston <bje@gnu.org>
3189 * runtest.exp: Tweak "Test run by .." output.
3191 2016-02-17 Ben Elliston <bje@gnu.org>
3193 * lib/target.exp (default_target_compile): Do not pass -log to
3194 verbose when outputting the captured compiler/assembler/linker
3195 diagnostic output as it will already be in the .log file courtesy
3198 2016-02-17 Ben Elliston <bje@gnu.org>
3200 * runtest.exp: Enable --status by default.
3201 (runtest): Set exit status to 2 if there is any error sourcing
3203 * lib/framework.exp (unknown): Likewise, set exit status to 2.
3204 * doc/runtest.1: Clarify exit status codes.
3207 2016-02-17 Ben Elliston <bje@gnu.org>
3209 * lib/remote.exp (local_exec): Call exp_continue until eof is
3212 2016-02-16 Ben Elliston <bje@gnu.org>
3214 * runtest.exp: Use the traditional exit codes when runtest is
3215 interrupted. This makes it possible to tell if runtest ran to
3216 completion or not. Suggested by Michael Chastain.
3218 2016-02-15 Ben Elliston <bje@gnu.org>
3220 * TODO: Add ideas produced from Cauldron 2013.
3222 2016-02-15 Ben Elliston <bje@gnu.org>
3226 2016-02-15 Ben Elliston <bje@gnu.org>
3228 * lib/dg.exp (dg-test): Remove comment about proc unresolved not
3229 setting exit_status to 1 -- it does.
3231 2016-02-15 Ben Elliston <bje@gnu.org>
3233 * lib/framework.exp (cleanup): Remove do-nothing proc.
3234 (log_and_exit): Remove call to cleanup.
3235 * doc/ref.xml: Remove documentation for cleanup.
3236 * doc/dejagnu.texi: Regenerate.
3238 2016-02-15 Ben Elliston <bje@gnu.org>
3240 Reported by David Malcolm.
3241 * lib/dejagnu.exp (text): Allow angle brackets in test messages.
3243 2016-02-15 Ben Elliston <bje@gnu.org>
3245 * config.guess: Update to version 2016-02-11.
3246 * config.sub: Update to version 2016-01-01.
3248 2016-02-14 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
3250 * lib/remote.exp (remote_exec): Set global timeout for benefit of
3253 2016-02-14 Ben Elliston <bje@gnu.org>
3255 * lib/remote.exp (local_exec): Improve comments.
3257 2016-02-14 Ben Elliston <bje@gnu.org>
3259 * doc/runtest.1: Tweak.
3261 2016-02-14 Steve Ellcey <sellcey@mips.com>
3263 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
3265 * baseboards/multi-sim.exp (rpath_flags): Ditto.
3267 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
3269 * lib/remote.exp (standard_file): Reverse return logic for remote
3272 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
3274 * lib/remote.exp (standard_file); Add else clause.
3276 2016-01-16 Ben Elliston <bje@gnu.org>
3278 * runtest.exp (runtest): Improve comment about --status.
3280 2016-01-12 Simon Marchi <simon.marchi@ericsson.com>
3282 * lib/remote.exp (standard_file): The [ operator does not actually
3283 output anything. It returns 0 or 1 as its exit code, so "exit `[
3284 -f $file ]`" always expands to "exit " (equivalent to exit 0).
3285 Instead, use test(1) to check for file existence.
3287 2015-12-20 Ben Elliston <bje@gnu.org>
3289 * doc/dejagnu.xml: Begin overhauling.
3290 * doc/ref.xml: Likewise.
3291 * doc/user.xml: Likewise.
3292 * doc/dejagnu.texi: Regenerate.
3294 2015-12-20 Ben Elliston <bje@gnu.org>
3296 * doc/runtest.1: Miscellaneous minor improvements.
3298 2015-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
3300 * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
3301 * Makefile.in: Regenerate.
3303 2015-11-16 Brooks Moses <bmoses@google.com>
3305 * config/unix.exp: Add ability to set test timeout from site.exp.
3306 * doc/user.xml: Document new test_timeout variable in site.exp.
3307 * doc/dejagnu.texi: Regenerate.
3309 2015-11-16 Ben Elliston <bje@gnu.org>
3311 * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
3313 2015-11-16 Ben Elliston <bje@gnu.org>
3315 * testsuite/runtest.all/options.exp: Remove some commented code.
3317 2015-11-16 Ben Elliston <bje@gnu.org>
3319 * runtest.exp: Refer to "DejaGnu version", not "Framework
3320 version" in --version output.
3321 * testsuite/runtest.all/options.exp: Update test case.
3323 2015-11-14 Ben Elliston <bje@gnu.org>
3325 * runtest.exp (usage): Improve help text.
3327 2015-11-12 Ben Elliston <bje@gnu.org>
3329 * runtest.exp (usage): Sort options in usage.
3331 2015-11-12 Ben Elliston <bje@gnu.org>
3333 * lib/framework.exp (note): Remove old commented-out code.
3335 2015-11-11 Ben Elliston <bje@gnu.org>
3337 * doc/user.xml (Summary File): 'untested', not 'runtested'.
3338 * doc/dejagnu.texi: Regenerate.
3340 2015-11-11 Michael Forney <forney@google.com>
3342 * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
3344 2015-11-11 Ben Elliston <bje@gnu.org>
3346 * doc/dejagnu.texi: Regenerate.
3348 2015-11-10 Ben Elliston <bje@gnu.org>
3350 * doc/user.xml: Fix runtest output formatting in <programlisting>.
3352 2015-11-10 Ben Elliston <bje@gnu.org>
3354 * doc/dejagnu.xml: Update month and year.
3355 * doc/user.xml: Lots of editorial fixes from Daniel Thibault
3356 <Daniel.Thibault@drdc-rddc.gc.ca>.
3358 2015-09-10 Robert Suchanek <Robert.Suchanek@imgtec.com>
3360 * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
3362 2015-07-30 Pedro Alves <palves@redhat.com>
3364 * lib/remote.exp (close_wait_program): New procedure.
3365 (local_exec, standard_close): Use it.
3367 2015-05-23 Ben Elliston <bje@gnu.org>
3369 * doc/dejagnu.xml: Fix broken URLs.
3370 * doc/dejagnu.texi: Regenerate.
3372 2015-05-23 Ben Elliston <bje@gnu.org>
3374 * doc/user.xml: Fix 'crosscompilation'.
3376 2015-05-23 Ben Elliston <bje@gnu.org>
3378 * doc/runtest.1 (log_dialog): Improve documentation.
3380 2015-05-16 Filipe Brandenburger <filbranden@google.com>
3382 * configure.ac: Enable subdir-objects, require automake 1.14.
3383 * Makefile.in: Regenerate.
3385 2015-05-15 Filipe Brandenburger <filbranden@google.com>
3387 * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
3388 possibly introduced in a conversion of .texi to SGML Docbook.
3389 * doc/user.xml: Likewise.
3390 * doc/ref.xml: Likewise.
3391 * doc/dejagnu.texi: Regenerate.
3393 2015-05-15 Filipe Brandenburger <filbranden@google.com>
3395 * runtest.exp (runtest): Introduce new --log_dialog option.
3396 * doc/runtest.1: Document it.
3397 * doc/user.xml: Likewise.
3398 * doc/dejagnu.texi: Regenerate.
3400 2015-05-14 Steve Ellcey <sellcey@imgtec.com>
3402 * baseboards/multi-sim.exp (get_library_dirlist): New.
3403 (dynamic_linker_flag): Use get_library_dirlist to find dynamic
3405 (rpath_flags): Use get_library_dirlist to set rpath.
3407 2015-05-12 Steve Ellcey <sellcey@imgtec.com>
3409 * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
3411 2015-03-30 Ben Elliston <bje@gnu.org>
3413 Revert the following change which causes breakage reported here:
3414 https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
3416 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3418 * runtest.exp (runtest): Call reset_vars at initialisation so that
3419 perror does not affect test results in other test scripts.
3421 2015-02-26 H.J. Lu <hjl.tools@gmail.com>
3423 * lib/target.exp (default_target_compile): Prepend multilib_flags,
3424 instead of appending it.
3426 2015-02-18 Ben Elliston <bje@gnu.org>
3428 * lib/framework.exp (log_and_exit): Set tool to "testrun" if
3431 2015-02-05 Ben Elliston <bje@gnu.org>
3433 * doc/runtest.1: Fix a spelling error.
3435 2015-02-04 Ben Elliston <bje@gnu.org>
3437 * config.guess: Update to version 2015-01-01.
3438 * config.sub: Likewise.
3440 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
3442 * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
3443 * Makefile.in: Regenerate.
3444 * baseboards/visium-sim.exp: New file.
3446 2014-11-25 Ben Elliston <bje@gnu.org>
3448 * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
3449 Reported by David Malcolm.
3451 2014-10-28 Ben Elliston <bje@gnu.org>
3453 * Makefile.in: Regenerate.
3455 2014-10-28 Ben Elliston <bje@gnu.org>
3457 * example: Remove stale examples.
3459 2014-10-24 Steve Ellcey <sellcey@mips.com>
3461 * dejagnu.h (pass): Make function static as well as inline.
3466 (unresolved): Ditto.
3470 2014-10-14 Ben Elliston <bje@gnu.org>
3472 * runtest.exp: Only match $directory, not *${directory}* when the
3473 user passes the --directory option. Reported by Sergey Alyoshin.
3475 2014-10-14 Ben Elliston <bje@gnu.org>
3477 * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
3478 is not the right command keyword -- it is full_buffer. Reported by
3481 2014-07-15 Maciej W. Rozycki <macro@mips.com>
3482 Maciej W. Rozycki <macro@codesourcery.com>
3484 * lib/targetdb.exp (add_board_info): New procedure.
3485 * doc/ref.xml (Add_board_info Procedure): New section.
3486 (Set_board_info Procedure): Add description.
3487 (Unset_board_info Procedure): Likewise.
3488 * doc/user.xml (Board Config File Values): Add `add_board_info'
3489 reference. Reorder `gdb_init_command' table rows and remove a
3490 duplicate entry, reusing it for `gdb_init_commands'.
3492 2014-06-25 Rob Savoye <rob.savoye@linaro.org>
3494 * runtest.exp: (lookfor-file): Fix bug were none of the relative
3495 paths were actually being used for file lookup.
3497 2014-06-06 Ben Elliston <bje@gnu.org>
3499 * depcomp, install-sh, missing: Update to latest versions.
3500 * mkinstalldirs: Remove.
3501 * Makefile.in: Regenerate.
3503 2014-06-04 Ben Elliston <bje@gnu.org>
3505 * Makefile.in: Regenerate with Automake 1.14.1.
3506 * compile: Add missing file.
3508 2014-06-04 Ben Elliston <bje@gnu.org>
3510 * config.guess: Update to version 2014-03-23.
3511 * config.sub: Likewise.
3513 2014-06-04 Ben Elliston <bje@gnu.org>
3515 * aclocal.m4: Regenerate with Automake 1.14.1.
3516 * configure: Regenerate with Autoconf 2.69.
3518 2014-03-15 Steve Ellcey <sellcey@mips.com>
3520 * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
3522 2014-02-23 Steve Ellcey <sellcey@mips.com>
3523 Richard Sandiford <rdsandiford@googlemail.com>
3525 * config/sim.exp (sim_exec): New.
3528 2013-12-08 Richard Sandiford <rdsandiford@googlemail.com>
3530 * lib/dg.exp (dg-test): Don't put the expected and actual output
3531 of a pattern test in the test name; send it to the log instead.
3533 2013-11-01 Steve Ellcey <sellcey@mips.com>
3535 * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
3536 * Makefile.in: Regenerate.
3537 * baseboards/multi-sim.exp: New.
3539 2013-10-31 Anton Kolesov <anton.kolesov@synopsys.com>
3541 * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
3542 (remote_reboot): Add comment explaining return value of this procedure.
3543 * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
3544 * doc/dejagnu.texi: Regenerate.
3546 2013-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
3548 * baseboards/androideabi.exp (process_multilib_options): Add option.
3549 * config/adb.exp: Remove hardcoded -static option.
3550 (adb_load): Add the possibility to change the temp directory. Also
3551 handle permission potential problems.
3552 (adb_exec): Do cd to android_tmp_dir first.
3554 2013-10-05 Jose E. Marchesi <jose.marchesi@oracle.com>
3556 * baseboards/unix.exp: Add gdb settings to not use hardware
3557 watchpoints in sparc64 running GNU/Linux.
3559 2013-06-17 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3561 * runtest.exp (libdirs): New global variable.
3562 (load_lib): Append libdirs to search_and_load_files directories.
3563 * doc/ref.xml (load_lib): Document global variable libdirs.
3564 * doc/dejagnu.texi: Regenerate.
3565 * testsuite/runtest.all/load_lib.exp: New testcase.
3566 * Makefile.am (TESTSUITE_FILES): Add new testcase.
3567 * Makefile.in: Regenerate.
3569 2013-06-15 Ben Elliston <bje@gnu.org>
3571 * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3572 * Makefile.am: Export DEJAGNU.
3573 * configure: Likewise.
3574 * Makefile.in: Regenerate.
3576 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3578 * doc/user.xml: Fix typos.
3579 * doc/ref.xml: Likewise.
3580 * doc/dejagnu.texi: Regenerate.
3582 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3584 * doc/user.xml: Fix number of columns in table.
3585 * doc/dejagnu.texi: Regenerate.
3587 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3589 * doc/user.xml: Fix rendering errors around programlisting.
3590 * doc/ref.xml: Likewise.
3591 * doc/dejagnu.texi: Regenerate.
3593 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3595 * doc/user.xml: Fix spacing before productname.
3596 * doc/dejagnu.texi: Regenerate.
3598 2013-06-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3600 * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3601 magic "args" parameter name, as expect send_log proc accepts -- as
3604 2013-06-08 Makoto Fujiwara <makoto@ki.nu>
3606 * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3607 (config_DATA): Likewise for config_SCRIPTS.
3608 (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3609 (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3611 * Makefile.in: Regenerate.
3613 2013-06-08 Ben Elliston <bje@gnu.org>
3615 * configure: Regenerate with autoconf 2.69.
3616 * aclocal.m4: Regenerate.
3618 2013-03-31 Ben Elliston <bje@gnu.org>
3620 * Makefile.am (html-local): Rename target from html.
3621 * Makefile.in: Regenerate with automake 1.12.6.
3622 * aclocal.m4: Likewise.
3623 * configure: Regenerate.
3625 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3627 * TODO: Remove todo item about warncnt and errcnt.
3629 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3631 * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3633 2013-03-26 Ben Elliston <bje@gnu.org>
3635 * config.guess: Update to version 2013-02-12.
3636 * config.sub: Likewise.
3638 2013-02-16 Rob Savoye <rob@build.welcomehome.org>
3640 * config/adb.exp: Add adb_file so we can remotely delete test
3641 cases to save on limited disk space. Don't remove the file after
3642 executing it, leave that for the test driver instead.
3644 2013-02-15 Rob Savoye <rob@welcomehome.org>
3646 * config/adb.exp: Remove the test case after executing
3647 it. Otherwise we can fill up all the diskspace on a small target
3650 2013-02-11 Rob Savoye <rob@welcomehome.org>
3652 * baseboards/androideabi.exp: Board support for Android using ADB.
3653 * config/adb.exp: Config support for Android using ADB.
3654 * Makefile.am (dist): Add new config and board files.
3655 * aclocal.m4, Makefile.in, configure, example/calc/configure,
3656 example/mathhelper/configure: Regenerated with newer autotools.
3658 2012-12-05 Ben Elliston <bje@gnu.org>
3660 * example/hello: Remove.
3661 * configure.ac: Likewise.
3662 * configure: Regenerate.
3664 2012-10-04 Steve Ellcey <sellcey@mips.com>
3666 * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3667 * Makefile.in: Regenerate.
3668 * baseboards/mips-sim-mti32.exp: New.
3669 * baseboards/mips-sim-mti64.exp: New.
3670 * baseboards/mips-sim-mti64_n32.exp: New.
3671 * baseboards/mips-sim-mti64_64.exp: New.
3672 * baseboards/mips-sim-sde32.exp: New.
3673 * baseboards/mips-sim-sde64.exp: New.
3675 2012-10-04 Ben Elliston <bje@gnu.org>
3677 * aclocal.m4: Regenerate with automake 1.11.3.
3678 * Makefile.in: Likewise.
3679 * configure: Regenerate with autoconf 2.68.
3681 2012-08-22 Steve Ellcey <sellcey@mips.com>
3683 * baseboards/generic-sim.exp: New baseboard definition.
3685 2012-06-15 Andreas Schwab <schwab@linux-m68k.org>
3687 * lib/framework.exp (clone_output): Protect from leading dash in
3689 * runtest.exp (verbose): Likewise.
3691 2012-06-11 Tom Tromey <tromey@redhat.com>
3693 * doc/runtest.1: Update.
3694 * runtest.exp (xml_file_name): New global.
3696 Handle optional argument to --xml.
3697 * lib/framework.exp (open_logs): Respect xml_file_name.
3699 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3701 * runtest.exp (load_tool_init): Fix typo in -de option handling.
3703 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3705 * doc/runtest.1: Correct name of debug file.
3707 2012-02-25 Ben Elliston <bje@gnu.org>
3709 * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3710 for runtest.exp as a last resort (for usrmove environments, where
3711 /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3713 2011-12-30 Ben Elliston <bje@gnu.org>
3715 * doc/user.xml: Various spelling and consistency fixes.
3716 * doc/ref.xml: Likewise.
3717 (exit_remote_shell): Remove, as this procedure is defunct.
3718 * doc/dejagnu.texi: Regenerate.
3720 2011-12-30 Ben Elliston <bje@gnu.org>
3722 * config.guess: Update to version 2011-12-29.
3723 * config.sub: Update to version 2011-11-11.
3725 2011-06-30 Tom Tromey <tromey@redhat.com>
3727 * doc/ref.xml: Document find_gfortran.
3728 * doc/dejagnu.texi: Regenerate.
3729 * lib/target.exp (default_target_compile): Handle f90.
3730 (default_target_compile): Likewise.
3731 * lib/libgloss.exp (find_gfortran): New proc.
3733 2011-06-30 Ben Elliston <bje@gnu.org>
3735 * Makefile.am (all-local): New rule.
3736 * Makefile.in: Regenerate.
3738 2011-04-12 Ben Elliston <bje@gnu.org>
3740 * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3741 rm", for better portability.
3742 * config/netware.exp (${board}_load): Likewise.
3743 * lib/dg.exp (dg-test): Likewise.
3744 * lib/framework.exp (open_logs): Likewise.
3745 * lib/remote.exp (standard_file): Likewise.
3746 * runtest.exp: Likewise.
3747 * testsuite/runtest.all/options.exp: Likewise.
3749 2011-03-15 Ben Elliston <bje@gnu.org>
3751 * runtest.exp: Whitespace cleanups.
3752 * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3753 lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3754 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3756 2011-03-15 Ben Elliston <bje@gnu.org>
3758 * runtest: Remove trailing semicolons.
3759 * lib/rsh.exp: Likewise.
3761 2011-03-15 H.J. Lu <hjl.tools@gmail.com>
3763 * lib/remote.exp (local_exec): Ignore SIGHUP.
3765 2011-03-14 Ben Elliston <bje@gnu.org>
3767 * runtest.exp (frame_version): Set to 1.5.1.
3768 * configure.ac (AC_INIT): Set version to 1.5.1.
3769 * configure: Regenerate.
3770 * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3771 * doc/dejagnu.texi: Regenerate.
3773 2011-03-14 Ben Elliston <bje@gnu.org>
3775 * dejagnu.h: Whitespace cleanups.
3777 2011-03-14 Ben Elliston <bje@gnu.org>
3779 * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3780 * baseboards/mt-sid.exp: Likewise.
3781 * baseboards/tx39-sim.exp: Likewise.
3782 * lib/target.exp (default_target_compile): Likewise.
3784 2011-03-14 Ben Elliston <bje@gnu.org>
3786 Reported by Flash Sheridan <flash@pobox.com>:
3787 * doc/user.xml (Testing "Hello world" locally): Improve the
3788 example test script and make it robust to failures. Tidy some
3790 * doc/dejagnu.texi: Regenerate.
3792 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3794 * runtest.exp (runtest): Call reset_vars at initialisation so that
3795 perror does not affect test results in other test scripts.
3797 2011-03-09 Ben Elliston <bje@gnu.org>
3799 * NEWS: Start a new section for post-1.5 changes.
3801 2011-03-09 Ben Elliston <bje@gnu.org>
3803 * DejaGnu 1.5 released.
3805 2011-03-09 Ben Elliston <bje@gnu.org>
3807 * Makefile.am (DISTCLEANFILES): Define.
3808 * Makefile.in: Regenerate.
3809 * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3810 * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3811 * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3812 mkdir" instead of exec'ing mkdir(1).
3814 2011-03-07 Ben Elliston <bje@gnu.org>
3816 * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3817 * Makefile.in: Regenerate.
3819 2011-03-06 Ben Elliston <bje@gnu.org>
3821 * configure.ac (AC_INIT): Set version to 1.5.
3822 * configure: Regenerate.
3823 * runtest.exp (frame_version): Set to 1.5.
3824 * doc/dejagnu.texi: Regenerate.
3826 2011-03-04 Ben Elliston <bje@gnu.org>
3828 * texinfo.tex: Import latest version from ftp://tug.org/tex.
3830 2011-03-04 Ben Elliston <bje@gnu.org>
3832 * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3833 * Makefile.in: Regenerate.
3835 2011-03-03 Ben Elliston <bje@gnu.org>
3837 * Makefile.am: Bump to GPL version 3.
3838 * configure.ac: Likewise.
3839 * Makefile.in: Regenerate.
3840 * aclocal.m4: Likewise.
3841 * configure: Likewise.
3843 2011-03-03 Ben Elliston <bje@gnu.org>
3845 * config.guess: Update to most recent version.
3846 * config.sub: Likewise.
3848 2011-03-03 Ben Elliston <bje@gnu.org>
3850 * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3851 proc to ::tcl_unknown. If ::tcl_unknown returns a failure result,
3852 then fall back to the conventional DejaGnu handling. Report from
3853 David Byron <dbyron@dbyron.com>.
3855 2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
3857 * lib/remote.exp (remote_expect): Pass all exception conditions up
3860 2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3862 * lib/dg.exp (dg-test): Support nested calls.
3864 2010-04-13 Ben Elliston <bje@gnu.org>
3866 * testglue.c: Remove duplicated prototypes for abort and exit.
3868 2010-03-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3870 * doc/user.xml (Tcl Variables For Command Line Options): Correct
3873 2010-01-21 Jie Zhang <jie.zhang@analog.com>
3875 * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3877 2010-01-15 Anthony Green <green@moxielogic.com>
3879 * baseboards/moxie-sim.exp: New baseboard.
3881 2009-12-10 DJ Delorie <dj@redhat.com>
3883 * baseboards/rx-sim.exp: New baseboard.
3885 2009-10-15 Ben Elliston <bje@gnu.org>
3887 * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3888 This web page has disappeared.
3890 2009-07-06 Ben Elliston <bje@gnu.org>
3892 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3893 <option> not <emphasis>. Apply other grammatical fixes from
3895 * doc/dejagnu.texi: Regenerate.
3897 2009-07-06 Ben Elliston <bje@gnu.org>
3899 * configure.ac: Check for docbook2x-texi.
3900 * configure: Regenerate.
3902 2009-07-06 Ben Elliston <bje@gnu.org>
3904 From Reuben Thomas <rrt@sc3d.org>:
3905 * doc/runtest.1: Fix some formatting issues.
3907 2009-06-16 Ben Elliston <bje@gnu.org>
3909 * config.guess: Update to most recent version.
3910 * config.sub: Likewise.
3912 2009-06-16 Ben Elliston <bje@gnu.org>
3914 * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3915 * Makefile.in: Regenerate.
3916 * packaging: Remove directory and its contents.
3918 2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
3920 * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3923 2008-12-03 Ben Elliston <bje@gnu.org>
3925 * COPYING: Update to GPL version 3.
3927 2008-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3929 * doc/ref.xml, doc/user.xml: Fix typos.
3930 * doc/dejagnu.texi: Regenerate.
3932 2008-04-06 Daniel Jacobowitz <drow@false.org>
3934 * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3935 * Makefile.in: Regenerate.
3936 * dejagnu.exp (host_execute): Improve regexp matching.
3937 * testsuite/libdejagnu/unit.cc: C++ fixes.
3939 2008-04-06 Daniel Jacobowitz <drow@false.org>
3941 * lib/utils.exp (diff): Open both files as binary.
3943 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3945 * dejagnu.h (totals): Correct typos.
3947 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3949 * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3950 * doc/dejagnu.texi: Regenerate.
3952 2008-02-25 Ben Elliston <bje@gnu.org>
3954 * doc/runtest.1: Update date of last revision.
3956 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3958 * baseboards/h8300.exp: Use -- before switch argument that may
3960 * baseboards/cris-sim.exp: Ditto.
3962 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3964 * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3965 iq2000-sim.exp and m32r-linux-sim.exp.
3966 * Makefile.in: Regenerate.
3968 2008-02-08 Ben Elliston <bje@gnu.org>
3970 * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3972 2007-12-28 Joseph Myers <joseph@codesourcery.com>
3974 * lib/target.exp (default_link): Initialize nobjects before use.
3976 2007-12-06 Ben Elliston <bje@gnu.org>
3978 * lib/dg.exp (dg_bogus): Comment fix.
3980 2007-10-31 DJ Delorie <dj@redhat.com>
3982 * lib/framework.exp (open_logs): Line buffer the .sum file.
3984 2007-09-04 Matt Kraai <kraai@ftbfs.org>
3986 * doc/user.xml (Configuration): Fix typos.
3987 * doc/dejagnu.texi: Regenerate.
3989 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
3991 * lib/remote.exp (standard_send): Correct quoting.
3993 2007-05-17 Ben Elliston <bje@gnu.org>
3995 * doc/user.xml: Correct the syntax for running apt-get on a Debian
3996 GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
3998 2007-04-30 Bob Wilson <bob.wilson@acm.org>
4000 * baseboards/xtensa-sim.exp: Set target_install. Stop using
4001 basic-sim.exp. Run the simulator with --turbo option. Replace
4002 needs_status_wrapper with the simulator's --exit_with_target_code
4005 2006-10-15 Rob Savoye <rob@bertha.welcomehome.org>
4007 * dejagnu.h: Add support for for expected failures and
4008 unexpected successes.
4010 2005-05-06 Andrew Fyfe <a.fyfe@tiscali.co.uk>
4012 * doc/Makefile.am: Fix install path for man page.
4013 * Makefiles: Regenerated.
4015 2006-08-29 Ben Elliston <bje@gnu.org>
4017 * runtest.exp (usage): Use "triplet" instead of "config name".
4019 2006-07-13 Daniel Jacobowitz <dan@codesourcery.com>
4021 * Makefile.am (DOCBOOK2RTF): Fix typo.
4022 * Makefile.in: Regenerated.
4023 * lib/libgloss.exp (process_multilib_options): Use -- to handle
4024 options starting with hyphens.
4026 2006-06-23 Eric Botcazou <ebotcazou@adacore.com>
4028 * libgloss.exp (find_gnatmake): Rewrite.
4030 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4032 * rsh.exp (rsh_exec): Handle inp and outp arguments. Use
4033 local_exec to run rsh. Return failure if rsh times out.
4034 * remote.exp (local_exec): Handle "|& cat" we added when deciding
4035 whether to return output.
4037 2006-06-09 Ben Elliston <bje@gnu.org>
4039 * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
4040 multiple cases, not a list (case uses lists, switch does not).
4041 Pass -glob to switch where applicable to emulate case behaviour.
4042 * baseboards/h8300.exp: Likewise.
4043 * lib/framework.exp (clone_output): Likewise.
4044 (clear_xfail): Likewise.
4045 (clear_kfail): Likewise.
4046 * lib/libgloss.exp (process_multilib_options): Likewise.
4047 * runtest.exp: Likewise.
4049 2006-06-06 Ben Elliston <bje@gnu.org>
4051 * Makefile.am (CONTRIB): New.
4052 (EXTRA_DIST): Add $(CONTRIB).
4053 (doc/dejagnu.texi): Set directory-category param to docbook2texi.
4054 * Makefile.in: Regenerate.
4055 * doc/dejagnu.texi: Likewise.
4057 2006-06-06 Ben Elliston <bje@gnu.org>
4059 * runtest.exp (load_lib): Typo fix.
4061 2006-06-06 Ben Elliston <bje@gnu.org>
4063 * dejagnu.h: Tidy comments.
4064 (_BUFFER_SIZE_): Remove to minimise namespace pollution.
4065 (wait): Define this function unconditionally. Conditionally
4066 compile the function body if _DEJAGNU_WAIT_ is defined.
4067 (buffer): Set the buffer size explicitly.
4068 (pass): Use sizeof (buffer). Call wait() unconditionally.
4069 (fail, untested, unresolved, note): Likewise.
4070 (enum teststate): Tidy whitespace.
4072 2006-06-06 Ben Elliston <bje@gnu.org>
4074 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
4075 * doc/dejagnu.texi: Regenerate.
4077 2006-06-06 Ben Elliston <bje@gnu.org>
4079 Import from GCC tree:
4080 2006-06-02 Richard Earnshaw <rearnsha@arm.com>
4081 Mike Stump <mrs@apple.com>
4083 * compare_tests: Handle multilibs better.
4085 2006-06-06 Ben Elliston <bje@gnu.org>
4087 * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
4089 * configure.ac: Check for docbook2texi, not docbook2x-texi. The
4090 wrapper script changed its name again in the latest release.
4091 * configure: Regenerate.
4092 * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
4093 (DOCBOOK2TEXI): .. to this.
4094 (doc/dejagnu.texi): Do not use output-file parameter to deposit
4095 the .texi file into the source directory; use mv(1) instead. Set
4096 directory-description parameter.
4097 * Makefile.in: Likewise.
4099 2006-06-02 Ben Elliston <bje@gnu.org>
4101 * config/sim.exp (sim_upload): Match up argument names.
4103 2006-06-02 Ben Elliston <bje@gnu.org>
4105 * config.guess: Update to most recent version.
4106 * config.sub: Likewise.
4108 2006-06-02 Ben Elliston <bje@gnu.org>
4110 * config/dos.exp (dos_open): Only run global board_info once at
4111 the beginning of the proc; remove duplicates.
4112 (dos_load): Use file join to separate path components.
4113 (dos_copy_upload): Likewise.
4114 * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
4117 2006-06-02 Ben Elliston <bje@gnu.org>
4119 * contrib/compare_tests: Import from the GCC contrib directory.
4121 2006-05-24 Ben Elliston <bje@gnu.org>
4123 * runtest.exp (verbose): Brace some expressions.
4124 (load_file, search_and_load_file): Likewise.
4125 (runtest): Likewise.
4127 2006-05-23 Ben Elliston <bje@gnu.org>
4129 * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
4130 * config/i960.exp (i960_spawn): Initialise status.
4131 * config/netware.exp (${board}_init): Brace some if expressions.
4132 * lib/dg.exp (dg-test): Brace some expressions.
4133 * lib/framework.exp (clone_output, log_and_exit, log_summary,
4134 record_test, pass, fail): Likewise.
4135 * lib/libgloss.exp (get_multilibs): Likewise.
4136 * lib/remote.exp (standard_transmit, unix_clean_filename,
4137 remote_load, check_for_board_status, remote_expect): Likewise.
4138 * lib/rsh.exp (rsh_exec): Likewise.
4140 2006-05-22 Ben Elliston <bje@gnu.org>
4142 * baseboards/cris-sim.exp: Use switch, not case.
4143 * baseboards/h8300.exp: Likewise.
4144 * config/base68k.exp (base68k_ld): Brace an if expression.
4146 2006-05-22 Ben Elliston <bje@gnu.org>
4148 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
4149 baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
4150 baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
4151 baseboards/mmixware-sim.exp, baseboards/op50n.exp,
4152 baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
4153 baseboards/usparc-cygmon.exp, config/base-config.exp,
4154 config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
4155 config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
4156 config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
4157 config/netware.exp, config/sid.exp, config/sim.exp,
4158 config/tic80.exp, config/unix.exp, config/vxworks.exp,
4159 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
4160 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
4161 lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
4162 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
4163 expressions throughout.
4165 2006-05-22 Ben Elliston <bje@gnu.org>
4167 * lib/framework.exp (open_logs): Use file join where applicable.
4168 * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
4169 newlib_include_flags, g++_link_flags, libstdc++_link_flags,
4170 get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
4171 * lib/utils.exp (which): Likewise.
4172 * runtest.exp (search_and_load_file, lookfor_file,
4173 load_tool_init): Likewise.
4175 * lib/debugger.exp (watcharray): Add `array' parameter. Rename
4176 `type' parameter to `op' and update all uses in the proc.
4177 (watchvar): Add `ignore' parameter for scalar variables.
4178 Likewise, rename `type' to `op' and update throughout the proc.
4180 * runtest.exp: Use switch, not case.
4181 * lib/framework.exp (clone_output): Likewise.
4182 (clear_xfail): Likewise.
4183 (clear_kfail): Likewise.
4184 (set_warning_threshold): Make warning_threshold global.
4185 (get_warning_threshold): Likewise.
4186 * lib/libgloss.exp (process_multilib_options): Use switch, not
4188 * lib/remote.exp (local_exec): Only run global errorInfo once.
4189 (standard_upload): Fix error in variable use ($file -> $srcfile).
4190 * lib/utils.exp (grep): Use switch, not case.
4191 (slay): Fix mismatched bracket.
4193 * lib/debugger.exp (watcharray): Use switch, not case.
4194 (watchvar): Likewise.
4195 (bt): Add an explanatory comment.
4197 2006-04-03 Ben Elliston <bje@gnu.org>
4199 * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
4200 lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
4201 lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
4203 2006-01-02 Ben Elliston <bje@gnu.org>
4205 * configure.ac (AC_INIT): Set version to 1.4.99.
4206 * configure: Regenerate.
4208 2006-01-01 Ben Elliston <bje@gnu.org>
4210 * testsuite/runtest.all/utils.test: Add runtest_file_p.
4212 2006-01-01 Ben Elliston <bje@gnu.org>
4214 * runtest.exp (frame_version): Set to 1.4.99.
4216 2006-01-01 Ben Elliston <bje@gnu.org>
4218 * dejagnu.h: Update copyright notice. Use C-style /* .. */
4219 comments for portability with ISO C compilers.
4220 * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
4222 2006-01-01 Ben Elliston <bje@gnu.org>
4224 * runtest.exp: Update copyright notice.
4225 * example/calc/testsuite/calc.test/calc.exp: Likewise.
4226 * example/calc/testsuite/config/unix.exp: Likewise.
4227 * testsuite/libdejagnu/tunit.exp: Likewise.
4228 * testsuite/runtest.all/libs.exp: Likewise.
4229 * testsuite/runtest.all/options.exp: Likewise.
4230 * testsuite/runtest.all/stats-sub.exp: Likewise.
4231 * testsuite/runtest.all/stats.exp: Likewise.
4233 2006-01-01 Ben Elliston <bje@gnu.org>
4235 * config/default.exp, config/unix.exp, config/vxworks.exp,
4236 lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
4237 lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
4239 * dejagnu.h, testsuite/config/default.exp,
4240 testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
4241 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
4242 testsuite/runtest.all/options.exp,
4243 testsuite/runtest.all/stats-sub.exp,
4244 testsuite/runtest.all/stats.exp: Update copyright notice and FSF
4245 office address. Remove bug reporting address, as it is now
4246 maintained centrally in the README file.
4248 2005-12-31 Ben Elliston <bje@gnu.org>
4250 * testsuite/runtest.all/utils.test: Don't bother mentioning
4251 absolute, psource, prune and slay as untested procedures.
4253 2005-12-31 Ben Elliston <bje@gnu.org>
4255 * doc/ref.xml (Utility Procedures): Note that the following
4256 procedures are deprecated: absolute, psource, prune, slay.
4258 * doc/dejagnu.texi: Regenerate.
4260 2005-12-24 Ben Elliston <bje@gnu.org>
4262 * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
4263 case the command fails and zeroes the Texinfo source file. Move
4264 the output (if successful) by its default filename using mv(1).
4265 * Makefile.in: Regenerate.
4267 2005-12-24 Ben Elliston <bje@gnu.org>
4269 * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
4270 * configure: Regenerate.
4271 * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
4272 (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
4273 (dejagnu.pdf): Use $(DOCBOOK2PDF).
4274 (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
4275 (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
4276 (html): Likewise, use $(DOCBOOK2HTML).
4277 (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
4278 which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
4279 * Makefile.in: Regenerate.
4281 2005-12-24 Ben Elliston <bje@gnu.org>
4283 * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
4284 (XML): Remove $(srcdir) from each filename; VPATH suffices.
4285 (PACKAGING_METAFILES): Remove.
4286 * Makefile.in: Regenerate.
4288 2005-12-24 Ben Elliston <bje@gnu.org>
4292 2005-12-24 Ben Elliston <bje@gnu.org>
4296 2005-12-24 Ben Elliston <bje@gnu.org>
4298 * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
4301 2005-12-24 Ben Elliston <bje@gnu.org>
4303 * Makefile.am (RUNTEST): Simplify, as Automake already generates
4304 similar logic in Makefile.in.
4305 * Makefile.in: Regenerate.
4307 2005-12-24 Ben Elliston <bje@gnu.org>
4309 * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
4310 libdejagnu tests are run too.
4311 * Makefile.in: Regenerate.
4313 2005-12-24 Ben Elliston <bje@gnu.org>
4315 * configure: Regenerate.
4317 * lib/remote.exp: Tidy.
4318 * lib/targetdb.exp: Likewise.
4319 * lib/target.exp (prune_warnings): Improve comments.
4320 * lib/dejagnu.exp: Likewise.
4321 * lib/utils.exp: Likewise.
4325 2005-12-24 Ben Elliston <bje@gnu.org>
4327 * doc/dejagnu.xml: Don't use apostrophes in section titles.
4328 * doc/dejagnu.texi: Regenerate.
4330 2005-12-24 Ben Elliston <bje@gnu.org>
4332 * Makefile.am (XML): Include $(srcdir) in filenames.
4333 * Makefile.in: Regenerate.
4335 2005-12-24 Ben Elliston <bje@gnu.org>
4337 * doc/C/Makefile.am: Remove.
4338 * doc/C/Makefile.in: Likewise.
4340 * Makefile.am (SUBDIRS): Remove.
4341 (EXTRA_DIST): Append $(XML).
4342 (dist_man_MANS): Define.
4343 (info_TEXINFOS): Likewise.
4344 (XML): List XML source files.
4345 (dejagnu.pdf): New target.
4346 (dejagnu.ps): Likewise.
4347 (dejagnu.rtf): Likewise.
4349 (dejagnu.texi): Special rule to build Texinfo source.
4350 * Makefile.in: Regenerate.
4351 * configure.ac: Don't search for docbook2dvi.
4352 Search for docbook2rtf and docbook2pdf.
4353 Don't output doc/Makefile or doc/C/Makefile.
4354 * configure: Regenerate.
4355 * doc/texinfo.tex: Move from here ..
4356 * texinfo.tex: .. to here.
4357 * doc/Makefile.am: Remove.
4358 * doc/Makefile.in: Likewise.
4359 * doc/C/dejagnu.omf: Likewise.
4360 * doc/C/topic.dat: Likewise.
4361 * doc/C/dejagnu.xml: Move from here ..
4362 * doc/dejagnu.xml: .. to here.
4363 * doc/C/legal.xml: Move from here ..
4364 * doc/legal.xml: .. to here.
4365 * doc/C/ref.xml: Move from here ..
4366 * doc/ref.xml: .. to here.
4367 * doc/C/user.xml: Move from here ..
4368 * doc/user.xml: .. to here.
4369 * doc/dejagnu.texi: Rebuild from XML source.
4371 2005-12-23 Ben Elliston <bje@gnu.org>
4373 * doc/runtest.1: Update manual page.
4375 2005-12-23 Ben Elliston <bje@gnu.org>
4377 * doc/overview.sgml: Remove in favour of XML versions.
4378 * doc/ref.sgml: Ditto.
4379 * doc/user.sgml: Ditto.
4380 * doc/texinfo.tex: Import new version.
4382 2005-12-20 Ben Elliston <bje@gnu.org>
4384 * Makefile.am (SUBDIRS): Remove testsuite, example.
4385 (EXTRA_DIST): Add $(TESTSUITE_FILES).
4386 (TESTSUITE_FILES): New.
4387 (RUNTEST, RUNTESTDEFAULTFLAGS): New.
4389 (check_PROGRAMS): New.
4390 (unit_SOURCES): New.
4391 * Makefile.in: Regenerate.
4392 * configure.ac (AC_OUTPUT): Don't output example/Makefile,
4393 testsuite/Makefile or testsuite/libdejagnu/Makefile.
4394 * configure: Regenerate.
4395 * testsuite/Makefile.am: Remove.
4396 * testsuite/Makefile.in: Likewise.
4397 * testsuite/libdejagnu/Makefile.am: Likewise.
4398 * testsuite/libdejagnu/Makefile.in: Likewise.
4400 2005-12-20 Ben Elliston <bje@gnu.org>
4402 * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
4403 * Makefile.in: Regenerate.
4405 2005-12-20 Ben Elliston <bje@gnu.org>
4407 * configure: Regenerate with autoconf 2.59.
4408 * aclocal.m4: Regenerate with aclocal 1.9.6.
4409 * Makefile.in: Regenerate with automake 1.9.6.
4410 * doc/Makefile.in: Likewise.
4411 * doc/C/Makefile.in: Likewise.
4412 * example/Makefile.in: Likewise.
4413 * testsuite/Makefile.in: Likewise.
4414 * testsuite/libdejagnu/Makefile.in: Likewise.
4416 2005-12-20 Nathan Sidwell <nathan@codesourcery.com>
4418 * baseboards/ms1-sid.exp: Rename from this ..
4419 * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
4421 2005-12-20 Ben Elliston <bje@gnu.org>
4423 * config.guess: Update to most recent version.
4424 * config.sub: Likewise.
4426 2005-09-24 Ben Elliston <bje@gnu.org>
4428 * packaging/pkg/pkginfo (EMAIL): Update mail address.
4430 * lib/rsh.exp: Tidy comments.
4432 2005-07-07 Ben Elliston <bje@gnu.org>
4434 * lib/telnet.exp (telnet_transmit): Remove; use standard method.
4436 2005-07-07 Ben Elliston <bje@gnu.org>
4438 * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
4439 * Makefile.in: Regenerate.
4441 2005-07-06 Ben Elliston <bje@gnu.org>
4443 * lib/tip.exp (tip_open): Improve comments.
4444 (tip_download): Likewise.
4446 2005-07-06 Ben Elliston <bje@gnu.org>
4448 * lib/telnet.exp (telnet_open): Improve option handling. Clarify
4449 documentation for each proc.
4451 2005-07-06 Ben Elliston <bje@gnu.org>
4453 * aclocal.m4: Regenerate with aclocal 1.9.
4454 * configure: Regenerate with autoconf 2.59.
4455 * doc/C/Makefile.am: Remove stray include.
4456 * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
4457 example/Makefile.in, testsuite/Makefile.in,
4458 testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
4460 2005-07-06 Ben Elliston <bje@gnu.org>
4462 Import some missing hunks from this patch on sourceware:
4464 2004-11-11 Nick Clifton <nickc@redhat.com>
4466 * lib/libgloss.exp (libio_include_flags, g++_include_flags,
4467 winsup_include_flags): Revert previous patch, restoring the use of
4468 -I, for all libraries except newlib. Newlib needs -isystem to
4469 avoid the problems with <limits.h> but the C++ and winsup
4470 libraries need -I because -isystem generates an implicit 'extern
4471 "C"' which may not be appropriate for certain targets.
4473 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
4475 * baseboards/ms1-sid.exp: New.
4477 2005-07-01 Ben Elliston <bje@gnu.org>
4479 Unify some changes with the 1.4 branch:
4481 2004-10-28 Nick Clifton <nickc@redhat.com>
4482 * baseboards/iq2000-sim.exp: New file.
4484 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4485 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4488 2004-05-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4489 * baseboards/m32r-linux-sim.exp: Add New file.
4491 2005-06-24 Ben Elliston <bje@gnu.org>
4493 * MAINTAINERS: Update my email address.
4495 2005-06-24 Ben Elliston <bje@gnu.org>
4497 * Update the FSF's physical address throughout.
4499 2005-06-22 Ben Elliston <bje@gnu.org>
4501 * config.guess: Update to most recent version.
4502 * config.sub: Likewise.
4504 2005-04-28 Mark Kettenis <kettenis@gnu.org>
4506 * lib/target.exp (prune_warnings): Add a few more linker
4507 warning patterns for OpenBSD.
4509 2005-03-20 Mark Kettenis <kettenis@gnu.org>
4511 * lib/target.exp (prune_warnings): Add linker warning patterns for
4514 2005-01-29 Hans-Peter Nilsson <hp@axis.com>
4516 * baseboards/cris-sim.exp: New file.
4518 2004-11-19 Nick Clifton <nickc@redhat.com>
4520 * lib/libgloss.exp (newlib_include_flags): Document why -isystem
4521 is used instead of -I.
4522 (libio_include_flags): Use -I instead of -isystem and
4524 (g++_include_flags): Use -I instead of -isystem.
4525 (libstdc++_include_flags): Likewise.
4527 2004-11-04 Ben Elliston <bje@gnu.org>
4529 * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
4530 mark the test as unresolved, rather than warning.
4532 2004-10-27 Nick Clifton <nickc@redhat.com>
4534 * baseboards/iq2000-sim.exp: New file.
4536 2004-08-20 Daniel Jacobowitz <dan@debian.org>
4538 * testglue.c: Prototype abort(3) and exit(3).
4540 2004-08-14 Paul Brook <paul@codesourcery.com>
4542 * config/sim.exp (sim_download, sim_upload): New procs.
4544 2004-06-30 Ben Elliston <bje@gnu.org>
4546 * config.guess: Update to current revision.
4547 * config.sub: Likewise.
4549 2004-06-12 Ben Elliston <bje@gnu.org>
4551 * config.guess: Update to current revision.
4552 * config.sub: Likewise.
4554 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4556 * testglue.c: Prototype abort and exit.
4558 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4560 * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4563 Tue Feb 25 05:19:57 UTC 2003 Brendan Conoboy <blc@@redhat.com>
4565 * lib/remote.exp (call_remote): Remove multilibs from the board
4566 name when rebooting a board.
4568 2004-06-03 Alexandre Oliva <aoliva@redhat.com>
4570 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4573 2004-06-07 Ben Elliston <bje@gnu.org>
4575 * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4577 2004-03-29 Joel Brobecker <brobecker@gnat.com>
4579 * lib/libgloss.exp (find_gnatmake): New procedure.
4580 * lib/target.exp (default_target_compile): Add support for Ada.
4582 2004-04-16 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
4584 * baseboards/m32r-linux-sim.exp: Add New file.
4586 2004-04-02 Rob Savoye <rob@direwolf.welcomehome.org>
4588 * configure.ac, example/Makefile.am: Add example/mathhelper.
4589 * configure, alocal.m4, example/Makefile.in: Regenerated.
4591 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4593 * example/mathhelper: New example for using the unit testing API.
4595 2004-03-05 Daniel Jacobowitz <drow@mvista.com>
4597 * lib/remote.exp (standard_spawn): Fix rsh username support.
4599 2004-03-06 Rob Savoye <rob@althea.welcomehome.org>
4601 * doc/C: New directory for DocBook XML files.
4602 * doc/C/dejagnu.omf: New config file for scrollkeeper.
4603 * doc/C/topic.dat: New config file for the GNOME help system.
4604 * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4606 * doc/C/ref.xml: DocBook XML formatted verion of what was
4608 * doc/C/user.xml: DocBook XML formatted verion of what was
4611 2004-02-17 Ben Elliston <bje@wasabisystems.com>
4613 * runtest.exp: Do not trap SIGSEGV.
4615 2004-02-16 Ben Elliston <bje@wasabisystems.com>
4617 * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4618 * configure: Regenerate.
4620 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4622 * doc/runtest.1: Improve some wording. Update last revision date.
4624 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4626 * NEWS: Document yesterday's work.
4628 * runtest: Improve comments.
4630 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4634 * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4636 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4638 * configure.ac: Quote strings throughout in good Autoconf style.
4639 Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4640 expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4641 existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4642 is at version 8.3 or greater.
4643 * configure: Regenerate.
4644 * acinclude.m4: Remove.
4645 * aclocal.m4: Regenerate.
4646 * Makefile.in: Likewise.
4647 * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4648 (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4649 (%.html: %.sgml): Use $(DOCBOOK2HTML).
4650 * doc/Makefile.in: Regenerate.
4651 * example/Makefile.in: Likewise.
4652 * testsuite/Makefile.in: Likewise.
4653 * testsuite/libdejagnu/Makefile.in: Likewise.
4656 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4658 * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4659 * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4660 baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4661 baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4662 baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4663 baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4664 baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4665 baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4666 baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4667 baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4668 baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4669 baseboards/vr5000-ddb.exp: Likewise.
4671 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4673 * runtest: Terminate with an error if expect cannot be found.
4676 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4678 * configure.ac: Use AC_PATH_PROG to find expect(1).
4679 (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4680 * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4681 (DJ_AC_STL): Likewise.
4682 * configure: Regenerate.
4683 * aclocal.m4: Likewise.
4684 * configure: Likewise.
4685 * Makefile.in: Likewise.
4686 * doc/Makefile.in: Likewise.
4687 * example/Makefile.in: Likewise.
4688 * testsuite/Makefile.in: Likewise.
4689 * testsuite/libdejagnu/Makefile.in: Likewise.
4692 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4694 * runtest.1: Remove any mention of mondfe.
4696 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4698 * TODO: Add an item about timeouts.
4700 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4702 * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4704 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4706 * lib/standard.exp: Tidy.
4708 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4710 * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4711 (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4712 (baseboard_SCRIPTS): Remove a29k-udi.exp.
4713 * Makefile.in: Regenerate.
4714 * baseboards/a29k-udi.exp: Remove.
4715 * baseboards/dos.exp: Update comments.
4716 * config/udi.exp: Remove.
4717 * config/vrtx.exp: Remove.
4718 * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4719 * doc/ref.sgml: Likewise.
4720 * doc/user.sgml: Likewise.
4721 * lib/mondfe.exp: Remove.
4722 * lib/xsh.exp: Likewise.
4723 * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4724 * packaging/pkg/prototype: Update.
4727 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4729 * Makefile.am (rpmspec): Remove.
4730 (rpm): Additionally depend on dejagnu.spec.
4731 ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4732 directory. This saves duplicated code in the solpkg and hpdepot
4734 (solpkg): Depend on $(PKGDIR)/dejagnu.
4735 (hpdepot): Likewise.
4736 * Makefile.in: Regenerate.
4738 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4740 * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4741 * Makefile.in: Regenerate.
4742 * testsuite/Makefile.am (CLEANFILES): Remove.
4743 (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4744 * testsuite/Makefile.in: Regenerate.
4746 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4748 * lib/util-defs.exp: Move from here ..
4749 * testsuite/lib/util-defs.exp: .. to here.
4750 * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4751 * Makefile.in: Regenerate.
4752 * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4753 * testsuite/Makefile.in: Regenerate.
4754 * doc/ref.sgml (File Map): Remove util-defs.exp.
4755 * packaging/pkg/prototype: Update file list.
4757 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4759 * NEWS: Document changes since 1.4.4.
4761 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4763 * example/Makefile.am (check-recursive): Remove target.
4764 * example/Makefile.in: Regenerate.
4766 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4768 * dejagnu.h: Conform with GNU coding standard.
4770 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4772 * Makefile.am (PKGING): Remove.
4773 (PACKAGING_METAFILES): Update accordingly.
4774 (CLEANFILES, check-DEJAGNU): Remove.
4775 (tarball): Remove; use `dist'.
4776 (deb): Update target recipe to use `make dist'.
4778 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4780 * Clean.tcl: Remove.
4782 * Makefile.am (SUBDIRS): Add testsuite, example directories.
4783 (EXTRA_DIST): Define.
4784 (pkgdata_SCRIPTS): Add lib/*.exp files.
4785 (DATE, TCLSH): Remove.
4786 (configdir, config_DATA, config_SCRIPTS): Define.
4787 (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4788 (pkgdata_DATA): Likewise.
4789 (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4790 (PKGING, PACKAGING_METAFILES): New macros.
4791 (clean-local): Remove.
4792 (rpm): Depend on dist.
4794 (dist-hook): Remove.
4795 (lib_dest, lib_files): Likewise.
4796 (baseboard_dest, baseboard_files): Likewise.
4797 (include_dest, config_dest, config_files): Likewise.
4798 (install-data-local): Likewise.
4799 (uninstall-local): Likewise.
4800 (site.exp): Likewise.
4801 * Makefile.in: Regenerate.
4803 * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4805 (EXTRA_DIST): Define.
4806 (site.exp): Remove target.
4807 * testsuite/Makefile.in: Regenerate.
4808 * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4809 (noinst_PROGRAMS): Rename from this ..
4810 (check_PROGRAMS): .. to this.
4811 * testsuite/libdejagnu/Makefile.in: Regenerate.
4813 * doc/Makefile.am (man_MANS): Rename from this ..
4814 (dist_man_MANS): .. to this.
4815 (info_TEXINFOS): Define.
4816 (TARGETS): Remove overview.rtf.
4817 (EXTRA_DIST): Define.
4818 (%.rtf: %.sgml): Remove rule.
4819 (%.gif: %.fig): Likewise.
4820 (%.epsi: %.eps): Likewise.
4821 (%.eps: %.fig): Likewise.
4822 (clean, realclean, distclean): Remove.
4823 (install-docs): Don't install overview.rtf.
4824 * doc/Makefile.in: Regenerate.
4825 * doc/texinfo.tex: New file.
4827 * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4828 (check_PROGRAMS): .. to this.
4829 (EXTRA_DIST): Add test cases and calc.1 man page.
4830 * example/calc/Makefile.in: Regenerate.
4831 * example/calc/aclocal.m4: Likewise.
4832 * example/calc/configure: Likewise.
4833 * example/calc/stamp-h.in: Remove.
4834 * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4835 (check_PROGRAMS): .. to this.
4836 (EXTRA_DIST): Define.
4837 * example/hello/Makefile.in: Regenerate.
4838 * example/hello/aclocal.m4: Likewise.
4839 * example/hello/configure: Likewise.
4840 * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4841 * example/hello/testsuite/Makefile.in: Regenerate.
4843 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4845 * configure.ac: Remove commented out code.
4846 * configure: Regenerate.
4848 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4852 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4854 * INSTALL: Import latest version.
4855 * depcomp: Likewise.
4856 * install-sh: Likewise.
4857 * missing: Likewise.
4859 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4861 * configure.in: Rename from this ..
4862 * configure.ac: .. to this. Require Autoconf 2.50.
4863 * Makefile.in: Regenerate.
4864 * doc/Makefile.in: Likewise.
4865 * example/Makefile.in: Likewise.
4866 * testsuite/Makefile.in: Likewise.
4867 * testsuite/libdejagnu/Makefile.in: Likewise.
4869 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4871 * lib/target.exp (prune_warnings): Add spaces where required in
4872 NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
4874 2004-02-05 Ben Elliston <bje@wasabisystems.com>
4876 * config.guess: Update to current revision.
4877 * config.sub: Likewise.
4879 2004-02-04 Ben Elliston <bje@wasabisystems.com>
4881 * configure.in (AC_NO_EXECUTABLES): Remove.
4882 * configure: Rebuild with Autoconf 2.59.
4883 * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4884 (DJ_AC_PATH_TCLSH): Likewise.
4885 (DJ_AC_PATH_DOCBOOK): Likewise.
4886 * aclocal.m4: Rebuild.
4887 * Makefile.in: Rebuild with Automake 1.8.2.
4888 * doc/Makefile.in: Likewise.
4889 * example/Makefile.in: Likewise.
4890 * testsuite/Makefile.in: Likewise.
4891 * testsuite/libdejagnu/Makefile.in: Likewise.
4893 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4895 Import orphaned patches from sources.redhat.com:
4897 2002-05-02 Fernando Nasser <fnasser@redhat.com>
4898 * doc/dejagnu.texi: Document KFAIL and KPASS.
4900 2002-02-20 Richard Henderson <rth@redhat.com>
4901 * lib/target.exp (prune_warnings): Revert early "In function"
4902 strip, as this breaks g++.dg tests. Match dangerous regexp
4903 without the "In function" header.
4905 2002-02-09 Richard Henderson <rth@redhat.com>
4906 * lib/target.exp (prune_warnings): Strip "In function" etc early.
4907 Adjust "dangerous" regexp for glibc's tmpnam warning.
4909 2001-09-10 Jim Blandy <jimb@redhat.com>
4910 * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4911 so we get the version of the `outbyte' function that does console
4912 output in a way that GDB's rom68k target recognizes. Note that
4913 the board can now do output.
4915 2000-04-25 Felix Lee <flee@cygnus.com>
4916 * baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete
4917 misleading comments and null statements.
4919 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4921 * DejaGnu 1.4.4 released.
4923 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4925 * Makefile.am (tarball): Depend on book1.html, not overview.html.
4926 Don't echo needless messages. Portably copy the source tree to
4927 dejagnu-${VERSION}. Portably copy documentation files from the
4928 source tree to the distribution directory. Don't copy RPM-related
4929 files -- leave that to the rpm target.
4930 (snapshot): Remove target.
4931 (overview.html): Rename target from this ..
4932 (book1.htm): .. to this.
4933 (rpm): Portably copy tar file to SOURCES directory.
4934 (deb): Depend on book1.html, not overview.html.
4935 (dist-hook): Depend on book1.html, not overview.html.
4936 * Makefile.in: Rebuild.
4937 * doc/Makefile.am (TARGETS): Depend on book1.html.
4938 (book1.html): Depend on html/book1.html.
4939 (overview.dvi): Remove target.
4940 * doc/Makefile.in: Rebuild.
4942 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4944 * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4945 (cleanfiles): Concatenate regular filenames that match .*.
4947 2004-01-12 Ben Elliston <bje@wasabisystems.com>
4949 * baseboards/frv-sim.exp: Remove reference to devo/sim.
4951 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4953 * doc/overview: Remove all files.
4955 2003-12-03 Ben Elliston <bje@wasabisystems.com>
4957 * testsuite/runtest.all/utils.test: Fix a test for proc find which
4958 assumed that "subsubfile1" would appear at the end of the returned
4959 list. Adjust to use a more robust regular expression.
4961 2003-11-26 Ben Elliston <bje@wasabisystems.com>
4963 * doc/overview.sgml (version): Update.
4964 * doc/overview/installation.html: Likewise.
4966 * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4967 * packaging/pkg/pkginfo: Likewise.
4968 * packaging/depot/dejagnu.psf: Likewise.
4970 2003-10-25 Ben Elliston <bje@wasabisystems.com>
4972 * runtest.exp (frame_version): Bump version.
4973 * configure.in (AM_INIT_AUTOMAKE): Likewise.
4974 * configure: Regenerate.
4976 2003-10-16 Rob Savoye <rob@welcomehome.org>
4978 * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4980 2003-10-13 Ben Elliston <bje@wasabisystems.com>
4982 * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4984 2003-10-11 Corinna Vinschen <vinschen@redhat.com>
4986 * baseboards/sh-sim.exp: New file.
4988 2003-10-11 Ben Elliston <bje@wasabisystems.com>
4991 * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
4993 2003-10-08 Ben Elliston <bje@wasabisystems.com>
4995 * i960glue.c: Remove.
4996 * packaging/pkg/prototype: Remove i960glue.c.
4998 2003-10-07 Ben Elliston <bje@wasabisystems.com>
5000 * contrib/README: Remove.
5001 * contrib/testit: Remove bitrotten script.
5002 * contrib/test-g++: Likewise.
5003 * contrib/test-tool: Likewise.
5005 2003-08-23 Ben Elliston <bje@wasabisystems.com>
5008 * contrib/README: Bring up to date.
5010 2003-08-23 Corinna Vinschen <vinschen@redhat.com>
5012 * config/sid.exp: Add gdb settings to use no hardware watchpoints.
5014 2003-08-23 Ben Elliston <bje@wasabisystems.com>
5016 * README: Update section on reporting bugs.
5018 2003-08-22 Ben Elliston <bje@wasabisystems.com>
5020 * lib/kermit.exp: Document procs.
5021 * lib/ftp.exp: Likewise.
5023 2003-08-19 Ben Elliston <bje@wasabisystems.com>
5025 * contrib/testit: Run wish via /usr/bin/env for portability.
5027 2003-08-18 Ben Elliston <bje@wasabisystems.com>
5029 * Makefile.am: Tidy comments and unused command lines.
5030 * Makefile.in: Regenerate.
5031 * testsuite/libdejagnu/Makefile.in: Likewise.
5033 * contrib/bluegnu2.0.3: Remove unsupported subtree.
5035 2003-08-18 Ben Elliston <bje@wasabisystems.com>
5037 * MAINTAINERS: New file.
5039 2003-08-17 Ben Elliston <bje@wasabisystems.com>
5041 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
5042 * doc/Makefile.in: Regenerate.
5044 2003-08-16 Ben Elliston <bje@wasabisystems.com>
5046 * doc/overview.sgml (overview): Start overhauling chapter.
5048 * doc/README.Writers: New document on style conventions.
5049 * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
5050 * doc/user.sgml: Likewise.
5051 * doc/overview.sgml: Likewise.
5052 * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
5054 2003-08-12 Ben Elliston <bje@wasabisystems.com>
5056 * Makefile.am (tarball): Update path to dejagnu.spec.
5057 (rpmspec): Likewise.
5058 (deb): Likewise, update path to package metafiles.
5060 (hpdepot): Likewise.
5061 * Makefile.in: Regenerate.
5062 * aclocal.m4: Likewise.
5063 * configure: Likewise.
5064 * doc/Makefile.in: Likewise.
5065 * example/Makefile.in: Likewise.
5066 * testsuite/Makefile.in: Likewise.
5067 * deb: Move from here ..
5068 * packaging/deb: .. to here.
5069 * redhat: Move from here ..
5070 * packaging/rpm: .. to here.
5071 * depot: Move from here ..
5072 * packaging/depot: .. to here.
5073 * pkg: Move from here ..
5074 * packaging/pkg: .. to here.
5076 * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
5077 (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
5078 * testsuite/libdejagnu/Makefile.in: Regenerate.
5080 2003-08-07 Ben Elliston <bje@wasabisystems.com>
5082 * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
5083 to increment count rather than count++ as in C.
5085 2003-08-06 Ben Elliston <bje@wasabisystems.com>
5087 * lib/remote.exp: Replace "TCL" with "Tcl".
5089 2003-07-30 Ben Elliston <bje@wasabisystems.com>
5091 * doc/runtest.1: Replace "TCL" with "Tcl".
5092 Make last revision date current.
5094 2003-07-29 Ben Elliston <bje@wasabisystems.com>
5096 * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
5097 URLs and other stylistic improvements.
5098 * doc/ref.sgml: Likewise.
5099 * doc/user.sgml: Likewise.
5101 2003-07-25 Mike Stump <mrs@apple.com>
5103 * lib/target.exp (prune_warnings): Handle "nfs server .* not
5104 responding" and "nfs server .* is alive again".
5106 2003-07-20 Ben Elliston <bje@wasabisystems.com>
5108 * config.guess: Update to most recent version.
5109 * config.sub: Ditto.
5110 * AUTHORS: Add self to list of maintainers.
5112 2003-07-25 Jim Dein <jdein@deinji5.apple.com> (RIP)
5114 * lib/utils.exp (find): Fix double recursion bug.
5116 2002-02-25 Jackie Smith Cashion <jsmith@redhat.com>
5118 * baseboards/am33_2.0-libremote.exp: New file.
5120 2000-11-21 Drew Moseley <dmoseley@redhat.com>
5122 * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
5125 2000-08-10 Drew Moseley <dmoseley@cygnus.com>
5127 * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
5130 2003-06-13 Phil Edwards <pme@devphil.com>
5132 * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
5133 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
5134 only -T[linker] instead of -Wl,-T[linker].
5136 2003-06-13 Jason Thorpe <thorpej@wasabisystems.com>
5138 * lib/target.exp (prune_warnings): Add two more linker
5139 warning patterns for warnings generated by modern verions
5142 2003-05-12 H.J. Lu <hongjiu.lu@intel.com>
5144 * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
5146 2003-05-09 H.J. Lu <hongjiu.lu@intel.com>
5148 * runtest: Fix a typo.
5150 2003-05-03 Nitin Dhavale <nitinpdhavale@indiatimes.com>
5152 * doc/user.sgml: Clarify how to set the verbose option.
5154 2003-03-28 Chris Demetriou <cgd@broadcom.com>
5156 * lib/framework.exp (check_conditional_xfail): Adjust so that
5157 an empty 'includes' list matches all sets of flags.
5158 * doc/dejagnu.texi: Document the above.
5159 * doc/ref.sgml: Likewise.
5161 2003-03-27 David Heine <dlheine@tensilica.com>
5163 * baseboards/xtensa-sim.exp: Fix a syntax error.
5165 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org>
5167 * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
5168 than stomp on it. This is based on a patch from Brendan Conoboy
5170 * Most files: Update copyright dates.
5172 2003-03-13 Mike Stump <mrs@apple.com>
5174 * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
5175 help ensure uniqueness.
5177 2003-03-05 Alexandre Oliva <aoliva@redhat.com>
5179 * lib/remote.exp (standard_download, standard_upload): Support
5180 nfsdir and nfsroot_server.
5182 See ChangeLog-1992 for earlier changes.