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.
|
|
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.
|
|
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/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.
|
|
* 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>
|
|
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>
|
|
* doc/user.xml: Document new test_timeout variable in site.exp.
* doc/dejagnu.texi: Regenerate.
Signed-off-by: Ben Elliston <bje@gnu.org>
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
* lib/unix.exp: Preservce the value of LD_LIBRARY_PATH, rather
than stomp on it. This is based on a patch from Brendan Conoboy
<blc@redhat.com>.
* Most files: Update copyright dates.
2003-03-13 Mike Stump <mrs@apple.com>
* lib/dg.exp(dg-test): Add compiler flags to testcase name, to
help ensure uniqueness.
2003-03-05 Alexandre Oliva <aoliva@redhat.com>
* lib/remote.exp (standard_download, standard_upload): Support
nfsdir and nfsroot_server.
2001-11-12 Andrew Cagney <ac131313@redhat.com>
* lib/remote.exp (local_exec, standard_close): Use SHELL
background instead of tcl background to background the kill
processes. Work around problem found by Nick Duffek in older
CYGWINs. (migrated from Redhat's sources kind late, sorry)
|
|
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
|
|
|