Ben Elliston
e121acc539
* doc/dejagnu.texi (Utility Procedures): Improve documentation for
the procedures in this section.
8 years ago
Ben Elliston
7ff5e4a5af
Add an item for grep -n.
8 years ago
Jacob Bachmeyer
303132d4f1
* NEWS: Document new relative_filename procedure and --local_init/
--global_init command line options.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Jacob Bachmeyer
91b267562d
* lib/utils.exp (relative_filename): New proc.
* 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>
8 years ago
Ben Elliston
cb56b0093c
* dejagnu.h (TestState): Remove const char * variants of
pass(), xpass(), fail(), xfail(), untested(), unresolved() for
C++. A const char * will be implicitly converted to
std::string.
8 years ago
Ben Elliston
22655ad50d
* doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
removing the 'Reference' node and chapter. Make all subsubsections
in this chapter unnumbered subheadings.
8 years ago
Ben Elliston
f63410326f
* doc/dejagnu.texi: Fix Info node links. The arguments to @node
are: here, next, previous, up; not here, previous, next, up.
8 years ago
Ben Elliston
3f8f795d51
* Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
doc/texinfo.tex. With thanks to Jacob Bachmeyer.
* Makefile.in: Regenerate.
8 years ago
Ben Elliston
39f49df96a
* Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
(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.
8 years ago
Ben Elliston
dc3f603552
Ignore version.texi.
8 years ago
Ben Elliston
952f79c54c
* lib/framework.exp (isremote): Add verbose message.
8 years ago
Ben Elliston
7036b888b2
* lib/framework.exp (isremote): Pass $board to is_remote.
8 years ago
Ben Elliston
54c113a249
* doc/fdl.texi: New.
* doc/dejagnu.texi (Variable Index): New.
Add more concept index entries.
(GNU Free Documentation License): New appendix.
8 years ago
Ben Elliston
87eb57941e
* doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
index (@findex ) entries for every built-in procedure.
8 years ago
Ben Elliston
d734979fac
* doc/dejagnu.texi: Start an index.
8 years ago
Ben Elliston
07abb354c4
Make mdate-sh a real file, not a symbolic link to Automake.
8 years ago
Ben Elliston
830ee9b8f7
* doc/version.texi: New.
8 years ago
Ben Elliston
63bacded39
* doc/dejagnu.texi: Add title page and frontmatter. Include
version.texi.
* Makefile.in: Regenerate.
* mdate-sh: Installed by automake --add-missing.
8 years ago
Ben Elliston
e41f111dd1
* doc/dejagnu.texi (diff procedure): Tidy up this node.
8 years ago
Jacob Bachmeyer
483d90215b
* runtest.exp (hex): Remove useless test before setting.
(decimal): Likewise.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Jacob Bachmeyer
e846a14797
* doc/dejagnu.texi (Invoking runtest): Document new --local_init
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>
8 years ago
Ben Elliston
1007fbb67a
* lib/utils.exp (grep): Remove reference to "NULL" in comment.
* testsuite/lib/util-defs.exp (util_start): Likewise.
8 years ago
Ben Elliston
e804244b04
* doc/dejagnu.texi: (verbose procedure): Improve documentation.
(load_lib procedure): Likewise.
8 years ago
Ben Elliston
fd80cd001a
* doc/dejagnu.texi: More clean-ups of built-in proc documentation.
8 years ago
Ben Elliston
88486ad343
* runtest.exp: Use isremote.
* lib/target.exp: Likewise.
* lib/remote.exp: Likewise.
* lib/libgloss.exp: Likewise.
* config/unix.exp: Likewise.
* config/sim.exp: Likewise.
* config/gdb_stub.exp: Likewise.
* config/gdb-comm.exp: Likewise.
* baseboards/basic-sim.exp: Likewise.
* baseboards/androideabi.exp: Likewise.
8 years ago
Ben Elliston
12028b93c5
* lib/framework.exp (isremote): New.
* doc/dejagnu.texi (isremote procedure): Document it.
* NEWS: Mention isremote.
8 years ago
Ben Elliston
6471c5b855
* INSTALL: Update to latest upstream version.
8 years ago
Ben Elliston
6acac269be
* texinfo.tex: Update to latest upstream version.
8 years ago
Ben Elliston
14f40e5a6b
* lib/framework.exp (istarget, ishost, istarget): Set the argument
default value to the empty string.
* doc/dejagnu.texi (find procedure): Remove reference to "NULL".
(getenv procedure): Re-word this node.
(isbuild procedure): Update.
(ishost procedure): Likewise.
(istarget procedure): Likewise.
* testsuite/runtest.all/config.test: Add test cases.
8 years ago
Ben Elliston
5fbd523b5a
* config.guess: Update to latest version.
* config.sub: Likewise.
8 years ago
Ben Elliston
48b5351b48
* NEWS: Update.
* configure.ac: Update version number.
* configure: Regenerate.
* doc/dejagnu.texi: Update version number.
* runtest.exp: Update version number.
8 years ago
Ben Elliston
b2134454bf
One more fix for Jacob Bachmeyer's change on 2018-10-31.
* Makefile.am (TESTSUITE_FILES): Update filenames.
* Makefile.in: Regenerate.
8 years ago
Ben Elliston
04b5dd7c11
Fix for Jacob Bachmeyer's change on 2018-10-31.
* Makefile.am (TESTSUITE_FILES): Update filenames.
* Makefile.in: Regenerate.
8 years ago
Ben Elliston
5f3f9ff913
* NEWS: Update.
8 years ago
Ben Elliston
00b667d43f
* doc/dejagnu.texi: Tidy up (fill) some paragraphs.
8 years ago
Jacob Bachmeyer
0745c8becc
* lib/framework.exp: Clean up whitespace.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
3cfacc8d4a
* config/gdb-comm.exp: Clean up whitespace.
* config/gdb_stub.exp: Likewise.
* config/sid.exp: Likewise.
* config/sim.exp: Likewise.
* config/unix.exp: Likewise.
8 years ago
Ben Elliston
389f380926
* doc/dejagnu.texi (getdirs procedure): Improve documentation
including documenting the -all option.
(find procedure): Fix a typo.
* lib/utils.exp (getdirs): Improve comments.
8 years ago
Jacob Bachmeyer
73a138783a
* runtest.exp: Ensure that multipass pass variables are always
restored. Previously, they were only restored if the "Go digging
for tests" branch was taken near the end of runtest.exp.
This bug was found while splitting a new variable out of some uses of
$srcdir when Emacs paren highlighting did not look right. Sure
enough, the per-pass variables are set unconditionally, but are only
restored if the "Go digging for tests" branch was taken. This patch
moves that loop out of an 'else' block and into the same 'foreach'
that contains the loop that sets per-pass variables.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
ffca2d28a3
* doc/dejagnu.texi (Customizing DejaGnu): Document error handling
of the $DEJAGNU environment variable (see change below).
8 years ago
Jacob Bachmeyer
660af948c8
* runtest.exp: Raise error if $DEJAGNU is defined but not found.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Jacob Bachmeyer
c0310e95ba
* runtest.exp (load_tool_init): Search for tool init file instead
of assuming exactly one location.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
d6c157c0a8
* runtest.exp (load_lib): Whitespace fix.
8 years ago
Jacob Bachmeyer
4c3512a558
* lib/ssh.exp: Clean up whitespace.
* lib/remote.exp: Clean up whitespace.
(remote_expect): Change literal tab to "\t" in regexp.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
de4b0bfa52
* config.guess: Update to latest version.
* config.sub: Likewise.
8 years ago
Ben Elliston
a0b1afa98b
Fix formatting issues.
8 years ago
Ben Elliston
b6f7f538df
* Makefile.in: Regenerate.
8 years ago
Jacob Bachmeyer
33121d67a8
* Makefile.am (DEJATOOL): List tools in testsuite.
(RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
* testsuite/config/default.exp: Rename from this ...
* testsuite/lib/runtest.exp: ... to this.
(runtest_exit): Remove spurious "close". This was causing per-tool
testing to fail, since the testsuite for "runtest" never actually
uses "spawn", so "close" ends up closing exp0, which is the
terminal. The ${tool}_exit proc is not called if the --tool
option is not given, so this had no effect earlier.
* testsuite/lib/libdejagnu.exp: New empty file.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Jacob Bachmeyer
a8a1219619
* runtest.exp (load_tool_init): Add message indicating the
expected location of the tool init file.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Jacob Bachmeyer
f056f1bd50
* contrib/sum2junit.sh (failures): Fix typo.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago