aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
AgeCommit message (Collapse)AuthorFilesLines
2017-08-01* runtest.exp (usage): Improve --strace message.Ben Elliston1-1/+1
2017-08-01* runtest.exp (usage): --reboot doesn't take a 'name' parameter.Ben Elliston1-1/+1
2016-09-04 * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.Jan Kratochvil1-0/+5
Signed-off-by: Ben Elliston <bje@gnu.org>
2016-06-22 * configure.ac, dejagnu.h, runtest, runtest.exp,Bernhard Reutner-Fischer1-1/+1
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>
2016-06-22 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,Bernhard Reutner-Fischer1-2/+1
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>
2016-04-17 * configure.ac (AC_INIT): Update version number.Ben Elliston1-1/+1
* configure: Regenerate. * runtest.exp (frame_version): Update version number. * doc/dejagnu.texi: Likewise.
2016-04-13 * runtest.exp: Improve --version (-v) output.Ben Elliston1-4/+4
* testsuite/runtest.all/options.exp: Update test case.
2016-04-05 * runtest.exp: Remove defunct and undocumented --tool_root option.Ben Elliston1-10/+0
2016-04-03 * runtest.exp: Document the magical handling of -D[01].Ben Elliston1-1/+2
2016-03-30 * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,Ben Elliston1-3/+3
lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp, runtest.exp: Fix spelling errors in comments.
2016-03-29 * runtest.exp: Only print "searching for <test name>" message atRob Savoye1-1/+1
verbose level >= 2 -- too much noise. Signed-off-by: Ben Elliston <bje@gnu.org>
2016-03-29More fixes identified by the Frink static analyser:Ben Elliston1-1/+1
(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 '-'.
2016-03-28 * runtest.exp: Use 'array exists' for testing array existenceBen Elliston1-2/+2
rather than 'info exists'.
2016-03-28 * runtest.exp: Fixes identified by the Frink static analyser:Ben Elliston1-5/+5
(1) use -- in switch commands for safety, (2) remove unreachable return commands after error commands, (3) replace abbreviated "info proc" with "info procs", (4) use -- in unset commands for safety where the variable name is itself a variable. * lib/dg.exp: Likewise. * lib/debugger.exp: Likewise. * lib/framework.exp: Likewise. * lib/remote.exp: Likewise. * lib/target.exp: Likewise. * lib/targetdb.exp: Likewise. * lib/telnet.exp: Likewise. * lib/utils.exp: Likewise.
2016-03-21 * runtest.exp: Whitespace, comment and typo fixes.Ben Elliston1-3/+2
* lib/dejagnu.exp: Likewise. * lib/remote.exp: Likewise. * lib/utils.exp: Likewise.
2016-03-21 * baseboards/mcore-moto-sim.exp: Remove old FIXME comment.Ben Elliston1-1/+0
* baseboards/mmixware-sim.exp: Likewise. * config/sim.exp: Likewise. * runtest.exp: Likewise.
2016-03-20 * runtest.exp: Load .dejagnurc last not first.Ben Elliston1-9/+8
(load_file): Update comment about Tcl 7.5a2. * doc/user.xml (Customizing DejaGnu): Document new search order for site.exp files. * doc/dejagnu.texi: Regenerate. * NEWS: Update.
2016-03-20 * runtest.exp (load_file): Remove old comment.Ben Elliston1-3/+0
2016-03-20 * lib/dg.exp (dg-test): There is no need to call unresolved toBen Elliston1-7/+1
clear errcnt. Instead, pass 0 as argument 2 to perror. * runtest.exp (runtest): Likewise.
2016-02-17 * runtest.exp: Tweak "Test run by .." output.Ben Elliston1-1/+1
2016-02-17 * runtest.exp: Enable --status by default.Ben Elliston1-6/+5
(runtest): Set exit status to 2 if there is any error sourcing the Tcl scripts. * lib/framework.exp (unknown): Likewise, set exit status to 2. * doc/runtest.1: Clarify exit status codes. * NEWS: Update.
2016-02-15 * runtest.exp: Use the traditional exit codes when runtest isBen Elliston1-9/+8
interrupted. This makes it possible to tell if runtest ran to completion or not. Suggested by Michael Chastain.
2016-01-16* runtest.exp (runtest): Improve comment about --status.Ben Elliston1-2/+2
2015-11-16 * runtest.exp: Refer to "DejaGnu version", not "FrameworkBen Elliston1-1/+1
version" in --version output. * testsuite/runtest.all/options.exp: Update test case.
2015-11-14 * runtest.exp (usage): Improve help text.Ben Elliston1-11/+11
2015-11-12 * runtest.exp (usage): Sort options in usage.Ben Elliston1-10/+10
2015-05-15 * runtest.exp (runtest): Introduce new --log_dialog option.Filipe Brandenburger1-1/+10
* doc/runtest.1: Document it. * doc/user.xml: Likewise. * doc/dejagnu.texi: Regenerate. Signed-off-by: Ben Elliston <bje@gnu.org>
2015-03-30Revert the following change which causes breakage reported here:Ben Elliston1-1/+4
https://lists.gnu.org/archive/html/dejagnu/2015-03/msg00003.html 2011-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> * runtest.exp (runtest): Call reset_vars at initialisation so that perror does not affect test results in other test scripts.
2014-10-14 * runtest.exp: Only match $directory, not *${directory}* when theBen Elliston1-1/+1
user passes the --directory option. Reported by Sergey Alyoshin.
2014-06-25Fix bug were none of the relative paths were actually being used for file ↵Rob Savoye1-2/+2
lookup.
2013-06-17 * runtest.exp (libdirs): New global variable.Bernhard Reutner-Fischer1-3/+8
(load_lib): Append libdirs to search_and_load_files directories. * doc/ref.xml (load_lib): Document global variable libdirs. * doc/dejagnu.texi: Regenerate. * testsuite/runtest.all/load_lib.exp: New testcase. * Makefile.am (TESTSUITE_FILES): Add new testcase. * Makefile.in: Regenerate. Signed-off-by: Ben Elliston <bje@gnu.org>
2012-06-15 * lib/framework.exp (clone_output): Protect from leading dash inAndreas Schwab1-3/+2
$message. * runtest.exp (verbose): Likewise. Signed-off-by: Ben Elliston <bje@gnu.org>
2012-06-12 * doc/runtest.1: Update.Tom Tromey1-3/+5
* runtest.exp (xml_file_name): New global. (usage): Update. Handle optional argument to --xml. * lib/framework.exp (open_logs): Respect xml_file_name. Signed-off-by: Ben Elliston <bje@gnu.org>
2012-03-242012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>Ben Elliston1-1/+1
* runtest.exp (load_tool_init): Fix typo in -de option handling.
2011-04-12 * config/vxworks.exp (vxworks_file): Use "file delete", not "execBen Elliston1-1/+1
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.
2011-03-15 * runtest.exp: Whitespace cleanups.Ben Elliston1-45/+45
* lib/dejagnu.exp, lib/dg.exp, lib/framework.exp, lib/libgloss.exp, lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp: Likewise.
2011-03-14 * runtest.exp (frame_version): Set to 1.5.1.Ben Elliston1-1/+1
* configure.ac (AC_INIT): Set version to 1.5.1. * configure: Regenerate. * doc/dejagnu.xml (appversion, version): Set to 1.5.1. * doc/dejagnu.texi: Regenerate.
2011-03-14 * runtest.exp (runtest): Call reset_vars at initialisation so thatBen Elliston1-4/+1
perror does not affect test results in other test scripts.
2011-03-09 * configure.ac (AC_INIT): Set version to 1.5.Ben Elliston1-1/+1
* configure: Regenerate. * runtest.exp (frame_version): Set to 1.5. * doc/dejagnu.texi: Regenerate.
2011-03-03Upgrade to GPL version 3.Ben Elliston1-1/+1
2010-01-01update copyright date for 2010.Rob Savoye1-0/+0
2006-08-29 * runtest.exp (usage): Use "triplet" instead of "config name".Ben Elliston1-4/+4
2006-06-08 * baseboards/cris-sim.exp: Use Tcl fall-through syntax forBen Elliston1-1/+2
multiple cases, not a list (case uses lists, switch does not). Pass -glob to switch where applicable to emulate case behaviour. * baseboards/h8300.exp: Likewise. * lib/framework.exp (clone_output): Likewise. (clear_xfail): Likewise. (clear_kfail): Likewise. * lib/libgloss.exp (process_multilib_options): Likewise. * runtest.exp: Likewise.
2006-06-06 * runtest.exp (load_lib): Typo fix.Ben Elliston1-1/+1
2006-05-24 * runtest.exp (verbose): Brace some expressions.Ben Elliston1-11/+11
(load_file, search_and_load_file): Likewise. (runtest): Likewise.
2006-05-22 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,Ben Elliston1-90/+90
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.
2006-05-22 * lib/framework.exp (open_logs): Use file join where applicable.Ben Elliston1-8/+8
* lib/libgloss.exp (libgloss_link_flags, newlib_link_flags, newlib_include_flags, g++_link_flags, libstdc++_link_flags, get_multilibs, winsup_include_flags, winsup_link_flags): Likewise. * lib/utils.exp (which): Likewise. * runtest.exp (search_and_load_file, lookfor_file, load_tool_init): Likewise.
2006-05-22 * runtest.exp: Use switch, not case.Ben Elliston1-1/+1
* lib/framework.exp (clone_output): Likewise. (clear_xfail): Likewise. (clear_kfail): Likewise. (set_warning_threshold): Make warning_threshold global. (get_warning_threshold): Likewise. * lib/libgloss.exp (process_multilib_options): Use switch, not case. * lib/remote.exp (local_exec): Only run global errorInfo once. (standard_upload): Fix error in variable use ($file -> $srcfile). * lib/utils.exp (grep): Use switch, not case. (slay): Fix mismatched bracket.
2006-01-01 * runtest.exp (frame_version): Set to 1.4.99.Ben Elliston1-1/+1
2006-01-01 * runtest.exp: Update copyright notice.Ben Elliston1-15/+15
* example/calc/testsuite/calc.test/calc.exp: Likewise. * example/calc/testsuite/config/unix.exp: Likewise. * testsuite/libdejagnu/tunit.exp: Likewise. * testsuite/runtest.all/libs.exp: Likewise. * testsuite/runtest.all/options.exp: Likewise. * testsuite/runtest.all/stats-sub.exp: Likewise. * testsuite/runtest.all/stats.exp: Likewise.