Age | Commit message (Collapse) | Author | Files | Lines |
|
Report both the full command and the timeout value consistently across
various communication protocols, and always always output the report to
the log file, so that procedures do not have to be locally overridden to
extract this data where needed to reproduce an issue by hand.
* baseboards/qemu.exp (qemu_load): Add execution reporting.
* config/gdb-comm.exp (gdb_comm_load): Likewise.
* config/gdb_stub.exp (gdb_stub_load): Likewise.
* config/sim.exp (sim_load): Likewise.
* config/unix.exp (unix_load): Report full command in addition
to timeout value.
|
|
The `test_timeout' global parameter was added with commit 73db65f53795,
however for the `unix' protocol only and then only in the local case.
Update the remote case of the `unix' protocol, other protocols that use
various timeout sources, and the `qemu' board to take any `test_timeout'
setting into account as appropriate. Amend the manual accordingly.
* baseboards/qemu.exp (qemu_load): Respect global `test_timeout'
setting.
* config/gdb-comm.exp (gdb_comm_load): Likewise.
* config/gdb_stub.exp (gdb_stub_load): Likewise.
* config/sim.exp (sim_load): Likewise.
* config/unix.exp (unix_load): Likewise, in the remote case.
* doc/dejagnu.texi (Local configuration file): Update
accordingly.
|
|
Move the setting of `testcase_timeout' earlier on in `gdb_comm_load'.
It will be needed for reporting later on. No semantics change.
* config/gdb-comm.exp (gdb_comm_load): Set `testcase_timeout'
earlier on.
|
|
The `test_timeout' global parameter is expected to be optionally set by
a board description file and then taken into account by `unix_load' to
override the default of 300. However not only the procedure checks for
the override but it sets the global parameter to the default as well if
not present. This might make a minuscule TCL interpreter execution time
reduction, but seems rather awkward from the programming style's point
of view, and may cause undesired effects if the parameter is referred
elsewhere.
Remove the setting of the global parameter then, while retaining its
semantics.
* config/unix.exp (unix_load): Don't ever set `test_timeout',
just use it locally.
|
|
If the board file defines "exec_shell", prepend it before the local or
remote command.
|
|
lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
some regular expressions in constant strings by placing them
inside braces instead of quotes. This allows one level of
backslash quoting to be removed.
|
|
baseboards/i386-sid.exp, baseboards/mt-sid.exp,
baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
config/gdb_stub.exp, config/sim.exp, config/unix.exp,
config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
lib/utils.exp, testsuite/lib/libsup.exp,
testsuite/runtest.all/options.exp,: Remove unnecessary braces
around variable expansions.
|
|
* config/gdb_stub.exp: Likewise.
* config/vxworks.exp: Likewise.
* config/unix.exp: Likewise.
* config/sim.exp: Likewise.
|
|
|
|
lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
baseboards/mt-sid.exp, baseboards/mips-sim.exp,
baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
baseboards/i386-sid.exp, baseboards/arm-sim.exp,
baseboards/arm-ice.exp, baseboards/androideabi.exp,
testsuite/runtest.all/utils.test,
testsuite/runtest.all/target.test: Replace string literal
comparisons using == and != with 'eq' and 'ne'.
|
|
lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
config/vxworks.exp, config/unix.exp, config/sim.exp,
config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
baseboards/multi-sim.exp, baseboards/cris-sim.exp,
baseboards/basic-sim.exp, baseboards/basic-sid.exp,
baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
using == and != with 'eq' and 'ne'.
|
|
strings and variables known to not be Tcl glob patterns with eq
and ne.
* config/unix.exp: Likewise.
* lib/debugger.exp: Likewise.
* lib/dg.exp: Likewise.
* lib/framework.exp: Likewise.
* lib/remote.exp: Likewise.
* lib/utils.exp: Likewise.
* baseboards/androideabi.exp: Likewise.
* baseboards/multi-sim.exp: Likewise.
* testsuite/lib/util-defs.exp: Likewise.
* testsuite/runtest.all/config.test: Likewise.
|
|
Likewise, replace '!=' with 'ne'. Replace a few instances of
[string length $str] == 0 with $str eq "".
* config/gdb-comm.exp: Likewise.
* lib/dg.exp: Likewise.
* lib/framework.exp: Likewise.
* lib/libgloss.exp: Likewise.
* lib/remote.exp: Likewise.
* lib/target.exp: Likewise.
* lib/utils.exp: Likewise.
|
|
* 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.
|
|
* config/gdb_stub.exp: Likewise.
* config/sid.exp: Likewise.
* config/sim.exp: Likewise.
* config/unix.exp: Likewise.
|
|
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>
|
|
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>
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* lib/ssh.exp (ssh_exec): Likewise.
* config/adb.exp: Likewise.
|
|
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>
|
|
(1) use -- in switch commands for safety,
(2) add braces around exprs,
(3) replace abbreviated "info proc" with "info procs",
(4) use -- in regexp commands for safety where the expression is a
variable that could begin with '-'.
|
|
(baseboard_DATA): Likewise.
* Makefile.in: Regenerate.
* NEWS: Update.
Remove the following old config files:
* arc.exp, arm-ice.exp, base-config.exp, base68k.exp, bug.exp,
cfdbug.exp, cygmon.exp, d10v.exp, ddb-ether.exp, ddb.exp, dos.exp,
dve.exp, h8300.exp, i386-bozo.exp, i960.exp, m32r-stub.exp,
m32r.exp, m68hc11.exp, m68k-emc.exp, mips-idt.exp,
mn10200-eval.exp, mn10300-eval.exp, netware.exp, powerpc-bug.exp,
proelf.exp, rom68k.exp, sh.exp, slite.exp, sparclet.exp,
tic80.exp, vr4100.exp, vr4300.exp, vr5000.exp: Remove.
Remove the following old baseboard files:
* arc-sim.exp, arm-ice.exp, arm-sim.exp, cf.exp, cygmon.exp,
d10v-sim.exp, d10v.exp, danlite-elf.exp, dos.exp, fr30-cygmon.exp,
fr30-elf.exp, frv-elf.exp, frv-tiger.exp, frv-tomcat.exp,
h8300-sim.exp, h8300.exp, i386-bozo.exp, i960-cyclone.exp,
i960-sim.exp, m32r-elf.exp, m32r-linux-sim.exp, m32r-sid.exp,
m32r-sim.exp, m68hc11-sim.exp, m68k-emc.exp, mips-idt.exp,
mips64-sim.exp, mips64vr4100-sim.exp, mn10200-cygmon.exp,
mn10300-cygmon.exp, msparc-cygmon.exp, op50n.exp, powerpc-bug.exp,
powerpc-bug1.exp, rom68k-idp.exp, sh-hms.exp, sparclet-aout.exp,
sparclite-coff.exp, sparclite-cygmon.exp, strongarm-cygmon.exp,
tic80-sim.exp, tx39-dve.exp, usparc-cygmon.exp, vr4100-ddb.exp,
vr4300-ddb.exp, vr4300.exp, vr5000-ddb.exp, x86-cygmon.exp,
xscale-cygmon.exp: Remove.
|
|
ARM Foundation Model.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
* baseboards/mmixware-sim.exp: Likewise.
* config/sim.exp: Likewise.
* runtest.exp: Likewise.
|
|
* config/vxworks.exp: Likewise.
|
|
* doc/user.xml: Document new test_timeout variable in site.exp.
* doc/dejagnu.texi: Regenerate.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
(sim_file): New.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
|
|
limited disk space. Don't remove the file after executing it, leave that for the test driver instead.
|
|
|
|
|
|
|
|
rm", for better portability.
* config/netware.exp (${board}_load): Likewise.
* lib/dg.exp (dg-test): Likewise.
* lib/framework.exp (open_logs): Likewise.
* lib/remote.exp (standard_file): Likewise.
* runtest.exp: Likewise.
* testsuite/runtest.all/options.exp: Likewise.
|
|
|
|
|
|
|
|
* config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
breakpoints.
|
|
|
|
the beginning of the proc; remove duplicates.
(dos_load): Use file join to separate path components.
(dos_copy_upload): Likewise.
* lib/remote.exp (call_remote): Use error, not "blooie" to trigger
an error.
|
|
* config/i960.exp (i960_spawn): Initialise status.
* config/netware.exp (${board}_init): Brace some if expressions.
* lib/dg.exp (dg-test): Brace some expressions.
* lib/framework.exp (clone_output, log_and_exit, log_summary,
record_test, pass, fail): Likewise.
* lib/libgloss.exp (get_multilibs): Likewise.
* lib/remote.exp (standard_transmit, unix_clean_filename,
remote_load, check_for_board_status, remote_expect): Likewise.
* lib/rsh.exp (rsh_exec): Likewise.
|
|
* baseboards/h8300.exp: Likewise.
* config/base68k.exp (base68k_ld): Brace an if expression.
|
|
baseboards/cris-sim.exp, baseboards/i960-cyclone.exp,
baseboards/mcore-moto-sim.exp, baseboards/mips64vr4100-sim.exp,
baseboards/mmixware-sim.exp, baseboards/op50n.exp,
baseboards/rom68k-idp.exp, baseboards/sparclite-sim-le.exp,
baseboards/usparc-cygmon.exp, config/base-config.exp,
config/base68k.exp, config/ddb-ether.exp, config/ddb.exp,
config/dos.exp, config/gdb-comm.exp, config/gdb_stub.exp,
config/i386-bozo.exp, config/i960.exp, config/m68k-emc.exp,
config/netware.exp, config/sid.exp, config/sim.exp,
config/tic80.exp, config/unix.exp, config/vxworks.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/target.exp, lib/targetdb.exp,
lib/telnet.exp, lib/tip.exp, lib/utils.exp: Put braces around if
expressions throughout.
|
|
lib/debugger.exp, lib/dejagnu.exp, lib/framework.exp,
lib/libgloss.exp, lib/remote.exp, testsuite/lib/util-defs.exp:
Formatting fixes.
* dejagnu.h, testsuite/config/default.exp,
testsuite/lib/libsup.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: Update copyright notice and FSF
office address. Remove bug reporting address, as it is now
maintained centrally in the README file.
|
|
|
|
|
|
(config_SCRIPTS): Remove udi.exp, vrtx.exp.
(baseboard_SCRIPTS): Remove a29k-udi.exp.
* Makefile.in: Regenerate.
* baseboards/a29k-udi.exp: Remove.
* baseboards/dos.exp: Update comments.
* config/udi.exp: Remove.
* config/vrtx.exp: Remove.
* doc/overview.sgml: Update. Don't mention mondfe and xsh support.
* doc/ref.sgml: Likewise.
* doc/user.sgml: Likewise.
* lib/mondfe.exp: Remove.
* lib/xsh.exp: Likewise.
* lib/remote.exp: Don't load mondfe.exp or xsh.exp.
* packaging/pkg/prototype: Update.
* NEWS: Update.
|
|
|
|
* config/sid.exp: Add gdb settings to use no hardware watchpoints.
|