platform/upstream/dejagnu.git
5 years ago * doc/dejagnu.texi (getdirs procedure): Improve documentation
Ben Elliston [Thu, 22 Nov 2018 22:35:30 +0000 (09:35 +1100)]
* doc/dejagnu.texi (getdirs procedure): Improve documentation
including documenting the -all option.
(find procedure): Fix a typo.
* lib/utils.exp (getdirs): Improve comments.

5 years ago * runtest.exp: Ensure that multipass pass variables are always
Jacob Bachmeyer [Thu, 22 Nov 2018 01:04:10 +0000 (12:04 +1100)]
* 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>
5 years ago * doc/dejagnu.texi (Customizing DejaGnu): Document error handling
Ben Elliston [Thu, 22 Nov 2018 01:01:56 +0000 (12:01 +1100)]
* doc/dejagnu.texi (Customizing DejaGnu): Document error handling
of the $DEJAGNU environment variable (see change below).

5 years ago * runtest.exp: Raise error if $DEJAGNU is defined but not found.
Jacob Bachmeyer [Thu, 22 Nov 2018 00:58:06 +0000 (11:58 +1100)]
* runtest.exp: Raise error if $DEJAGNU is defined but not found.

Signed-off-by: Ben Elliston <bje@gnu.org>
5 years ago * runtest.exp (load_tool_init): Search for tool init file instead
Jacob Bachmeyer [Thu, 15 Nov 2018 07:21:18 +0000 (18:21 +1100)]
* runtest.exp (load_tool_init): Search for tool init file instead
of assuming exactly one location.

Signed-off-by: Ben Elliston <bje@gnu.org>
5 years ago * runtest.exp (load_lib): Whitespace fix.
Ben Elliston [Thu, 15 Nov 2018 04:17:26 +0000 (15:17 +1100)]
* runtest.exp (load_lib): Whitespace fix.

5 years ago * lib/ssh.exp: Clean up whitespace.
Jacob Bachmeyer [Sun, 11 Nov 2018 04:48:38 +0000 (15:48 +1100)]
* 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>
5 years ago * config.guess: Update to latest version.
Ben Elliston [Mon, 5 Nov 2018 06:32:22 +0000 (17:32 +1100)]
* config.guess: Update to latest version.
* config.sub: Likewise.

5 years agoFix formatting issues.
Ben Elliston [Mon, 5 Nov 2018 06:30:27 +0000 (17:30 +1100)]
Fix formatting issues.

5 years ago * Makefile.in: Regenerate.
Ben Elliston [Thu, 1 Nov 2018 22:45:04 +0000 (09:45 +1100)]
* Makefile.in: Regenerate.

5 years ago * Makefile.am (DEJATOOL): List tools in testsuite.
Jacob Bachmeyer [Wed, 31 Oct 2018 10:53:35 +0000 (21:53 +1100)]
* 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>
5 years ago * runtest.exp (load_tool_init): Add message indicating the
Jacob Bachmeyer [Wed, 31 Oct 2018 10:41:52 +0000 (21:41 +1100)]
* runtest.exp (load_tool_init): Add message indicating the
expected location of the tool init file.

Signed-off-by: Ben Elliston <bje@gnu.org>
5 years ago * contrib/sum2junit.sh (failures): Fix typo.
Jacob Bachmeyer [Wed, 31 Oct 2018 10:32:47 +0000 (21:32 +1100)]
* contrib/sum2junit.sh (failures): Fix typo.

Signed-off-by: Ben Elliston <bje@gnu.org>
5 years ago * configure.ac (DEJAGNU): Add comments.
Jacob Bachmeyer [Wed, 31 Oct 2018 10:29:05 +0000 (21:29 +1100)]
* configure.ac (DEJAGNU): Add comments.

Signed-off-by: Ben Elliston <bje@gnu.org>
5 years ago * Makefile.am (DISTCLEANFILES): Add testrun.xml.
Ben Elliston [Tue, 30 Oct 2018 06:15:58 +0000 (17:15 +1100)]
* Makefile.am (DISTCLEANFILES): Add testrun.xml.
* Makefile.in: Regenerate with Automake 1.15.1.
* aclocal.m4: Likewise.

5 years ago * configure.ac (AC_CONFIG_SUBDIRS): Remove.
Ben Elliston [Tue, 30 Oct 2018 06:10:40 +0000 (17:10 +1100)]
* configure.ac (AC_CONFIG_SUBDIRS): Remove.
* configure: Regenerate.

5 years ago * README (Documentation): Update.
Ben Elliston [Mon, 29 Oct 2018 11:28:42 +0000 (22:28 +1100)]
* README (Documentation): Update.

5 years ago * README (Documentation): Update.
Ben Elliston [Mon, 29 Oct 2018 05:09:46 +0000 (16:09 +1100)]
* README (Documentation): Update.

5 years ago * lib/framework.exp (record_test): Really fix message formatting.
Jacob Bachmeyer [Mon, 29 Oct 2018 05:03:52 +0000 (16:03 +1100)]
* lib/framework.exp (record_test): Really fix message formatting.

Signed-off-by: Ben Elliston <bje@gnu.org>
5 years ago Reported by Jacob Bachmeyer.
Ben Elliston [Mon, 29 Oct 2018 04:55:21 +0000 (15:55 +1100)]
Reported by Jacob Bachmeyer.
* testsuite/runtest.all/utils.test: Fix missing end quote.

5 years ago * lib/framework.exp (record_test): Fix message formatting.
Jacob Bachmeyer [Sun, 28 Oct 2018 09:38:39 +0000 (20:38 +1100)]
* lib/framework.exp (record_test): Fix message formatting.

Signed-off-by: Ben Elliston <bje@gnu.org>
6 years ago * contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
Ben Elliston [Fri, 20 Jul 2018 10:42:58 +0000 (20:42 +1000)]
* 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]

6 years ago * contrib/compare_tests: Eliminate Shellcheck warnings.
Ben Elliston [Fri, 20 Jul 2018 03:48:33 +0000 (13:48 +1000)]
* 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]

6 years ago * compile, depcomp, install-sh: Latest upstream versions.
Ben Elliston [Fri, 20 Jul 2018 03:27:32 +0000 (13:27 +1000)]
* compile, depcomp, install-sh: Latest upstream versions.

6 years ago * contrib/sum2junit.sh: Eliminate some Shellcheck warnings:
Ben Elliston [Fri, 20 Jul 2018 01:08:08 +0000 (11:08 +1000)]
* 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]

6 years ago * runtest: Use POSIX 'command', not 'type', to look for the Expect
Ben Elliston [Thu, 19 Jul 2018 05:51:30 +0000 (15:51 +1000)]
* runtest: Use POSIX 'command', not 'type', to look for the Expect
binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
is undefined").

6 years ago * config.guess: Update to latest version.
Ben Elliston [Thu, 19 Jul 2018 04:08:59 +0000 (14:08 +1000)]
* config.guess: Update to latest version.
* config.sub: Likewise.

6 years ago * lib/remote.exp (close_wait_program): Use separate kill command
Richard Biener [Fri, 6 Jul 2018 11:35:29 +0000 (21:35 +1000)]
* lib/remote.exp (close_wait_program): Use separate kill command
for each pid.

Signed-off-by: Ben Elliston <bje@gnu.org>
6 years agoRoll over to next development version number.
Ben Elliston [Mon, 16 Oct 2017 04:52:21 +0000 (15:52 +1100)]
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.

6 years ago * config.guess: Update to version 2017-09-26.
Ben Elliston [Mon, 16 Oct 2017 03:40:15 +0000 (14:40 +1100)]
* config.guess: Update to version 2017-09-26.
* config.sub: Likewise.

6 years ago * lib/framework.exp (open_logs): Set XML version to 1.1.
Ben Elliston [Wed, 13 Sep 2017 10:10:55 +0000 (20:10 +1000)]
* 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.

6 years ago Revert these changes:
Ben Elliston [Tue, 29 Aug 2017 07:10:09 +0000 (17:10 +1000)]
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.

6 years agoFix another bug reported by Andrey ``Bass'' Shcheglov.
Ben Elliston [Sat, 19 Aug 2017 03:12:47 +0000 (13:12 +1000)]
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).

6 years ago * runtest.exp: Fix --directory matching.
Tom Tromey [Fri, 18 Aug 2017 22:53:16 +0000 (08:53 +1000)]
* runtest.exp: Fix --directory matching.

Signed-off-by: Ben Elliston <bje@gnu.org>
6 years agoFix another bug reported by Andrey ``Bass'' Shcheglov.
Ben Elliston [Tue, 15 Aug 2017 06:09:26 +0000 (16:09 +1000)]
Fix another bug reported by Andrey ``Bass'' Shcheglov.

* lib/framework.exp (xml_tag): New proc.
(log_summary): Use it.
(record_test): Likewise.

6 years agoFix bug reported by Andrey ``Bass'' Shcheglov.
Ben Elliston [Mon, 14 Aug 2017 20:06:16 +0000 (06:06 +1000)]
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.

6 years ago* runtest.exp (usage): Improve --strace message.
Ben Elliston [Tue, 1 Aug 2017 09:30:12 +0000 (19:30 +1000)]
* runtest.exp (usage): Improve --strace message.

6 years ago* runtest.exp (usage): --reboot doesn't take a 'name' parameter.
Ben Elliston [Tue, 1 Aug 2017 09:27:41 +0000 (19:27 +1000)]
* runtest.exp (usage): --reboot doesn't take a 'name' parameter.

6 years ago* lib/framework.exp: Fix spelling mistake in a comment.
Ben Elliston [Sun, 30 Jul 2017 01:20:40 +0000 (11:20 +1000)]
* lib/framework.exp: Fix spelling mistake in a comment.

7 years ago * lib/target.exp (push_target): Remove unnecessary global command.
Ben Elliston [Sun, 4 Jun 2017 04:07:16 +0000 (14:07 +1000)]
* lib/target.exp (push_target): Remove unnecessary global command.
* testsuite/runtest.all/target.test: Overhaul tests.

7 years ago * testsuite/runtest.all/remote.test: Remove cruft from yesteryear.
Ben Elliston [Sun, 4 Jun 2017 01:24:59 +0000 (11:24 +1000)]
* testsuite/runtest.all/remote.test: Remove cruft from yesteryear.

7 years ago * testsuite/runtest.all/target.test: Remove list_targets test.
Tom de Vries [Sun, 4 Jun 2017 01:18:36 +0000 (11:18 +1000)]
* testsuite/runtest.all/target.test: Remove list_targets test.

Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago * testsuite/runtest.all/libs.exp (process_test): Dump entire
Tom de Vries [Sun, 4 Jun 2017 01:10:04 +0000 (11:10 +1000)]
* testsuite/runtest.all/libs.exp (process_test): Dump entire
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>
7 years agoRevert "* testsuite/runtest.all/libs.exp (process_test): Check if test has"
Ben Elliston [Sun, 4 Jun 2017 00:57:28 +0000 (10:57 +1000)]
Revert "* testsuite/runtest.all/libs.exp (process_test): Check if test has"

This reverts commit b0d3e27d5ac048a63c434edd222ffa05675c82f2.

7 years ago * testsuite/runtest.all/libs.exp (process_test): Check if test has
Tom de Vries [Sun, 4 Jun 2017 00:52:02 +0000 (10:52 +1000)]
* testsuite/runtest.all/libs.exp (process_test): Check if test has
reportable output.

Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago * lib/remote.exp (remote_download): Add logging message when
Thomas Preud'homme [Fri, 10 Mar 2017 20:25:32 +0000 (07:25 +1100)]
* lib/remote.exp (remote_download): Add logging message when
source and destination file differ in name.

Signed-off-by: Ben Elliston <bje@gnu.org>
7 years ago * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
Jan Kratochvil [Sun, 4 Sep 2016 10:08:36 +0000 (20:08 +1000)]
* runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * aclocal.m4, Makefile.in: Regenerate with automake 1.15.
Ben Elliston [Tue, 28 Jun 2016 03:37:41 +0000 (13:37 +1000)]
* aclocal.m4, Makefile.in: Regenerate with automake 1.15.
* configure: Regenerate.

8 years ago * configure.ac, dejagnu.h, runtest, runtest.exp,
Bernhard Reutner-Fischer [Wed, 22 Jun 2016 00:35:12 +0000 (10:35 +1000)]
* configure.ac, dejagnu.h, runtest, runtest.exp,
baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp,
baseboards/arm-ice.exp, baseboards/arm-sid.exp,
baseboards/arm-sim.exp, baseboards/basic-sid.exp,
baseboards/basic-sim.exp, baseboards/cris-sim.exp,
baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
baseboards/i386-sid.exp, baseboards/iq2000-sim.exp,
baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp,
baseboards/linux-libremote.exp, baseboards/m68k-sid.exp,
baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp,
baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp,
baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp,
baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp,
baseboards/mips-sim-mti64_64.exp,
baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp,
baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp,
baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp,
baseboards/mt-sid.exp, baseboards/multi-sim.exp,
baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
baseboards/rx-sim.exp, baseboards/sh-sid.exp,
baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
baseboards/unix.exp, baseboards/v850-sim.exp,
baseboards/visium-sim.exp, baseboards/vr4100-sim.exp,
baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp,
baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp,
lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp,
lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
testsuite/config/default.exp, testsuite/lib/libsup.exp,
testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
testsuite/runtest.all/stats-sub.exp,
testsuite/runtest.all/stats.exp, config/adb.exp,
config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp,
config/sid.exp, config/sim.exp, config/unix.exp,
config/vxworks.exp: Update copyright date for 2016.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
Bernhard Reutner-Fischer [Tue, 21 Jun 2016 23:44:06 +0000 (09:44 +1000)]
* baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,
baseboards/arm-ice.exp, baseboards/arm-sid.exp,
baseboards/arm-sim.exp, baseboards/basic-sid.exp,
baseboards/basic-sim.exp, baseboards/cris-sim.exp,
baseboards/d30v-sim.exp, baseboards/fr30-sim.exp,
baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp,
baseboards/generic-sim.exp, baseboards/i386-sid.exp,
baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp,
baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp,
baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp,
baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp,
baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp,
baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp,
baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp,
baseboards/mn10300-sim.exp, baseboards/mt-sid.exp,
baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp,
baseboards/rx-sim.exp, baseboards/sh-sid.exp,
baseboards/sh-sim.exp, baseboards/sparc-sim.exp,
baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp,
baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp,
baseboards/unix.exp, baseboards/v850-sim.exp,
baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp,
baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp,
lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp,
lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp,
lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp,
lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp,
testsuite/config/default.exp, testsuite/lib/libsup.exp,
testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp,
testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp,
testsuite/runtest.all/options.exp,
testsuite/runtest.all/stats-sub.exp,
testsuite/runtest.all/stats.exp, config/default.exp,
config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp,
config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac,
dejagnu.h, runtest, runtest.exp: Use condensed years in copyright
statement.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * doc/runtest.1: Use condensed years in copyright statement.
Bernhard Reutner-Fischer [Tue, 21 Jun 2016 21:34:10 +0000 (07:34 +1000)]
* doc/runtest.1: Use condensed years in copyright statement.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * runtest: Quote paths. Use test -z, -n for clarity.
Bernhard Reutner-Fischer [Tue, 21 Jun 2016 01:03:23 +0000 (11:03 +1000)]
* runtest: Quote paths. Use test -z, -n for clarity.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * config/adb.exp (adb_exec) Improve verbose message.
Bernhard Reutner-Fischer [Tue, 21 Jun 2016 00:16:54 +0000 (10:16 +1000)]
* config/adb.exp (adb_exec) Improve verbose message.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * baseboards/aarch64-sim.exp: New file.
Jim Wilson [Fri, 3 Jun 2016 22:08:38 +0000 (08:08 +1000)]
* baseboards/aarch64-sim.exp: New file.
* Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
* Makefile.in: Regenerate.
* lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * baseboards/aarch64-sim.exp: New file.
Jim Wilson [Fri, 3 Jun 2016 05:48:37 +0000 (15:48 +1000)]
* baseboards/aarch64-sim.exp: New file.
* Makefile.am (baseboard_DATA): Add aarch64-sim.exp.
* Makefile.in: Regenerate.
* lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * doc/dejagnu.texi: Fill more paragraphs.
Ben Elliston [Tue, 26 Apr 2016 00:13:11 +0000 (10:13 +1000)]
* doc/dejagnu.texi: Fill more paragraphs.

8 years ago * testsuite/runtest.all/utils.test: Remove unsetenv test.
Ben Elliston [Mon, 25 Apr 2016 09:51:32 +0000 (19:51 +1000)]
* testsuite/runtest.all/utils.test: Remove unsetenv test.

8 years ago * lib/utils.exp (unsetenv): Remove proc.
Ben Elliston [Sun, 24 Apr 2016 10:46:53 +0000 (20:46 +1000)]
* lib/utils.exp (unsetenv): Remove proc.
* doc/dejagnu.texi: Update documentation.
* NEWS: Update.

8 years ago * baseboards/msp430-sim.exp: New file.
Nick Clifton [Mon, 18 Apr 2016 22:09:26 +0000 (08:09 +1000)]
* baseboards/msp430-sim.exp: New file.
* Makefile.am (baseboard_DATA): Add msp430-sim.exp.
* Makefile.in: Regenerate.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * runtest: Remove quoting in final exec command.
Ben Elliston [Mon, 18 Apr 2016 00:33:15 +0000 (10:33 +1000)]
* runtest: Remove quoting in final exec command.

8 years ago * lib/remote.exp: Load ssh.exp lib.
Ben Elliston [Sun, 17 Apr 2016 10:30:07 +0000 (20:30 +1000)]
* lib/remote.exp: Load ssh.exp lib.

8 years ago * lib/rsh.exp (rsh_open): Fix description comment.
Ben Elliston [Sun, 17 Apr 2016 10:29:19 +0000 (20:29 +1000)]
* lib/rsh.exp (rsh_open): Fix description comment.

8 years ago Reported by shellcheck.
Ben Elliston [Sun, 17 Apr 2016 10:20:08 +0000 (20:20 +1000)]
Reported by shellcheck.
* runtest: Use $((..)) not `expr ..` and defensively double quote
shell variables.

8 years ago * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
Ben Elliston [Sun, 17 Apr 2016 10:02:53 +0000 (20:02 +1000)]
* Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp.
* Makefile.in: Regenerate.

8 years ago Reported by shellcheck.
Ben Elliston [Sun, 17 Apr 2016 09:51:43 +0000 (19:51 +1000)]
Reported by shellcheck.
* runtest: Use $((..)) not `expr ..`.

8 years ago * configure.ac (AC_INIT): Update version number.
Ben Elliston [Sun, 17 Apr 2016 00:35:26 +0000 (10:35 +1000)]
* configure.ac (AC_INIT): Update version number.
* configure: Regenerate.
* runtest.exp (frame_version): Update version number.
* doc/dejagnu.texi: Likewise.

8 years ago * NEWS: Start a new section for the next release.
Ben Elliston [Sat, 16 Apr 2016 17:54:18 +0000 (03:54 +1000)]
* NEWS: Start a new section for the next release.

8 years ago * Makefile.am (CONTRIB): Add new contrib scripts.
Ben Elliston [Fri, 15 Apr 2016 12:25:56 +0000 (22:25 +1000)]
* Makefile.am (CONTRIB): Add new contrib scripts.
* Makefile.in: Regenrate.

8 years ago * lib/ssh.exp (ssh_exec): Handle regexp return status.
Ben Elliston [Thu, 14 Apr 2016 22:57:10 +0000 (08:57 +1000)]
* lib/ssh.exp (ssh_exec): Handle regexp return status.

8 years ago * lib/rsh.exp (rsh_exec): Improve verbose message.
Ben Elliston [Wed, 13 Apr 2016 00:40:25 +0000 (10:40 +1000)]
* lib/rsh.exp (rsh_exec): Improve verbose message.
* lib/ssh.exp (ssh_exec): Likewise.

8 years ago * runtest.exp: Improve --version (-v) output.
Ben Elliston [Tue, 12 Apr 2016 23:57:56 +0000 (09:57 +1000)]
* runtest.exp: Improve --version (-v) output.
* testsuite/runtest.all/options.exp: Update test case.

8 years ago * lib/rsh.exp (rsh_exec): Improve verbose message.
Ben Elliston [Tue, 12 Apr 2016 23:56:17 +0000 (09:56 +1000)]
* lib/rsh.exp (rsh_exec): Improve verbose message.
* lib/ssh.exp (ssh_exec): Likewise.
* config/adb.exp: Likewise.

8 years ago * lib/rsh.exp (rsh_exec): Handle regexp return status.
Christophe Lyon [Tue, 12 Apr 2016 22:17:12 +0000 (08:17 +1000)]
* lib/rsh.exp (rsh_exec): Handle regexp return status.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * doc/dejagnu.texi (Global config file): Fix broken @node.
Ben Elliston [Fri, 8 Apr 2016 00:10:33 +0000 (10:10 +1000)]
* doc/dejagnu.texi (Global config file): Fix broken @node.
(Local config file): Likewise.
Reported by Faraz Shahbazker.

8 years ago * lib/remote.exp (remote_exec): Join cd $remotedir and $program on
Ben Elliston [Thu, 7 Apr 2016 06:57:08 +0000 (16:57 +1000)]
* lib/remote.exp (remote_exec): Join cd $remotedir and $program on
the command line with ';' and not &&.

8 years ago * doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
Ben Elliston [Wed, 6 Apr 2016 20:53:40 +0000 (06:53 +1000)]
* doc/dejagnu.texi (rsh_exec procedure): Fix broken @node.
Reported by Faraz Shahbazker.

8 years ago * lib/remote.exp (remnote_download): Create a remote directory if
Yvan Roux [Wed, 6 Apr 2016 09:52:22 +0000 (19:52 +1000)]
* lib/remote.exp (remnote_download): Create a remote directory if
needed and use it.
(remote_exec): Execute program inside remotedir when it exists.
(standard_load): Set remotedir board field if not present.
* config/unix.exp (unix_load): Handle remotedir in board field.
(remotedir): Set board info field.
* doc/dejagnu.texi (Board File Values): Document remotedir.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * doc/dejagnu.texi (Global config file): Put before node 'Local
Ben Elliston [Wed, 6 Apr 2016 09:39:09 +0000 (19:39 +1000)]
* doc/dejagnu.texi (Global config file): Put before node 'Local
config file'.

8 years ago * runtest.exp: Remove defunct and undocumented --tool_root option.
Ben Elliston [Mon, 4 Apr 2016 14:48:30 +0000 (00:48 +1000)]
* runtest.exp: Remove defunct and undocumented --tool_root option.

8 years ago * doc/dejagnu.texi: More overhauling.
Ben Elliston [Mon, 4 Apr 2016 12:48:08 +0000 (22:48 +1000)]
* doc/dejagnu.texi: More overhauling.

8 years ago * lib/targetdb.exp (set_board_info): Improve comment.
Ben Elliston [Mon, 4 Apr 2016 12:47:16 +0000 (22:47 +1000)]
* lib/targetdb.exp (set_board_info): Improve comment.
(add_board_info): Likewise.

8 years ago * NEWS: Add some more detail.
Ben Elliston [Mon, 4 Apr 2016 08:12:16 +0000 (18:12 +1000)]
* NEWS: Add some more detail.

8 years ago * site.tmpl: Delete.
Ben Elliston [Sun, 3 Apr 2016 21:06:37 +0000 (07:06 +1000)]
* site.tmpl: Delete.
* Makefile.am (EXTRA_DIST): Remove site.tmpl.
* Makefile.in: Regenerate.

8 years ago * doc/dejagnu.texi: More overhauling.
Ben Elliston [Sun, 3 Apr 2016 13:02:22 +0000 (23:02 +1000)]
* doc/dejagnu.texi: More overhauling.

8 years ago * runtest.exp: Document the magical handling of -D[01].
Ben Elliston [Sun, 3 Apr 2016 10:13:03 +0000 (20:13 +1000)]
* runtest.exp: Document the magical handling of -D[01].

8 years ago * doc/runtest.1: Do not document obsolete --status option. It is
Ben Elliston [Sun, 3 Apr 2016 07:35:23 +0000 (17:35 +1000)]
* doc/runtest.1: Do not document obsolete --status option. It is
still accepted for compatibility, but does nothing.

8 years ago * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.
Ben Elliston [Sun, 3 Apr 2016 05:34:52 +0000 (15:34 +1000)]
  * doc/runtest.1 (OPTIONS): Place short forms (-v, -V, -x) first.

8 years ago * doc/runtest.1 (OPTIONS): Sort options.
Ben Elliston [Sun, 3 Apr 2016 04:33:04 +0000 (14:33 +1000)]
* doc/runtest.1 (OPTIONS): Sort options.

8 years ago * doc/dejagnu.texi: More overhauling.
Ben Elliston [Sat, 2 Apr 2016 23:37:03 +0000 (09:37 +1000)]
* doc/dejagnu.texi: More overhauling.

8 years ago * doc/dejagnu.texi: Fix capitalisation of procedure names
Ben Elliston [Sat, 2 Apr 2016 11:11:23 +0000 (22:11 +1100)]
* doc/dejagnu.texi: Fix capitalisation of procedure names
throughout.

8 years ago * doc/dejagnu.texi: Fill paragraphs.
Ben Elliston [Sat, 2 Apr 2016 10:59:20 +0000 (21:59 +1100)]
* doc/dejagnu.texi: Fill paragraphs.

8 years ago * doc/dejagnu.texi: Fix capitalisation of procedure names
Ben Elliston [Sat, 2 Apr 2016 10:42:59 +0000 (21:42 +1100)]
* doc/dejagnu.texi: Fix capitalisation of procedure names
throughout.  Use Tcl syntax in procedure prototypes, not C syntax.

8 years agoBasic MySQL support.
Rob Savoye [Sat, 2 Apr 2016 04:30:10 +0000 (15:30 +1100)]
Basic MySQL support.

* contrib/mysql/create-db.sql: New file.
* contrib/mysql/importxml.sh: Likewise.
* contrib/mysql/make-datafile.sh: Likewise.
* contrib/mysql/plot.sh: Likewise.
* contrib/mysql/README: Likewise.
* contrib/mysql/sum2xml.sh: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * config.guess: Update to version 2016-04-02.
Ben Elliston [Sat, 2 Apr 2016 03:05:01 +0000 (14:05 +1100)]
* config.guess: Update to version 2016-04-02.
* config.sub: Update to version 2016-03-30.

8 years ago * contrib/sum2junit.sh: New.
Rob Savoye [Sat, 2 Apr 2016 03:03:18 +0000 (14:03 +1100)]
* contrib/sum2junit.sh: New.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * doc/dejagnu.texi (connprocs): Document new SSH procs.
Ben Elliston [Fri, 1 Apr 2016 11:53:41 +0000 (22:53 +1100)]
* doc/dejagnu.texi (connprocs): Document new SSH procs.

8 years ago * lib/ssh.exp: New.
Rob Savoye [Wed, 30 Mar 2016 21:31:37 +0000 (08:31 +1100)]
* lib/ssh.exp: New.
* NEWS: Update.

Signed-off-by: Ben Elliston <bje@gnu.org>
8 years ago * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
Ben Elliston [Wed, 30 Mar 2016 05:09:23 +0000 (16:09 +1100)]
* baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,
lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp,
runtest.exp: Fix spelling errors in comments.

8 years ago * lib/remote.exp (remote_expect): Use perror not send_user.
Ben Elliston [Wed, 30 Mar 2016 01:00:33 +0000 (12:00 +1100)]
* lib/remote.exp (remote_expect): Use perror not send_user.

8 years ago * lib/remote.exp (remote_expect): Fix spelling error.
Ben Elliston [Tue, 29 Mar 2016 10:41:15 +0000 (21:41 +1100)]
* lib/remote.exp (remote_expect): Fix spelling error.