Ben Elliston
12028b93c5
* lib/framework.exp (isremote): New.
* doc/dejagnu.texi (isremote procedure): Document it.
* NEWS: Mention isremote.
7 years ago
Ben Elliston
6471c5b855
* INSTALL: Update to latest upstream version.
7 years ago
Ben Elliston
6acac269be
* texinfo.tex: Update to latest upstream version.
7 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.
7 years ago
Ben Elliston
5fbd523b5a
* config.guess: Update to latest version.
* config.sub: Likewise.
7 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.
7 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.
7 years ago
Ben Elliston
04b5dd7c11
Fix for Jacob Bachmeyer's change on 2018-10-31.
* Makefile.am (TESTSUITE_FILES): Update filenames.
* Makefile.in: Regenerate.
7 years ago
Ben Elliston
5f3f9ff913
* NEWS: Update.
7 years ago
Ben Elliston
00b667d43f
* doc/dejagnu.texi: Tidy up (fill) some paragraphs.
7 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
Jacob Bachmeyer
6a6d98a5de
* configure.ac (DEJAGNU): Add comments.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
e89b78cf8d
* Makefile.am (DISTCLEANFILES): Add testrun.xml.
* Makefile.in: Regenerate with Automake 1.15.1.
* aclocal.m4: Likewise.
8 years ago
Ben Elliston
8765537d4f
* configure.ac (AC_CONFIG_SUBDIRS): Remove.
* configure: Regenerate.
8 years ago
Ben Elliston
a2334af5d4
* README (Documentation): Update.
8 years ago
Ben Elliston
5ac7146830
* README (Documentation): Update.
8 years ago
Jacob Bachmeyer
a971c21286
* lib/framework.exp (record_test): Really fix message formatting.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
1cce5f2ef9
Reported by Jacob Bachmeyer.
* testsuite/runtest.all/utils.test: Fix missing end quote.
8 years ago
Jacob Bachmeyer
118f2e24f8
* lib/framework.exp (record_test): Fix message formatting.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
81651abb04
* contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
* contrib/mysql/sum2xml.sh: Likewise.
Silence these warnings:
Double quote to prevent globbing and word splitting. [SC2086]
See if you can use ${variable//search/replace} instead. [SC2001]
8 years ago
Ben Elliston
de9a1cae67
* contrib/compare_tests: Eliminate Shellcheck warnings.
* contrib/mysql/sum2xml.sh: Likewise.
Warnings fixed:
Use single quotes, otherwise this expands now rather than when signalled. [SC2064]
Trapping signals by number is not well defined. Prefer signal names. [SC2172]
SIGKILL/SIGSTOP can not be trapped. [SC2173]
Trapping signals by number is not well defined. Prefer signal names. [SC2172]
Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. [SC2181]
read without -r will mangle backslashes. [SC2162]
egrep is non-standard and deprecated. Use grep -E instead. [SC2196]
8 years ago
Ben Elliston
4fe160b03c
* compile, depcomp, install-sh: Latest upstream versions.
8 years ago
Ben Elliston
d611c45607
* contrib/sum2junit.sh: Eliminate some Shellcheck warnings:
Double quote to prevent globbing and word splitting. [SC2086]
egrep is non-standard and deprecated. Use grep -E instead. [SC2196]
read without -r will mangle backslashes. [SC2162]
8 years ago
Ben Elliston
366485ce63
* runtest: Use POSIX 'command', not 'type', to look for the Expect
binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
is undefined").
8 years ago
Ben Elliston
5dca1d3faa
* config.guess: Update to latest version.
* config.sub: Likewise.
8 years ago
Richard Biener
b4e61f85ae
* lib/remote.exp (close_wait_program): Use separate kill command
for each pid.
Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago
Ben Elliston
fb6ef60aa1
Roll over to next development version number.
* NEWS: Start a new section for the next release.
* configure.ac (AC_INIT): Update version number.
* configure: Regenerate.
* runtest.exp (frame_version): Update version number.
* doc/dejagnu.texi: Likewise.
* doc/runtest.1: Update datestamp.
9 years ago
Ben Elliston
b321ac459c
* config.guess: Update to version 2017-09-26.
* config.sub: Likewise.
9 years ago
Ben Elliston
ba3c2f39d5
* lib/framework.exp (open_logs): Set XML version to 1.1.
(xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
missing 'x' in escape sequence.
9 years ago
Ben Elliston
a5d5bd4f3a
Revert these changes:
2016-04-25 Ben Elliston <bje@gnu.org>
* testsuite/runtest.all/utils.test: Remove unsetenv test.
2016-04-24 Ben Elliston <bje@gnu.org>
* lib/utils.exp (unsetenv): Remove proc.
* doc/dejagnu.texi: Update documentation.
* NEWS: Update.
9 years ago
Ben Elliston
e301ae8ebd
Fix another bug reported by Andrey ``Bass'' Shcheglov.
* lib/framework.exp (xml_tag): Escape all of the non-printable control
characters (ASCII codes 1 to 31 inclusive).
9 years ago
Tom Tromey
ddca6201c3
* runtest.exp: Fix --directory matching.
Signed-off-by: Ben Elliston <bje@gnu.org>
9 years ago
Ben Elliston
96eda3cf61
Fix another bug reported by Andrey ``Bass'' Shcheglov.
* lib/framework.exp (xml_tag): New proc.
(log_summary): Use it.
(record_test): Likewise.
9 years ago
Ben Elliston
3073ac1d0b
Fix bug reported by Andrey ``Bass'' Shcheglov.
* lib/framework.exp (open_logs): Set .xml filename correctly.
* runtest.exp: Remove xml_file_name var.
(usage): Update --xml option to not take an argument.
(load_tool_init): Likewise.
* doc/dejagnu.texi (Invoking runtest): Update documentation.
* doc/runtest.1: Likewise.
9 years ago
Ben Elliston
b8108df20a
* runtest.exp (usage): Improve --strace message.
9 years ago
Ben Elliston
a9eae8991b
* runtest.exp (usage): --reboot doesn't take a 'name' parameter.
9 years ago