aboutsummaryrefslogtreecommitdiff
path: root/lib/framework.exp
AgeCommit message (Collapse)AuthorFilesLines
2017-09-13 * lib/framework.exp (open_logs): Set XML version to 1.1.Ben Elliston1-2/+6
(xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include missing 'x' in escape sequence.
2017-08-19Fix another bug reported by Andrey ``Bass'' Shcheglov.Ben Elliston1-0/+6
* lib/framework.exp (xml_tag): Escape all of the non-printable control characters (ASCII codes 1 to 31 inclusive).
2017-08-15Fix another bug reported by Andrey ``Bass'' Shcheglov.Ben Elliston1-9/+15
* lib/framework.exp (xml_tag): New proc. (log_summary): Use it. (record_test): Likewise.
2017-08-15Fix bug reported by Andrey ``Bass'' Shcheglov.Ben Elliston1-5/+1
* 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.
2017-07-30* lib/framework.exp: Fix spelling mistake in a comment.Ben Elliston1-1/+1
2016-06-22 * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp,Bernhard Reutner-Fischer1-3/+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-03-30 * baseboards/mcore-moto-sim.exp, lib/dejagnu.exp, lib/dg.exp,Ben Elliston1-2/+2
lib/dmucs.exp, lib/framework.exp, lib/remote.exp, lib/target.exp, runtest.exp: Fix spelling errors in comments.
2016-03-28This proc is never used. --xml sets $xml, and that's it.Ben Elliston1-11/+3
* lib/framework.exp (check_xml): Remove unused proc.
2016-03-28 * runtest.exp: Fixes identified by the Frink static analyser:Ben Elliston1-4/+4
(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-28 * lib/framework.exp (exp_continue): Remove old compatibilityBen Elliston1-10/+0
wrapper. Expect deprecated 'continue -expect' in August 1997.
2016-02-17 * runtest.exp: Enable --status by default.Ben Elliston1-1/+1
(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 * lib/framework.exp (cleanup): Remove do-nothing proc.Ben Elliston1-13/+0
(log_and_exit): Remove call to cleanup. * doc/ref.xml: Remove documentation for cleanup. * doc/dejagnu.texi: Regenerate.
2015-11-12 * lib/framework.exp (note): Remove old commented-out code.Ben Elliston1-7/+0
2015-02-18 * lib/framework.exp (log_and_exit): Set tool to "testrun" ifStephen Tridgell1-0/+3
unset. Signed-off-by: Ben Elliston <bje@gnu.org>
2012-06-15 * lib/framework.exp (clone_output): Protect from leading dash inAndreas Schwab1-4/+4
$message. * runtest.exp (verbose): Likewise. Signed-off-by: Ben Elliston <bje@gnu.org>
2012-06-12 * doc/runtest.1: Update.Tom Tromey1-2/+6
* 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>
2011-04-12 * config/vxworks.exp (vxworks_file): Use "file delete", not "execBen Elliston1-3/+3
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-25/+25
* 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-03Upgrade to GPL version 3.Ben Elliston1-1/+1
2011-03-03 * lib/framework.exp (unknown): Rename the native Tcl ::unknownBen Elliston1-13/+18
proc to ::tcl_unknown. If ::tcl_unknown returns a failure result, then fall back to the conventional DejaGnu handling. Report from David Byron <dbyron@dbyron.com>.
2010-01-01update copyright date for 2010.Rob Savoye1-2/+2
2007-10-30 * lib/framework.exp (open_logs): Line buffer the .sum file.Ben Elliston1-0/+1
2006-06-08 * baseboards/cris-sim.exp: Use Tcl fall-through syntax forBen Elliston1-4/+9
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-05-23 * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.Ben Elliston1-14/+14
* 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.
2006-05-22 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,Ben Elliston1-37/+37
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-2/+2
* 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-3/+5
* 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-04-13 * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,Ben Elliston1-89/+44
lib/framework.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.
2006-01-01 * config/default.exp, config/unix.exp, config/vxworks.exp,Ben Elliston1-1/+1
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.
2005-06-24 * Update the FSF's physical address throughout.Ben Elliston1-1/+1
2003-08-23Use a consistent GNU copyright header throughout.Ben Elliston1-13/+13
2003-08-19Re-indent with Emacs' tcl-mode.Ben Elliston1-5/+5
2003-08-16Whitespace fixes.Ben Elliston1-33/+33
2003-08-07Strip trailing semicolons from Tcl source files.Ben Elliston1-57/+57
2003-07-282003-07-25 Jim Dein <jdein@deinji5.apple.com>Rob Savoye1-0/+5
* lib/utils.exp: fix double recursion bug in proc find. 2002-02-25 Jackie Smith Cashion <jsmith@redhat.com> * baseboards/am33_2.0-libremote.exp: New file. 2000-11-21 Drew Moseley <dmoseley@redhat.com> * baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the ASB2303 board. 2000-08-10 Drew Moseley <dmoseley@cygnus.com> * baseboards/mn10300-cygmon.exp: Added support for Cygmon based ASB2303 board. 2003-06-13 Phil Edwards <pme@devphil.com> * baseboards/mips64-sim.exp, baseboards/mips-sim.exp, baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp: Use only -T[linker] instead of -Wl,-T[linker]. 2003-06-13 Jason Thorpe <thorpej@wasabisystems.com> * lib/target.exp (prune_warnings): Add two more linker warning patterns for warnings generated by modern verions of NetBSD. 2003-05-12 H.J. Lu <hongjiu.lu@intel.com> * lib/libgloss.exp (build_wrapper): Add -Wl,-wrap,_exit. 2003-05-09 H.J. Lu <hongjiu.lu@intel.com> * runtest: Fix a typo. 2003-05-03 Nitin Dhavale <nitinpdhavale@indiatimes.com> * doc/user.sgml: Clarify how to set the verbose option. 2003-03-28 Chris Demetriou <cgd@broadcom.com> * lib/framework.exp (check_conditional_xfail): Adjust so that an empty 'includes' list matches all sets of flags. * doc/dejagnu.texi: Document the above. * doc/ref.sgml: Likewise. 2003-03-27 David Heine <dlheine@tensilica.com> * baseboards/xtensa-sim.exp: Fix a syntax error. 2003-03-16 Rob Savoye <rob@direwolf.welcomehome.org> * lib/unix.exp: Preserve 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-172003-03-16 Rob Savoye <rob@direwolf.welcomehome.org>Rob Savoye1-1/+1
* 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)
2002-11-21modified xml input and output handling for null stringsbemis1-5/+5
2002-11-13modified input/output, and checked for empty variablesbemis1-5/+11
2002-08-31Minor Updates before release.Rob Savoye1-1/+1
2002-07-16Mostly new Makefiles cause I reran automake.Rob Savoye1-5/+6
2002-04-26Checkin initial version of kpass/kfail support.Rob Savoye1-17/+122
2002-04-262002-04-25 <Matthew Bemis <bemis@iol.unh.edu>Rob Savoye1-2/+81
* lib/framework/exp: new procs check_xml{}, insertdtd{}, xml_output{}, plus a few hooks to xml_output in the other logging procs to produce XML output. * runtest.exp: Add support for the --x option for XML output.
2001-02-18 * Most all files: Update copyright notices.Rob Savoye1-4/+3
* 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.
2001-02-05Initial revisionRob Savoye1-0/+898