aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2020-06-17Allow testing to continue after an undefined command is calledJacob Bachmeyer2-0/+8
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.
2018-12-05 * doc/dejagnu.texi (execute_anywhere Procedure): Remove obsoleteBen Elliston1-25/+1
node.
2018-12-05 * doc/dejagnu.texi: Add more missing material.Ben Elliston1-236/+206
2018-12-05 * lib/utils.exp (grep): Handle -n.Ben Elliston1-9/+12
* doc/dejagnu.texi (grep procedure): Document it. * testsuite/runtest.all/utils.test: Add a test case. * NEWS: Add an item.
2018-12-04Fix some typos.Ben Elliston1-8/+8
2018-12-04 * doc/dejagnu.texi (Libgloss): Improve documentation.Ben Elliston1-52/+83
(Debugging Procedures): Likewise.
2018-12-04 * doc/dejagnu.texi (Utility Procedures): Improve documentation forBen Elliston1-78/+52
the procedures in this section.
2018-12-04 * lib/utils.exp (relative_filename): New proc.Jacob Bachmeyer1-3/+23
* runtest.exp: Use it. * doc/dejagnu.texi (relative_filename procedure): Document it. * testsuite/runtest.all/utils.test: Add tests for relative_filename. Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-03 * doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,Ben Elliston1-210/+209
removing the 'Reference' node and chapter. Make all subsubsections in this chapter unnumbered subheadings.
2018-12-03 * doc/dejagnu.texi: Fix Info node links. The arguments to @nodeBen Elliston1-4/+4
are: here, next, previous, up; not here, previous, next, up.
2018-12-03 * Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.Ben Elliston1-0/+11731
(EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise prevents the distribution of the overridden texinfo.tex. * Makefile.in: Regenerate. * texinfo.tex: Move from here .. * doc/texinfo.tex: .. to here.
2018-12-03Ignore version.texi.Ben Elliston1-0/+1
2018-12-02 * doc/fdl.texi: New.Ben Elliston2-8/+515
* doc/dejagnu.texi (Variable Index): New. Add more concept index entries. (GNU Free Documentation License): New appendix.
2018-12-02 * doc/dejagnu.texi (Procedure Index): New. Add Texinfo functionBen Elliston1-90/+194
index (@findex) entries for every built-in procedure.
2018-12-02 * doc/dejagnu.texi: Start an index.Ben Elliston1-9/+17
2018-12-02 * doc/version.texi: New.Ben Elliston2-1/+4
2018-12-02 * doc/dejagnu.texi: Add title page and frontmatter. IncludeBen Elliston2-8/+41
version.texi. * Makefile.in: Regenerate. * mdate-sh: Installed by automake --add-missing.
2018-12-02 * doc/dejagnu.texi (diff procedure): Tidy up this node.Ben Elliston1-6/+6
2018-12-02 * doc/dejagnu.texi (Invoking runtest): Document new --local_initJacob Bachmeyer2-2/+44
and --global_init command line options. * doc/runtest.1: Likewise. * runtest.exp: Remove useless tests before setting default values for variables: all_flag, binpath, debug, options, outdir, reboot, tracelevel, verbose, log_dialog. They are set before loading any files or parsing the command line. * runtest.exp: Add options --local_init and --global_init for selecting alternate testsuite configuration files. * runtest.exp: Split variable "configfile" into "local_init_file" and "global_init_file" in preparation for adding command-line options to specify these independently. * runtest.exp (load_generic_config): Remove configfile global. (load_board_description): Likewise. (load_base_board_description): Likewise. Signed-off-by: Ben Elliston <bje@gnu.org>