aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2020-08-31Add GFDL notice to doc/runtest.1Jacob Bachmeyer1-1/+6
2020-08-18Fix typo in copyright notice in dejagnu-help manpageJacob Bachmeyer1-1/+1
2020-08-18Ignore files generated by texi2dviJacob Bachmeyer1-0/+6
2020-08-12Document unit testing protocol and APIJacob Bachmeyer1-43/+155
2020-08-02Add warnings about synchronization with the tested programJacob Bachmeyer1-41/+80
2020-07-06Merge branch 'PR41918'Jacob Bachmeyer2-3/+5
Conflicts: ChangeLog
2020-07-06Merge branch 'new-api-for-1.6.3'Jacob Bachmeyer1-3/+65
Conflicts: ChangeLog NEWS doc/dejagnu.texi
2020-06-26Document use of UNRESOLVED results to mark test script crashesJacob Bachmeyer1-0/+5
2020-06-26Withdraw proposed --keep_going and --no_keep_going optionsJacob Bachmeyer2-14/+0
2020-06-24Add option to stop immediately at Tcl errors and continue by defaultJacob Bachmeyer2-3/+6
2020-06-22Add "linker=" option to target_compile to support testingJacob Bachmeyer1-1/+4
2020-06-20Document find_* procedures imported from GDB testsuiteJacob Bachmeyer1-2/+45
2020-06-20Add Go support to default_target_compileTom Tromey1-0/+8
This adds Go support to default_target_compile. This comes from this gdb patch: commit a766d390bb857383a5f9ae80a102e1f8705f4c2e Author: Doug Evans <dje@google.com> Date: Wed Apr 25 14:07:23 2012 +0000 Initial pass at Go language support.
2020-06-20Add Rust support to default_target_compileTom Tromey1-0/+5
This adds support for the Rust language to default_target_compile. This comes from a gdb patch: commit 67218854b1987d89593ccaf5feaf5b29b1b976f2 Author: Tom Tromey <tom@tromey.com> Date: Tue Apr 26 19:38:43 2016 -0600 Update gdb test suite for Rust [...] 2016-05-17 Tom Tromey <tom@tromey.com> Manish Goregaokar <manishsmail@gmail.com>
2020-06-20Add early_flags to default_target_compileTom Tromey1-1/+4
This adds early_flags support to default_target_compile. This originated in this gdb patch: commit 6ebea266fd0a7a56c90db3ab6237ff9f6c919747 Author: Doug Evans <dje@google.com> Date: Fri Jul 24 15:24:37 2015 -0700 Workaround debian change to default value of --as-needed. gdb/testsuite/ChangeLog: * lib/future.exp (gdb_default_target_compile): New option "early_flags". * lib/gdb.exp (gdb_compile): Undo debian's change in default of --as-needed. This patch also pulls in the "linker_opts_order" code, though nothing uses it yet. A use will come in a subsequent patch.
2020-06-17Allow testing to continue after an undefined command is calledJacob Bachmeyer2-0/+8
2020-06-10Fix Info node connectivity and formatting mistakeJacob Bachmeyer1-1/+2
2020-06-06Add "testcase group" APIJacob Bachmeyer1-2/+48
2020-06-05Add "testsuite can call api" feature test APIJacob Bachmeyer1-1/+17
2020-05-27Fix node duplicated by merge error in dejagnu.texiJacob Bachmeyer1-14/+0
The previous merge duplicated the "target_link procedure" node.
2020-05-26Merge branch 'patch-0002'Rob Savoye1-4/+175
2020-05-26Add documentation for target_compile procedure.Jacob Bachmeyer1-22/+186
2020-05-26 Document internal procedure, default_linkJacob Bachmeyer1-18/+25
2020-05-25 Establish a default C compiler by evaluating [find_gcc] if no other ↵Jacob Bachmeyer1-2/+4
compiler is given.
2020-05-21Explicitly list optional arguments instead of simply copying the Tcl ↵Jacob Bachmeyer1-11/+18
argument list for the remote_exec procedure.
2019-01-24 * doc/dejagnu.texi: Refill paragraphs and normalize inter-sentenceJacob Bachmeyer1-960/+987
spacing so the Emacs move-by-sentence commands work correctly. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-23 * doc/dejagnu.texi: Replace "config file" with "configurationBen Elliston1-34/+34
file" throughout.
2019-01-23 * doc/dejagnu.texi (Command line option variables): Improve tableJacob Bachmeyer1-19/+8
formatting to fix overlapping columns and revise text slightly. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-23 * doc/dejagnu.texi (Global config file): Change example to use theJacob Bachmeyer1-8/+8
Tcl "switch" command instead of the deprecated "case" command. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-20Bump version.texi.Ben Elliston1-1/+1
2019-01-12 * doc/dejagnu.texi (runtest_file_p procedure): Fix description ofJacob Bachmeyer1-2/+2
the structure of the "runtests" argument. Signed-off-by: Ben Elliston <bje@gnu.org>
2019-01-12 * doc/dejagnu.texi: Various documentation fixes.Ben Elliston1-14/+15
2019-01-02 * NEWS: Document report card.Jacob Bachmeyer3-5/+190
* Makefile.am (clean-local): Add target. (clean-local-check): Add target; mark as PHONY. (commands_DATA): Add "report-card" scripts. (dist_man_MANS): Add dejagnu-report-card.1 and split. (DEJATOOL): Add "report-card" tool. (TESTSUITE_FILES): Add testsuite for "report-card" tool. * commands/report-card.awk: New command script. * doc/dejagnu.texi (Invoking dejagnu report card): New node. * doc/dejagnu-report-card.1: New man page. * testsuite/lib/bohman_ssd.exp: New file. * testsuite/lib/report-card.exp: New file. * testsuite/report-card.all/onetest.exp: New file. * testsuite/report-card.all/passes.exp: New file. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-21Update date.Ben Elliston1-1/+1
2018-12-20 * Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script andJacob Bachmeyer3-3/+302
contents of $(commands_DATA). (bin_SCRIPTS): Add "dejagnu" launcher script. (commandsdir): Installation directory for "dejagnu" subcommands is $(pkgdatadir)/commands. (commands_DATA): New, contains "commands/help.sh" as initial item. (TESTSUITE_FILES): Add testsuite for same. (DEJATOOL): Add "launcher" to list of tools to test. (dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help". * doc/dejagnu.texi (Running other DejaGnu commands): New chapter. (Invoking dejagnu): New node for dejagnu(1) launcher script. (Invoking dejagnu help): New node. * doc/dejagnu.1: New man page. * doc/dejagnu-help.1: New man page. * dejagnu: New script. * commands/help.sh: New dejagnu subcommand for reading manpages. * testsuite/launcher.all/command.exp: New file. * testsuite/launcher.all/command/commands/bar-baz.awk: New file. * testsuite/launcher.all/command/commands/bar.awk: New file. * testsuite/launcher.all/command/commands/bar.sh: New file. * testsuite/launcher.all/command/commands/baz-quux.gawk: New file. * testsuite/launcher.all/command/commands/foo.sh: New file. * testsuite/launcher.all/command/commands/foo.tcl: New file. * testsuite/launcher.all/help.exp: New file. * testsuite/launcher.all/interp.exp: New file. * testsuite/launcher.all/verbose.exp: New file. * testsuite/lib/launcher.exp: New file. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-20 * doc/dejagnu.texi (bt procedure): Fix Info links.Jacob Bachmeyer1-2/+2
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-17 * doc/dejagnu.texi (Board config file): Fix up @ref.Ben Elliston1-3/+23
(Command line option variables): Likewise. (Debugging Procedures): Add an entry for 'bt' command.
2018-12-15 * doc/dejagnu.texi (telnet Procedure): Remove old node.Ben Elliston1-121/+4
(rlogin Procedure): Likewise. (rsh Procedure): Likewise. (tip Procedure): Likewise. (kermit Procedure): Likewise. (list_targets Procedure): Likewise. (prune_system_crud): Likewise.
2018-12-12 * doc/dejagnu.texi: Acknowledge contributions to the manual fromBen Elliston1-2/+2
others.
2018-12-11 * doc/dejagnu.texi: Clean up whitespace. Some indented examplesJacob Bachmeyer1-163/+163
were changed to use the Texinfo '@ ' command (yes, a space character) to preserve correct indentation. The '@ ' command is treated as a single space by Tex and makeinfo, but prevents Emacs from complaining about indentation using spaces instead of tabs. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-11 * doc/dejagnu.texi (getdirs procedure): Document hard-codedJacob Bachmeyer1-2/+11
directory exclusions by name in this procedure. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-10 * doc/dejagnu.texi (getdirs procedure): This procedure accepts TclBen Elliston1-3/+2
glob patterns, not "shell wildcard characters" per se.
2018-12-10 * doc/dejagnu.texi (istarget procedure): Remove stray @{.Ben Elliston1-1/+1
2018-12-10 * doc/dejagnu.texi (Writing a test case): Add warning aboutJacob Bachmeyer1-1/+76
priority of Expect patterns, complete with example. * testsuite/runtest.all/libs.exp (process_test): Fix bug that caused test results other than "PASS" to be skipped if a "PASS" is further along in the input buffer. Describe problem in manual. (process_test): Ensure that the log file shows each test case run. (process_test): Directly run the test cases instead of using temporary files and "cat". All output is always available in the log file, which is no longer overwritten by other tests. (process_test): Expect END markers from test case scripts. * testsuite/runtest.all/clone_output.test: Emit END markers. * testsuite/runtest.all/config.test: Likewise. * testsuite/runtest.all/remote.test: Likewise. * testsuite/runtest.all/target.test: Likewise. * testsuite/runtest.all/testsuite_file.test: Likewise. * testsuite/runtest.all/utils.test: Likewise. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-08 * NEWS: Document 'testsuite' command.Jacob Bachmeyer1-2/+56
* doc/dejagnu.texi (testsuite procedure): Document multiplex entry point and "testsuite file" command. * lib/framework.exp (testsuite): New proc for multiplex commands. (testsuite_file): New proc implementing "testsuite file". * testsuite/runtest.all/testsuite_file.test: New file. * runtest.exp: Expect to find testsuite in ${srcdir}/testsuite, but also search $srcdir itself. (load_lib): Add explicit search for testsuite-local libraries. (load_tool_init): Use $testsuitedir in search. (load_config): Use $testsuitedir instead of $srcdir. (load_tool_target_config): Likewise. Add variable "testsuitedir" for testsuite root directory. Add internal global variables "testbuilddir" and "testdir" for use by "testsuite file". Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid duplicated path delimiters. Add warning if no tests are found and fallback method of searching $srcdir is used. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-07 * doc/dejagnu.texi: Add more missing material.Ben Elliston1-0/+42
2018-12-06 * doc/dejagnu.texi: Add more missing material.Ben Elliston1-65/+126
2018-12-06 * doc/dejagnu.texi (compile Procedure): Remove old node.Ben Elliston1-58/+1
(archive Procedure): Likewise. (ranlib Procedure): Likewise.
2018-12-06 * doc/dejagnu.texi (rsh procedure): Fix node connectivity.Ben Elliston1-1/+1
2018-12-06 * lib/telnet.exp (telnet_open): Remove connectmode global.Ben Elliston1-4/+4
* doc/dejagnu.texi (Procedures For Remote Communication): Remove mention of connectmode.