1 2024-09-16 Jacob Bachmeyer <jcb@gnu.org>
3 * testsuite/lib/launcher.exp (dejagnu_run): Add support for
4 testing the dejagnu(1) launcher with a shell specified as
5 LAUNCHER_SHELL on the command line.
7 2024-09-12 Jacob Bachmeyer <jcb@gnu.org>
9 * dejagnu: Adjust #! line according to recommendation in the
10 Autoconf manual. *Note: (autoconf)Portable Shell.
13 2024-09-06 Jacob Bachmeyer <jcb@gnu.org>
15 Thanks to Stefan for trying an environment that exposed this bug.
17 * runtest.exp: Revise search for user login name. Remove useless
18 test because there is no way for logname to be set when this code
19 is reached. Collect nested if/else/if tree into if/elseif chain.
20 Fix use of catch to avoid errors if whoami(1) and who(1) are not
23 2024-09-03 Jacob Bachmeyer <jcb@gnu.org>
25 Clean up whitespace issues found while updating license notices.
26 Also fix a missing paragraph separator line in one of the notices.
28 Update license notices to standard form for GPLv3. The move to
29 GPLv3+ appears to have been done by s/version 2/version 3/ in the
30 notices. Unfortunately, the FSF has moved their office and the
31 old mailing address is no longer valid.
33 Most of the work was automated using Emacs:
34 (let ((filelist (cons default-directory nil)))
37 (message "Examining %s ..." (car filelist)))
39 ((null (car filelist)) nil)
40 ;; These files are either imported or not GPL.
42 (concat "/dejagnu/\\(doc/\\|ChangeLog\\|AUTHORS\\|COPYING"
43 "\\|INSTALL\\|MAINTAINERS\\|NEWS\\|TODO\\|aclocal[.]m4"
44 "\\|compile\\|config[.]\\(?:guess\\|sub\\)\\|depcomp"
45 "\\|configure\\|install-sh\\|mdate-sh\\|missing"
48 ;; Nor do any of the READMEs contain GPL notices.
49 ((string-match "README" (car filelist)) nil)
50 ((file-directory-p (car filelist))
55 ((string-equal "." x) nil)
56 ((string-equal ".." x) nil)
57 ((string-match "^[.]git" x) nil)
58 (t (concat (file-name-as-directory
61 (directory-files (car filelist)))))
62 ((file-regular-p (car filelist))
64 (let ((had-buffer-p (get-file-buffer (car filelist))))
65 (cond (had-buffer-p (switch-to-buffer had-buffer-p))
67 (find-file-noselect (car filelist)))))
70 ;; The license block is at the beginning of the file.
71 (goto-char (point-min))
72 ;; Two minor punctuation changes:
73 (search-forward "DejaGnu is free software; ")
74 (replace-match "DejaGnu is free software: ")
75 (search-forward "Free Software Foundation; either")
76 (replace-match "Free Software Foundation, either")
77 ;; The most important change is trickier:
79 "received a copy of the GNU General Public License")
80 (search-forward "along with DejaGnu")
81 (let* ((start (point-marker))
82 (end (copy-marker (search-forward "USA") t)))
83 (delete-region start end)
86 ". If not, see <http://www.gnu.org/licenses/>"))
87 ;; Do not update copyright years for trivial changes.
88 (let ((before-save-hook nil)) (save-buffer)))
89 (search-failed (setq had-buffer-p t) nil))
90 (unless had-buffer-p (kill-buffer nil))))))
92 (message "Examining %s ... done." (car filelist)))
93 (setq filelist (cdr filelist))))
95 2024-08-14 Jacob Bachmeyer <jcb@gnu.org>
97 Thanks to Hans-Peter Nilsson for reporting this issue.
99 * lib/target.exp (prune_warnings): Adjust patterns for messages
100 emitted by the GNU linker. Older versions capitalized the message
101 stating the function that triggered the warning, while newer
102 versions do not. DejaGnu now recognizes and removes both forms.
104 2024-06-19 Jacob Bachmeyer <jcb@gnu.org>
108 * testsuite/lib/libsup.exp (start_expect): Remove "-onlret" from
109 stty_init. While POSIX defines this option, it is not implemented
110 on Mac OS X 10.5.8 and causes spurious failures on that system.
111 * testsuite/report-card.all/onetest.exp: Likewise.
113 * testsuite/report-card.all/passes.exp: While revising stty_init,
114 the lack of a similar setting was noticed in this file. Ensure
115 that "stty -onlcr" is applied to the Expect ptys.
117 2024-04-13 Jacob Bachmeyer <jcb@gnu.org>
119 * doc/dejagnu.texi (What is DejaGnu?): Update web site addresses.
121 2023-12-12 Jacob Bachmeyer <jcb@gnu.org>
123 Import patches from Maciej W. Rozycki <macro@embecosm.com>
125 * baseboards/qemu.exp (qemu_load): Add execution reporting.
126 * config/gdb-comm.exp (gdb_comm_load): Likewise.
127 * config/gdb_stub.exp (gdb_stub_load): Likewise.
128 * config/sim.exp (sim_load): Likewise.
129 * config/unix.exp (unix_load): Report full command in addition to
132 * baseboards/qemu.exp (qemu_load): Respect global `test_timeout'
134 * config/gdb-comm.exp (gdb_comm_load): Likewise.
135 * config/gdb_stub.exp (gdb_stub_load): Likewise.
136 * config/sim.exp (sim_load): Likewise.
137 * config/unix.exp (unix_load): Likewise, in the remote case.
138 * doc/dejagnu.texi (Local configuration file): Update
141 * config/gdb-comm.exp (gdb_comm_load): Set `testcase_timeout'
144 * config/unix.exp (unix_load): Don't ever set `test_timeout',
147 2023-11-22 Jacob Bachmeyer <jcb@gnu.org>
151 * doc/dejagnu.texi (Invoking dejagnu report card): Document
152 existence of totals rows in the produced table.
154 2023-11-07 Jacob Bachmeyer <jcb@gnu.org>
158 * runtest.exp: Change tests for [info exists target_alias] to
159 instead test for the empty string, to which target_alias is
160 unconditionally initialized at early startup.
162 2023-04-20 Jacob Bachmeyer <jcb@gnu.org>
166 Initial report: Christoph Muellner <christoph.muellner@vrull.eu>
168 * runtest.exp (restore_cmd_vars): Fix handling of values
169 containing whitespace, which are treated as multiple-element
170 lists and disrupt the eval implied by uplevel here.
172 * testsuite/runtest.main/options.exp: Add PR62982 regression test.
173 Improve tests for --target_board option by checking reported
174 target list instead of relying on actually running targets for
175 which no description file exists.
177 * testsuite/runtest.main/options.exp: Change argument lists for
178 test cases to conventional Tcl list notation using braces.
180 2023-04-18 Jacob Bachmeyer <jcb@gnu.org>
182 * testsuite/runtest.main/options.exp: Adjust pattern matched in
183 --objdir test to require the objdir given on the command line to
184 remain in force immediately after the local init file is loaded.
186 2022-12-20 Jacob Bachmeyer <jcb@gnu.org>
188 * dejagnu.h (totals, TestState::totals): Change "real failed" to
189 "failed" when listing number of failed tests.
190 * testsuite/libdejagnu/harness.exp (test_libdejagnu_unit): Update
191 to match above change.
193 * dejagnu.h (DG_error, DG_warning): New functions.
194 (TestState::error, TestState::warning): New methods.
195 * doc/dejagnu.texi (C unit testing API): Document new functions.
196 (C++ unit testing API): Document new methods and fix an error:
197 TestState::unsupported does not take varargs.
198 * testsuite/libdejagnu/unit-c.c (main): Add support for testing
200 * testsuite/libdejagnu/unit-cxx.cxx (main): Likewise.
201 * testsuite/libdejagnu/unit-ccxxmix.cxx (main): Likewise.
202 * testsuite/libdejagnu/harness.exp: Add tests.
203 (test_libdejagnu_unit): Add support for ERROR and WARNING tokens.
205 * doc/dejagnu.texi (DejaGnu unit test protocol): Add ERROR and
206 WARNING tokens to DejaGnu unit testing protocol.
207 * lib/dejagnu.exp (host_execute): Implement same.
208 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp,
209 testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
210 Add support for testing ERROR and WARNING tokens.
211 * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
212 results after warnings and errors in unit test programs.
214 * testsuite/runtest.main/stats.exp: Add tests for UNRESOLVED
215 results after warnings and errors.
216 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
217 Add support for above.
219 2022-11-30 Jacob Bachmeyer <jcb@gnu.org>
221 * testsuite/libdejagnu/unit.exp: Rename this...
222 * testsuite/libdejagnu/harness.exp: ...to this.
224 * doc/dejagnu.texi (C++ unit testing API): Document recent
225 improvements and the rest of the C++ API.
227 * dejagnu.h (TestState::TestState): Only perform initialization
228 when the first TestState object is constructed.
229 (DG): Add global TestState object.
231 * dejagnu.h (DG__endmsg): New function, called using atexit().
232 (endmsg_registered, TestState_count): Add fields to DG__status.
233 (DG__init): New function, to register DG__endmsg.
234 (pass, xpass, fail, xfail, untested, unresolved, unsupported)
235 (note): Call DG__init to ensure libdejagnu initialization.
236 (totals): Move "END" message to DG__endmsg.
237 (TestState::TestState): Consider DG__endmsg registered when a
238 TestState object is constructed.
239 (TestState::TestState, TestState::~TestState): Track number of
240 live TestState objects in global status structure.
241 (TestState::~TestState): Call totals() and emit "END" message only
242 when the last TestState object is destroyed.
244 * dejagnu.h (outstate): Remove.
245 (TestState::pass, TestState::xpass, TestState::fail)
246 (TestState::xfail, TestState::untested, TestState::unresolved)
247 (TestState::unsupported, TestState::note): Remove support for
248 overriding protocol tag lines.
249 (outstate_list): Rename this...
250 (DG__outstate_list): ...to this to mark it as internal.
251 (teststate): Rename this...
252 (DG_teststate): ...to this to avoid name collisions with user code.
253 (TestState::TestState): Sort lines by length.
255 * dejagnu.h (buffer): Remove this variable.
256 (pass, xpass, fail, xfail, untested, unresolved, unsupported)
257 (note): Replace use of buffer and vsnprintf with flockfile,
258 multiple writes, and funlockfile in all functions.
260 * dejagnu.h (DG__status): New struct for test counters.
261 (passed, failed, xpassed, xfailed, untest, unresolve, unsupport):
262 Move all counters into new struct, changing all functions.
264 * doc/dejagnu.texi (C unit testing API): Document use of "DG_"
265 prefix in dejagnu.h and "DG__" for internal symbols.
266 (C++ unit testing API): Likewise. Also declare namespace
267 "DejaGnu" reserved for future expansion.
269 2022-11-29 Jacob Bachmeyer <jcb@gnu.org>
271 * Makefile.in: Regenerate.
272 * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-ccxxmix.
273 (testsuite_libdejagnu_unit_ccxxmix_SOURCES): Add.
274 * testsuite/libdejagnu/unit.exp: Add tests for C/C++ mixed usage.
275 * testsuite/libdejagnu/unit-ccxxmix.cxx: New file.
277 * testsuite/libdejagnu/unit.exp: Add note that tests for the
278 framework side of the unit testing protocol are located in
279 testsuite/runtest.main/stats.exp and its nested testsuite.
281 * Makefile.in: Regenerate.
282 * Makefile.am (check_PROGRAMS): Remove unit.
283 (unit_SOURCES): Remove.
284 * testsuite/libdejagnu/tunit.exp: Remove file.
285 * testsuite/libdejagnu/unit.cc: Remove file.
286 The limited coverage of this test is now included in unit.exp
287 and unit-cxx, and supporting this test required some leaky
288 abstractions in dejagnu.h that can now be cleaned up.
290 * Makefile.in: Regenerate.
291 * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-cxx.
292 (testsuite_libdejagnu_unit_cxx_SOURCES): Add.
293 * testsuite/libdejagnu/unit.exp: Add tests for C++ unit test API.
294 * testsuite/libdejagnu/unit-cxx.cxx: New file.
296 * dejagnu.h (TestState::totals): Emit header line, like the C version.
298 * dejagnu.h (TestState::note): New method, like C note().
299 * doc/dejagnu.texi (C++ unit testing API): Add note() method.
301 * doc/dejagnu.texi (C++ unit testing API): Fix incorrect
302 documentation. The C and C++ interfaces share the same global
303 counters, as do all C++ TestState objects.
305 2022-11-28 Jacob Bachmeyer <jcb@gnu.org>
307 * dejagnu.h: Remove _DEJAGNU_WAIT_ conditional and revise comment
308 to explain improved solution to the problem for which it seems to
309 have been intended as a workaround.
310 (wait): Remove this function. It conflicted with POSIX wait(2);
311 this conflict was reported as PR59586.
313 * testsuite/runtest.main/stats.exp: Add test for UNSUPPORTED
314 result from a unit test program.
315 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
316 Update to account for addition of END marker and UNSUPPORTED to
317 DejaGnu unit testing protocol.
319 * dejagnu.h: Add UNSUPPORTED test result.
320 (unsupport): New counter variable for UNSUPPORTED results.
321 (unsupported): New function in C API.
322 (TestState::unsupported): New function in C++ API.
323 (outstate_list): Add UNSUPPORTED entry.
324 (teststate::laststate): Likewise.
325 (totals): Mention number of unsupported tests.
326 (TestState::totals): Likewise for C++ API.
327 * lib/dejagnu.exp (host_execute): Add UNSUPPORTED test result.
328 * doc/dejagnu.texi (DejaGnu unit test protocol): Document same.
329 (C unit testing API): Document new function for same.
330 (C++ unit testing API): Document new function for same.
332 * testsuite/libdejagnu/unit-c.c: Add test for UNSUPPORTED.
333 * testsuite/libdejagnu/unit.exp: Likewise.
335 * testsuite/libdejagnu/unit.exp: Add test for NOTE message.
337 2022-11-26 Jacob Bachmeyer <jcb@gnu.org>
339 * Makefile.in: Regenerate.
340 * Makefile.am (AM_CXXFLAGS): Change this...
341 (AM_CPPFLAGS): ...to this. (Also remove -g flag.)
342 (check_PROGRAMS): Add testsuite/libdejagnu/unit-c.
343 (testsuite_libdejagnu_unit_c_SOURCES): Add.
344 (TESTSUITE_FILES): Update.
345 * testsuite/libdejagnu/unit-c.c: New file.
346 * testsuite/libdejagnu/unit.exp: New file.
348 * dejagnu.h (xpass): Fix use of wrong counter.
350 (totals): Report unexpected passes if any occurred.
352 * doc/dejagnu.texi (DejaGnu unit test protocol): Add end marker
353 line using "END" to allow detecting tests that exit prematurely.
354 The "Totals:" line was previously used for this purpose, but it
355 does not match the pattern documented as reserved for carrying
356 unit test results and information.
358 * lib/dejagnu.exp (host_execute): Remove test for "Totals" line.
359 (host_execute): Add corresponding support for the new line types.
361 * dejagnu.h (totals): Add end marker.
362 (TestState::totals): Likewise.
364 2022-10-04 Jacob Bachmeyer <jcb@gnu.org>
368 * lib/dg.exp (dg-test): Store results of analyzing messages in a
369 list, then report them to the framework after giving the pruning
370 callback an opportunity to skip the test case.
372 * testsuite/runtest.libs/dg.test: Add tests for skipping tests
373 based on special result codes from mock-dg-prune.
374 (mock-dg-test): Add directive for output text.
375 (mock-dg-prune): Recognize special markers for
376 UNRESOLVED/UNSUPPORTED/UNTESTED result codes.
378 2022-10-01 Jacob Bachmeyer <jcb@gnu.org>
382 * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks):
383 Report test failure instead of raising errors.
385 * testsuite/runtest.libs/dg.test: Add more unit tests.
386 (eval_tests): Copy this procedure...
387 * testsuite/runtest.libs/target.test (eval_tests): ...from here.
389 2022-09-30 Jacob Bachmeyer <jcb@gnu.org>
393 * testsuite/runtest.libs/mockutil.tcl (test_proc_with_mocks): Add
394 usage comment and option to match number of calls for test.
395 (create_test_interpreter): Add support for mockvfs.
397 * testsuite/runtest.libs/dg.test: New file.
399 2022-09-29 Jacob Bachmeyer <jcb@gnu.org>
403 * testsuite/runtest.libs/mockvfs.tcl: New file.
405 2022-09-26 Jacob Bachmeyer <jcb@gnu.org>
407 * testsuite/runtest.libs/libs.exp (process_test): Add forward
408 slash to the list of characters recognized as text.
410 2022-01-21 Jacob Bachmeyer <jcb@gnu.org>
414 * runtest.exp (runtest): Reset the global warning and error
415 counters before running each test file. This prevents an error
416 "left over" from a previous test file from causing the first test
417 in the next file to be spuriously reported as UNRESOLVED.
419 * Makefile.am (TESTSUITE_FILES): Add new files.
421 * testsuite/runtest.main/pr53427.exp: New file for regression test.
422 * testsuite/runtest.main/nested/testsuite/pr53427.test/a.exp: Likewise.
423 * testsuite/runtest.main/nested/testsuite/pr53427.test/b.exp: Likewise.
425 2021-06-29 Jacob Bachmeyer <jcb@gnu.org>
429 * runtest.exp: Adjust detection logic for deprecated broken legacy
430 case of a testsuite not actually in a testsuite/ directory.
432 This was never supported but happened to work in older versions.
434 2021-05-22 Jacob Bachmeyer <jcb@gnu.org>
436 * Makefile.am (TESTSUITE_FILES): Correct oversight.
438 * configure, Makefile.in, aclocal.m4: Regenerate.
440 * runtest.exp, configure.ac, doc/version.texi: Update version.
442 * dejagnu: Fix error message.
444 * config.guess: Import patched version; patches sent upstream.
446 * commands/help.sh: Add test mode in which man(1) is never
447 actually invoked. The ability to reference a manpage by absolute
448 file name seems to be unique to Free systems.
449 * testsuite/launcher.all/help.exp: Amend test list to use new
450 testing mode in "dejagnu help" command. This mode should also
451 work on Solaris, so the logic for skipping the tests is removed.
453 2021-05-20 Jacob Bachmeyer <jcb@gnu.org>
455 * dejagnu: Search for a POSIX Awk and validate that at least a
456 simple Awk program actually works.
457 * testsuite/launcher.all/command.exp: Add tests for error produced
458 when no Awk is found and a help message is requested.
460 * lib/dejagnu.exp: Avoid reporting next test as UNRESOLVED when
461 reporting error due to missing size(1) while loading file.
463 * testsuite/lib/runtest.exp (runtest_copy_nested_testsuite_log):
464 New procedure. Dumps log from nested run into main test log.
466 * testsuite/runtest.libs/utils.test: Change test for [which make]
467 to [which sh] because make(1) is not always available on non-GNU
468 systems but sh(1) exists on any Unix. GNU make is often installed
469 as "gmake" on non-GNU systems and may be the only "make" utility.
471 * testsuite/runtest.main/pr42399.exp (test_pr42399): Revise to
472 ensure that a failure to produce any output at all in the inner
473 test will be detected. This was discovered on Solaris 10.
475 * testsuite/runtest.main/stats.exp: Copy stat.log from nested
476 testsuite run to the main test log upon test failure.
478 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
479 Explicitly pass /dev/null to unit-sub.awk because /usr/bin/awk on
480 Solaris 10 does not seem to recognize assignment to ARGV.
481 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
484 2021-05-18 Jacob Bachmeyer <jcb@gnu.org>
486 * dejagnu: Redirect input from /dev/null when testing if awk is
487 GNU Awk; this avoids a hang on Solaris 10 where awk treats
488 --version as an Awk program and attempts to read input.
489 (command): Rework the initial setting of this variable to avoid
490 limitations in Solaris 10 awk.
492 * testsuite/report-card.all/onetest.exp: Avoid Tcl error when item
493 and totals lines are missing entirely.
495 * testsuite/runtest.main/pr48155.exp: Fix assumption about exit
496 code from /bin/false, which is different on Solaris.
498 2021-05-05 Jacob Bachmeyer <jcb@gnu.org>
502 * Makefile.am (TESTSUITE_FILES): Update.
503 (CLEANFILES): Add special init file for PR48155 nested tests.
505 * testsuite/runtest.main/pr48155.exp: New file.
506 * testsuite/runtest.main/pr48155-csh.sh: New trivial file. This
507 script emulates the behavior of the C shell if an attempt is made
508 to use it to run the config.guess script.
510 2021-05-04 Jacob Bachmeyer <jcb@gnu.org>
514 * runtest.exp: Tighten regexp used to validate output from
515 config.guess. The previous regexp would accept an error produced
516 if config.guess was incorrectly run using the C shell.
518 2021-04-28 Jacob Bachmeyer <jcb@gnu.org>
520 * configure, Makefile.in: Regenerate.
522 * runtest.exp, configure.ac, doc/version.texi: Update version.
524 * Makefile.am (TAR_OPTIONS): Explicitly select v7 tarball format
525 to work around Automake limitation of assuming that v7 is default.
527 2021-04-20 Jacob Bachmeyer <jcb@gnu.org>
529 * configure.ac: Set Automake options to use the ancient and
530 universal V7 format when building distribution tarballs. The
531 limitations of this format are not expected to impact DejaGnu; the
532 "ustar" format will be used instead if this is proved wrong.
534 * Makefile.am (TAR_OPTIONS): Add exported environment variable to
535 set options when building distribution tarballs. Ensure that all
536 files in distribution tarballs will be recorded as owned by root.
538 2021-04-16 Jacob Bachmeyer <jcb@gnu.org>
542 * dejagnu (command): Use Awk instead of non-portable basename(1)
543 and a non-portable sed(1) pattern to initially set this variable.
545 * dejagnu: Use shell "case" pattern match instead of non-portable
546 "grep -q" to determine if "awk" is GNU Awk.
548 * dejagnu: Use Awk instead of non-portable "grep -q" to verify
549 that a file contains a help message. Also use Awk to extract help
550 messages from files, instead of a complex dynamic sed(1) program.
552 * configure.ac: Remove experimental support for propagating
553 CONFIG_SHELL to scripts in the source directory.
555 * runtest.exp: Use CONFIG_SHELL or SHELL environment variable when
556 running config.guess. Check the result carefully and stop with an
557 error immediately if running config.guess does not produce
558 something that plausibly resembles a triplet. Advise the user
559 that SHELL or CONFIG_SHELL may need to be set in the environment.
561 2021-04-15 Jacob Bachmeyer <jcb@gnu.org>
565 * dejagnu: Avoid using $? for an exit code; it is convenient until
566 the tests fail because the script is run on Solaris where false
567 returns 255 instead of 1 and the test harness expects exit code 1.
569 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
573 * dejagnu: Replace use of "expr :" with shell "case" pattern
574 match to avoid limitations of Solaris 10 expr(1).
576 2021-04-14 Jacob Bachmeyer <jcb@gnu.org>
578 * lib/specs.exp, testsuite/runtest.libs/specs.test: New files.
580 2021-04-08 Jacob Bachmeyer <jcb@gnu.org>
582 * configure: Regenerate.
584 * runtest.exp, configure.ac, doc/version.texi: Update version.
586 * configure.ac: Change "dnl" comments that should appear in
587 configure to regular comments.
588 Add experimental support for propagating CONFIG_SHELL to the
589 config.sub and config.guess scripts in the source directory.
591 2021-04-01 Jacob Bachmeyer <jcb@gnu.org>
595 * dejagnu, commands/help.sh, commands/report-card.awk: Revise help
596 message to better fit GNU conventions, with thanks to Tom Tromey
597 for the reporting this issue.
601 * runtest: Remove use of non-portable "if !" that causes problems
602 with /bin/sh on Solaris 10.
604 * dejagnu (Variants): Split the declaration of this read-only
605 variable into an assignment followed by marking it read-only,
606 instead of doing both in one statement. The Solaris 10 /bin/sh
607 does not accept the combined form.
609 2021-03-30 Jacob Bachmeyer <jcb@gnu.org>
611 * configure: Regenerate.
613 * runtest.exp, configure.ac, doc/version.texi: Update version.
615 2021-03-26 Jacob Bachmeyer <jcb@gnu.org>
619 * testsuite/launcher.all/help.exp: Skip the tests on Solaris,
620 since Solaris man(1) does not accept explicit filenames. The
621 manpages will be installed as usual, and the "dejagnu help"
622 command should work after installation.
624 Also set PAGER for testing, since other systems might also ignore
625 MANPAGER and that would cause the test to hang.
627 * testsuite/lib/launcher.exp (dejagnu_run): Send commands run and
628 copies of the output produced to the log.
630 * commands/help.sh: Extend PR47382 fix (below) to this file.
634 * testsuite/lib/runtest.exp: Remove support for automatically
635 locating an Expect executable in the old Cygnus tree layout.
637 2021-03-25 Jacob Bachmeyer <jcb@gnu.org>
641 * dejagnu, runtest: Remove use of "$()" command substitution and
642 "$(())" arithmetic substitution shell constructs. The /bin/sh on
643 Solaris 10 does not support them. They were replaced with the
644 traditional backticks for command substitution and backticks and
645 the expr command for arithmetic substitution.
647 Also add markers to explicitly disable shellcheck warnings that
648 would lead to reintroducing these problems.
650 Also avoid the non-portable "`..."..."...`" construct on a warning
651 in the GNU Autoconf manual, section "Shell Substitutions",
652 although this introduces additional variables.
654 2021-03-22 Jacob Bachmeyer <jcb@gnu.org>
656 * configure: Regenerate.
658 * runtest.exp, configure.ac, doc/version.texi: Update version.
660 * config.guess, config.sub: Import from upstream.
662 * MAINTAINERS: Acknowledge that Ben Elliston has left the project.
664 2021-03-15 Jacob Bachmeyer <jcb@gnu.org>
666 * Makefile.am, Makefile.in: Update accordingly.
668 * contrib/compare_tests: Remove. This file lacked a GPL notice.
669 This file was imported from GCC many years ago. The GCC version
670 has benefited from continued development, while ours has not.
672 * testsuite/runtest.libs/load_lib.exp: Remove. This file lacked a
673 GPL notice and an attempt to contact the contributor produced no
674 response. The tests in this file will need to be rewritten in any
675 case; there is a bug in load_lib that they should expose and there
676 is now additional infrastructure for tests of this type that was
677 not available when this file was written.
679 2020-12-27 Jacob Bachmeyer <jcb@gnu.org>
681 * testsuite/runtest.libs/libs.exp (process_test): Report running
682 test scripts as each test script is run.
683 Also, at top-level, sort the list of tests to run.
685 * doc/dejagnu.texi (testsuite procedure): Remove noise word "api"
686 from new "testsuite can call api" feature test API entrypoint.
687 * lib/framework.exp (testsuite_can): Likewise.
688 * testsuite/runtest.libs/testsuite_can.test: Likewise.
691 2020-12-16 Jacob Bachmeyer <jcb@gnu.org>
693 * configure: Regenerate.
695 * configure.ac: Remove Tcl version check.
697 Apply patch from Nick Clifton:
699 * baseboards/msp430-sim.exp: Add missing copyright and GPL notice.
701 Apply patch from Dimitar Dimitrov:
703 * baseboards/pru-sim.exp: New file.
705 * Makefile.am (baseboard_DATA): Add pru-sim.exp to list.
706 * Makefile.in (baseboard_DATA): Likewise.
708 2020-12-15 Jacob Bachmeyer <jcb@gnu.org>
710 * configure: Regenerate.
711 * Makefile.in: Regenerate.
713 * Makefile.am (RUNTEST): Explain override of Automake default.
715 * configure.ac: Update for autoconf 2.69 using autoupdate.
716 * configure.ac: Remove search for expect now handled by Automake.
718 Apply patch from Dimitar Dimitrov:
720 * Makefile.am (dejagnu_TEXINFOS): Change this...
721 * Makefile.am (doc_dejagnu_TEXINFOS): ...to this.
723 This fixes an incorrectly recorded dependency.
725 2020-11-17 Jacob Bachmeyer <jcb@gnu.org>
729 * doc/dejagnu.texi (Adding a new tool): Fix incorrect description
730 that conflated the tool init file with the target interface file.
731 (Make Check): Add cross-reference to the GNU Automake manual for
734 2020-11-10 Jacob Bachmeyer <jcb@gnu.org>
738 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
739 Use [file normalize] to ensure that link targets are unambiguous.
740 (link_dejagnu_launcher_test_item): Avoid spurious errors when test
741 environment has already been prepared in a previous run.
743 * testsuite/lib/launcher.exp (link_dejagnu_launcher_test_item):
744 New procedure to collect existing repeated testsuite code.
745 * testsuite/launcher.all/command.exp: Establish testing
746 environment using link_dejagnu_launcher_test_item procedure.
748 2020-11-09 Jacob Bachmeyer <jcb@gnu.org>
750 * aclocal.m4: Regenerate.
751 * configure: Regenerate.
752 * Makefile.in: Regenerate.
754 * configure.ac: Revert development version branch tagging hook.
755 * Makefile.am: Likewise.
757 These caused failures (reported in PR44462 as a secondary issue)
758 when a source tree is copied out of a Git directory.
760 2020-08-31 Jacob Bachmeyer <jcb@gnu.org>
762 * doc/runtest.1: Add brief GFDL notice. License notice in the
763 formatted manpage should now describe DejaGnu as a whole.
765 * NEWS: Prepare for release.
767 2020-08-18 Jacob Bachmeyer <jcb@gnu.org>
769 * testsuite/runtest.libs/testsuite_file.test: Add missing
770 copyright and GPL notice.
771 * testsuite/runtest.libs/testsuite_can.test: Likewise.
772 * testsuite/runtest.libs/testcase_group.test: Likewise.
774 2020-08-12 Jacob Bachmeyer <jcb@gnu.org>
776 * doc/dejagnu.texi (The dejagnu_h header file): Remove node.
777 (Running unit tests): Add node.
778 (DejaGnu unit test protocol): Add node.
779 (C unit testing API): Update to reflect current API. Move mention
780 of dejagnu.h header here in preparation for future expanded
782 (C++ unit testing API): Likewise. Mention caveat that the C unit
783 test API is also available in C++ programs.
785 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
787 * baseboards/qemu.exp: Tidy whitespace.
789 2020-08-10 Jacob Bachmeyer <jcb@gnu.org>
791 Merge patch from Kito Cheng to add support for RISC-V sim target.
793 * baseboards/riscv-sim.exp: New file.
794 * Makefile.am (baseboard_DATA): Add riscv-sim.exp.
795 * Makefile.in (baseboard_DATA): Likewise.
797 2020-08-02 Jacob Bachmeyer <jcb@gnu.org>
799 * Makefile.am (TESTSUITE_FILES): Add files that were introduced
800 during development but were mistakenly not added at that time.
801 (baseboard_DATA): Sort baseboard file list.
802 (baseboard_DATA): Add missing files.
803 (dejagnu_TEXINFOS): New; add GNU FDL file.
804 (CONTRIB): Add experimental Python unit test module.
806 * Makefile.in (TESTSUITE_FILES): Likewise.
807 (baseboard_DATA): Likewise.
809 * testsuite/dejagnu.py: Move from here...
810 * contrib/dejagnu.py: ...to here.
812 2020-08-02 Rob Savoye <rob@senecass.com>
814 * Makefile.in: Regenerate so make dist works.
816 2020-07-25 Jacob Bachmeyer <jcb62281+dev@gmail.com>
818 * doc/dejagnu.texi (Writing a test case): Mention the DejaGnu
819 procedure "perror" instead of the Tcl command "error".
820 (Writing a test case): Reorganize node and give basic hints about
821 Tcl quoting and backslash escape rules.
822 (Writing a test case): Describe synchronization issues and warn
823 that prefixes of valid input can be presented for matching.
824 (Writing a test case): Fix markup from conversion from DocBook.
826 2020-07-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
830 * NEWS: Document changes to host_execute.
832 * lib/dejagnu.exp (host_execute): Revise expect matching to
833 combine all unit test protocol lines into one pattern.
834 (host_execute): Rework other expect patterns.
835 (host_execute): Ensure that all output from child process is read
836 until the child closes its output to avoid sending early SIGPIPE.
837 (host_execute): Report an ERROR (and cause the next test to be
838 recorded as UNRESOLVED) if the Expect matching buffer overflows.
839 (host_execute): Remove dependency on global "text" variable.
841 * Makefile.am (TESTSUITE_FILES): Update.
843 * testsuite/runtest.main/stats.exp: Generalize infrastructure and
844 add tests for DejaGnu unit testing support.
845 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.exp:
847 * testsuite/runtest.main/nested/testsuite/stat.test/unit-sub.awk:
850 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
854 * Makefile.am (TESTSUITE_FILES): Update.
856 * lib/dejagnu.exp (host_execute): Allow the executable to be
857 specified with an absolute file name.
858 (host_execute): Fix argument handling to allow passing more than
859 one argument to the executable. Return early if given no
860 arguments at all instead of trying to execute "./".
862 * testsuite/runtest.main/pr42399.exp: New file.
863 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399.awk:
865 * testsuite/runtest.main/nested/testsuite/bug.test/pr42399-sub.exp:
868 2020-07-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
870 * Makefile.am (CLEANFILES): Update.
871 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
873 * testsuite/lib/runtest.exp (runtest_setup_nested_testsuite): New
875 (runtest_cleanup_nested_testsuite): New procedure.
877 * testsuite/runtest.main/error.exp: Use the tool name "error" to
878 select the proper subset of the nested testsuite. Use new
879 procedures for handling nested testsuite. Use common
880 nested-init.exp local init file for nested testsuite. Let local
881 init file nested-init.exp handle setting "outdir" variable.
882 * testsuite/runtest.main/options.exp: Likewise; "null" tool.
883 * testsuite/runtest.main/stats.exp: Likewise; "stat" tool.
885 * testsuite/runtest.main/nested/: Combine nested testsuites.
886 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
888 * testsuite/runtest.main/nested/testsuite/error.test/error-al-dbz.exp:
890 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
892 * testsuite/runtest.main/nested/testsuite/error.test/error-dbz.exp:
894 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
896 * testsuite/runtest.main/nested/testsuite/error.test/error-undef.exp:
898 * testsuite/runtest.main/error/testsuite/error.test/simple.exp:
900 * testsuite/runtest.main/nested/testsuite/error.test/simple.exp:
902 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
904 * testsuite/runtest.main/nested/testsuite/null.test/null.exp:
906 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
908 * testsuite/runtest.main/nested/testsuite/stat.test/stats-sub.exp:
911 2020-07-16 Rob Savoye <rob@senecass.com>
913 * baseboards/qemu.exp: Works now with qemu instead of sim.
915 2020-07-06 Rob Savoye <rob@senecass.com>
917 * baseboards/qemu.exp: Initial working support to use qemu for
919 * Makefile.am: Install qemu.exp.
920 * autogen.sh: Add script borrowed from my Gnash project to
921 regenerate configure/build files.
922 * aclocal.m4, configure.ac, Makefile.am: regenerated GDB too.
923 * doc/dejagnu.texi: Update copyright date.
925 2020-06-29 Jacob Bachmeyer <jcb62281+dev@gmail.com>
929 * NEWS: Add item for repeated error messages.
931 * lib/framework.exp (log_and_exit): Add separator lines around the
932 error dumps repeated at the end of a run.
934 2020-06-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
938 * NEWS: Remove items for --keep_going / --no_keep_going options.
940 * Makefile.am (CLEANFILES): Adjust for renames.
941 (TESTSUITE_FILES): Likewise.
943 * doc/dejagnu.texi (Invoking runtest): Remove --keep_going and
944 --no_keep_going options.
945 (A POSIX Conforming Test Framework): Document that Tcl errors in
946 test scripts produce UNRESOLVED results as placeholders.
948 * doc/runtest.1: Likewise.
950 * lib/framework.exp (log_and_exit): Print collected Tcl errors.
952 * runtest.exp (dejagnu::error): New internal namespace.
953 (runtest): Collect Tcl errors caught while executing test scripts.
954 (dejagnu::opt): Remove internal namespace.
955 Remove --keep_going / --no_keep_going options. No longer abort on
956 any Tcl errors; instead store them and repeat the messages at the
959 * testsuite/runtest.main/abort.exp: Rename from this ...
960 * testsuite/runtest.main/error.exp: ... to this and revise tests.
962 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
964 * testsuite/runtest.main/error/testsuite/error.test/error-al-dbz.exp:
966 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp:
968 * testsuite/runtest.main/error/testsuite/error.test/error-dbz.exp:
970 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
972 * testsuite/runtest.main/error/testsuite/error.test/error-undef.exp:
975 2020-06-24 Jacob Bachmeyer <jcb62281+dev@gmail.com>
979 * NEWS: Revise relevant items.
981 * doc/dejagnu.texi (Invoking runtest): Add --no_keep_going option.
982 * doc/runtest.1: Document --no_keep_going option. Remove
983 long-obsolete --name option. The --name option had been removed
984 from runtest before the code was imported into what became the
987 * runtest.exp: Add option --no_keep_going to stop immediately if a
988 test script aborts due to a Tcl error. Remove vestiges of
989 long-obsolete --name option. Make --keep_going option default.
991 * testsuite/runtest.main/abort.exp: Adjust tests to use
992 --no_keep_going and --keep_going instead of assuming a default.
994 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
996 Merge patches from Maciej W. Rozycki to fix timeout handling.
998 * lib/remote.exp (close_wait_program): Use `catch' in killing
1001 * lib/remote.exp (close_wait_program): Only kill the pending
1002 force-kills if the PID list has a single entry.
1003 (local_exec): Set the channel about to be closed to the
1004 nonblocking mode if we didn't see an EOF.
1005 (standard_close): Likewise, unconditionally.
1007 2020-06-22 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1009 * NEWS: Mention "linker=" option and added language support.
1011 * doc/dejagnu.texi (target_compile procedure): Document new
1012 "linker=" option to target_compile.
1014 * lib/target.exp (default_target_compile): Actually use internal
1015 option for separate linker provided for Go language support. This
1016 seems to have been accidentally omitted from Tom Tromey's patches.
1017 (default_target_compile): Add "linker=" option, similar to
1018 "compiler=" option, but the former overrides the latter when
1019 building an executable.
1020 (default_target_compile): Ensure that "--emit obj" is spaced from
1021 previous item when used to compile Rust. Use "--emit asm" instead
1022 of "-S" when generating assembly from Rust sources.
1024 * testsuite/runtest.libs/target.test: Add tests for Go and Rust.
1025 Also add tests for the new "early_flags=" and "linker=" options.
1027 2020-06-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1029 * doc/dejagnu.texi (Libgloss): Update menu.
1030 (find_go procedure, find_go_linker procedure): New nodes.
1031 (find_rustc procedure): New node.
1033 2020-06-19 Tom Tromey <tromey@adacore.com>
1035 * doc/dejagnu.texi (target_compile procedure): Document Go
1037 * lib/target.exp (default_target_compile): Handle Go.
1038 * lib/libgloss.exp (find_go, find_go_linker): New procs.
1040 2020-06-19 Tom Tromey <tromey@adacore.com>
1042 * doc/dejagnu.texi (target_compile procedure): Document rust
1044 * lib/target.exp (default_target_compile): Handle rust.
1045 * lib/libgloss.exp (find_rustc): New proc.
1047 2020-06-19 Tom Tromey <tromey@adacore.com>
1049 * lib/target.exp (default_target_compile): Add early_flags.
1050 * doc/dejagnu.texi (target_compile procedure): Document
1053 2020-06-19 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1055 Merge patches from Tom de Vries <tdevries <at> suse.de> and write
1058 * testsuite/runtest.main/abort.exp: Add tests that verify handling
1059 of arithmetic errors (divide-by-zero) in a procedure called within
1062 * testsuite/runtest.main/abort/testsuite/abort.test/abort-dbz.exp: New file.
1064 2020-06-18 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1068 Thanks to Tom de Vries for raising these concerns and offering the
1069 initial testsuite patch that led to these changes.
1071 * NEWS: Add item for consistent abort-on-error handling.
1073 * lib/framework.exp (unknown): Always link global variables. Tidy.
1074 Silently propagate errors raised in autoloaded procedures and move
1075 the UNRESOLVED result and aborting the test run to...
1076 * runtest.exp (runtest): Report an UNRESOLVED result if a test
1077 script aborts due to a Tcl error. Link global errorCode and
1078 report its value if an error occurs. For consistency, abort the
1079 test run on any Tcl error in a test script instead of only when
1080 calling an undefined procedure.
1082 * testsuite/runtest.main/abort.exp: Add tests to verify handling
1083 of arithmetic errors (divide-by-zero) in an auto-loaded procedure
1084 called from a test script. Adjust other patterns.
1086 * testsuite/runtest.main/abort/testsuite/abort.test/abort-al-dbz.exp:
1089 2020-06-17 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1093 * NEWS: Add item for --keep_going option.
1095 * Makefile.am (CLEANFILES): Add abort-init.exp to list.
1096 (TESTSUITE_FILES): Add new testsuite files to list.
1098 * doc/dejagnu.texi (Invoking runtest): Document new --keep_going
1099 command line option.
1100 * doc/runtest.1: Likewise.
1102 * lib/framework.exp (unknown): Report an UNRESOLVED result if an
1103 unknown command is invoked. Avoid exiting and propagate the error
1104 from Tcl's "unknown" procedure if --keep_going was
1105 specified. Brace procedure argument list.
1106 * runtest.exp (dejagnu::opt): New namespace.
1107 Add option --keep_going to continue running tests after a test
1108 script aborts due to calling an undefined command.
1110 * testsuite/runtest.main/abort.exp: New file.
1111 * testsuite/runtest.main/abort/testsuite/abort.test/abort-undef.exp:
1113 * testsuite/runtest.main/abort/testsuite/abort.test/simple.exp:
1116 2020-06-17 Tom de Vries <tdevries <at> suse.de>
1118 * lib/framework.exp (unknown): Propagate return value of auto-loaded
1121 2020-06-15 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1123 Merge patches from Linaro:
1125 2018-09-28 Christophe Lyon <christophe.lyon@linaro.org>
1126 * lib/ssh.exp (ssh_exec): Redirect stderr to stdout on the remote
1127 machine, to avoid race conditions.
1129 2016-04-25 Yvan Roux <yvan.roux@linaro.org>
1130 * lib/rsh.exp (rsh_exec): Don't remove trailing newline.
1131 * lib/ssh.exp (ssh_exec): Likewise.
1133 2016-06-28 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1134 * config/unix.exp (unix_load): Prepend the value of an
1135 "exec_shell" board_info key to the command if it is defined.
1137 2020-06-06 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1139 * NEWS: Document "testcase" command.
1141 * doc/dejagnu.texi (testcase procedure): Document multiplex entry
1142 point and "testcase group" command.
1144 * lib/framework.exp: Add internal namespace ::dejagnu::group.
1145 (::dejagnu::group::check_name): New procedure.
1146 (::dejagnu::group::current): New procedure.
1147 (::dejagnu::group::push): New procedure.
1148 (::dejagnu::group::pop): New procedure.
1149 (::dejagnu::group::pop_to_file): New procedure.
1150 (testcase): New procedure for multiplex commands.
1151 (testcase_group): New procedure implementing "testcase group".
1153 * testsuite/runtest.libs/testcase_group.test: New file.
1155 2020-06-05 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1157 * NEWS: Document new "testsuite can call api" command.
1159 * doc/dejagnu.texi (testsuite procedure): Document new subcommand
1160 "testsuite can call api".
1162 * lib/framework.exp (testsuite): Add branch for "testsuite can".
1163 (testsuite_can): New procedure implementing "testsuite can".
1165 Add internal array ::dejagnu::apilist to store information for
1166 "testsuite can call api" for querying the availability of an API
1167 call. This will allow test scripts to adapt and use new features
1168 while still being able to run under older versions of DejaGnu.
1170 * testsuite/runtest.libs/testsuite_can.test: New file.
1172 2020-06-02 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1175 * NEWS: Fix typo. Fix Emacs mode tag.
1176 Document use of Tcl namespace ::dejagnu for internals.
1177 * runtest.exp (dejagnu::command_line): New namespace.
1178 (dejagnu::command_line::save_cmd_var): New procedure.
1179 (dejagnu::command_line::restore_cmd_vars): New procedure.
1180 (dejagnu::command_line::dump_cmd_vars): New procedure.
1181 * runtest.exp: Save internal variables set by command line
1182 arguments during the first pass and restore their values after
1183 loading testsuite init files.
1185 2020-06-01 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1188 * runtest.exp: Describe search for testsuite at verbose level 3.
1189 Print initial working directory at verbose level 1.
1191 2020-05-28 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1194 * testsuite/lib/launcher.exp: Adjust LAUNCHER variable default
1195 value to use an absolute file name.
1196 * testsuite/lib/report-card.exp: Likewise.
1197 * testsuite/runtest.main/options.exp: Set outdir in options-init
1198 instead of changing working directory in child runtest.
1200 * runtest.exp (logname): Move verbose display of logname to
1201 immediately after finding the user's login name.
1204 * runtest.exp (libdir): Fix default value of global variable.
1206 * ChangeLog: Tidy irregular indentation.
1208 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1210 * doc/dejagnu.texi (target_compile procedure): Add documentation.
1212 2020-05-26 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1214 * doc/dejagnu.texi (target_link procedure): New stub node.
1215 (default_link procedure): Document internal procedure.
1216 (default_target_assemble procedure): Likewise.
1217 (default_target_compile procedure): Likewise.
1219 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1221 * baseboards/{aarch64-sim, arm-ice, arm-sim, basic-sid, iq2000-sim,
1222 mn10300-sim, moxie-sim}.exp: Cleanup up whitespace.
1224 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1226 * lib/target.exp (default_target_compile): Use "host_info"
1227 procedure to probe for a host configuration, instead of checking a
1228 local empty target_info array due to lacking "global target_info".
1230 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1232 * doc/dejagnu.texi (Adding a new board): Document that the
1233 "compiler" board_info field is optional and defaults to [find_gcc]
1235 (Board configuration file): Likewise.
1237 * lib/target.exp (default_target_compile): Establish a default C
1238 compiler by evaluating [find_gcc] if no other compiler is given.
1240 * baseboards/aarch64-sim.exp: Remove no-longer-needed
1241 "set_board_info compiler [find_gcc]" from this file.
1242 * baseboards/am33_2.0-libremote.exp: Likewise.
1243 * baseboards/androideabi.exp: Likewise.
1244 * baseboards/arm-ice.exp: Likewise.
1245 * baseboards/arm-sim.exp: Likewise.
1246 * baseboards/cris-sim.exp: Likewise.
1247 * baseboards/d30v-sim.exp: Likewise.
1248 * baseboards/fr30-sim.exp: Likewise.
1249 * baseboards/frv-sim.exp: Likewise.
1250 * baseboards/gdbserver-sample.exp: Likewise.
1251 * baseboards/iq2000-sim.exp: Likewise.
1252 * baseboards/linux-gdbserver.exp: Likewise.
1253 * baseboards/linux-libremote.exp: Likewise.
1254 * baseboards/mcore-moto-sim.exp: Likewise.
1255 * baseboards/mcore-sim.exp: Likewise.
1256 * baseboards/mips-sim-idt32.exp: Likewise.
1257 * baseboards/mips-sim-idt64.exp: Likewise.
1258 * baseboards/mips-sim-mti32.exp: Likewise.
1259 * baseboards/mips-sim-mti64.exp: Likewise.
1260 * baseboards/mips-sim-mti64_64.exp: Likewise.
1261 * baseboards/mips-sim-mti64_n32.exp: Likewise.
1262 * baseboards/mips-sim-sde32.exp: Likewise.
1263 * baseboards/mips-sim-sde64.exp: Likewise.
1264 * baseboards/mips-sim.exp: Likewise.
1265 * baseboards/mmixware-sim.exp: Likewise.
1266 * baseboards/mn10200-sim.exp: Likewise.
1267 * baseboards/mn10300-sim.exp: Likewise.
1268 * baseboards/moxie-sim.exp: Likewise.
1269 * baseboards/msp430-sim.exp: Likewise.
1270 * baseboards/powerpc-sim.exp: Likewise.
1271 * baseboards/powerpcle-sim.exp: Likewise.
1272 * baseboards/rx-sim.exp: Likewise.
1273 * baseboards/sh-sim.exp: Likewise.
1274 * baseboards/sparc-sim.exp: Likewise.
1275 * baseboards/sparc64-sim.exp: Likewise.
1276 * baseboards/sparclite-sim-le.exp: Likewise.
1277 * baseboards/sparclite-sim.exp: Likewise.
1278 * baseboards/unix.exp: Likewise.
1279 * baseboards/v850-sim.exp: Likewise.
1280 * baseboards/visium-sim.exp: Likewise.
1281 * baseboards/xtensa-sim.exp: Likewise.
1283 2020-05-24 Rob Savoye <rob@senecass.com>
1285 * baseboards/pi.exp: New config file for cross testing to a
1288 2020-05-24 Tom Tromey <tom@tromey.com>
1290 * .gitignore: Add files.
1292 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1294 * testsuite/runtest.libs/target.test: Use mockutil.tcl.
1295 Collect loading DejaGnu libraries into a single loop.
1296 Revise the mock board_info array.
1297 Add section headings for different test groups in this file.
1298 Add tests for default_target_compile in lib/target.exp.
1299 * testsuite/runtest.libs/mockutil.tcl: New file.
1301 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1303 * doc/dejagnu.texi (remote_exec procedure): Explicitly list
1304 optional arguments instead of simply copying the Tcl argument list
1305 or the remote_exec procedure.
1307 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1309 * testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
1310 string instead of opening a temporary file named .tmp.
1311 * testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
1313 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1315 * testsuite/runtest.libs/target.test: Rename fake "target_info"
1316 array to a fake "board_info" array, to align with changes made to
1317 the DejaGnu core on 29 January 1997 that moved the target
1318 configuration data into the global board_info array.
1320 * testsuite/runtest.libs/remote.test: Likewise.
1322 2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
1324 * testsuite/runtest.libs/libs.exp: Use runtest_file_p to honor
1325 requests to run only some library tests.
1327 2020-05-18 Rob Savoye <rob@senecass.com>
1329 * configure.ac: Extract the current branch.
1330 * Makefile.am: Change the frame_version in runtest.exp post
1331 install to add the branch and git revision to make it easier to
1332 support multiple versions during development.
1334 2020-05-15 Rob Savoye <rob@senecass.com>
1336 * All files: Minor change, update copyright dates.
1338 2019-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1340 * runtest.exp (search_and_load_file): Join the directory and
1341 filename once using 'file join'.
1343 2019-01-24 Jacob Bachmeyer <jcb62281@gmail.com>
1345 * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
1346 spacing so the Emacs move-by-sentence commands work correctly.
1348 2019-01-23 Ben Elliston <bje@gnu.org>
1350 * doc/dejagnu.texi: Replace "config file" with "configuration
1353 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
1355 * doc/dejagnu.texi (Command line option variables): Improve table
1356 formatting to fix overlapping columns and revise text slightly.
1358 2019-01-23 Jacob Bachmeyer <jcb62281@gmail.com>
1360 * doc/dejagnu.texi (Global config file): Change example to use the
1361 Tcl "switch" command instead of the deprecated "case" command.
1363 2019-01-12 Jacob Bachmeyer <jcb62281@gmail.com>
1365 * doc/dejagnu.texi (runtest_file_p procedure): Fix description of
1366 the structure of the "runtests" argument.
1368 2019-01-12 Ben Elliston <bje@gnu.org>
1370 * doc/dejagnu.texi: Various documentation fixes.
1372 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
1374 * testsuite/runtest.libs/clone_output.test: Use new test harness
1375 for verifying output of clone_output.
1377 * testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
1378 template using store_test_output.
1379 (send_log): Likewise.
1380 (send_user): Likewise.
1381 (clear_test_output): New proc.
1382 (store_test_output): New proc.
1384 * lib/framework.exp (clone_output): Actually send errors to the
1385 error stream; bug found while improving testsuite.
1387 2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com>
1389 * testsuite/runtest.libs/libs.exp (process_test): Handle blank
1390 lines from child process correctly.
1392 2019-01-02 Jacob Bachmeyer <jcb62281@gmail.com>
1394 * NEWS: Document report card.
1396 * Makefile.am (clean-local): Add target.
1397 (clean-local-check): Add target; mark as PHONY.
1398 (commands_DATA): Add "report-card" scripts.
1399 (dist_man_MANS): Add dejagnu-report-card.1 and split.
1400 (DEJATOOL): Add "report-card" tool.
1401 (TESTSUITE_FILES): Add testsuite for "report-card" tool.
1403 * commands/report-card.awk: New command script.
1405 * doc/dejagnu.texi (Invoking dejagnu report card): New node.
1406 * doc/dejagnu-report-card.1: New man page.
1408 * testsuite/lib/bohman_ssd.exp: New file.
1409 * testsuite/lib/report-card.exp: New file.
1410 * testsuite/report-card.all/onetest.exp: New file.
1411 * testsuite/report-card.all/passes.exp: New file.
1413 2019-01-02 Ben Elliston <bje@gnu.org>
1415 * Makefile.am (DISTCLEANFILES): Don't use this.
1416 (CLEANFILES): Use this instead.
1417 * Makefile.in: Regenerate.
1419 2019-01-01 Ben Elliston <bje@gnu.org>
1421 * configure.ac: Abort if AWK is not installed.
1422 * configure: Regenerate.
1424 2019-01-01 Ben Elliston <bje@gnu.org>
1426 * config.guess: Update to latest version.
1427 * config.sub: Likewise.
1429 2019-01-01 Ben Elliston <bje@gnu.org>
1431 * configure.ac: Add AC_PROG_AWK check.
1432 * configure: Regenerate.
1434 2018-12-29 Jacob Bachmeyer <jcb62281@gmail.com>
1436 * dejagnu: Avoid use of semicolon as sed(1) command separator.
1437 POSIX does not clearly require sed(1) to support that feature.
1439 2018-12-28 Jacob Bachmeyer <jcb62281@gmail.com>
1441 * testsuite/lib/util-defs.exp: Whitespace clean up.
1443 2018-12-21 Jacob Bachmeyer <jcb62281@gmail.com>
1446 * dejagnu: Improve command parsing to fix bug. Previously, the
1447 documented equivalence between "multi word command" and
1448 "multi-word-command" did not hold if no arguments were given.
1449 * testsuite/launcher.all/command.exp: Add tests.
1451 2018-12-20 Ben Elliston <bje@gnu.org>
1453 * NEWS: Add item for new dejagnu command.
1455 * Makefile.am (EXTRA_DIST): Remove $(XML).
1456 * Makefile.in: Regenerate.
1458 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
1460 * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
1461 contents of $(commands_DATA).
1462 (bin_SCRIPTS): Add "dejagnu" launcher script.
1463 (commandsdir): Installation directory for "dejagnu" subcommands is
1464 $(pkgdatadir)/commands.
1465 (commands_DATA): New, contains "commands/help.sh" as initial item.
1466 (TESTSUITE_FILES): Add testsuite for same.
1467 (DEJATOOL): Add "launcher" to list of tools to test.
1468 (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
1470 * doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
1471 (Invoking dejagnu): New node for dejagnu(1) launcher script.
1472 (Invoking dejagnu help): New node.
1474 * doc/dejagnu.1: New man page.
1475 * doc/dejagnu-help.1: New man page.
1477 * dejagnu: New script.
1479 * commands/help.sh: New dejagnu subcommand for reading manpages.
1481 * testsuite/launcher.all/command.exp: New file.
1482 * testsuite/launcher.all/command/commands/bar-baz.awk: New file.
1483 * testsuite/launcher.all/command/commands/bar.awk: New file.
1484 * testsuite/launcher.all/command/commands/bar.sh: New file.
1485 * testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
1486 * testsuite/launcher.all/command/commands/foo.sh: New file.
1487 * testsuite/launcher.all/command/commands/foo.tcl: New file.
1488 * testsuite/launcher.all/help.exp: New file.
1489 * testsuite/launcher.all/interp.exp: New file.
1490 * testsuite/launcher.all/verbose.exp: New file.
1491 * testsuite/lib/launcher.exp: New file.
1493 2018-12-20 Jacob Bachmeyer <jcb62281@gmail.com>
1495 * doc/dejagnu.texi (bt procedure): Fix Info links.
1497 2018-12-17 Ben Elliston <bje@gnu.org>
1499 * doc/dejagnu.texi (Board config file): Fix up @ref.
1500 (Command line option variables): Likewise.
1501 (Debugging Procedures): Add an entry for 'bt' command.
1503 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1505 * runtest.exp: Move processing of -V|--version option to first
1506 pass through command line arguments instead of delaying it.
1508 2018-12-16 Jacob Bachmeyer <jcb62281@gmail.com>
1510 * Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
1511 * Makefile.in: Regenerate.
1513 2018-12-15 Ben Elliston <bje@gnu.org>
1515 * doc/dejagnu.texi (telnet Procedure): Remove old node.
1516 (rlogin Procedure): Likewise.
1517 (rsh Procedure): Likewise.
1518 (tip Procedure): Likewise.
1519 (kermit Procedure): Likewise.
1520 (list_targets Procedure): Likewise.
1521 (prune_system_crud): Likewise.
1523 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1525 * testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
1526 (send_user): Likewise.
1527 * testsuite/runtest.libs/clone_output.test: Remove unneeded global
1528 variable link at top-level.
1529 * testsuite/runtest.libs/utils.test: Adjust absolute path to
1531 * testsuite/runtest.libs/clone_output.test: Use preset srcdir,
1532 subdir, and objdir variables instead of extracting them from argv.
1533 Remove setval.tmp, which is now obsolete.
1534 * testsuite/runtest.libs/config.test: Likewise.
1535 * testsuite/runtest.libs/remote.test: Likewise.
1536 * testsuite/runtest.libs/target.test: Likewise.
1537 * testsuite/runtest.libs/testsuite_file.test: Likewise.
1538 * testsuite/runtest.libs/utils.test: Likewise.
1540 * testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
1541 (send_defaults): .. with this.
1542 (start_expect): Remove redundant code.
1544 * testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
1545 Remove unneeded test for EXPECT global variable.
1546 Use one Expect subprocess to run all test cases.
1547 (process_test): Redesign to use Expect subprocess and to use
1548 throwaway slave interpreters for running test cases.
1550 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1552 * testsuite/lib/runtest.exp (runtest_start): Remove.
1553 Move the sanity check in runtest_start to top-level and similarly
1554 check to ensure that $EXPECT can be found. Make failure of either
1555 sanity check an immediate fatal error.
1556 Improve error messages for sanity checks to indicate which
1557 critical tool was not found. Remove useless 'global RUNTEST'
1558 command at top-level.
1559 (runtest_version): Brace 'if' expression.
1561 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1563 * testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
1564 default runtest executable instead of implicitly searching PATH.
1565 Remove unused RUNTESTFLAGS Tcl variable.
1567 2018-12-15 Jacob Bachmeyer <jcb62281@gmail.com>
1569 * testsuite/lib/runtest.exp (runtest_start): Remove unused global
1572 2018-12-14 Jacob Bachmeyer <jcb62281@gmail.com>
1574 * lib/framework.exp (log_summary): Remove "testcnt" mechanism.
1575 * testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
1577 2018-12-12 Ben Elliston <bje@gnu.org>
1579 * config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
1580 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
1581 lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
1582 some regular expressions in constant strings by placing them
1583 inside braces instead of quotes. This allows one level of
1584 backslash quoting to be removed.
1586 2018-12-12 Ben Elliston <bje@gnu.org>
1588 * doc/dejagnu.texi: Acknowledge contributions to the manual from
1591 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1593 * testsuite/runtest.all/libs.exp: Use "testsuite file" command.
1594 * testsuite/runtest.all/load_lib.exp: Likewise.
1595 * testsuite/runtest.all/stats.exp: Likewise.
1597 * testsuite/runtest.all/stats.exp: Write local init file as
1598 "stats-init.exp" for status summary tests. Use --local_init
1599 option to runtest to load that file instead of site.exp and move
1600 the inner test module to a nested testsuite.
1601 * testsuite/runtest.all/stats-sub.exp: Move file from here ..
1602 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1605 * testsuite/runtest.all/options.exp: Clean up whitespace in file.
1606 Wrap lines in test list and move short items to beginning of list.
1607 Write local init file as "options-init.exp" for options tests.
1608 Use --local_init option with nested runtest to load that file
1609 instead of site.exp; also create an empty nested testsuite. Local
1610 init file arranges for inner runtest processes to run in a
1611 subdirectory in the object tree to eliminate filename clashes.
1612 Set tmpdir if not already set and remove entire temporary
1613 directory after running options tests.
1614 * testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
1616 * testsuite/runtest.all/clone_output.test: Move from here ..
1617 * testsuite/runtest.libs/clone_output.test: .. to here.
1618 * testsuite/runtest.all/config.test: Move from here ..
1619 * testsuite/runtest.libs/config.test: .. to here.
1620 * testsuite/runtest.all/default_procs.tcl: Move from here ..
1621 * testsuite/runtest.libs/default_procs.tcl: .. to here.
1622 * testsuite/runtest.all/libs.exp: Move from here ..
1623 * testsuite/runtest.libs/libs.exp: .. to here.
1624 * testsuite/runtest.all/load_lib.exp: Move from here ..
1625 * testsuite/runtest.libs/load_lib.exp: .. to here.
1626 * testsuite/runtest.all/remote.test: Move from here ..
1627 * testsuite/runtest.libs/remote.test: .. to here.
1628 * testsuite/runtest.all/target.test: Move from here ..
1629 * testsuite/runtest.libs/target.test: .. to here.
1630 * testsuite/runtest.all/testsuite_file.test: Move from here ..
1631 * testsuite/runtest.libs/testsuite_file.test: .. to here.
1632 * testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
1633 * testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
1634 * testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
1635 * testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
1636 * testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
1638 * testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
1640 * testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
1641 * testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
1642 * testsuite/runtest.all/utils.test: Move from here ..
1643 * testsuite/runtest.libs/utils.test: .. to here.
1644 * testsuite/runtest.libs/utils.test: Update references to
1647 * testsuite/runtest.all/options.exp: Move from here ..
1648 * testsuite/runtest.main/options.exp: .. to here.
1649 * testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
1651 * testsuite/runtest.main/options/testsuite/null.test/null.exp:
1653 * testsuite/runtest.all/stats.exp: Move from here ..
1654 * testsuite/runtest.main/stats.exp: .. to here.
1655 * testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
1657 * testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
1660 * Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
1661 (TESTSUITE_FILES): Update to reflect testsuite reorganization.
1662 * Makefile.in: Regenerate.
1664 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1666 * doc/dejagnu.texi: Clean up whitespace. Some indented examples
1667 were changed to use the Texinfo '@ ' command (yes, a space
1668 character) to preserve correct indentation. The '@ ' command is
1669 treated as a single space by Tex and makeinfo, but prevents Emacs
1670 from complaining about indentation using spaces instead of tabs.
1672 2018-12-11 Jacob Bachmeyer <jcb62281@gmail.com>
1674 * doc/dejagnu.texi (getdirs procedure): Document hard-coded
1675 directory exclusions by name in this procedure.
1677 2018-12-10 Ben Elliston <bje@gnu.org>
1679 * doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
1680 glob patterns, not "shell wildcard characters" per se.
1682 * doc/dejagnu.texi (istarget procedure): Remove stray @{.
1684 2018-12-10 Jacob Bachmeyer <jcb62281@gmail.com>
1686 * doc/dejagnu.texi (Writing a test case): Add warning about
1687 priority of Expect patterns, complete with example.
1688 * testsuite/runtest.all/libs.exp (process_test): Fix bug that
1689 caused test results other than "PASS" to be skipped if a "PASS" is
1690 further along in the input buffer. Describe problem in manual.
1691 (process_test): Ensure that the log file shows each test case run.
1692 (process_test): Directly run the test cases instead of using
1693 temporary files and "cat". All output is always available in the
1694 log file, which is no longer overwritten by other tests.
1695 (process_test): Expect END markers from test case scripts.
1696 * testsuite/runtest.all/clone_output.test: Emit END markers.
1697 * testsuite/runtest.all/config.test: Likewise.
1698 * testsuite/runtest.all/remote.test: Likewise.
1699 * testsuite/runtest.all/target.test: Likewise.
1700 * testsuite/runtest.all/testsuite_file.test: Likewise.
1701 * testsuite/runtest.all/utils.test: Likewise.
1703 2018-12-10 Ben Elliston <bje@gnu.org>
1705 * lib/utils.exp (grep): Use a proper Tcl list for options.
1707 2018-12-10 Ben Elliston <bje@gnu.org>
1709 * testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
1711 * lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
1712 and catching the "no files matched glob pattern" error
1713 message. Catching the error message was the wrong thing to do
1714 because the foreach loop then iterates over each word in the error
1715 message as if they were matches.
1717 2018-12-10 Ben Elliston <bje@gnu.org>
1719 * testsuite/runtest.all/utils.test (getdirs): Add a test for the
1720 non-existent directory case.
1722 2018-12-10 Ben Elliston <bje@gnu.org>
1724 * runtest.exp: Remove unnecessary quotes and braces around
1725 variable expansions.
1727 * lib/debugger.exp (dumpvars): Remove unnecessary braces.
1729 2018-12-09 Ben Elliston <bje@gnu.org>
1731 * runtest.exp (setup_target_hook): Use 'ne' and not '!='.
1732 (iterate_target_variants_two): Likewise.
1733 * lib/remote.exp (standard_download): Use 'eq' not '=='.
1734 (remote_upload): Likewise.
1735 * lib/framework.exp (open_logs): Likewise.
1736 (is_remote): Likewise.
1738 2018-12-09 Ben Elliston <bje@gnu.org>
1740 * baseboards/basic-sid.exp, baseboards/basic-sim.exp,
1741 baseboards/i386-sid.exp, baseboards/mt-sid.exp,
1742 baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
1743 config/gdb_stub.exp, config/sim.exp, config/unix.exp,
1744 config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
1745 lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
1746 lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
1747 lib/utils.exp, testsuite/lib/libsup.exp,
1748 testsuite/runtest.all/options.exp,: Remove unnecessary braces
1749 around variable expansions.
1751 2018-12-09 Ben Elliston <bje@gnu.org>
1753 * lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
1754 lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
1755 lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
1756 unnecessary quotes and braces around variable expansions.
1758 2018-12-09 Ben Elliston <bje@gnu.org>
1760 * config/gdb-comm.exp: Remove unnecessary quotes.
1761 * config/gdb_stub.exp: Likewise.
1762 * config/vxworks.exp: Likewise.
1763 * config/unix.exp: Likewise.
1764 * config/sim.exp: Likewise.
1766 2018-12-09 Ben Elliston <bje@gnu.org>
1768 * testsuite/lib/libsup.exp: Remove unnecessary quotes around
1769 variable expansions.
1770 * testsuite/lib/util-defs.exp: Likewise.
1772 2018-12-09 Ben Elliston <bje@gnu.org>
1774 * baseboards/androideabi.exp: Remove unnecessary quotes and braces
1775 around variable expansions.
1776 * baseboards/basic-sid.exp: Likewise.
1777 * baseboards/cris-sim.exp: Likewise.
1778 * baseboards/generic-sim.exp: Likewise.
1779 * baseboards/mcore-moto-sim.exp: Likewise.
1780 * baseboards/multi-sim.exp: Likewise.
1782 2018-12-08 Ben Elliston <bje@gnu.org>
1786 2018-12-08 Ben Elliston <bje@gnu.org>
1788 * lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
1789 variable expansions.
1790 * testsuite/runtest.all/clone_output.test: Likewise.
1791 * testsuite/runtest.all/target.test: Likewise.
1792 * testsuite/runtest.all/stats.exp: Likewise.
1793 * testsuite/runtest.all/remote.test: Likewise.
1794 * testsuite/runtest.all/config.test: Likewise.
1795 * testsuite/runtest.all/default_procs.tcl: Likewise.
1796 * testsuite/runtest.all/libs.exp: Likewise.
1797 * testsuite/runtest.all/options.exp: Likewise.
1799 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1801 * NEWS: Document 'testsuite' command.
1802 * doc/dejagnu.texi (testsuite procedure): Document multiplex entry
1803 point and "testsuite file" command.
1804 * lib/framework.exp (testsuite): New proc for multiplex commands.
1805 (testsuite_file): New proc implementing "testsuite file".
1806 * testsuite/runtest.all/testsuite_file.test: New file.
1807 * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
1808 but also search $srcdir itself.
1809 (load_lib): Add explicit search for testsuite-local libraries.
1810 (load_tool_init): Use $testsuitedir in search.
1811 (load_config): Use $testsuitedir instead of $srcdir.
1812 (load_tool_target_config): Likewise.
1814 Add variable "testsuitedir" for testsuite root directory.
1816 Add internal global variables "testbuilddir" and "testdir" for use
1817 by "testsuite file".
1819 Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
1820 duplicated path delimiters.
1822 Add warning if no tests are found and fallback method of searching
1825 2018-12-08 Ben Elliston <bje@gnu.org>
1827 * testsuite/lib/libsup.exp (start_expect): Brace commands in if
1829 * testsuite/lib/util-defs.exp (util_test): Likewise.
1830 * testsuite/runtest.all/stats.exp: Likewise.
1831 * testsuite/runtest.all/libs.exp: Likewise.
1833 2018-12-08 Jacob Bachmeyer <jcb62281@gmail.com>
1835 * testsuite/runtest.all/default_procs.tcl:
1836 (lib_errpat_test, lib_errregexp_test, lib_err_test): New.
1837 (lib_regexp_test): Fix copy-paste-edit error.
1838 (lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
1839 Fix handling of errors raised by tested procedure. Also ensure
1840 proper quoting of argument lists passed to eval and simplify
1841 the logic for producing return values.
1843 2018-12-08 Ben Elliston <bje@gnu.org>
1845 * config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
1847 2018-12-08 Ben Elliston <bje@gnu.org>
1849 * lib/tip.exp (tip_open): Put braces around if expression.
1851 2018-12-08 Ben Elliston <bje@gnu.org>
1853 * runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
1854 lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
1855 config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
1856 baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
1857 baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
1858 baseboards/mt-sid.exp, baseboards/mips-sim.exp,
1859 baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
1860 baseboards/i386-sid.exp, baseboards/arm-sim.exp,
1861 baseboards/arm-ice.exp, baseboards/androideabi.exp,
1862 testsuite/runtest.all/utils.test,
1863 testsuite/runtest.all/target.test: Replace string literal
1864 comparisons using == and != with 'eq' and 'ne'.
1866 2018-12-08 Ben Elliston <bje@gnu.org>
1868 * runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
1869 lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
1870 lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
1871 config/vxworks.exp, config/unix.exp, config/sim.exp,
1872 config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
1873 baseboards/multi-sim.exp, baseboards/cris-sim.exp,
1874 baseboards/basic-sim.exp, baseboards/basic-sid.exp,
1875 baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
1876 testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
1877 using == and != with 'eq' and 'ne'.
1879 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1881 * testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
1882 (lib_regexp_test): New.
1883 (lib_pat_test): Brace "if" conditions.
1884 (lib_pat_test): Remove spurious quotes in debugging output.
1885 (run_tests): Add support for comments in lists of procedure tests.
1887 * testsuite/runtest.all/config.test: Adjust to use run_tests
1888 procedure. Fixes issue cited in FIXME comment.
1890 * testsuite/runtest.all/utils.test (getdirs tests): Fix these.
1891 The old tests had the sense of the return value from lib_pat_test
1892 inverted and were failing but reported PASS.
1893 (find tests, relative_filename tests, runtest_file_p tests):
1894 Adjust to use run_tests procedure.
1896 2018-12-07 Ben Elliston <bje@gnu.org>
1898 * doc/dejagnu.texi: Add more missing material.
1900 2018-12-07 Jacob Bachmeyer <jcb62281@gmail.com>
1902 * testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
1903 (run_tests): Replace implicit "eval" with explicit "eval". Tidy.
1904 (verbose): Remove unnecessary quotes.
1906 2018-12-06 Ben Elliston <bje@gnu.org>
1908 * doc/dejagnu.texi: Add more missing material.
1910 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1912 * testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
1913 (lib_pat_test): Handle an argument list instead of only a single
1914 argument for the procedure under test.
1915 (lib_ret_test): Likewise.
1916 * testsuite/runtest.all/utils.test: Whitespace clean up.
1917 Adjust to pass argument lists for improved lib_pat_test.
1918 * testsuite/runtest.all/clone_output.test: Likewise.
1920 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1922 * lib/remote.exp (standard_load): Fix typo on empty string.
1923 * runtest.exp: Adjust expression to follow GNU conventions.
1924 * lib/utils.exp (diff): Fix mistake in replacing [string compare]
1925 with "eq" instead of "ne".
1926 * testsuite/runtest.all/config.test: Likewise.
1928 2018-12-06 Ben Elliston <bje@gnu.org>
1930 * runtest.exp: Replace [string match] commands involving literal
1931 strings and variables known to not be Tcl glob patterns with eq
1933 * config/unix.exp: Likewise.
1934 * lib/debugger.exp: Likewise.
1935 * lib/dg.exp: Likewise.
1936 * lib/framework.exp: Likewise.
1937 * lib/remote.exp: Likewise.
1938 * lib/utils.exp: Likewise.
1939 * baseboards/androideabi.exp: Likewise.
1940 * baseboards/multi-sim.exp: Likewise.
1941 * testsuite/lib/util-defs.exp: Likewise.
1942 * testsuite/runtest.all/config.test: Likewise.
1944 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1946 * testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
1947 * testsuite/runtest.all/target.test: Likewise.
1948 * testsuite/runtest.all/remote.test: Likewise.
1949 * testsuite/runtest.all/config.test: Likewise.
1950 * testsuite/runtest.all/clone_output.test: Likewise.
1952 2018-12-06 Ben Elliston <bje@gnu.org>
1954 * runtest.exp: Replace '==' with 'eq' for string compares.
1955 Likewise, replace '!=' with 'ne'. Replace a few instances of
1956 [string length $str] == 0 with $str eq "".
1957 * config/gdb-comm.exp: Likewise.
1958 * lib/dg.exp: Likewise.
1959 * lib/framework.exp: Likewise.
1960 * lib/libgloss.exp: Likewise.
1961 * lib/remote.exp: Likewise.
1962 * lib/target.exp: Likewise.
1963 * lib/utils.exp: Likewise.
1965 2018-12-06 Jacob Bachmeyer <jcb62281@gmail.com>
1967 * runtest.exp: Replace archaic use of [string match] with "eq".
1969 2018-12-06 Ben Elliston <bje@gnu.org>
1971 * doc/dejagnu.texi (compile Procedure): Remove old node.
1972 (archive Procedure): Likewise.
1973 (ranlib Procedure): Likewise.
1975 2018-12-06 Ben Elliston <bje@gnu.org>
1977 * doc/dejagnu.texi (rsh procedure): Fix node connectivity.
1979 2018-12-06 Ben Elliston <bje@gnu.org>
1981 * lib/telnet.exp (telnet_open): Remove connectmode global.
1982 * doc/dejagnu.texi (Procedures For Remote Communication): Remove
1983 mention of connectmode.
1985 2018-12-05 Ben Elliston <bje@gnu.org>
1987 * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
1990 2018-12-05 Ben Elliston <bje@gnu.org>
1992 * doc/dejagnu.texi: Add more missing material.
1994 2018-12-05 Ben Elliston <bje@gnu.org>
1996 * testsuite/runtest.all/utils.test: Test runtest_file_p.
1998 2018-12-05 Jacob Bachmeyer <jcb62281@gmail.com>
2000 * runtest.exp (load_config): Remove unused globals.
2001 (load_generic_config): Likewise.
2002 (load_board_description): Likewise.
2003 (load_base_board_description): Likewise.
2005 2018-12-05 Ben Elliston <bje@gnu.org>
2007 * lib/utils.exp (grep): Handle -n.
2008 * doc/dejagnu.texi (grep procedure): Document it.
2009 * testsuite/runtest.all/utils.test: Add a test case.
2010 * NEWS: Add an item.
2012 2018-12-05 Ben Elliston <bje@gnu.org>
2014 * testsuite/runtest.all/utils.test: Test diff.
2016 2018-12-04 Ben Elliston <bje@gnu.org>
2018 * testsuite/runtest.all/utils.test: Test grep.
2020 2018-12-04 Ben Elliston <bje@gnu.org>
2022 * testsuite/runtest.all/utils.test (which): Fail on the else path,
2023 don't pass in either case.
2025 2018-12-04 Ben Elliston <bje@gnu.org>
2027 * doc/dejagnu.texi (Libgloss): Improve documentation.
2028 (Debugging Procedures): Likewise.
2030 2018-12-04 Ben Elliston <bje@gnu.org>
2032 * lib/debugger.exp (dumprocs): Fix proc comment.
2034 2018-12-04 Ben Elliston <bje@gnu.org>
2036 * doc/dejagnu.texi (Utility Procedures): Improve documentation for
2037 the procedures in this section.
2039 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
2041 * NEWS: Document new relative_filename procedure and --local_init/
2042 --global_init command line options.
2044 2018-12-04 Jacob Bachmeyer <jcb62281@gmail.com>
2046 * lib/utils.exp (relative_filename): New proc.
2047 * runtest.exp: Use it.
2048 * doc/dejagnu.texi (relative_filename procedure): Document it.
2049 * testsuite/runtest.all/utils.test: Add tests for relative_filename.
2051 2018-12-03 Ben Elliston <bje@gnu.org>
2053 * dejagnu.h (TestState): Remove const char * variants of pass(),
2054 xpass(), fail(), xfail(), untested(), unresolved() for C++. A
2055 const char * will be implicitly converted to std::string.
2057 2018-12-03 Ben Elliston <bje@gnu.org>
2059 * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
2060 removing the 'Reference' node and chapter. Make all subsubsections
2061 in this chapter unnumbered subheadings.
2063 2018-12-03 Jacob Bachmeyer <jcb62281@gmail.com>
2065 * doc/dejagnu.texi: Fix Info node links. The arguments to @node
2066 are: here, next, previous, up; not here, previous, next, up.
2068 2018-12-03 Ben Elliston <bje@gnu.org>
2070 * Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
2071 doc/texinfo.tex. With thanks to Jacob Bachmeyer.
2072 * Makefile.in: Regenerate.
2074 2018-12-03 Ben Elliston <bje@gnu.org>
2076 * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
2077 (EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
2078 prevents the distribution of the overridden texinfo.tex.
2079 * Makefile.in: Regenerate.
2080 * texinfo.tex: Move from here ..
2081 * doc/texinfo.tex: .. to here.
2083 2018-12-03 Ben Elliston <bje@gnu.org>
2085 * lib/framework.exp (isremote): Add verbose message.
2087 2018-12-02 Ben Elliston <bje@gnu.org>
2089 * lib/framework.exp (isremote): Pass $board to is_remote.
2091 2018-12-02 Ben Elliston <bje@gnu.org>
2093 * doc/fdl.texi: New.
2094 * doc/dejagnu.texi (Variable Index): New.
2095 Add more concept index entries.
2096 (GNU Free Documentation License): New appendix.
2098 2018-12-02 Ben Elliston <bje@gnu.org>
2100 * doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
2101 index (@findex) entries for every built-in procedure.
2103 2018-12-02 Ben Elliston <bje@gnu.org>
2105 * doc/dejagnu.texi: Start an index.
2107 2018-12-02 Ben Elliston <bje@gnu.org>
2109 * doc/version.texi: New.
2111 2018-12-02 Ben Elliston <bje@gnu.org>
2113 * doc/dejagnu.texi: Add title page and frontmatter. Include
2115 * Makefile.in: Regenerate.
2116 * mdate-sh: Installed by automake --add-missing.
2118 2018-12-02 Ben Elliston <bje@gnu.org>
2120 * doc/dejagnu.texi (diff procedure): Tidy up this node.
2122 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
2124 * runtest.exp (hex): Remove useless test before setting.
2125 (decimal): Likewise.
2127 2018-12-02 Jacob Bachmeyer <jcb62281@gmail.com>
2129 * doc/dejagnu.texi (Invoking runtest): Document new --local_init
2130 and --global_init command line options.
2131 * doc/runtest.1: Likewise.
2133 * runtest.exp: Remove useless tests before setting default values
2134 for variables: all_flag, binpath, debug, options, outdir, reboot,
2135 tracelevel, verbose, log_dialog. They are set before loading any
2136 files or parsing the command line.
2138 * runtest.exp: Add options --local_init and --global_init for
2139 selecting alternate testsuite configuration files.
2141 * runtest.exp: Split variable "configfile" into "local_init_file"
2142 and "global_init_file" in preparation for adding command-line
2143 options to specify these independently.
2145 * runtest.exp (load_generic_config): Remove configfile global.
2146 (load_board_description): Likewise.
2147 (load_base_board_description): Likewise.
2149 2018-11-30 Ben Elliston <bje@gnu.org>
2151 * lib/utils.exp (grep): Remove reference to "NULL" in comment.
2152 * testsuite/lib/util-defs.exp (util_start): Likewise.
2154 2018-11-30 Ben Elliston <bje@gnu.org>
2156 * doc/dejagnu.texi: (verbose procedure): Improve documentation.
2157 (load_lib procedure): Likewise.
2159 2018-11-30 Ben Elliston <bje@gnu.org>
2161 * doc/dejagnu.texi: More clean-ups of built-in proc documentation.
2163 2018-11-30 Ben Elliston <bje@gnu.org>
2165 * runtest.exp: Use isremote.
2166 * lib/target.exp: Likewise.
2167 * lib/remote.exp: Likewise.
2168 * lib/libgloss.exp: Likewise.
2169 * config/unix.exp: Likewise.
2170 * config/sim.exp: Likewise.
2171 * config/gdb_stub.exp: Likewise.
2172 * config/gdb-comm.exp: Likewise.
2173 * baseboards/basic-sim.exp: Likewise.
2174 * baseboards/androideabi.exp: Likewise.
2176 2018-11-30 Ben Elliston <bje@gnu.org>
2178 * lib/framework.exp (isremote): New.
2179 * doc/dejagnu.texi (isremote procedure): Document it.
2180 * NEWS: Mention isremote.
2182 2018-11-30 Ben Elliston <bje@gnu.org>
2184 * texinfo.tex: Update to latest upstream version.
2185 * INSTALL: Likewise.
2187 2018-11-29 Ben Elliston <bje@gnu.org>
2189 * lib/framework.exp (istarget, ishost, istarget): Set the argument
2190 default value to the empty string.
2191 * doc/dejagnu.texi (find procedure): Remove reference to "NULL".
2192 (getenv procedure): Re-word this node.
2193 (isbuild procedure): Update.
2194 (ishost procedure): Likewise.
2195 (istarget procedure): Likewise.
2196 * testsuite/runtest.all/config.test: Add test cases.
2198 2018-11-28 Ben Elliston <bje@gnu.org>
2200 * config.guess: Update to latest version.
2201 * config.sub: Likewise.
2203 2018-11-28 Ben Elliston <bje@gnu.org>
2206 * configure.ac: Update version number.
2207 * configure: Regenerate.
2208 * doc/dejagnu.texi: Update version number.
2209 * runtest.exp: Update version number.
2211 2018-11-28 Ben Elliston <bje@gnu.org>
2213 * Makefile.am (TESTSUITE_FILES): Update filenames.
2214 * Makefile.in: Regenerate.
2216 2018-11-28 Ben Elliston <bje@gnu.org>
2220 * doc/dejagnu.texi: Tidy up (fill) some paragraphs.
2222 2018-11-25 Jacob Bachmeyer <jcb62281@gmail.com>
2224 * lib/framework.exp: Clean up whitespace.
2226 2018-11-25 Ben Elliston <bje@gnu.org>
2228 * config/gdb-comm.exp: Clean up whitespace.
2229 * config/gdb_stub.exp: Likewise.
2230 * config/sid.exp: Likewise.
2231 * config/sim.exp: Likewise.
2232 * config/unix.exp: Likewise.
2234 2018-11-23 Ben Elliston <bje@gnu.org>
2236 * doc/dejagnu.texi (getdirs procedure): Improve documentation
2237 including documenting the -all option.
2238 (find procedure): Fix a typo.
2239 * lib/utils.exp (getdirs): Improve comments.
2241 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
2243 * runtest.exp: Ensure that multipass pass variables are always
2244 restored. Previously, they were only restored if the "Go digging
2245 for tests" branch was taken near the end of runtest.exp.
2247 2018-11-22 Ben Elliston <bje@gnu.org>
2249 * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
2250 of the $DEJAGNU environment variable (see change below).
2252 2018-11-22 Jacob Bachmeyer <jcb62281@gmail.com>
2254 * runtest.exp: Raise error if $DEJAGNU is defined but not found.
2256 2018-11-15 Jacob Bachmeyer <jcb62281@gmail.com>
2258 * runtest.exp (load_tool_init): Search for tool init file instead
2259 of assuming exactly one location.
2261 2018-11-15 Ben Elliston <bje@gnu.org>
2263 * runtest.exp (load_lib): Whitespace fix.
2265 2018-11-11 Jacob Bachmeyer <jcb62281@gmail.com>
2267 * lib/ssh.exp: Clean up whitespace.
2268 * lib/remote.exp: Clean up whitespace.
2269 (remote_expect): Change literal tab to "\t" in regexp.
2271 2018-11-05 Ben Elliston <bje@gnu.org>
2273 * config.guess: Update to latest version.
2274 * config.sub: Likewise.
2276 2018-11-02 Ben Elliston <bje@gnu.org>
2278 * Makefile.in: Regenerate.
2280 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2282 * Makefile.am (DEJATOOL): List tools in testsuite.
2283 (RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
2284 * testsuite/config/default.exp: Rename from this ...
2285 * testsuite/lib/runtest.exp: ... to this.
2286 (runtest_exit): Remove spurious "close". This was causing per-tool
2287 testing to fail, since the testsuite for "runtest" never actually
2288 uses "spawn", so "close" ends up closing exp0, which is the
2289 terminal. The ${tool}_exit proc is not called if the --tool
2290 option is not given, so this had no effect earlier.
2291 * testsuite/lib/libdejagnu.exp: New empty file.
2293 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2295 * runtest.exp (load_tool_init): Add message indicating the
2296 expected location of the tool init file.
2298 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2300 * contrib/sum2junit.sh (failures): Fix typo.
2302 2018-10-31 Jacob Bachmeyer <jcb62281@gmail.com>
2304 * configure.ac (DEJAGNU): Add comments.
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
2313 per-tool testing to fail, since the testsuite for "runtest" never
2314 actually uses "spawn", so "close" ends up closing exp0, which is
2315 the 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-30 Ben Elliston <bje@gnu.org>
2321 * Makefile.am (DISTCLEANFILES): Add testrun.xml.
2322 * Makefile.in: Regenerate with Automake 1.15.1.
2323 * aclocal.m4: Likewise.
2325 2018-10-30 Ben Elliston <bje@gnu.org>
2327 * configure.ac (AC_CONFIG_SUBDIRS): Remove.
2328 * configure: Regenerate.
2330 2018-10-29 Ben Elliston <bje@gnu.org>
2332 * README (Documentation): Update.
2334 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
2336 * lib/framework.exp (record_test): Really fix message formatting.
2338 2018-10-29 Ben Elliston <bje@gnu.org>
2340 Reported by Jacob Bachmeyer.
2341 * testsuite/runtest.all/utils.test: Fix missing end quote.
2343 2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
2345 * lib/framework.exp (record_test): Fix message formatting.
2347 2018-07-20 Ben Elliston <bje@gnu.org>
2349 * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
2350 * contrib/mysql/sum2xml.sh: Likewise.
2352 2018-07-20 Ben Elliston <bje@gnu.org>
2354 * contrib/compare_tests: Eliminate Shellcheck warnings.
2355 * contrib/mysql/sum2xml.sh: Likewise.
2357 2018-07-20 Ben Elliston <bje@gnu.org>
2359 * compile, depcomp, install-sh: Latest upstream versions.
2361 2018-07-20 Ben Elliston <bje@gnu.org>
2363 * contrib/sum2junit.sh: Eliminate some Shellcheck warnings.
2365 2018-07-19 Ben Elliston <bje@gnu.org>
2367 * runtest: Use POSIX 'command', not 'type', to look for the Expect
2368 binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
2371 2018-07-19 Ben Elliston <bje@gnu.org>
2373 * config.guess: Update to latest version.
2374 * config.sub: Likewise.
2376 2018-07-06 Richard Biener <rguenther@suse.de>
2378 * lib/remote.exp (close_wait_program): Use separate kill command
2381 2017-10-16 Ben Elliston <bje@gnu.org>
2383 * NEWS: Start a new section for the next release.
2384 * configure.ac (AC_INIT): Update version number.
2385 * configure: Regenerate.
2386 * runtest.exp (frame_version): Update version number.
2387 * doc/dejagnu.texi: Likewise.
2388 * doc/runtest.1: Update datestamp.
2390 2017-10-16 Ben Elliston <bje@gnu.org>
2392 * config.guess: Update to version 2017-09-26.
2393 * config.sub: Likewise.
2395 2017-09-13 Ben Elliston <bje@gnu.org>
2397 * lib/framework.exp (open_logs): Set XML version to 1.1.
2398 (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
2399 missing 'x' in escape sequence.
2401 2017-08-29 Ben Elliston <bje@gnu.org>
2403 Revert these changes:
2405 2016-04-25 Ben Elliston <bje@gnu.org>
2407 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2409 2016-04-24 Ben Elliston <bje@gnu.org>
2411 * lib/utils.exp (unsetenv): Remove proc.
2412 * doc/dejagnu.texi: Update documentation.
2415 2017-08-19 Ben Elliston <bje@gnu.org>
2417 * lib/framework.exp (xml_tag): Escape all of the non-printable
2418 control characters (ASCII codes 1 to 31 inclusive).
2420 2017-08-18 Tom Tromey <tom@tromey.com>
2422 * runtest.exp: Fix --directory matching.
2424 2017-08-15 Ben Elliston <bje@gnu.org>
2426 * lib/framework.exp (xml_tag): New proc.
2427 (log_summary): Use it.
2428 (record_test): Likewise.
2430 2017-08-15 Ben Elliston <bje@gnu.org>
2432 * lib/framework.exp (open_logs): Set .xml filename correctly.
2433 * runtest.exp: Remove xml_file_name var.
2434 (usage): Update --xml option to not take an argument.
2435 (load_tool_init): Likewise.
2436 * doc/dejagnu.texi (Invoking runtest): Update documentation.
2437 * doc/runtest.1: Likewise.
2439 2017-08-01 Ben Elliston <bje@gnu.org>
2441 * runtest.exp (usage): Improve --strace message.
2443 2017-08-01 Ben Elliston <bje@gnu.org>
2445 * runtest.exp (usage): --reboot doesn't take a 'name' parameter.
2447 2017-06-04 Ben Elliston <bje@gnu.org>
2449 * lib/target.exp (push_target): Remove unnecessary global command.
2450 * testsuite/runtest.all/target.test: Overhaul tests.
2452 2017-06-04 Ben Elliston <bje@gnu.org>
2454 * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
2456 2017-06-04 Tom de Vries <tom@codesourcery.com>
2458 * testsuite/runtest.all/target.test: Remove list_targets test.
2460 2017-06-04 Tom de Vries <tom@codesourcery.com>
2462 * testsuite/runtest.all/libs.exp (process_test): Dump entire
2463 output when there's no reportable output.
2464 * testsuite/runtest.all/remote.test (load_lib): New proc.
2465 * testsuite/runtest.all/target.test (load_lib): Same.
2467 2017-03-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
2469 * lib/remote.exp (remote_download): Add logging message when
2470 source and destination file differ in name.
2472 2016-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2474 * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2476 2016-06-28 Ben Elliston <bje@gnu.org>
2478 * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
2479 * configure: Regenerate.
2481 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2483 * configure.ac, dejagnu.h, runtest, runtest.exp,
2484 baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
2485 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2486 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2487 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2488 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2489 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2490 baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
2491 baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
2492 baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
2493 baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
2494 baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
2495 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
2496 baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
2497 baseboards/mips-sim-mti64_64.exp,
2498 baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
2499 baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
2500 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2501 baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
2502 baseboards/mt-sid.exp, baseboards/multi-sim.exp,
2503 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2504 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2505 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2506 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2507 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2508 baseboards/unix.exp, baseboards/v850-sim.exp,
2509 baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
2510 baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
2511 baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
2512 lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
2513 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2514 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2515 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2516 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2517 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2518 testsuite/runtest.all/stats-sub.exp,
2519 testsuite/runtest.all/stats.exp, config/adb.exp,
2520 config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
2521 config/sid.exp, config/sim.exp, config/unix.exp,
2522 config/vxworks.exp: Update copyright date for 2016.
2524 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2526 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
2527 baseboards/arm-ice.exp, baseboards/arm-sid.exp,
2528 baseboards/arm-sim.exp, baseboards/basic-sid.exp,
2529 baseboards/basic-sim.exp, baseboards/cris-sim.exp,
2530 baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
2531 baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
2532 baseboards/generic-sim.exp, baseboards/i386-sid.exp,
2533 baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
2534 baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
2535 baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
2536 baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
2537 baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
2538 baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
2539 baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
2540 baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
2541 baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
2542 baseboards/rx-sim.exp, baseboards/sh-sid.exp,
2543 baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
2544 baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
2545 baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
2546 baseboards/unix.exp, baseboards/v850-sim.exp,
2547 baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
2548 baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
2549 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
2550 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
2551 lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
2552 lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
2553 testsuite/config/default.exp, testsuite/lib/libsup.exp,
2554 testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
2555 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
2556 testsuite/runtest.all/options.exp,
2557 testsuite/runtest.all/stats-sub.exp,
2558 testsuite/runtest.all/stats.exp, config/default.exp,
2559 config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
2560 config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
2561 dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
2564 2016-06-22 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2566 * doc/runtest.1: Use condensed years in copyright statement.
2568 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2570 * runtest: Quote paths. Use test -z, -n for clarity.
2572 2016-06-21 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2574 * config/adb.exp (adb_exec) Improve verbose message.
2576 2016-06-03 Jim Wilson <jim.wilson@linaro.org>
2578 * baseboards/aarch64-sim.exp: New file.
2579 * Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
2580 * Makefile.in: Regenerate.
2581 * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.
2583 2016-04-26 Ben Elliston <bje@gnu.org>
2585 * doc/dejagnu.texi: Fill more paragraphs.
2587 2016-04-25 Ben Elliston <bje@gnu.org>
2589 * testsuite/runtest.all/utils.test: Remove unsetenv test.
2591 2016-04-24 Ben Elliston <bje@gnu.org>
2593 * lib/utils.exp (unsetenv): Remove proc.
2594 * doc/dejagnu.texi: Update documentation.
2597 2016-04-19 Nick Clifton <nickc@redhat.com>
2599 * baseboards/msp430-sim.exp: New file.
2600 * Makefile.am (baseboard_DATA): Add msp430-sim.exp.
2601 * Makefile.in: Regenerate.
2603 2016-04-18 Ben Elliston <bje@gnu.org>
2605 * runtest: Remove quoting in final exec command.
2607 2016-04-17 Ben Elliston <bje@gnu.org>
2609 * lib/remote.exp: Load ssh.exp lib.
2611 2016-04-17 Ben Elliston <bje@gnu.org>
2613 * lib/rsh.exp (rsh_open): Fix description comment.
2615 2016-04-17 Ben Elliston <bje@gnu.org>
2617 Reported by shellcheck.
2618 * runtest: Use $((..)) not `expr ..` and defensively double quote
2621 2016-04-17 Ben Elliston <bje@gnu.org>
2623 * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
2624 * Makefile.in: Regenerate.
2626 2016-04-17 Ben Elliston <bje@gnu.org>
2628 Reported by shellcheck.
2629 * runtest: Use $((..)) not `expr ..`.
2631 2016-04-17 Ben Elliston <bje@gnu.org>
2633 * configure.ac (AC_INIT): Update version number.
2634 * configure: Regenerate.
2635 * runtest.exp (frame_version): Update version number.
2636 * doc/dejagnu.texi: Likewise.
2638 2016-04-17 Ben Elliston <bje@gnu.org>
2640 * NEWS: Start a new section for the next release.
2642 2016-04-15 Ben Elliston <bje@gnu.org>
2644 * Makefile.am (CONTRIB): Add new contrib scripts.
2645 * Makefile.in: Regenrate.
2647 2016-04-15 Ben Elliston <bje@gnu.org>
2649 * lib/ssh.exp (ssh_exec): Handle regexp return status.
2651 2016-04-13 Ben Elliston <bje@gnu.org>
2653 * lib/rsh.exp (rsh_exec): Improve verbose message.
2654 * lib/ssh.exp (ssh_exec): Likewise.
2655 * config/adb.exp: Likewise.
2657 2016-04-13 Ben Elliston <bje@gnu.org>
2659 * runtest.exp: Improve --version (-v) output.
2660 * testsuite/runtest.all/options.exp: Update test case.
2662 2016-04-13 Christophe Lyon <christophe.lyon@linaro.org>
2664 * lib/rsh.exp (rsh_exec): Handle regexp return status.
2666 2016-04-08 Ben Elliston <bje@gnu.org>
2668 Reported by Faraz Shahbazker.
2669 * doc/dejagnu.texi (Global config file): Fix broken @node.
2670 (Local config file): Likewise.
2672 2016-04-07 Ben Elliston <bje@gnu.org>
2674 * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
2675 the command line with ';' and not &&.
2677 2016-04-07 Ben Elliston <bje@gnu.org>
2679 Reported by Faraz Shahbazker.
2680 * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
2682 2016-04-06 Yvan Roux <yvan.roux@linaro.org>
2684 * lib/remote.exp (remnote_download): Create a remote directory if
2686 (remote_exec): Execute program inside remotedir when it exists.
2687 (standard_load): Set remotedir board field if not present.
2688 * config/unix.exp (unix_load): Handle remotedir in board field.
2689 (remotedir): Set board info field.
2690 * doc/dejagnu.texi (Board File Values): Document remotedir.
2692 2016-04-06 Ben Elliston <bje@gnu.org>
2694 * doc/dejagnu.texi (Global config file): Put before node 'Local
2697 2016-04-05 Ben Elliston <bje@gnu.org>
2699 * runtest.exp: Remove defunct and undocumented --tool_root option.
2701 2016-04-04 Ben Elliston <bje@gnu.org>
2703 * doc/dejagnu.texi: More overhauling.
2705 2016-04-04 Ben Elliston <bje@gnu.org>
2707 * lib/targetdb.exp (set_board_info): Improve comment.
2708 (add_board_info): Likewise.
2710 2016-04-04 Ben Elliston <bje@gnu.org>
2712 * NEWS: Add some more detail.
2714 2016-04-04 Ben Elliston <bje@gnu.org>
2716 * site.tmpl: Delete.
2717 * Makefile.am (EXTRA_DIST): Remove site.tmpl.
2718 * Makefile.in: Regenerate.
2720 2016-04-03 Ben Elliston <bje@gnu.org>
2722 * doc/dejagnu.texi: More overhauling.
2724 2016-04-03 Ben Elliston <bje@gnu.org>
2726 * runtest.exp: Document the magical handling of -D[01].
2728 2016-04-03 Ben Elliston <bje@gnu.org>
2730 * doc/runtest.1: Do not document obsolete --status option. It is
2731 still accepted for compatibility, but does nothing.
2733 2016-04-03 Ben Elliston <bje@gnu.org>
2735 * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
2737 2016-04-03 Ben Elliston <bje@gnu.org>
2739 * doc/runtest.1 (OPTIONS): Sort options.
2741 2016-04-03 Ben Elliston <bje@gnu.org>
2743 * doc/dejagnu.texi: More overhauling.
2745 2016-04-02 Ben Elliston <bje@gnu.org>
2747 * doc/dejagnu.texi: Fill paragraphs.
2749 2016-04-02 Ben Elliston <bje@gnu.org>
2751 * doc/dejagnu.texi: Fix capitalisation of procedure names
2752 throughout. Use Tcl syntax in procedure prototypes, not C syntax.
2754 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2756 * contrib/mysql/create-db.sql: New file.
2757 * contrib/mysql/importxml.sh: Likewise.
2758 * contrib/mysql/make-datafile.sh: Likewise.
2759 * contrib/mysql/plot.sh: Likewise.
2760 * contrib/mysql/README: Likewise.
2761 * contrib/mysql/sum2xml.sh: Likewise.
2763 2016-04-02 Ben Elliston <bje@gnu.org>
2765 * config.guess: Update to version 2016-04-02.
2766 * config.sub: Update to version 2016-03-30.
2768 2016-04-02 Rob Savoye <rob.savoye@linaro.org>
2770 * contrib/sum2junit.sh: New.
2772 2016-04-01 Ben Elliston <bje@gnu.org>
2774 * doc/dejagnu.texi (connprocs): Document new SSH procs.
2776 2016-03-31 Rob Savoye <rob.savoye@linaro.org>
2781 2016-03-30 Ben Elliston <bje@gnu.org>
2783 * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
2784 lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
2785 runtest.exp: Fix spelling errors in comments.
2787 2016-03-30 Ben Elliston <bje@gnu.org>
2789 * lib/remote.exp (remote_expect): Use perror not send_user.
2791 2016-03-29 Ben Elliston <bje@gnu.org>
2793 * lib/remote.exp (remote_expect): Fix spelling error.
2795 2016-03-29 Rob Savoye <rob.savoye@linaro.org>
2797 * runtest.exp: Only print "searching for <test name>" message at
2798 verbose level >= 2 -- too much noise.
2800 2016-03-29 Ben Elliston <bje@gnu.org>
2802 * texinfo.tex: Update to latest master version.
2803 * INSTALL: Likewise.
2805 2016-03-29 Ben Elliston <bje@gnu.org>
2807 * runtest.exp: More fixes identified by the Frink static analyser.
2808 * lib/dg.exp: Likewise.
2809 * config/adb.exp: Likewise.
2810 * config/vxworks.exp: Likewise.
2811 * baseboards/androideabi.exp: Likewise.
2812 * baseboards/basic-sid.exp: Likewise.
2813 * baseboards/multi-sim.exp: Likewise.
2815 2016-03-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
2817 * dg.exp (dg-do): Do not change the previously selected action if
2818 a de-selected dg-do is encountered.
2820 2016-03-28 Ben Elliston <bje@gnu.org>
2822 * lib/framework.exp (check_xml): Remove unused proc.
2824 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2826 * lib/dmucs.exp: New.
2828 2016-03-28 Rob Savoye <rob.savoye@linaro.org>
2830 * lib/libgloss.exp (find_g++): Look for xgcc++ to use the freshly
2831 built compiler, then look in the path.
2833 2016-03-28 Ben Elliston <bje@gnu.org>
2835 * lib/utils.exp (which): Don't exclude symbolic links--Debian's
2836 /bin/which doesn't. Modern systems rely too heavily on symbolic
2837 links (eg. alternatives).
2839 2016-03-28 Ben Elliston <bje@gnu.org>
2841 * baseboards/multi-sim.exp: Indent properly.
2843 2016-03-28 Ben Elliston <bje@gnu.org>
2845 * lib/rlogin.exp (rlogin_open): Return -1 if unable to spawn
2846 rlogin. Identified by Frink.
2848 2016-03-28 Ben Elliston <bje@gnu.org>
2850 * runtest.exp: Use 'array exists' for testing array existence
2851 rather than 'info exists'.
2853 2016-03-28 Ben Elliston <bje@gnu.org>
2855 * runtest.exp: Fixes identified by the Frink static analyser:
2856 (1) use -- in switch commands for safety,
2857 (2) remove unreachable return commands after error commands,
2858 (3) replace abbreviated "info proc" with "info procs",
2859 (4) use -- in unset commands for safety where the variable name
2860 is itself a variable.
2861 * lib/dg.exp: Likewise.
2862 * lib/debugger.exp: Likewise.
2863 * lib/framework.exp: Likewise.
2864 * lib/remote.exp: Likewise.
2865 * lib/target.exp: Likewise.
2866 * lib/targetdb.exp: Likewise.
2867 * lib/telnet.exp: Likewise.
2868 * lib/utils.exp: Likewise.
2870 2016-03-28 Ben Elliston <bje@gnu.org>
2872 * Makefile.am: Remove references to Docbook and friends.
2873 * configure.ac: Likewise.
2874 * Makefile.in: Regenerate.
2875 * configure: Regenerate.
2876 * doc/dejagnu.xml: Remove.
2877 * doc/legal.xml: Likewise.
2878 * doc/ref.xml: Likewise.
2879 * doc/user.xml: Likewise.
2881 2016-03-28 Ben Elliston <bje@gnu.org>
2883 * lib/framework.exp (exp_continue): Remove old compatibility
2884 wrapper. Expect deprecated 'continue -expect' in August 1997.
2886 2016-03-28 Ben Elliston <bje@gnu.org>
2890 2016-03-28 Ben Elliston <bje@gnu.org>
2892 * lib/utils.exp (which): Reimplement to more closely mimic the
2893 behaviour of the UNIX which utility.
2894 * testsuite/runtest.all/utils.test: Test proc which.
2896 2016-03-27 Ben Elliston <bje@gnu.org>
2898 * lib/remote.exp (standard_wait): Append any trailing characters
2899 to $output that may be still in $expect_out(buffer) when eof is
2900 matched. Remove arbitrary limitation in the ".+" matching case,
2901 similar to the change to local_exec on 2016-02-17.
2903 2016-03-23 Ben Elliston <bje@gnu.org>
2905 * Makefile.am (baseboard_DATA): Remove cygwin.exp, mcore-elf.exp,
2906 mcore-pe.exp, vx4300.exp, vx68k.exp, vx960.exp, vxsparc.exp.
2907 * Makefile.in: Regenerate.
2908 * baseboards/cygwin.exp, baseboards/mcore-elf.exp,
2909 baseboards/mcore-pe.exp, baseboards/vx4300.exp,
2910 baseboards/vx68k.exp, baseboards/vx960.exp,
2911 baseboards/vxsparc.exp: Remove.
2913 2016-03-23 Ben Elliston <bje@gnu.org>
2915 * baseboards/README: Remove mention of devo.
2916 * baseboards/iq2000-sim.exp: Likewise.
2917 * baseboards/moxie-sim.exp: Likewise.
2919 2016-03-23 Ben Elliston <bje@gnu.org>
2921 * Makefile.am (baseboard_DATA): Add arm-ice.exp, arm-sim.exp.
2922 * Makefile.in: Regenerate.
2923 * baseboards/arm-ice.exp: Reinstate.
2924 * baseboards/arm-sim.exp: Likewise.
2926 2016-03-23 Ben Elliston <bje@gnu.org>
2928 * Makefile.am (config_DATA): Update.
2929 (baseboard_DATA): Likewise.
2930 * Makefile.in: Regenerate.
2933 Remove the following old config files:
2935 * arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
2936 cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
2937 dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
2938 m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
2939 mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
2940 proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
2941 tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
2943 Remove the following old baseboard files:
2945 * arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
2946 d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
2947 fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
2948 h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
2949 i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
2950 m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
2951 mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
2952 mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
2953 powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
2954 sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
2955 tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
2956 vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
2957 xscale-cygmon.exp: Remove.
2959 2016-03-22 Ben Elliston <bje@gnu.org>
2961 * lib/target.exp (only--Ls): Change '???' comment to a note. This
2962 isn't a serious shortcoming, but the comment should be retained.
2964 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2966 * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in
2967 the environment, use that as the spec file for bare metal testing.
2969 2016-03-22 Ben Elliston <bje@gnu.org>
2971 * Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
2972 * Makefile.in: Regenerate.
2974 2016-03-22 Rob Savoye <rob.savoye@linaro.org>
2976 * config/aarch64-fv8.exp: Add support for testing armv8 using the
2977 ARM Foundation Model.
2979 2016-03-21 Ben Elliston <bje@gnu.org>
2981 * runtest.exp: Whitespace, comment and typo fixes.
2982 * lib/dejagnu.exp: Likewise.
2983 * lib/remote.exp: Likewise.
2984 * lib/utils.exp: Likewise.
2986 2016-03-21 Ben Elliston <bje@gnu.org>
2988 * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.
2989 * baseboards/mmixware-sim.exp: Likewise.
2990 * config/sim.exp: Likewise.
2991 * runtest.exp: Likewise.
2993 2016-03-21 Ben Elliston <bje@gnu.org>
2995 * lib/dg.exp (dg-get-options): Clean up regular expression and
2996 remove FIXME comment about it.
2998 2016-03-20 Ben Elliston <bje@gnu.org>
3000 * baseboards/i960-sim.exp: Remove stale ??? comment.
3001 * config/vxworks.exp: Likewise.
3003 2016-03-20 Ben Elliston <bje@gnu.org>
3005 * runtest.exp: Load .dejagnurc last not first.
3006 (load_file): Update comment about Tcl 7.5a2.
3007 * doc/user.xml (Customizing DejaGnu): Document new search order
3009 * doc/dejagnu.texi: Regenerate.
3012 2016-03-20 Ben Elliston <bje@gnu.org>
3014 * lib/dg.exp (dg-runtest): Improve arg naming to remove a FIXME.
3016 2016-03-20 Ben Elliston <bje@gnu.org>
3018 * lib/dg.exp: Remove commented-out calls to send_user.
3020 2016-03-20 Ben Elliston <bje@gnu.org>
3022 * runtest.exp (load_file): Remove old comment.
3024 2016-03-20 Ben Elliston <bje@gnu.org>
3026 * lib/dg.exp (dg-test): There is no need to call unresolved to
3027 clear errcnt. Instead, pass 0 as argument 2 to perror.
3028 * runtest.exp (runtest): Likewise.
3030 2016-03-16 Ben Elliston <bje@gnu.org>
3032 Revert this change (the GCC testsuite uses diff):
3034 2016-03-15 Ben Elliston <bje@gnu.org>
3036 * lib/utils.exp (diff): Remove proc.
3037 * doc/ref.xml: Update documentation.
3038 * doc/dejagnu.texi: Regenerate.
3041 2016-03-15 Ben Elliston <bje@gnu.org>
3043 * testsuite/runtest.all/options.exp: Properly clean up log files
3044 left by the runtest under test.
3046 2016-03-15 Ben Elliston <bje@gnu.org>
3048 * testsuite/runtest.all/load_lib.exp: Typo fixes.
3050 2016-03-15 Ben Elliston <bje@gnu.org>
3052 * testsuite/runtest.all/options.exp: Add more tests.
3054 2016-03-15 Ben Elliston <bje@gnu.org>
3056 * testsuite/libdejagnu/tunit.exp: Clean up.
3058 2016-03-15 Ben Elliston <bje@gnu.org>
3060 * lib/utils.exp (diff): Remove proc.
3061 * doc/ref.xml: Update documentation.
3062 * doc/dejagnu.texi: Regenerate.
3065 2016-03-15 Ben Elliston <bje@gnu.org>
3068 2016-02-14 Steve Ellcey <sellcey@mips.com>
3070 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
3072 * baseboards/multi-sim.exp (rpath_flags): Ditto.
3074 2016-03-13 Ben Elliston <bje@gnu.org>
3076 * lib/utils.exp: Whitespace fixes.
3078 2016-03-13 Ben Elliston <bje@gnu.org>
3080 * lib/dg.exp (dg-process-target): Remove old commented code.
3081 * lib/dg.exp (dg-test): Likewise.
3083 2016-03-13 Ben Elliston <bje@gnu.org>
3085 * lib/dg.exp: Improve top-of-file documentation.
3087 2016-03-05 Yvan Roux <yvan.roux@linaro.org>
3089 * lib/remote.exp (remote_exec): Restore original timeout value.
3091 2016-03-04 Yvan Roux <yvan.roux@linaro.org>
3093 * lib/remote.exp (standard_upload): Remove dead code.
3095 2016-02-24 Ben Elliston <bje@gnu.org>
3097 * lib/utils.exp (prune): Restore this proc.
3098 * doc/ref.xml: Update documentation.
3099 * doc/dejagnu.texi: Regenerate.
3102 2016-02-23 Iain Buclaw <ibuclaw@gdcproject.org>
3104 * lib/libgloss.exp (find_gdc): New proc.
3105 * lib/target.exp (default_target_compile): Add D support.
3108 2016-02-20 Ben Elliston <bje@gnu.org>
3110 * lib/utils.exp (diff): Replace calls to verbose followed by
3111 send_log with a single call to verbose -log. Remove additional
3112 newlines from the log messages.
3114 2016-02-20 Ben Elliston <bje@gnu.org>
3116 * lib/utils.exp (getdirs): Ignore .git and .svn directories.
3118 2016-02-20 Ben Elliston <bje@gnu.org>
3120 * lib/utils.exp: Improve comments.
3123 2016-02-20 Ben Elliston <bje@gnu.org>
3125 * lib/utils.exp (prune): Remove proc.
3126 * doc/ref.xml: Update documentation.
3127 * doc/dejagnu.texi: Regenerate.
3129 2016-02-20 Ben Elliston <bje@gnu.org>
3131 * lib/utils.exp (slay): Remove proc.
3132 * doc/ref.xml: Update documentation.
3133 * doc/dejagnu.texi: Regenerate.
3135 2016-02-20 Ben Elliston <bje@gnu.org>
3137 * lib/utils.exp (absolute): Remove proc.
3138 * doc/ref.xml: Update documentation.
3139 * doc/dejagnu.texi: Regenerate.
3141 2016-02-20 Ben Elliston <bje@gnu.org>
3143 * lib/utils.exp (psource): Remove proc.
3144 * doc/ref.xml: Update documentation.
3145 * doc/dejagnu.texi: Regenerate.
3147 2016-02-20 Ben Elliston <bje@gnu.org>
3149 * lib/targetdb.exp (board_info): Simplify return logic.
3151 2016-02-19 Ben Elliston <bje@gnu.org>
3153 * configure.ac: Require Tcl version 8.5 at a minimum.
3154 * configure: Regenerate.
3156 2016-02-18 Ben Elliston <bje@gnu.org>
3158 * configure.ac: Require Tcl version 8.6 at a minimum.
3159 * configure: Regenerate.
3161 2016-02-17 Ben Elliston <bje@gnu.org>
3163 * runtest.exp: Tweak "Test run by .." output.
3165 2016-02-17 Ben Elliston <bje@gnu.org>
3167 * lib/target.exp (default_target_compile): Do not pass -log to
3168 verbose when outputting the captured compiler/assembler/linker
3169 diagnostic output as it will already be in the .log file courtesy
3172 2016-02-17 Ben Elliston <bje@gnu.org>
3174 * runtest.exp: Enable --status by default.
3175 (runtest): Set exit status to 2 if there is any error sourcing
3177 * lib/framework.exp (unknown): Likewise, set exit status to 2.
3178 * doc/runtest.1: Clarify exit status codes.
3181 2016-02-17 Ben Elliston <bje@gnu.org>
3183 * lib/remote.exp (local_exec): Call exp_continue until eof is
3186 2016-02-16 Ben Elliston <bje@gnu.org>
3188 * runtest.exp: Use the traditional exit codes when runtest is
3189 interrupted. This makes it possible to tell if runtest ran to
3190 completion or not. Suggested by Michael Chastain.
3192 2016-02-15 Ben Elliston <bje@gnu.org>
3194 * TODO: Add ideas produced from Cauldron 2013.
3196 2016-02-15 Ben Elliston <bje@gnu.org>
3200 2016-02-15 Ben Elliston <bje@gnu.org>
3202 * lib/dg.exp (dg-test): Remove comment about proc unresolved not
3203 setting exit_status to 1 -- it does.
3205 2016-02-15 Ben Elliston <bje@gnu.org>
3207 * lib/framework.exp (cleanup): Remove do-nothing proc.
3208 (log_and_exit): Remove call to cleanup.
3209 * doc/ref.xml: Remove documentation for cleanup.
3210 * doc/dejagnu.texi: Regenerate.
3212 2016-02-15 Ben Elliston <bje@gnu.org>
3214 Reported by David Malcolm.
3215 * lib/dejagnu.exp (text): Allow angle brackets in test messages.
3217 2016-02-15 Ben Elliston <bje@gnu.org>
3219 * config.guess: Update to version 2016-02-11.
3220 * config.sub: Update to version 2016-01-01.
3222 2016-02-14 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
3224 * lib/remote.exp (remote_exec): Set global timeout for benefit of
3227 2016-02-14 Ben Elliston <bje@gnu.org>
3229 * lib/remote.exp (local_exec): Improve comments.
3231 2016-02-14 Ben Elliston <bje@gnu.org>
3233 * doc/runtest.1: Tweak.
3235 2016-02-14 Steve Ellcey <sellcey@mips.com>
3237 * baseboards/multi-sim.exp (dynamic_linker_flag): Check
3239 * baseboards/multi-sim.exp (rpath_flags): Ditto.
3241 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
3243 * lib/remote.exp (standard_file): Reverse return logic for remote
3246 2016-01-23 Simon Marchi <simon.marchi@ericsson.com>
3248 * lib/remote.exp (standard_file); Add else clause.
3250 2016-01-16 Ben Elliston <bje@gnu.org>
3252 * runtest.exp (runtest): Improve comment about --status.
3254 2016-01-12 Simon Marchi <simon.marchi@ericsson.com>
3256 * lib/remote.exp (standard_file): The [ operator does not actually
3257 output anything. It returns 0 or 1 as its exit code, so "exit `[
3258 -f $file ]`" always expands to "exit " (equivalent to exit 0).
3259 Instead, use test(1) to check for file existence.
3261 2015-12-20 Ben Elliston <bje@gnu.org>
3263 * doc/dejagnu.xml: Begin overhauling.
3264 * doc/ref.xml: Likewise.
3265 * doc/user.xml: Likewise.
3266 * doc/dejagnu.texi: Regenerate.
3268 2015-12-20 Ben Elliston <bje@gnu.org>
3270 * doc/runtest.1: Miscellaneous minor improvements.
3272 2015-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
3274 * Makefile.am (baseboard_DATA): Add missing rx-sim.exp.
3275 * Makefile.in: Regenerate.
3277 2015-11-16 Brooks Moses <bmoses@google.com>
3279 * config/unix.exp: Add ability to set test timeout from site.exp.
3280 * doc/user.xml: Document new test_timeout variable in site.exp.
3281 * doc/dejagnu.texi: Regenerate.
3283 2015-11-16 Ben Elliston <bje@gnu.org>
3285 * testsuite/runtest.all/options.exp: Re-enable --strace 1 test.
3287 2015-11-16 Ben Elliston <bje@gnu.org>
3289 * testsuite/runtest.all/options.exp: Remove some commented code.
3291 2015-11-16 Ben Elliston <bje@gnu.org>
3293 * runtest.exp: Refer to "DejaGnu version", not "Framework
3294 version" in --version output.
3295 * testsuite/runtest.all/options.exp: Update test case.
3297 2015-11-14 Ben Elliston <bje@gnu.org>
3299 * runtest.exp (usage): Improve help text.
3301 2015-11-12 Ben Elliston <bje@gnu.org>
3303 * runtest.exp (usage): Sort options in usage.
3305 2015-11-12 Ben Elliston <bje@gnu.org>
3307 * lib/framework.exp (note): Remove old commented-out code.
3309 2015-11-11 Ben Elliston <bje@gnu.org>
3311 * doc/user.xml (Summary File): 'untested', not 'runtested'.
3312 * doc/dejagnu.texi: Regenerate.
3314 2015-11-11 Michael Forney <forney@google.com>
3316 * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
3318 2015-11-11 Ben Elliston <bje@gnu.org>
3320 * doc/dejagnu.texi: Regenerate.
3322 2015-11-10 Ben Elliston <bje@gnu.org>
3324 * doc/user.xml: Fix runtest output formatting in <programlisting>.
3326 2015-11-10 Ben Elliston <bje@gnu.org>
3328 * doc/dejagnu.xml: Update month and year.
3329 * doc/user.xml: Lots of editorial fixes from Daniel Thibault
3330 <Daniel.Thibault@drdc-rddc.gc.ca>.
3332 2015-09-10 Robert Suchanek <Robert.Suchanek@imgtec.com>
3334 * baseboards/multi-sim.exp (rpath_flags): Add libgomp.so check.
3336 2015-07-30 Pedro Alves <palves@redhat.com>
3338 * lib/remote.exp (close_wait_program): New procedure.
3339 (local_exec, standard_close): Use it.
3341 2015-05-23 Ben Elliston <bje@gnu.org>
3343 * doc/dejagnu.xml: Fix broken URLs.
3344 * doc/dejagnu.texi: Regenerate.
3346 2015-05-23 Ben Elliston <bje@gnu.org>
3348 * doc/user.xml: Fix 'crosscompilation'.
3350 2015-05-23 Ben Elliston <bje@gnu.org>
3352 * doc/runtest.1 (log_dialog): Improve documentation.
3354 2015-05-16 Filipe Brandenburger <filbranden@google.com>
3356 * configure.ac: Enable subdir-objects, require automake 1.14.
3357 * Makefile.in: Regenerate.
3359 2015-05-15 Filipe Brandenburger <filbranden@google.com>
3361 * doc/dejagnu.xml: Fix typos such as stray }'s and @samp{...},
3362 possibly introduced in a conversion of .texi to SGML Docbook.
3363 * doc/user.xml: Likewise.
3364 * doc/ref.xml: Likewise.
3365 * doc/dejagnu.texi: Regenerate.
3367 2015-05-15 Filipe Brandenburger <filbranden@google.com>
3369 * runtest.exp (runtest): Introduce new --log_dialog option.
3370 * doc/runtest.1: Document it.
3371 * doc/user.xml: Likewise.
3372 * doc/dejagnu.texi: Regenerate.
3374 2015-05-14 Steve Ellcey <sellcey@imgtec.com>
3376 * baseboards/multi-sim.exp (get_library_dirlist): New.
3377 (dynamic_linker_flag): Use get_library_dirlist to find dynamic
3379 (rpath_flags): Use get_library_dirlist to set rpath.
3381 2015-05-12 Steve Ellcey <sellcey@imgtec.com>
3383 * baseboards/generic-sim.exp: Check $DEJAGNU_SIM_OPTION.
3385 2015-03-30 Ben Elliston <bje@gnu.org>
3387 Revert the following change which causes breakage reported here:
3388 https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html
3390 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3392 * runtest.exp (runtest): Call reset_vars at initialisation so that
3393 perror does not affect test results in other test scripts.
3395 2015-02-26 H.J. Lu <hjl.tools@gmail.com>
3397 * lib/target.exp (default_target_compile): Prepend multilib_flags,
3398 instead of appending it.
3400 2015-02-18 Ben Elliston <bje@gnu.org>
3402 * lib/framework.exp (log_and_exit): Set tool to "testrun" if
3405 2015-02-05 Ben Elliston <bje@gnu.org>
3407 * doc/runtest.1: Fix a spelling error.
3409 2015-02-04 Ben Elliston <bje@gnu.org>
3411 * config.guess: Update to version 2015-01-01.
3412 * config.sub: Likewise.
3414 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
3416 * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
3417 * Makefile.in: Regenerate.
3418 * baseboards/visium-sim.exp: New file.
3420 2014-11-25 Ben Elliston <bje@gnu.org>
3422 * lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
3423 Reported by David Malcolm.
3425 2014-10-28 Ben Elliston <bje@gnu.org>
3427 * Makefile.in: Regenerate.
3429 2014-10-28 Ben Elliston <bje@gnu.org>
3431 * example: Remove stale examples.
3433 2014-10-24 Steve Ellcey <sellcey@mips.com>
3435 * dejagnu.h (pass): Make function static as well as inline.
3440 (unresolved): Ditto.
3444 2014-10-14 Ben Elliston <bje@gnu.org>
3446 * runtest.exp: Only match $directory, not *${directory}* when the
3447 user passes the --directory option. Reported by Sergey Alyoshin.
3449 2014-10-14 Ben Elliston <bje@gnu.org>
3451 * lib/dejagnu.exp (host_execute): Remove buffer_full check. This
3452 is not the right command keyword -- it is full_buffer. Reported by
3455 2014-07-15 Maciej W. Rozycki <macro@mips.com>
3456 Maciej W. Rozycki <macro@codesourcery.com>
3458 * lib/targetdb.exp (add_board_info): New procedure.
3459 * doc/ref.xml (Add_board_info Procedure): New section.
3460 (Set_board_info Procedure): Add description.
3461 (Unset_board_info Procedure): Likewise.
3462 * doc/user.xml (Board Config File Values): Add `add_board_info'
3463 reference. Reorder `gdb_init_command' table rows and remove a
3464 duplicate entry, reusing it for `gdb_init_commands'.
3466 2014-06-25 Rob Savoye <rob.savoye@linaro.org>
3468 * runtest.exp: (lookfor-file): Fix bug were none of the relative
3469 paths were actually being used for file lookup.
3471 2014-06-06 Ben Elliston <bje@gnu.org>
3473 * depcomp, install-sh, missing: Update to latest versions.
3474 * mkinstalldirs: Remove.
3475 * Makefile.in: Regenerate.
3477 2014-06-04 Ben Elliston <bje@gnu.org>
3479 * Makefile.in: Regenerate with Automake 1.14.1.
3480 * compile: Add missing file.
3482 2014-06-04 Ben Elliston <bje@gnu.org>
3484 * config.guess: Update to version 2014-03-23.
3485 * config.sub: Likewise.
3487 2014-06-04 Ben Elliston <bje@gnu.org>
3489 * aclocal.m4: Regenerate with Automake 1.14.1.
3490 * configure: Regenerate with Autoconf 2.69.
3492 2014-03-15 Steve Ellcey <sellcey@mips.com>
3494 * baseboards/multi-sim.exp (rpath_flags): Add libatomic.so check.
3496 2014-02-23 Steve Ellcey <sellcey@mips.com>
3497 Richard Sandiford <rdsandiford@googlemail.com>
3499 * config/sim.exp (sim_exec): New.
3502 2013-12-08 Richard Sandiford <rdsandiford@googlemail.com>
3504 * lib/dg.exp (dg-test): Don't put the expected and actual output
3505 of a pattern test in the test name; send it to the log instead.
3507 2013-11-01 Steve Ellcey <sellcey@mips.com>
3509 * Makefile.am (baseboard_SCRIPTS): Add multi-sim.exp baseboard.
3510 * Makefile.in: Regenerate.
3511 * baseboards/multi-sim.exp: New.
3513 2013-10-31 Anton Kolesov <anton.kolesov@synopsys.com>
3515 * lib/remote.exp (standard_reboot): Return 1 instead of an empty string.
3516 (remote_reboot): Add comment explaining return value of this procedure.
3517 * doc/ref.xml (remote_reboot, standard_reboot): Document procedures.
3518 * doc/dejagnu.texi: Regenerate.
3520 2013-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
3522 * baseboards/androideabi.exp (process_multilib_options): Add option.
3523 * config/adb.exp: Remove hardcoded -static option.
3524 (adb_load): Add the possibility to change the temp directory. Also
3525 handle permission potential problems.
3526 (adb_exec): Do cd to android_tmp_dir first.
3528 2013-10-05 Jose E. Marchesi <jose.marchesi@oracle.com>
3530 * baseboards/unix.exp: Add gdb settings to not use hardware
3531 watchpoints in sparc64 running GNU/Linux.
3533 2013-06-17 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3535 * runtest.exp (libdirs): New global variable.
3536 (load_lib): Append libdirs to search_and_load_files directories.
3537 * doc/ref.xml (load_lib): Document global variable libdirs.
3538 * doc/dejagnu.texi: Regenerate.
3539 * testsuite/runtest.all/load_lib.exp: New testcase.
3540 * Makefile.am (TESTSUITE_FILES): Add new testcase.
3541 * Makefile.in: Regenerate.
3543 2013-06-15 Ben Elliston <bje@gnu.org>
3545 * configure.ac: If DEJAGNU is unset, set it to /dev/null.
3546 * Makefile.am: Export DEJAGNU.
3547 * configure: Likewise.
3548 * Makefile.in: Regenerate.
3550 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3552 * doc/user.xml: Fix typos.
3553 * doc/ref.xml: Likewise.
3554 * doc/dejagnu.texi: Regenerate.
3556 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3558 * doc/user.xml: Fix number of columns in table.
3559 * doc/dejagnu.texi: Regenerate.
3561 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3563 * doc/user.xml: Fix rendering errors around programlisting.
3564 * doc/ref.xml: Likewise.
3565 * doc/dejagnu.texi: Regenerate.
3567 2013-06-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3569 * doc/user.xml: Fix spacing before productname.
3570 * doc/dejagnu.texi: Regenerate.
3572 2013-06-12 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3574 * testsuite/runtest.all/default_procs.tcl (send_log): Use the
3575 magic "args" parameter name, as expect send_log proc accepts -- as
3578 2013-06-08 Makoto Fujiwara <makoto@ki.nu>
3580 * Makefile.am (pkgdata_DATA): Rename from pkgdata_SCRIPTS.
3581 (config_DATA): Likewise for config_SCRIPTS.
3582 (baseboard_DATA): Likewise for baseboard_SCRIPTS.
3583 (EXTRA_DIST): Remove pkgdata_SCRIPTS, config_SCRIPTS and
3585 * Makefile.in: Regenerate.
3587 2013-06-08 Ben Elliston <bje@gnu.org>
3589 * configure: Regenerate with autoconf 2.69.
3590 * aclocal.m4: Regenerate.
3592 2013-03-31 Ben Elliston <bje@gnu.org>
3594 * Makefile.am (html-local): Rename target from html.
3595 * Makefile.in: Regenerate with automake 1.12.6.
3596 * aclocal.m4: Likewise.
3597 * configure: Regenerate.
3599 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3601 * TODO: Remove todo item about warncnt and errcnt.
3603 2013-03-28 Gilles Espinasse <g.esp@free.fr>
3605 * testsuite/lib/libsup.exp (make_defaults_file): Only set $tool once.
3607 2013-03-26 Ben Elliston <bje@gnu.org>
3609 * config.guess: Update to version 2013-02-12.
3610 * config.sub: Likewise.
3612 2013-02-16 Rob Savoye <rob@build.welcomehome.org>
3614 * config/adb.exp: Add adb_file so we can remotely delete test
3615 cases to save on limited disk space. Don't remove the file after
3616 executing it, leave that for the test driver instead.
3618 2013-02-15 Rob Savoye <rob@welcomehome.org>
3620 * config/adb.exp: Remove the test case after executing
3621 it. Otherwise we can fill up all the diskspace on a small target
3624 2013-02-11 Rob Savoye <rob@welcomehome.org>
3626 * baseboards/androideabi.exp: Board support for Android using ADB.
3627 * config/adb.exp: Config support for Android using ADB.
3628 * Makefile.am (dist): Add new config and board files.
3629 * aclocal.m4, Makefile.in, configure, example/calc/configure,
3630 example/mathhelper/configure: Regenerated with newer autotools.
3632 2012-12-05 Ben Elliston <bje@gnu.org>
3634 * example/hello: Remove.
3635 * configure.ac: Likewise.
3636 * configure: Regenerate.
3638 2012-10-04 Steve Ellcey <sellcey@mips.com>
3640 * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
3641 * Makefile.in: Regenerate.
3642 * baseboards/mips-sim-mti32.exp: New.
3643 * baseboards/mips-sim-mti64.exp: New.
3644 * baseboards/mips-sim-mti64_n32.exp: New.
3645 * baseboards/mips-sim-mti64_64.exp: New.
3646 * baseboards/mips-sim-sde32.exp: New.
3647 * baseboards/mips-sim-sde64.exp: New.
3649 2012-10-04 Ben Elliston <bje@gnu.org>
3651 * aclocal.m4: Regenerate with automake 1.11.3.
3652 * Makefile.in: Likewise.
3653 * configure: Regenerate with autoconf 2.68.
3655 2012-08-22 Steve Ellcey <sellcey@mips.com>
3657 * baseboards/generic-sim.exp: New baseboard definition.
3659 2012-06-15 Andreas Schwab <schwab@linux-m68k.org>
3661 * lib/framework.exp (clone_output): Protect from leading dash in
3663 * runtest.exp (verbose): Likewise.
3665 2012-06-11 Tom Tromey <tromey@redhat.com>
3667 * doc/runtest.1: Update.
3668 * runtest.exp (xml_file_name): New global.
3670 Handle optional argument to --xml.
3671 * lib/framework.exp (open_logs): Respect xml_file_name.
3673 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3675 * runtest.exp (load_tool_init): Fix typo in -de option handling.
3677 2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3679 * doc/runtest.1: Correct name of debug file.
3681 2012-02-25 Ben Elliston <bje@gnu.org>
3683 * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
3684 for runtest.exp as a last resort (for usrmove environments, where
3685 /bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.
3687 2011-12-30 Ben Elliston <bje@gnu.org>
3689 * doc/user.xml: Various spelling and consistency fixes.
3690 * doc/ref.xml: Likewise.
3691 (exit_remote_shell): Remove, as this procedure is defunct.
3692 * doc/dejagnu.texi: Regenerate.
3694 2011-12-30 Ben Elliston <bje@gnu.org>
3696 * config.guess: Update to version 2011-12-29.
3697 * config.sub: Update to version 2011-11-11.
3699 2011-06-30 Tom Tromey <tromey@redhat.com>
3701 * doc/ref.xml: Document find_gfortran.
3702 * doc/dejagnu.texi: Regenerate.
3703 * lib/target.exp (default_target_compile): Handle f90.
3704 (default_target_compile): Likewise.
3705 * lib/libgloss.exp (find_gfortran): New proc.
3707 2011-06-30 Ben Elliston <bje@gnu.org>
3709 * Makefile.am (all-local): New rule.
3710 * Makefile.in: Regenerate.
3712 2011-04-12 Ben Elliston <bje@gnu.org>
3714 * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
3715 rm", for better portability.
3716 * config/netware.exp (${board}_load): Likewise.
3717 * lib/dg.exp (dg-test): Likewise.
3718 * lib/framework.exp (open_logs): Likewise.
3719 * lib/remote.exp (standard_file): Likewise.
3720 * runtest.exp: Likewise.
3721 * testsuite/runtest.all/options.exp: Likewise.
3723 2011-03-15 Ben Elliston <bje@gnu.org>
3725 * runtest.exp: Whitespace cleanups.
3726 * lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
3727 lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp,
3728 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
3730 2011-03-15 Ben Elliston <bje@gnu.org>
3732 * runtest: Remove trailing semicolons.
3733 * lib/rsh.exp: Likewise.
3735 2011-03-15 H.J. Lu <hjl.tools@gmail.com>
3737 * lib/remote.exp (local_exec): Ignore SIGHUP.
3739 2011-03-14 Ben Elliston <bje@gnu.org>
3741 * runtest.exp (frame_version): Set to 1.5.1.
3742 * configure.ac (AC_INIT): Set version to 1.5.1.
3743 * configure: Regenerate.
3744 * doc/dejagnu.xml (appversion, version): Set to 1.5.1.
3745 * doc/dejagnu.texi: Regenerate.
3747 2011-03-14 Ben Elliston <bje@gnu.org>
3749 * dejagnu.h: Whitespace cleanups.
3751 2011-03-14 Ben Elliston <bje@gnu.org>
3753 * baseboards/cris-sim.exp: Remove trailing semicolon(s).
3754 * baseboards/mt-sid.exp: Likewise.
3755 * baseboards/tx39-sim.exp: Likewise.
3756 * lib/target.exp (default_target_compile): Likewise.
3758 2011-03-14 Ben Elliston <bje@gnu.org>
3760 Reported by Flash Sheridan <flash@pobox.com>:
3761 * doc/user.xml (Testing "Hello world" locally): Improve the
3762 example test script and make it robust to failures. Tidy some
3764 * doc/dejagnu.texi: Regenerate.
3766 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3768 * runtest.exp (runtest): Call reset_vars at initialisation so that
3769 perror does not affect test results in other test scripts.
3771 2011-03-09 Ben Elliston <bje@gnu.org>
3773 * NEWS: Start a new section for post-1.5 changes.
3775 2011-03-09 Ben Elliston <bje@gnu.org>
3777 * DejaGnu 1.5 released.
3779 2011-03-09 Ben Elliston <bje@gnu.org>
3781 * Makefile.am (DISTCLEANFILES): Define.
3782 * Makefile.in: Regenerate.
3783 * testsuite/runtest.all/libs.exp: Clean up temp files on exit.
3784 * testsuite/runtest.all/options.exp: Likewise for dbg.log.
3785 * testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
3786 mkdir" instead of exec'ing mkdir(1).
3788 2011-03-07 Ben Elliston <bje@gnu.org>
3790 * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
3791 * Makefile.in: Regenerate.
3793 2011-03-06 Ben Elliston <bje@gnu.org>
3795 * configure.ac (AC_INIT): Set version to 1.5.
3796 * configure: Regenerate.
3797 * runtest.exp (frame_version): Set to 1.5.
3798 * doc/dejagnu.texi: Regenerate.
3800 2011-03-04 Ben Elliston <bje@gnu.org>
3802 * texinfo.tex: Import latest version from ftp://tug.org/tex.
3804 2011-03-04 Ben Elliston <bje@gnu.org>
3806 * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
3807 * Makefile.in: Regenerate.
3809 2011-03-03 Ben Elliston <bje@gnu.org>
3811 * Makefile.am: Bump to GPL version 3.
3812 * configure.ac: Likewise.
3813 * Makefile.in: Regenerate.
3814 * aclocal.m4: Likewise.
3815 * configure: Likewise.
3817 2011-03-03 Ben Elliston <bje@gnu.org>
3819 * config.guess: Update to most recent version.
3820 * config.sub: Likewise.
3822 2011-03-03 Ben Elliston <bje@gnu.org>
3824 * lib/framework.exp (unknown): Rename the native Tcl ::unknown
3825 proc to ::tcl_unknown. If ::tcl_unknown returns a failure result,
3826 then fall back to the conventional DejaGnu handling. Report from
3827 David Byron <dbyron@dbyron.com>.
3829 2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
3831 * lib/remote.exp (remote_expect): Pass all exception conditions up
3834 2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3836 * lib/dg.exp (dg-test): Support nested calls.
3838 2010-04-13 Ben Elliston <bje@gnu.org>
3840 * testglue.c: Remove duplicated prototypes for abort and exit.
3842 2010-03-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3844 * doc/user.xml (Tcl Variables For Command Line Options): Correct
3847 2010-01-21 Jie Zhang <jie.zhang@analog.com>
3849 * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
3851 2010-01-15 Anthony Green <green@moxielogic.com>
3853 * baseboards/moxie-sim.exp: New baseboard.
3855 2009-12-10 DJ Delorie <dj@redhat.com>
3857 * baseboards/rx-sim.exp: New baseboard.
3859 2009-10-15 Ben Elliston <bje@gnu.org>
3861 * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
3862 This web page has disappeared.
3864 2009-07-06 Ben Elliston <bje@gnu.org>
3866 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
3867 <option> not <emphasis>. Apply other grammatical fixes from
3869 * doc/dejagnu.texi: Regenerate.
3871 2009-07-06 Ben Elliston <bje@gnu.org>
3873 * configure.ac: Check for docbook2x-texi.
3874 * configure: Regenerate.
3876 2009-07-06 Ben Elliston <bje@gnu.org>
3878 From Reuben Thomas <rrt@sc3d.org>:
3879 * doc/runtest.1: Fix some formatting issues.
3881 2009-06-16 Ben Elliston <bje@gnu.org>
3883 * config.guess: Update to most recent version.
3884 * config.sub: Likewise.
3886 2009-06-16 Ben Elliston <bje@gnu.org>
3888 * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
3889 * Makefile.in: Regenerate.
3890 * packaging: Remove directory and its contents.
3892 2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
3894 * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
3897 2008-12-03 Ben Elliston <bje@gnu.org>
3899 * COPYING: Update to GPL version 3.
3901 2008-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3903 * doc/ref.xml, doc/user.xml: Fix typos.
3904 * doc/dejagnu.texi: Regenerate.
3906 2008-04-06 Daniel Jacobowitz <drow@false.org>
3908 * Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
3909 * Makefile.in: Regenerate.
3910 * dejagnu.exp (host_execute): Improve regexp matching.
3911 * testsuite/libdejagnu/unit.cc: C++ fixes.
3913 2008-04-06 Daniel Jacobowitz <drow@false.org>
3915 * lib/utils.exp (diff): Open both files as binary.
3917 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3919 * dejagnu.h (totals): Correct typos.
3921 2008-04-06 Daniel Jacobowitz <dan@codesourcery.com>
3923 * doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
3924 * doc/dejagnu.texi: Regenerate.
3926 2008-02-25 Ben Elliston <bje@gnu.org>
3928 * doc/runtest.1: Update date of last revision.
3930 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3932 * baseboards/h8300.exp: Use -- before switch argument that may
3934 * baseboards/cris-sim.exp: Ditto.
3936 2008-02-11 Hans-Peter Nilsson <hp@axis.com>
3938 * Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
3939 iq2000-sim.exp and m32r-linux-sim.exp.
3940 * Makefile.in: Regenerate.
3942 2008-02-08 Ben Elliston <bje@gnu.org>
3944 * baseboards/cris-sim.exp: Fix MS-DOS line termination.
3946 2007-12-28 Joseph Myers <joseph@codesourcery.com>
3948 * lib/target.exp (default_link): Initialize nobjects before use.
3950 2007-12-06 Ben Elliston <bje@gnu.org>
3952 * lib/dg.exp (dg_bogus): Comment fix.
3954 2007-10-31 DJ Delorie <dj@redhat.com>
3956 * lib/framework.exp (open_logs): Line buffer the .sum file.
3958 2007-09-04 Matt Kraai <kraai@ftbfs.org>
3960 * doc/user.xml (Configuration): Fix typos.
3961 * doc/dejagnu.texi: Regenerate.
3963 2007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
3965 * lib/remote.exp (standard_send): Correct quoting.
3967 2007-05-17 Ben Elliston <bje@gnu.org>
3969 * doc/user.xml: Correct the syntax for running apt-get on a Debian
3970 GNU/Linux system. From Peter Welte <weltepe@gmail.com>.
3972 2007-04-30 Bob Wilson <bob.wilson@acm.org>
3974 * baseboards/xtensa-sim.exp: Set target_install. Stop using
3975 basic-sim.exp. Run the simulator with --turbo option. Replace
3976 needs_status_wrapper with the simulator's --exit_with_target_code
3979 2006-10-15 Rob Savoye <rob@bertha.welcomehome.org>
3981 * dejagnu.h: Add support for for expected failures and
3982 unexpected successes.
3984 2005-05-06 Andrew Fyfe <a.fyfe@tiscali.co.uk>
3986 * doc/Makefile.am: Fix install path for man page.
3987 * Makefiles: Regenerated.
3989 2006-08-29 Ben Elliston <bje@gnu.org>
3991 * runtest.exp (usage): Use "triplet" instead of "config name".
3993 2006-07-13 Daniel Jacobowitz <dan@codesourcery.com>
3995 * Makefile.am (DOCBOOK2RTF): Fix typo.
3996 * Makefile.in: Regenerated.
3997 * lib/libgloss.exp (process_multilib_options): Use -- to handle
3998 options starting with hyphens.
4000 2006-06-23 Eric Botcazou <ebotcazou@adacore.com>
4002 * libgloss.exp (find_gnatmake): Rewrite.
4004 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4006 * rsh.exp (rsh_exec): Handle inp and outp arguments. Use
4007 local_exec to run rsh. Return failure if rsh times out.
4008 * remote.exp (local_exec): Handle "|& cat" we added when deciding
4009 whether to return output.
4011 2006-06-09 Ben Elliston <bje@gnu.org>
4013 * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
4014 multiple cases, not a list (case uses lists, switch does not).
4015 Pass -glob to switch where applicable to emulate case behaviour.
4016 * baseboards/h8300.exp: Likewise.
4017 * lib/framework.exp (clone_output): Likewise.
4018 (clear_xfail): Likewise.
4019 (clear_kfail): Likewise.
4020 * lib/libgloss.exp (process_multilib_options): Likewise.
4021 * runtest.exp: Likewise.
4023 2006-06-06 Ben Elliston <bje@gnu.org>
4025 * Makefile.am (CONTRIB): New.
4026 (EXTRA_DIST): Add $(CONTRIB).
4027 (doc/dejagnu.texi): Set directory-category param to docbook2texi.
4028 * Makefile.in: Regenerate.
4029 * doc/dejagnu.texi: Likewise.
4031 2006-06-06 Ben Elliston <bje@gnu.org>
4033 * runtest.exp (load_lib): Typo fix.
4035 2006-06-06 Ben Elliston <bje@gnu.org>
4037 * dejagnu.h: Tidy comments.
4038 (_BUFFER_SIZE_): Remove to minimise namespace pollution.
4039 (wait): Define this function unconditionally. Conditionally
4040 compile the function body if _DEJAGNU_WAIT_ is defined.
4041 (buffer): Set the buffer size explicitly.
4042 (pass): Use sizeof (buffer). Call wait() unconditionally.
4043 (fail, untested, unresolved, note): Likewise.
4044 (enum teststate): Tidy whitespace.
4046 2006-06-06 Ben Elliston <bje@gnu.org>
4048 * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
4049 * doc/dejagnu.texi: Regenerate.
4051 2006-06-06 Ben Elliston <bje@gnu.org>
4053 Import from GCC tree:
4054 2006-06-02 Richard Earnshaw <rearnsha@arm.com>
4055 Mike Stump <mrs@apple.com>
4057 * compare_tests: Handle multilibs better.
4059 2006-06-06 Ben Elliston <bje@gnu.org>
4061 * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
4063 * configure.ac: Check for docbook2texi, not docbook2x-texi. The
4064 wrapper script changed its name again in the latest release.
4065 * configure: Regenerate.
4066 * Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
4067 (DOCBOOK2TEXI): .. to this.
4068 (doc/dejagnu.texi): Do not use output-file parameter to deposit
4069 the .texi file into the source directory; use mv(1) instead. Set
4070 directory-description parameter.
4071 * Makefile.in: Likewise.
4073 2006-06-02 Ben Elliston <bje@gnu.org>
4075 * config/sim.exp (sim_upload): Match up argument names.
4077 2006-06-02 Ben Elliston <bje@gnu.org>
4079 * config.guess: Update to most recent version.
4080 * config.sub: Likewise.
4082 2006-06-02 Ben Elliston <bje@gnu.org>
4084 * config/dos.exp (dos_open): Only run global board_info once at
4085 the beginning of the proc; remove duplicates.
4086 (dos_load): Use file join to separate path components.
4087 (dos_copy_upload): Likewise.
4088 * lib/remote.exp (call_remote): Use error, not "blooie" to trigger
4091 2006-06-02 Ben Elliston <bje@gnu.org>
4093 * contrib/compare_tests: Import from the GCC contrib directory.
4095 2006-05-24 Ben Elliston <bje@gnu.org>
4097 * runtest.exp (verbose): Brace some expressions.
4098 (load_file, search_and_load_file): Likewise.
4099 (runtest): Likewise.
4101 2006-05-23 Ben Elliston <bje@gnu.org>
4103 * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
4104 * config/i960.exp (i960_spawn): Initialise status.
4105 * config/netware.exp (${board}_init): Brace some if expressions.
4106 * lib/dg.exp (dg-test): Brace some expressions.
4107 * lib/framework.exp (clone_output, log_and_exit, log_summary,
4108 record_test, pass, fail): Likewise.
4109 * lib/libgloss.exp (get_multilibs): Likewise.
4110 * lib/remote.exp (standard_transmit, unix_clean_filename,
4111 remote_load, check_for_board_status, remote_expect): Likewise.
4112 * lib/rsh.exp (rsh_exec): Likewise.
4114 2006-05-22 Ben Elliston <bje@gnu.org>
4116 * baseboards/cris-sim.exp: Use switch, not case.
4117 * baseboards/h8300.exp: Likewise.
4118 * config/base68k.exp (base68k_ld): Brace an if expression.
4120 2006-05-22 Ben Elliston <bje@gnu.org>
4122 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
4123 baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
4124 baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
4125 baseboards/mmixware-sim.exp, baseboards/op50n.exp,
4126 baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
4127 baseboards/usparc-cygmon.exp, config/base-config.exp,
4128 config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
4129 config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
4130 config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
4131 config/netware.exp, config/sid.exp, config/sim.exp,
4132 config/tic80.exp, config/unix.exp, config/vxworks.exp,
4133 lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
4134 lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
4135 lib/rlogin.exp, lib/rsh.exp, lib/target.exp, lib/targetdb.exp,
4136 lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
4137 expressions throughout.
4139 2006-05-22 Ben Elliston <bje@gnu.org>
4141 * lib/framework.exp (open_logs): Use file join where applicable.
4142 * lib/libgloss.exp (libgloss_link_flags, newlib_link_flags,
4143 newlib_include_flags, g++_link_flags, libstdc++_link_flags,
4144 get_multilibs, winsup_include_flags, winsup_link_flags): Likewise.
4145 * lib/utils.exp (which): Likewise.
4146 * runtest.exp (search_and_load_file, lookfor_file,
4147 load_tool_init): Likewise.
4149 * lib/debugger.exp (watcharray): Add `array' parameter. Rename
4150 `type' parameter to `op' and update all uses in the proc.
4151 (watchvar): Add `ignore' parameter for scalar variables.
4152 Likewise, rename `type' to `op' and update throughout the proc.
4154 * runtest.exp: Use switch, not case.
4155 * lib/framework.exp (clone_output): Likewise.
4156 (clear_xfail): Likewise.
4157 (clear_kfail): Likewise.
4158 (set_warning_threshold): Make warning_threshold global.
4159 (get_warning_threshold): Likewise.
4160 * lib/libgloss.exp (process_multilib_options): Use switch, not
4162 * lib/remote.exp (local_exec): Only run global errorInfo once.
4163 (standard_upload): Fix error in variable use ($file -> $srcfile).
4164 * lib/utils.exp (grep): Use switch, not case.
4165 (slay): Fix mismatched bracket.
4167 * lib/debugger.exp (watcharray): Use switch, not case.
4168 (watchvar): Likewise.
4169 (bt): Add an explanatory comment.
4171 2006-04-03 Ben Elliston <bje@gnu.org>
4173 * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
4174 lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
4175 lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
4177 2006-01-02 Ben Elliston <bje@gnu.org>
4179 * configure.ac (AC_INIT): Set version to 1.4.99.
4180 * configure: Regenerate.
4182 2006-01-01 Ben Elliston <bje@gnu.org>
4184 * testsuite/runtest.all/utils.test: Add runtest_file_p.
4186 2006-01-01 Ben Elliston <bje@gnu.org>
4188 * runtest.exp (frame_version): Set to 1.4.99.
4190 2006-01-01 Ben Elliston <bje@gnu.org>
4192 * dejagnu.h: Update copyright notice. Use C-style /* .. */
4193 comments for portability with ISO C compilers.
4194 * testsuite/libdejagnu/unit.cc: Likewise, update copyright notice.
4196 2006-01-01 Ben Elliston <bje@gnu.org>
4198 * runtest.exp: Update copyright notice.
4199 * example/calc/testsuite/calc.test/calc.exp: Likewise.
4200 * example/calc/testsuite/config/unix.exp: Likewise.
4201 * testsuite/libdejagnu/tunit.exp: Likewise.
4202 * testsuite/runtest.all/libs.exp: Likewise.
4203 * testsuite/runtest.all/options.exp: Likewise.
4204 * testsuite/runtest.all/stats-sub.exp: Likewise.
4205 * testsuite/runtest.all/stats.exp: Likewise.
4207 2006-01-01 Ben Elliston <bje@gnu.org>
4209 * config/default.exp, config/unix.exp, config/vxworks.exp,
4210 lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
4211 lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
4213 * dejagnu.h, testsuite/config/default.exp,
4214 testsuite/lib/libsup.exp, testsuite/libdejagnu/tunit.exp,
4215 testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
4216 testsuite/runtest.all/options.exp,
4217 testsuite/runtest.all/stats-sub.exp,
4218 testsuite/runtest.all/stats.exp: Update copyright notice and FSF
4219 office address. Remove bug reporting address, as it is now
4220 maintained centrally in the README file.
4222 2005-12-31 Ben Elliston <bje@gnu.org>
4224 * testsuite/runtest.all/utils.test: Don't bother mentioning
4225 absolute, psource, prune and slay as untested procedures.
4227 2005-12-31 Ben Elliston <bje@gnu.org>
4229 * doc/ref.xml (Utility Procedures): Note that the following
4230 procedures are deprecated: absolute, psource, prune, slay.
4232 * doc/dejagnu.texi: Regenerate.
4234 2005-12-24 Ben Elliston <bje@gnu.org>
4236 * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in
4237 case the command fails and zeroes the Texinfo source file. Move
4238 the output (if successful) by its default filename using mv(1).
4239 * Makefile.in: Regenerate.
4241 2005-12-24 Ben Elliston <bje@gnu.org>
4243 * configure.ac (DOCBOOK2X_TEXI): Add search for this program.
4244 * configure: Regenerate.
4245 * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New.
4246 (DOCBOOK2HTML, DOCBOOK2X_TEXI): Likewise.
4247 (dejagnu.pdf): Use $(DOCBOOK2PDF).
4248 (dejagnu.ps): Likewise, use $(DOCBOOK2PS).
4249 (dejagnu.rtf): Likewise, use $(DOCBOOK2RTF).
4250 (html): Likewise, use $(DOCBOOK2HTML).
4251 (doc/dejagnu.texi): Produce using the docbook2x-texi wrapper,
4252 which is much simpler. Likewise, use $(DOCBOOK2X_TEXI).
4253 * Makefile.in: Regenerate.
4255 2005-12-24 Ben Elliston <bje@gnu.org>
4257 * Makefile.am (EXTRA_DIST): Remove $(PACKAGING_METAFILES).
4258 (XML): Remove $(srcdir) from each filename; VPATH suffices.
4259 (PACKAGING_METAFILES): Remove.
4260 * Makefile.in: Regenerate.
4262 2005-12-24 Ben Elliston <bje@gnu.org>
4266 2005-12-24 Ben Elliston <bje@gnu.org>
4270 2005-12-24 Ben Elliston <bje@gnu.org>
4272 * testsuite/libdejagnu/tunit.exp: Don't change to a non-existent
4275 2005-12-24 Ben Elliston <bje@gnu.org>
4277 * Makefile.am (RUNTEST): Simplify, as Automake already generates
4278 similar logic in Makefile.in.
4279 * Makefile.in: Regenerate.
4281 2005-12-24 Ben Elliston <bje@gnu.org>
4283 * Makefile.am (RUNTESTDEFAULTFLAGS): Omit --tool so that
4284 libdejagnu tests are run too.
4285 * Makefile.in: Regenerate.
4287 2005-12-24 Ben Elliston <bje@gnu.org>
4289 * configure: Regenerate.
4291 * lib/remote.exp: Tidy.
4292 * lib/targetdb.exp: Likewise.
4293 * lib/target.exp (prune_warnings): Improve comments.
4294 * lib/dejagnu.exp: Likewise.
4295 * lib/utils.exp: Likewise.
4299 2005-12-24 Ben Elliston <bje@gnu.org>
4301 * doc/dejagnu.xml: Don't use apostrophes in section titles.
4302 * doc/dejagnu.texi: Regenerate.
4304 2005-12-24 Ben Elliston <bje@gnu.org>
4306 * Makefile.am (XML): Include $(srcdir) in filenames.
4307 * Makefile.in: Regenerate.
4309 2005-12-24 Ben Elliston <bje@gnu.org>
4311 * doc/C/Makefile.am: Remove.
4312 * doc/C/Makefile.in: Likewise.
4314 * Makefile.am (SUBDIRS): Remove.
4315 (EXTRA_DIST): Append $(XML).
4316 (dist_man_MANS): Define.
4317 (info_TEXINFOS): Likewise.
4318 (XML): List XML source files.
4319 (dejagnu.pdf): New target.
4320 (dejagnu.ps): Likewise.
4321 (dejagnu.rtf): Likewise.
4323 (dejagnu.texi): Special rule to build Texinfo source.
4324 * Makefile.in: Regenerate.
4325 * configure.ac: Don't search for docbook2dvi.
4326 Search for docbook2rtf and docbook2pdf.
4327 Don't output doc/Makefile or doc/C/Makefile.
4328 * configure: Regenerate.
4329 * doc/texinfo.tex: Move from here ..
4330 * texinfo.tex: .. to here.
4331 * doc/Makefile.am: Remove.
4332 * doc/Makefile.in: Likewise.
4333 * doc/C/dejagnu.omf: Likewise.
4334 * doc/C/topic.dat: Likewise.
4335 * doc/C/dejagnu.xml: Move from here ..
4336 * doc/dejagnu.xml: .. to here.
4337 * doc/C/legal.xml: Move from here ..
4338 * doc/legal.xml: .. to here.
4339 * doc/C/ref.xml: Move from here ..
4340 * doc/ref.xml: .. to here.
4341 * doc/C/user.xml: Move from here ..
4342 * doc/user.xml: .. to here.
4343 * doc/dejagnu.texi: Rebuild from XML source.
4345 2005-12-23 Ben Elliston <bje@gnu.org>
4347 * doc/runtest.1: Update manual page.
4349 2005-12-23 Ben Elliston <bje@gnu.org>
4351 * doc/overview.sgml: Remove in favour of XML versions.
4352 * doc/ref.sgml: Ditto.
4353 * doc/user.sgml: Ditto.
4354 * doc/texinfo.tex: Import new version.
4356 2005-12-20 Ben Elliston <bje@gnu.org>
4358 * Makefile.am (SUBDIRS): Remove testsuite, example.
4359 (EXTRA_DIST): Add $(TESTSUITE_FILES).
4360 (TESTSUITE_FILES): New.
4361 (RUNTEST, RUNTESTDEFAULTFLAGS): New.
4363 (check_PROGRAMS): New.
4364 (unit_SOURCES): New.
4365 * Makefile.in: Regenerate.
4366 * configure.ac (AC_OUTPUT): Don't output example/Makefile,
4367 testsuite/Makefile or testsuite/libdejagnu/Makefile.
4368 * configure: Regenerate.
4369 * testsuite/Makefile.am: Remove.
4370 * testsuite/Makefile.in: Likewise.
4371 * testsuite/libdejagnu/Makefile.am: Likewise.
4372 * testsuite/libdejagnu/Makefile.in: Likewise.
4374 2005-12-20 Ben Elliston <bje@gnu.org>
4376 * Makefile.am (baseboard_SCRIPTS): Rename ms1->mt.
4377 * Makefile.in: Regenerate.
4379 2005-12-20 Ben Elliston <bje@gnu.org>
4381 * configure: Regenerate with autoconf 2.59.
4382 * aclocal.m4: Regenerate with aclocal 1.9.6.
4383 * Makefile.in: Regenerate with automake 1.9.6.
4384 * doc/Makefile.in: Likewise.
4385 * doc/C/Makefile.in: Likewise.
4386 * example/Makefile.in: Likewise.
4387 * testsuite/Makefile.in: Likewise.
4388 * testsuite/libdejagnu/Makefile.in: Likewise.
4390 2005-12-20 Nathan Sidwell <nathan@codesourcery.com>
4392 * baseboards/ms1-sid.exp: Rename from this ..
4393 * baseboards/mt1-sid.exp: .. to this. Update ms1->mt within.
4395 2005-12-20 Ben Elliston <bje@gnu.org>
4397 * config.guess: Update to most recent version.
4398 * config.sub: Likewise.
4400 2005-09-24 Ben Elliston <bje@gnu.org>
4402 * packaging/pkg/pkginfo (EMAIL): Update mail address.
4404 * lib/rsh.exp: Tidy comments.
4406 2005-07-07 Ben Elliston <bje@gnu.org>
4408 * lib/telnet.exp (telnet_transmit): Remove; use standard method.
4410 2005-07-07 Ben Elliston <bje@gnu.org>
4412 * Makefile.am (baseboard_SCRIPTS): Add ms1-sid.exp.
4413 * Makefile.in: Regenerate.
4415 2005-07-06 Ben Elliston <bje@gnu.org>
4417 * lib/tip.exp (tip_open): Improve comments.
4418 (tip_download): Likewise.
4420 2005-07-06 Ben Elliston <bje@gnu.org>
4422 * lib/telnet.exp (telnet_open): Improve option handling. Clarify
4423 documentation for each proc.
4425 2005-07-06 Ben Elliston <bje@gnu.org>
4427 * aclocal.m4: Regenerate with aclocal 1.9.
4428 * configure: Regenerate with autoconf 2.59.
4429 * doc/C/Makefile.am: Remove stray include.
4430 * Makefile.in, doc/Makefile.in, doc/C/Makefile.in,
4431 example/Makefile.in, testsuite/Makefile.in,
4432 testsuite/libdejagnu/Makefile.in: Regenerate with automake 1.9.
4434 2005-07-06 Ben Elliston <bje@gnu.org>
4436 Import some missing hunks from this patch on sourceware:
4438 2004-11-11 Nick Clifton <nickc@redhat.com>
4440 * lib/libgloss.exp (libio_include_flags, g++_include_flags,
4441 winsup_include_flags): Revert previous patch, restoring the use of
4442 -I, for all libraries except newlib. Newlib needs -isystem to
4443 avoid the problems with <limits.h> but the C++ and winsup
4444 libraries need -I because -isystem generates an implicit 'extern
4445 "C"' which may not be appropriate for certain targets.
4447 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
4449 * baseboards/ms1-sid.exp: New.
4451 2005-07-01 Ben Elliston <bje@gnu.org>
4453 Unify some changes with the 1.4 branch:
4455 2004-10-28 Nick Clifton <nickc@redhat.com>
4456 * baseboards/iq2000-sim.exp: New file.
4458 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4459 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4462 2004-05-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4463 * baseboards/m32r-linux-sim.exp: Add New file.
4465 2005-06-24 Ben Elliston <bje@gnu.org>
4467 * MAINTAINERS: Update my email address.
4469 2005-06-24 Ben Elliston <bje@gnu.org>
4471 * Update the FSF's physical address throughout.
4473 2005-06-22 Ben Elliston <bje@gnu.org>
4475 * config.guess: Update to most recent version.
4476 * config.sub: Likewise.
4478 2005-04-28 Mark Kettenis <kettenis@gnu.org>
4480 * lib/target.exp (prune_warnings): Add a few more linker
4481 warning patterns for OpenBSD.
4483 2005-03-20 Mark Kettenis <kettenis@gnu.org>
4485 * lib/target.exp (prune_warnings): Add linker warning patterns for
4488 2005-01-29 Hans-Peter Nilsson <hp@axis.com>
4490 * baseboards/cris-sim.exp: New file.
4492 2004-11-19 Nick Clifton <nickc@redhat.com>
4494 * lib/libgloss.exp (newlib_include_flags): Document why -isystem
4495 is used instead of -I.
4496 (libio_include_flags): Use -I instead of -isystem and
4498 (g++_include_flags): Use -I instead of -isystem.
4499 (libstdc++_include_flags): Likewise.
4501 2004-11-04 Ben Elliston <bje@gnu.org>
4503 * lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
4504 mark the test as unresolved, rather than warning.
4506 2004-10-27 Nick Clifton <nickc@redhat.com>
4508 * baseboards/iq2000-sim.exp: New file.
4510 2004-08-20 Daniel Jacobowitz <dan@debian.org>
4512 * testglue.c: Prototype abort(3) and exit(3).
4514 2004-08-14 Paul Brook <paul@codesourcery.com>
4516 * config/sim.exp (sim_download, sim_upload): New procs.
4518 2004-06-30 Ben Elliston <bje@gnu.org>
4520 * config.guess: Update to current revision.
4521 * config.sub: Likewise.
4523 2004-06-12 Ben Elliston <bje@gnu.org>
4525 * config.guess: Update to current revision.
4526 * config.sub: Likewise.
4528 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4530 * testglue.c: Prototype abort and exit.
4532 2004-06-08 Alexandre Oliva <aoliva@redhat.com>
4534 * baseboards/mn10300-sim.exp: Set needs_status_wrapper to empty
4537 Tue Feb 25 05:19:57 UTC 2003 Brendan Conoboy <blc@@redhat.com>
4539 * lib/remote.exp (call_remote): Remove multilibs from the board
4540 name when rebooting a board.
4542 2004-06-03 Alexandre Oliva <aoliva@redhat.com>
4544 * baseboards/mn10300-sim.exp: Set needs_status_wrapper and
4547 2004-06-07 Ben Elliston <bje@gnu.org>
4549 * lib/libgloss.exp (build_wrapper): Remove redundant set command.
4551 2004-03-29 Joel Brobecker <brobecker@gnat.com>
4553 * lib/libgloss.exp (find_gnatmake): New procedure.
4554 * lib/target.exp (default_target_compile): Add support for Ada.
4556 2004-04-16 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
4558 * baseboards/m32r-linux-sim.exp: Add New file.
4560 2004-04-02 Rob Savoye <rob@direwolf.welcomehome.org>
4562 * configure.ac, example/Makefile.am: Add example/mathhelper.
4563 * configure, alocal.m4, example/Makefile.in: Regenerated.
4565 2004-04-02 Joel Sherrill <joel@OARcorp.com>
4567 * example/mathhelper: New example for using the unit testing API.
4569 2004-03-05 Daniel Jacobowitz <drow@mvista.com>
4571 * lib/remote.exp (standard_spawn): Fix rsh username support.
4573 2004-03-06 Rob Savoye <rob@althea.welcomehome.org>
4575 * doc/C: New directory for DocBook XML files.
4576 * doc/C/dejagnu.omf: New config file for scrollkeeper.
4577 * doc/C/topic.dat: New config file for the GNOME help system.
4578 * doc/C/dejagnu.xml: DocBook XML formatted verion of what was
4580 * doc/C/ref.xml: DocBook XML formatted verion of what was
4582 * doc/C/user.xml: DocBook XML formatted verion of what was
4585 2004-02-17 Ben Elliston <bje@wasabisystems.com>
4587 * runtest.exp: Do not trap SIGSEGV.
4589 2004-02-16 Ben Elliston <bje@wasabisystems.com>
4591 * configure.ac: Update AC_INIT and AM_INIT_AUTOMAKE invocations.
4592 * configure: Regenerate.
4594 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4596 * doc/runtest.1: Improve some wording. Update last revision date.
4598 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4600 * NEWS: Document yesterday's work.
4602 * runtest: Improve comments.
4604 2004-02-09 Ben Elliston <bje@wasabisystems.com>
4608 * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard.
4610 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4612 * configure.ac: Quote strings throughout in good Autoconf style.
4613 Remove AC_PROG_YACC invocation. Search for docbook2dvi, et al and
4614 expect using AC_PATH_PROG. Remove DJ_AC_PATH_DOCBOOK in favour of
4615 existing macros. Remove stale BOARDS and CONFIG substs. Ensure Tcl
4616 is at version 8.3 or greater.
4617 * configure: Regenerate.
4618 * acinclude.m4: Remove.
4619 * aclocal.m4: Regenerate.
4620 * Makefile.in: Likewise.
4621 * doc/Makefile.am (%.pdf: %.sgml): Use $(DOCBOOK2PDF).
4622 (%.dvi: %.sgml): Use $(DOCBOOK2DVI).
4623 (%.html: %.sgml): Use $(DOCBOOK2HTML).
4624 * doc/Makefile.in: Regenerate.
4625 * example/Makefile.in: Likewise.
4626 * testsuite/Makefile.in: Likewise.
4627 * testsuite/libdejagnu/Makefile.in: Likewise.
4630 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4632 * baseboards/cf.exp: Use -T instead of -Wl,-T for ldscript.
4633 * baseboards/fr30-elf.exp, baseboards/frv-elf.exp,
4634 baseboards/h8300.exp, baseboards/i960-cyclone.exp,
4635 baseboards/i960-sim.exp, baseboards/m32r-elf.exp,
4636 baseboards/mips-idt.exp, baseboards/mips-lnews-sim.exp,
4637 baseboards/mips-lsi-sim.exp, baseboards/mips64vr4100-sim.exp,
4638 baseboards/op50n.exp, baseboards/rom68k-idp.exp,
4639 baseboards/sh-hms.exp, baseboards/tx39-dve.exp,
4640 baseboards/vr4100-ddb.exp, baseboards/vr4100-sim.exp,
4641 baseboards/vr4111-sim.exp, baseboards/vr4300-ddb.exp,
4642 baseboards/vr4300-sim.exp, baseboards/vr4300.exp,
4643 baseboards/vr5000-ddb.exp: Likewise.
4645 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4647 * runtest: Terminate with an error if expect cannot be found.
4650 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4652 * configure.ac: Use AC_PATH_PROG to find expect(1).
4653 (DJ_AC_PATH_TCLSH): Remove unneeded invocation.
4654 * acinclude.m4 (DJ_AC_PATH_TCLSH): Remove.
4655 (DJ_AC_STL): Likewise.
4656 * configure: Regenerate.
4657 * aclocal.m4: Likewise.
4658 * configure: Likewise.
4659 * Makefile.in: Likewise.
4660 * doc/Makefile.in: Likewise.
4661 * example/Makefile.in: Likewise.
4662 * testsuite/Makefile.in: Likewise.
4663 * testsuite/libdejagnu/Makefile.in: Likewise.
4666 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4668 * runtest.1: Remove any mention of mondfe.
4670 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4672 * TODO: Add an item about timeouts.
4674 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
4676 * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
4678 2004-02-08 Ben Elliston <bje@wasabisystems.com>
4680 * lib/standard.exp: Tidy.
4682 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4684 * Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
4685 (config_SCRIPTS): Remove udi.exp, vrtx.exp.
4686 (baseboard_SCRIPTS): Remove a29k-udi.exp.
4687 * Makefile.in: Regenerate.
4688 * baseboards/a29k-udi.exp: Remove.
4689 * baseboards/dos.exp: Update comments.
4690 * config/udi.exp: Remove.
4691 * config/vrtx.exp: Remove.
4692 * doc/overview.sgml: Update. Don't mention mondfe and xsh support.
4693 * doc/ref.sgml: Likewise.
4694 * doc/user.sgml: Likewise.
4695 * lib/mondfe.exp: Remove.
4696 * lib/xsh.exp: Likewise.
4697 * lib/remote.exp: Don't load mondfe.exp or xsh.exp.
4698 * packaging/pkg/prototype: Update.
4701 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4703 * Makefile.am (rpmspec): Remove.
4704 (rpm): Additionally depend on dejagnu.spec.
4705 ($(PKGDIR)/dejagnu): New target that installs DejaGnu into this
4706 directory. This saves duplicated code in the solpkg and hpdepot
4708 (solpkg): Depend on $(PKGDIR)/dejagnu.
4709 (hpdepot): Likewise.
4710 * Makefile.in: Regenerate.
4712 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4714 * Makefile.am (RUNTEST, RUNTESTDEFAULTFLAGS): Remove.
4715 * Makefile.in: Regenerate.
4716 * testsuite/Makefile.am (CLEANFILES): Remove.
4717 (RUNTESTDEFAULTFLATS): Pass --srcdir and RUNTEST=$(RUNTEST).
4718 * testsuite/Makefile.in: Regenerate.
4720 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4722 * lib/util-defs.exp: Move from here ..
4723 * testsuite/lib/util-defs.exp: .. to here.
4724 * Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
4725 * Makefile.in: Regenerate.
4726 * testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
4727 * testsuite/Makefile.in: Regenerate.
4728 * doc/ref.sgml (File Map): Remove util-defs.exp.
4729 * packaging/pkg/prototype: Update file list.
4731 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4733 * NEWS: Document changes since 1.4.4.
4735 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4737 * example/Makefile.am (check-recursive): Remove target.
4738 * example/Makefile.in: Regenerate.
4740 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4742 * dejagnu.h: Conform with GNU coding standard.
4744 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4746 * Makefile.am (PKGING): Remove.
4747 (PACKAGING_METAFILES): Update accordingly.
4748 (CLEANFILES, check-DEJAGNU): Remove.
4749 (tarball): Remove; use `dist'.
4750 (deb): Update target recipe to use `make dist'.
4752 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4754 * Clean.tcl: Remove.
4756 * Makefile.am (SUBDIRS): Add testsuite, example directories.
4757 (EXTRA_DIST): Define.
4758 (pkgdata_SCRIPTS): Add lib/*.exp files.
4759 (DATE, TCLSH): Remove.
4760 (configdir, config_DATA, config_SCRIPTS): Define.
4761 (baseboarddir, baseboard_DATA, baseboard_SCRIPTS): Likewise.
4762 (pkgdata_DATA): Likewise.
4763 (djlibexecdir, djlibexec_SCRIPTS): Likewise.
4764 (PKGING, PACKAGING_METAFILES): New macros.
4765 (clean-local): Remove.
4766 (rpm): Depend on dist.
4768 (dist-hook): Remove.
4769 (lib_dest, lib_files): Likewise.
4770 (baseboard_dest, baseboard_files): Likewise.
4771 (include_dest, config_dest, config_files): Likewise.
4772 (install-data-local): Likewise.
4773 (uninstall-local): Likewise.
4774 (site.exp): Likewise.
4775 * Makefile.in: Regenerate.
4777 * testsuite/Makefile.am (all, all-am, etcetera): Remove.
4779 (EXTRA_DIST): Define.
4780 (site.exp): Remove target.
4781 * testsuite/Makefile.in: Regenerate.
4782 * testsuite/libdejagnu/Makefile.am (EXTRA_DIST): Define.
4783 (noinst_PROGRAMS): Rename from this ..
4784 (check_PROGRAMS): .. to this.
4785 * testsuite/libdejagnu/Makefile.in: Regenerate.
4787 * doc/Makefile.am (man_MANS): Rename from this ..
4788 (dist_man_MANS): .. to this.
4789 (info_TEXINFOS): Define.
4790 (TARGETS): Remove overview.rtf.
4791 (EXTRA_DIST): Define.
4792 (%.rtf: %.sgml): Remove rule.
4793 (%.gif: %.fig): Likewise.
4794 (%.epsi: %.eps): Likewise.
4795 (%.eps: %.fig): Likewise.
4796 (clean, realclean, distclean): Remove.
4797 (install-docs): Don't install overview.rtf.
4798 * doc/Makefile.in: Regenerate.
4799 * doc/texinfo.tex: New file.
4801 * example/calc/Makefile.am (noinst_PROGRAMS): Rename from this ..
4802 (check_PROGRAMS): .. to this.
4803 (EXTRA_DIST): Add test cases and calc.1 man page.
4804 * example/calc/Makefile.in: Regenerate.
4805 * example/calc/aclocal.m4: Likewise.
4806 * example/calc/configure: Likewise.
4807 * example/calc/stamp-h.in: Remove.
4808 * example/hello/Makefile.am (bin_PROGRAMS): Rename from this ..
4809 (check_PROGRAMS): .. to this.
4810 (EXTRA_DIST): Define.
4811 * example/hello/Makefile.in: Regenerate.
4812 * example/hello/aclocal.m4: Likewise.
4813 * example/hello/configure: Likewise.
4814 * example/hello/testsuite/Makefile.am (EXTRA_DIST): Define.
4815 * example/hello/testsuite/Makefile.in: Regenerate.
4817 2004-02-07 Ben Elliston <bje@wasabisystems.com>
4819 * configure.ac: Remove commented out code.
4820 * configure: Regenerate.
4822 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4826 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4828 * INSTALL: Import latest version.
4829 * depcomp: Likewise.
4830 * install-sh: Likewise.
4831 * missing: Likewise.
4833 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4835 * configure.in: Rename from this ..
4836 * configure.ac: .. to this. Require Autoconf 2.50.
4837 * Makefile.in: Regenerate.
4838 * doc/Makefile.in: Likewise.
4839 * example/Makefile.in: Likewise.
4840 * testsuite/Makefile.in: Likewise.
4841 * testsuite/libdejagnu/Makefile.in: Likewise.
4843 2004-02-06 Ben Elliston <bje@wasabisystems.com>
4845 * lib/target.exp (prune_warnings): Add spaces where required in
4846 NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
4848 2004-02-05 Ben Elliston <bje@wasabisystems.com>
4850 * config.guess: Update to current revision.
4851 * config.sub: Likewise.
4853 2004-02-04 Ben Elliston <bje@wasabisystems.com>
4855 * configure.in (AC_NO_EXECUTABLES): Remove.
4856 * configure: Rebuild with Autoconf 2.59.
4857 * acinclude.m4 (DJ_AC_STL): Quote macro name to appease aclocal.
4858 (DJ_AC_PATH_TCLSH): Likewise.
4859 (DJ_AC_PATH_DOCBOOK): Likewise.
4860 * aclocal.m4: Rebuild.
4861 * Makefile.in: Rebuild with Automake 1.8.2.
4862 * doc/Makefile.in: Likewise.
4863 * example/Makefile.in: Likewise.
4864 * testsuite/Makefile.in: Likewise.
4865 * testsuite/libdejagnu/Makefile.in: Likewise.
4867 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4869 Import orphaned patches from sources.redhat.com:
4871 2002-05-02 Fernando Nasser <fnasser@redhat.com>
4872 * doc/dejagnu.texi: Document KFAIL and KPASS.
4874 2002-02-20 Richard Henderson <rth@redhat.com>
4875 * lib/target.exp (prune_warnings): Revert early "In function"
4876 strip, as this breaks g++.dg tests. Match dangerous regexp
4877 without the "In function" header.
4879 2002-02-09 Richard Henderson <rth@redhat.com>
4880 * lib/target.exp (prune_warnings): Strip "In function" etc early.
4881 Adjust "dangerous" regexp for glibc's tmpnam warning.
4883 2001-09-10 Jim Blandy <jimb@redhat.com>
4884 * baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
4885 so we get the version of the `outbyte' function that does console
4886 output in a way that GDB's rom68k target recognizes. Note that
4887 the board can now do output.
4889 2000-04-25 Felix Lee <flee@cygnus.com>
4890 * baseboards/tx39-sim.exp: Use idt, not dve linker script. Delete
4891 misleading comments and null statements.
4893 2004-01-30 Ben Elliston <bje@wasabisystems.com>
4895 * DejaGnu 1.4.4 released.
4897 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4899 * Makefile.am (tarball): Depend on book1.html, not overview.html.
4900 Don't echo needless messages. Portably copy the source tree to
4901 dejagnu-${VERSION}. Portably copy documentation files from the
4902 source tree to the distribution directory. Don't copy RPM-related
4903 files -- leave that to the rpm target.
4904 (snapshot): Remove target.
4905 (overview.html): Rename target from this ..
4906 (book1.htm): .. to this.
4907 (rpm): Portably copy tar file to SOURCES directory.
4908 (deb): Depend on book1.html, not overview.html.
4909 (dist-hook): Depend on book1.html, not overview.html.
4910 * Makefile.in: Rebuild.
4911 * doc/Makefile.am (TARGETS): Depend on book1.html.
4912 (book1.html): Depend on html/book1.html.
4913 (overview.dvi): Remove target.
4914 * doc/Makefile.in: Rebuild.
4916 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4918 * Clean.tcl: Run tclsh via /usr/bin/env for portability.
4919 (cleanfiles): Concatenate regular filenames that match .*.
4921 2004-01-12 Ben Elliston <bje@wasabisystems.com>
4923 * baseboards/frv-sim.exp: Remove reference to devo/sim.
4925 2004-01-27 Ben Elliston <bje@wasabisystems.com>
4927 * doc/overview: Remove all files.
4929 2003-12-03 Ben Elliston <bje@wasabisystems.com>
4931 * testsuite/runtest.all/utils.test: Fix a test for proc find which
4932 assumed that "subsubfile1" would appear at the end of the returned
4933 list. Adjust to use a more robust regular expression.
4935 2003-11-26 Ben Elliston <bje@wasabisystems.com>
4937 * doc/overview.sgml (version): Update.
4938 * doc/overview/installation.html: Likewise.
4940 * packaging/rpm/dejagnu.spec: Update version numbers throughout.
4941 * packaging/pkg/pkginfo: Likewise.
4942 * packaging/depot/dejagnu.psf: Likewise.
4944 2003-10-25 Ben Elliston <bje@wasabisystems.com>
4946 * runtest.exp (frame_version): Bump version.
4947 * configure.in (AM_INIT_AUTOMAKE): Likewise.
4948 * configure: Regenerate.
4950 2003-10-16 Rob Savoye <rob@welcomehome.org>
4952 * packaging/prototype: Remove sh-hms-sim.exp, add sh-sim.
4954 2003-10-13 Ben Elliston <bje@wasabisystems.com>
4956 * baseboards/sh-hms-sim.exp: Remove. Replaced by sh-sim.exp.
4958 2003-10-11 Corinna Vinschen <vinschen@redhat.com>
4960 * baseboards/sh-sim.exp: New file.
4962 2003-10-11 Ben Elliston <bje@wasabisystems.com>
4965 * AUTHORS: Don't list maintainers, reference MAINTAINERS instead.
4967 2003-10-08 Ben Elliston <bje@wasabisystems.com>
4969 * i960glue.c: Remove.
4970 * packaging/pkg/prototype: Remove i960glue.c.
4972 2003-10-07 Ben Elliston <bje@wasabisystems.com>
4974 * contrib/README: Remove.
4975 * contrib/testit: Remove bitrotten script.
4976 * contrib/test-g++: Likewise.
4977 * contrib/test-tool: Likewise.
4979 2003-08-23 Ben Elliston <bje@wasabisystems.com>
4982 * contrib/README: Bring up to date.
4984 2003-08-23 Corinna Vinschen <vinschen@redhat.com>
4986 * config/sid.exp: Add gdb settings to use no hardware watchpoints.
4988 2003-08-23 Ben Elliston <bje@wasabisystems.com>
4990 * README: Update section on reporting bugs.
4992 2003-08-22 Ben Elliston <bje@wasabisystems.com>
4994 * lib/kermit.exp: Document procs.
4995 * lib/ftp.exp: Likewise.
4997 2003-08-19 Ben Elliston <bje@wasabisystems.com>
4999 * contrib/testit: Run wish via /usr/bin/env for portability.
5001 2003-08-18 Ben Elliston <bje@wasabisystems.com>
5003 * Makefile.am: Tidy comments and unused command lines.
5004 * Makefile.in: Regenerate.
5005 * testsuite/libdejagnu/Makefile.in: Likewise.
5007 * contrib/bluegnu2.0.3: Remove unsupported subtree.
5009 2003-08-18 Ben Elliston <bje@wasabisystems.com>
5011 * MAINTAINERS: New file.
5013 2003-08-17 Ben Elliston <bje@wasabisystems.com>
5015 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove empty variable.
5016 * doc/Makefile.in: Regenerate.
5018 2003-08-16 Ben Elliston <bje@wasabisystems.com>
5020 * doc/overview.sgml (overview): Start overhauling chapter.
5022 * doc/README.Writers: New document on style conventions.
5023 * doc/ref.sgml: Replace "test suite" with "testsuite" throughout.
5024 * doc/user.sgml: Likewise.
5025 * doc/overview.sgml: Likewise.
5026 * doc/dejagnu.texi (Design Goals): Change "Deja Gnu" to "DejaGnu".
5028 2003-08-12 Ben Elliston <bje@wasabisystems.com>
5030 * Makefile.am (tarball): Update path to dejagnu.spec.
5031 (rpmspec): Likewise.
5032 (deb): Likewise, update path to package metafiles.
5034 (hpdepot): Likewise.
5035 * Makefile.in: Regenerate.
5036 * aclocal.m4: Likewise.
5037 * configure: Likewise.
5038 * doc/Makefile.in: Likewise.
5039 * example/Makefile.in: Likewise.
5040 * testsuite/Makefile.in: Likewise.
5041 * deb: Move from here ..
5042 * packaging/deb: .. to here.
5043 * redhat: Move from here ..
5044 * packaging/rpm: .. to here.
5045 * depot: Move from here ..
5046 * packaging/depot: .. to here.
5047 * pkg: Move from here ..
5048 * packaging/pkg: .. to here.
5050 * testsuite/libdejagnu/Makefile.am (CXXFLAGS): Rename from this ..
5051 (AM_CXXFLAGS): .. to this, in order to suppress Automake warning.
5052 * testsuite/libdejagnu/Makefile.in: Regenerate.
5054 2003-08-07 Ben Elliston <bje@wasabisystems.com>
5056 * config/ddb.exp (${board}_init): Fix thinko: use Tcl incr command
5057 to increment count rather than count++ as in C.
5059 2003-08-06 Ben Elliston <bje@wasabisystems.com>
5061 * lib/remote.exp: Replace "TCL" with "Tcl".
5063 2003-07-30 Ben Elliston <bje@wasabisystems.com>
5065 * doc/runtest.1: Replace "TCL" with "Tcl".
5066 Make last revision date current.
5068 2003-07-29 Ben Elliston <bje@wasabisystems.com>
5070 * doc/overview.sgml: Replace "NT" with "Windows", correct Cygwin
5071 URLs and other stylistic improvements.
5072 * doc/ref.sgml: Likewise.
5073 * doc/user.sgml: Likewise.
5075 2003-07-25 Mike Stump <mrs@apple.com>
5077 * lib/target.exp (prune_warnings): Handle "nfs server .* not
5078 responding" and "nfs server .* is alive again".
5080 2003-07-20 Ben Elliston <bje@wasabisystems.com>
5082 * config.guess: Update to most recent version.
5083 * config.sub: Ditto.
5084 * AUTHORS: Add self to list of maintainers.
5086 2003-07-25 Jim Dein <jdein@deinji5.apple.com> (RIP)
5088 * lib/utils.exp (find): Fix double recursion bug.
5090 2002-02-25 Jackie Smith Cashion <jsmith@redhat.com>
5092 * baseboards/am33_2.0-libremote.exp: New file.
5094 2000-11-21 Drew Moseley <dmoseley@redhat.com>
5096 * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
5099 2000-08-10 Drew Moseley <dmoseley@cygnus.com>
5101 * baseboards/mn10300-cygmon.exp: Added support for Cygmon based
5104 2003-06-13 Phil Edwards <pme@devphil.com>
5106 * baseboards/mips64-sim.exp, baseboards/mips-sim.exp,
5107 baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use
5108 only -T[linker] instead of -Wl,-T[linker].
5110 2003-06-13 Jason Thorpe <thorpej@wasabisystems.com>
5112 * lib/target.exp (prune_warnings): Add two more linker
5113 warning patterns for warnings generated by modern verions
5116 2003-05-12 H.J. Lu <hongjiu.lu@intel.com>
5118 * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit.
5120 2003-05-09 H.J. Lu <hongjiu.lu@intel.com>
5122 * runtest: Fix a typo.
5124 2003-05-03 Nitin Dhavale <nitinpdhavale@indiatimes.com>
5126 * doc/user.sgml: Clarify how to set the verbose option.
5128 2003-03-28 Chris Demetriou <cgd@broadcom.com>
5130 * lib/framework.exp (check_conditional_xfail): Adjust so that
5131 an empty 'includes' list matches all sets of flags.
5132 * doc/dejagnu.texi: Document the above.
5133 * doc/ref.sgml: Likewise.
5135 2003-03-27 David Heine <dlheine@tensilica.com>
5137 * baseboards/xtensa-sim.exp: Fix a syntax error.
5139 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org>
5141 * lib/unix.exp: Preserve the value of LD_LIBRARY_PATH, rather
5142 than stomp on it. This is based on a patch from Brendan Conoboy
5144 * Most files: Update copyright dates.
5146 2003-03-13 Mike Stump <mrs@apple.com>
5148 * lib/dg.exp(dg-test): Add compiler flags to testcase name, to
5149 help ensure uniqueness.
5151 2003-03-05 Alexandre Oliva <aoliva@redhat.com>
5153 * lib/remote.exp (standard_download, standard_upload): Support
5154 nfsdir and nfsroot_server.
5156 See ChangeLog-1992 for earlier changes.