aboutsummaryrefslogtreecommitdiff
path: root/lib/utils.exp
AgeCommit message (Collapse)AuthorFilesLines
2018-11-23 * doc/dejagnu.texi (getdirs procedure): Improve documentationBen Elliston1-5/+3
including documenting the -all option. (find procedure): Fix a typo. * lib/utils.exp (getdirs): Improve comments.
2017-08-29 Revert these changes:Ben Elliston1-0/+8
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.
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-24 * lib/utils.exp (unsetenv): Remove proc.Ben Elliston1-8/+0
* doc/dejagnu.texi: Update documentation. * NEWS: Update.
2016-03-28 * lib/utils.exp (which): Don't exclude symbolic links--Debian'sBen Elliston1-8/+7
/bin/which doesn't. Modern systems rely too heavily on symbolic links (eg. alternatives).
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/utils.exp (which): Reimplement to more closely mimic theBen Elliston1-10/+20
behaviour of the UNIX which utility. * testsuite/runtest.all/utils.test: Test proc which.
2016-03-21 * runtest.exp: Whitespace, comment and typo fixes.Ben Elliston1-6/+12
* lib/dejagnu.exp: Likewise. * lib/remote.exp: Likewise. * lib/utils.exp: Likewise.
2016-03-16This reverts commit 4d344f712298364c836038b641625b3407db2fc3. The GCCBen Elliston1-0/+69
testsuite still uses diff. 2016-03-15 Ben Elliston <bje@gnu.org> * lib/utils.exp (diff): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. * NEWS: Update.
2016-03-15 * lib/utils.exp (diff): Remove proc.Ben Elliston1-69/+0
* doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. * NEWS: Update.
2016-03-13 * lib/utils.exp: Whitespace fixes.Ben Elliston1-4/+0
2016-02-24 * lib/utils.exp (prune): Restore this proc.Ben Elliston1-0/+19
* doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. * NEWS: Update. This reverts commit 992fbc3a8f03c3cd5e554eea5361f1a531e9e71f.
2016-02-20 * lib/utils.exp (diff): Replace calls to verbose followed byBen Elliston1-11/+4
send_log with a single call to verbose -log. Remove additional newlines from the log messages.
2016-02-20 * lib/utils.exp (getdirs): Ignore .git and .svn directories.Ben Elliston1-0/+2
2016-02-20 * lib/utils.exp: Improve comments.Ben Elliston1-10/+1
* NEWS: Update.
2016-02-20 * lib/utils.exp (prune): Remove proc.Ben Elliston1-19/+0
* doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate.
2016-02-20 * lib/utils.exp (slay): Remove proc.Ben Elliston1-17/+0
* doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate.
2016-02-20 * lib/utils.exp (absolute): Remove proc.Ben Elliston1-15/+0
* doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate.
2016-02-20 * lib/utils.exp (psource): Remove proc.Ben Elliston1-20/+0
* doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate.
2011-03-15 * runtest.exp: Whitespace cleanups.Ben Elliston1-32/+31
* 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
2010-01-01update copyright date for 2010.Rob Savoye1-2/+2
2008-04-07* lib/utils.exp (diff): Open both files as binary.Ben Elliston1-0/+2
2006-05-22 * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,Ben Elliston1-26/+26
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-4/+4
* 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-2/+2
* 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.
2005-12-23 * lib/remote.exp: Tidy.Ben Elliston1-15/+10
* lib/targetdb.exp: Likewise. * lib/target.exp (prune_warnings): Improve comments. * lib/dejagnu.exp: Likewise. * lib/utils.exp: Likewise.
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-2/+2
2003-08-16Whitespace fixes.Ben Elliston1-23/+23
2003-07-282003-07-25 Jim Dein <jdein@deinji5.apple.com>Rob Savoye1-41/+20
* 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-08-31Minor Updates before release.Rob Savoye1-1/+1
2001-11-022001-11-02 Philip A. Wilsey <philip.wilsey@cliftonlabs.com>Rob Savoye1-1/+1
* lib/utils.exp: Need to pass -all to getdirs, so it descends through all the subdirectories.
2001-09-12 * Makefile.am: Add a clean-local target, and nuke example andRob Savoye1-3/+2
testsuite from SUBDIRS, so they don't get built via "make all". * Makefile: All Makefiles regenerated. * debian/changelog: Update version for 1.4.2 release. * redhat/dejagnu.spec: Update version for 1.4.2 release.
2001-02-18 * Most all files: Update copyright notices.Rob Savoye1-4/+4
* 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/+441