Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* Makefile.am (TESTSUITE_FILES): Update filenames.
* Makefile.in: Regenerate.
|
|
* configure: Regenerate.
* runtest.exp (frame_version): Update version number.
* doc/dejagnu.texi: Likewise.
* doc/runtest.1: Update datestamp.
|
|
|
|
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* config/gdb_stub.exp: Likewise.
* config/sid.exp: Likewise.
* config/sim.exp: Likewise.
* config/unix.exp: Likewise.
|
|
including documenting the -all option.
(find procedure): Fix a typo.
* lib/utils.exp (getdirs): Improve comments.
|
|
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>
|
|
of the $DEJAGNU environment variable (see change below).
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
of assuming exactly one location.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
|
|
* lib/remote.exp: Clean up whitespace.
(remote_expect): Change literal tab to "\t" in regexp.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* config.sub: Likewise.
|
|
|
|
|
|
(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>
|
|
expected location of the tool init file.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* Makefile.in: Regenerate with Automake 1.15.1.
* aclocal.m4: Likewise.
|
|
* configure: Regenerate.
|
|
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* testsuite/runtest.all/utils.test: Fix missing end quote.
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* 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]
|
|
* 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]
|
|
|
|
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]
|
|
binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
is undefined").
|
|
* config.sub: Likewise.
|
|
for each pid.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* 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.
|
|
* config.sub: Likewise.
|
|
(xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include
missing 'x' in escape sequence.
|
|
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.
|
|
* lib/framework.exp (xml_tag): Escape all of the non-printable control
characters (ASCII codes 1 to 31 inclusive).
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* lib/framework.exp (xml_tag): New proc.
(log_summary): Use it.
(record_test): Likewise.
|
|
* 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.
|
|
|
|
|
|
* testsuite/runtest.all/target.test: Overhaul tests.
|
|
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
output when there's no reportable output.
* testsuite/runtest.all/remote.test (load_lib): New proc.
* testsuite/runtest.all/target.test (load_lib): Same.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
This reverts commit b0d3e27d5ac048a63c434edd222ffa05675c82f2.
|
|
reportable output.
Signed-off-by: Ben Elliston <bje@gnu.org>
|