platform/upstream/dejagnu.git
11 years ago * Makefile.am (baseboard_SCRIPTS): Add new baseboards.
Steve Ellcey [Thu, 4 Oct 2012 10:32:34 +0000 (20:32 +1000)]
* Makefile.am (baseboard_SCRIPTS): Add new baseboards.
* Makefile.in: Regenerate.
* baseboards/mips-sim-mti32.exp: New.
* baseboards/mips-sim-mti64.exp: New.
* baseboards/mips-sim-mti64_n32.exp: New.
* baseboards/mips-sim-mti64_64.exp: New.
* baseboards/mips-sim-sde32.exp: New.
* baseboards/mips-sim-sde64.exp: New.

Signed-off-by: Ben Elliston <bje@gnu.org>
11 years ago * aclocal.m4: Regenerate with automake 1.11.3.
Ben Elliston [Thu, 4 Oct 2012 10:29:24 +0000 (20:29 +1000)]
* aclocal.m4: Regenerate with automake 1.11.3.
* Makefile.in: Likewise.
* configure: Regenerate with autoconf 2.68.

11 years ago * baseboards/generic-sim.exp: New baseboard definition.
Steve Ellcey [Wed, 22 Aug 2012 10:15:07 +0000 (20:15 +1000)]
* baseboards/generic-sim.exp: New baseboard definition.

Signed-off-by: Ben Elliston <bje@gnu.org>
12 years ago * lib/framework.exp (clone_output): Protect from leading dash in
Andreas Schwab [Fri, 15 Jun 2012 10:42:58 +0000 (20:42 +1000)]
* lib/framework.exp (clone_output): Protect from leading dash in
$message.
* runtest.exp (verbose): Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
12 years ago * doc/runtest.1: Update.
Tom Tromey [Tue, 12 Jun 2012 11:27:56 +0000 (21:27 +1000)]
* doc/runtest.1: Update.
* 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>
12 years ago2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
Ben Elliston [Sat, 24 Mar 2012 10:56:32 +0000 (21:56 +1100)]
2012-03-24  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

* runtest.exp (load_tool_init): Fix typo in -de option handling.

12 years ago2012-03-24 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
Ben Elliston [Sat, 24 Mar 2012 03:27:46 +0000 (14:27 +1100)]
2012-03-24  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

* doc/runtest.1: Correct name of debug file.

12 years ago * runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
Ben Elliston [Sat, 25 Feb 2012 10:21:11 +0000 (21:21 +1100)]
* runtest: Search /usr/share/dejagnu and /usr/local/share/dejagnu
for runtest.exp as a last resort (for usrmove environments, where
/bin is a link to /usr/bin). From Honza Horak <hhorak@redhat.com>.

12 years ago * doc/user.xml: Various spelling and consistency fixes.
Ben Elliston [Fri, 30 Dec 2011 04:09:57 +0000 (15:09 +1100)]
* doc/user.xml: Various spelling and consistency fixes.
* doc/ref.xml: Likewise.
(exit_remote_shell): Remove, as this procedure is defunct.
* doc/dejagnu.texi: Regenerate.

12 years ago * config.guess: Update to version 2011-12-29.
Ben Elliston [Fri, 30 Dec 2011 00:52:56 +0000 (11:52 +1100)]
* config.guess: Update to version 2011-12-29.
* config.sub: Update to version 2011-11-11.

13 years ago2011-06-30 Tom Tromey <tromey@redhat.com>
Ben Elliston [Wed, 29 Jun 2011 23:38:10 +0000 (09:38 +1000)]
2011-06-30  Tom Tromey  <tromey@redhat.com>

* doc/ref.xml: Document find_gfortran.
* doc/dejagnu.texi: Regenerate.
* lib/target.exp (default_target_compile): Handle f90.
(default_target_compile): Likewise.
* lib/libgloss.exp (find_gfortran): New proc.

13 years ago * Makefile.am (all-local): New rule.
Ben Elliston [Wed, 29 Jun 2011 23:35:03 +0000 (09:35 +1000)]
* Makefile.am (all-local): New rule.
* Makefile.in: Regenerate.

13 years ago * config/vxworks.exp (vxworks_file): Use "file delete", not "exec
Ben Elliston [Tue, 12 Apr 2011 09:22:45 +0000 (19:22 +1000)]
* config/vxworks.exp (vxworks_file): Use "file delete", not "exec
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.

13 years ago * runtest.exp: Whitespace cleanups.
Ben Elliston [Tue, 15 Mar 2011 02:02:04 +0000 (13:02 +1100)]
* runtest.exp: Whitespace cleanups.
* 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.

13 years ago * runtest: Remove trailing semicolons.
Ben Elliston [Tue, 15 Mar 2011 01:53:16 +0000 (12:53 +1100)]
* runtest: Remove trailing semicolons.
* lib/rsh.exp: Likewise.

13 years ago2011-03-15 H.J. Lu <hjl.tools@gmail.com>
Ben Elliston [Mon, 14 Mar 2011 23:07:50 +0000 (10:07 +1100)]
2011-03-15  H.J. Lu  <hjl.tools@gmail.com>

* lib/remote.exp (local_exec): Ignore SIGHUP.

13 years ago * runtest.exp (frame_version): Set to 1.5.1.
Ben Elliston [Mon, 14 Mar 2011 12:36:57 +0000 (23:36 +1100)]
* runtest.exp (frame_version): Set to 1.5.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.

13 years ago * dejagnu.h: Whitespace cleanups.
Ben Elliston [Mon, 14 Mar 2011 11:03:32 +0000 (22:03 +1100)]
* dejagnu.h: Whitespace cleanups.

13 years agoRegenerate with modern autotools.
Ben Elliston [Mon, 14 Mar 2011 10:34:00 +0000 (21:34 +1100)]
Regenerate with modern autotools.

* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.

13 years agoRegenerate with modern autotools.
Ben Elliston [Mon, 14 Mar 2011 10:31:24 +0000 (21:31 +1100)]
Regenerate with modern autotools.

* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* calc.h.in: Likewise.
* configure: Likewise.

13 years ago * baseboards/cris-sim.exp: Remove trailing semicolon(s).
Ben Elliston [Mon, 14 Mar 2011 08:50:15 +0000 (19:50 +1100)]
* baseboards/cris-sim.exp: Remove trailing semicolon(s).
* baseboards/mt-sid.exp: Likewise.
* baseboards/tx39-sim.exp: Likewise.
* lib/target.exp (default_target_compile): Likewise.

13 years ago Reported by Flash Sheridan <flash@pobox.com>:
Ben Elliston [Mon, 14 Mar 2011 07:02:36 +0000 (18:02 +1100)]
Reported by Flash Sheridan <flash@pobox.com>:
* doc/user.xml (Testing "Hello world" locally): Improve the
example test script and make it robust to failures.  Tidy some
formatting errors.
* doc/dejagnu.texi: Regenerate.

13 years agoFix whitespace issues flagged by Emacs' whitespace-report.
Ben Elliston [Sun, 13 Mar 2011 21:19:03 +0000 (08:19 +1100)]
Fix whitespace issues flagged by Emacs' whitespace-report.

13 years ago * runtest.exp (runtest): Call reset_vars at initialisation so that
Ben Elliston [Sun, 13 Mar 2011 21:02:04 +0000 (08:02 +1100)]
* runtest.exp (runtest): Call reset_vars at initialisation so that
perror does not affect test results in other test scripts.

13 years ago * NEWS: Start a new section for post-1.5 changes.
Ben Elliston [Wed, 9 Mar 2011 05:02:43 +0000 (16:02 +1100)]
* NEWS: Start a new section for post-1.5 changes.

13 years agoMark ChangeLog for release.
Ben Elliston [Wed, 9 Mar 2011 04:30:08 +0000 (15:30 +1100)]
Mark ChangeLog for release.

13 years ago * Makefile.am (DISTCLEANFILES): Define.
Ben Elliston [Wed, 9 Mar 2011 00:51:01 +0000 (11:51 +1100)]
* Makefile.am (DISTCLEANFILES): Define.
* Makefile.in: Regenerate.
* testsuite/runtest.all/libs.exp: Clean up temp files on exit.
* testsuite/runtest.all/options.exp: Likewise for dbg.log.
* testsuite/runtest.all/stats.exp: Likewise for tmpdir. Use "file
mkdir" instead of exec'ing mkdir(1).

13 years ago * Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
Ben Elliston [Mon, 7 Mar 2011 02:38:02 +0000 (13:38 +1100)]
* Makefile.am (doc/dejagnu.texi): Conditional on MAINTAINER_MODE.
* Makefile.in: Regenerate.

13 years ago * configure.ac (AC_INIT): Set version to 1.5.
Ben Elliston [Sun, 6 Mar 2011 10:11:38 +0000 (21:11 +1100)]
* configure.ac (AC_INIT): Set version to 1.5.
* configure: Regenerate.
* runtest.exp (frame_version): Set to 1.5.
* doc/dejagnu.texi: Regenerate.

13 years ago * texinfo.tex: Import latest version from ftp://tug.org/tex.
Ben Elliston [Fri, 4 Mar 2011 12:22:12 +0000 (23:22 +1100)]
* texinfo.tex: Import latest version from ftp://tug.org/tex.

13 years ago * Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
Ben Elliston [Fri, 4 Mar 2011 12:06:58 +0000 (23:06 +1100)]
* Makefile.am (EXTRA_DIST): Correct name of historical ChangeLog.
* Makefile.in: Regenerate.

13 years agoUpgrade to GPL version 3.
Ben Elliston [Thu, 3 Mar 2011 10:21:37 +0000 (21:21 +1100)]
Upgrade to GPL version 3.

13 years ago * Makefile.am: Bump to GPL version 3.
Ben Elliston [Thu, 3 Mar 2011 10:12:27 +0000 (21:12 +1100)]
* Makefile.am: Bump to GPL version 3.
* configure.ac: Likewise.
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.

13 years ago * config.guess: Update to most recent version.
Ben Elliston [Thu, 3 Mar 2011 10:01:53 +0000 (21:01 +1100)]
* config.guess: Update to most recent version.
* config.sub: Likewise.

13 years ago * lib/framework.exp (unknown): Rename the native Tcl ::unknown
Ben Elliston [Wed, 2 Mar 2011 13:06:01 +0000 (00:06 +1100)]
* lib/framework.exp (unknown): Rename the native Tcl ::unknown
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>.

13 years ago2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
Ben Elliston [Wed, 2 Mar 2011 13:04:48 +0000 (00:04 +1100)]
2011-03-03  Maciej W. Rozycki  <macro@codesourcery.com>

* lib/remote.exp (remote_expect): Pass all exception conditions up
to the caller.

13 years ago2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Ben Elliston [Tue, 1 Mar 2011 10:19:29 +0000 (21:19 +1100)]
2011-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* lib/dg.exp (dg-test): Support nested calls.

14 years ago * testglue.c: Remove duplicated prototypes for abort and exit.
Ben Elliston [Tue, 13 Apr 2010 01:34:18 +0000 (11:34 +1000)]
* testglue.c: Remove duplicated prototypes for abort and exit.

14 years ago * doc/user.xml (Tcl Variables For Command Line Options): Correct
Ben Elliston [Fri, 26 Mar 2010 08:52:38 +0000 (19:52 +1100)]
* doc/user.xml (Tcl Variables For Command Line Options): Correct
column count.

14 years ago * config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.
Ben Elliston [Wed, 20 Jan 2010 23:20:34 +0000 (10:20 +1100)]
* config/gdb-comm.exp (gdb_comm_load): Set breakpoints after load.

14 years agoMerge branch 'master' of ssh://bje@git.sv.gnu.org/srv/git/dejagnu
Ben Elliston [Tue, 19 Jan 2010 09:26:03 +0000 (20:26 +1100)]
Merge branch 'master' of ssh://bje@git.sv.gnu.org/srv/git/dejagnu

14 years ago * baseboards/moxie-sim.exp: New baseboard.
Ben Elliston [Thu, 14 Jan 2010 22:37:44 +0000 (09:37 +1100)]
* baseboards/moxie-sim.exp: New baseboard.

14 years agoupdate copyright date for 2010.
Rob Savoye [Fri, 1 Jan 2010 18:42:39 +0000 (11:42 -0700)]
update copyright date for 2010.

14 years ago * baseboards/rx-sim.exp: New baseboard.
Ben Elliston [Thu, 10 Dec 2009 00:25:09 +0000 (11:25 +1100)]
* baseboards/rx-sim.exp: New baseboard.

14 years ago * MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
Ben Elliston [Wed, 14 Oct 2009 23:42:59 +0000 (10:42 +1100)]
* MAINTAINERS: Remove refererence to Tom Tromey's Tcl style guide.
This web page has disappeared.

15 years ago * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
Ben Elliston [Mon, 6 Jul 2009 11:29:22 +0000 (21:29 +1000)]
* doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Mark up options with
<option> not <emphasis>.  Apply other grammatical fixes from
Reuben Thomas.
* doc/dejagnu.texi: Regenerate.

15 years ago * configure.ac: Check for docbook2x-texi.
Ben Elliston [Mon, 6 Jul 2009 11:19:54 +0000 (21:19 +1000)]
* configure.ac: Check for docbook2x-texi.
* configure: Regenerate.

15 years ago From Reuben Thomas <rrt@sc3d.org>:
Ben Elliston [Mon, 6 Jul 2009 04:14:23 +0000 (14:14 +1000)]
From Reuben Thomas <rrt@sc3d.org>:
* doc/runtest.1: Fix some formatting issues.

15 years agoRename the old ChangeLog.
Ben Elliston [Wed, 24 Jun 2009 12:20:44 +0000 (22:20 +1000)]
Rename the old ChangeLog.

15 years ago * config.guess: Update to most recent version.
Ben Elliston [Tue, 16 Jun 2009 09:44:46 +0000 (19:44 +1000)]
* config.guess: Update to most recent version.
* config.sub: Likewise.

15 years ago * Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
Ben Elliston [Tue, 16 Jun 2009 09:35:10 +0000 (19:35 +1000)]
* Makefile.am (rpm, deb, solpkg, hpdepot): Remove targets.
* Makefile.in: Regenerate.
* packaging: Remove directory and its contents.

15 years ago2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
Ben Elliston [Tue, 9 Jun 2009 23:58:19 +0000 (09:58 +1000)]
2009-06-10  Maciej W. Rozycki  <macro@codesourcery.com>

* config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
breakpoints.

15 years ago * COPYING: Update to GPL version 3.
Ben Elliston [Wed, 3 Dec 2008 11:09:38 +0000 (22:09 +1100)]
* COPYING: Update to GPL version 3.

16 years ago* doc/ref.xml, doc/user.xml: Fix typos.
Ben Elliston [Mon, 7 Apr 2008 11:52:11 +0000 (21:52 +1000)]
* doc/ref.xml, doc/user.xml: Fix typos.
* doc/dejagnu.texi: Regenerate.

16 years agoMake the testsuite work better.
Ben Elliston [Mon, 7 Apr 2008 04:48:21 +0000 (14:48 +1000)]
Make the testsuite work better.

* Makefile.am (RUNTESTDEFAULTFLAGS): Add RUNTEST=$(RUNTEST).
* Makefile.in: Regenerate.
* dejagnu.exp (host_execute): Improve regexp matching.
* testsuite/libdejagnu/unit.cc: C++ fixes.

16 years ago* lib/utils.exp (diff): Open both files as binary.
Ben Elliston [Mon, 7 Apr 2008 03:12:42 +0000 (13:12 +1000)]
* lib/utils.exp (diff): Open both files as binary.

16 years ago* dejagnu.h (totals): Correct typos.
Ben Elliston [Mon, 7 Apr 2008 03:08:48 +0000 (13:08 +1000)]
* dejagnu.h (totals): Correct typos.

16 years ago* doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
Ben Elliston [Mon, 7 Apr 2008 02:57:24 +0000 (12:57 +1000)]
* doc/user.xml (Adding a New Tool, Adding a New Target): Fix typos.
* doc/dejagnu.texi: Regenerate.

16 years ago * doc/runtest.1: Update date of last revision.
Ben Elliston [Mon, 25 Feb 2008 03:31:16 +0000 (14:31 +1100)]
* doc/runtest.1: Update date of last revision.

16 years agoMake switch commands in some baseboard files more robust. From H-P.
Ben Elliston [Mon, 11 Feb 2008 10:48:59 +0000 (21:48 +1100)]
Make switch commands in some baseboard files more robust.  From H-P.

2008-02-11  Hans-Peter Nilsson  <hp@axis.com>

* baseboards/h8300.exp: Use -- before switch argument that may
begin with "-".
* baseboards/cris-sim.exp: Ditto.

16 years agoInstall some omitted baseboard scripts.
Ben Elliston [Mon, 11 Feb 2008 10:46:19 +0000 (21:46 +1100)]
Install some omitted baseboard scripts.

2008-02-11  Hans-Peter Nilsson  <hp@axis.com>

* Makefile.am (baseboard_SCRIPTS): Add scripts cris-sim.exp,
iq2000-sim.exp and m32r-linux-sim.exp.
* Makefile.in: Regenerate.

16 years ago* baseboards/cris-sim.exp: Fix MS-DOS line termination.
Ben Elliston [Fri, 8 Feb 2008 10:04:38 +0000 (21:04 +1100)]
* baseboards/cris-sim.exp: Fix MS-DOS line termination.

16 years agoAdd a .gitignore file for the doc directory.
Ben Elliston [Thu, 7 Feb 2008 05:01:14 +0000 (16:01 +1100)]
Add a .gitignore file for the doc directory.

16 years agoRemove .cvsignore file(s).
Ben Elliston [Mon, 4 Feb 2008 05:41:57 +0000 (16:41 +1100)]
Remove .cvsignore file(s).

16 years ago * lib/target.exp (default_link): Initialize nobjects before use.
Ben Elliston [Thu, 27 Dec 2007 21:54:24 +0000 (21:54 +0000)]
    * lib/target.exp (default_link): Initialize nobjects before use.

16 years agoRemove stray CVS conflict markers.
Ben Elliston [Fri, 7 Dec 2007 00:34:42 +0000 (00:34 +0000)]
Remove stray CVS conflict markers.

16 years ago * lib/dg.exp (dg_bogus): Comment fix.
Ben Elliston [Fri, 7 Dec 2007 00:34:04 +0000 (00:34 +0000)]
* lib/dg.exp (dg_bogus): Comment fix.

16 years ago * lib/framework.exp (open_logs): Line buffer the .sum file.
Ben Elliston [Tue, 30 Oct 2007 21:07:39 +0000 (21:07 +0000)]
* lib/framework.exp (open_logs): Line buffer the .sum file.

16 years ago * doc/user.xml (Configuration): Fix typos.
Ben Elliston [Tue, 4 Sep 2007 10:35:19 +0000 (10:35 +0000)]
* doc/user.xml (Configuration): Fix typos.
* doc/dejagnu.texi: Regenerate.

16 years agoPatch from Daniel Jacobowitz.
Rob Savoye [Tue, 28 Aug 2007 19:01:20 +0000 (19:01 +0000)]
Patch from Daniel Jacobowitz.

17 years ago * doc/user.xml: Correct the syntax for running apt-get on a Debian
Ben Elliston [Thu, 17 May 2007 04:41:02 +0000 (04:41 +0000)]
* doc/user.xml: Correct the syntax for running apt-get on a Debian
GNU/Linux system. From Peter Welte <weltepe@gmail.com>.

17 years ago * baseboards/xtensa-sim.exp: Set target_install. Stop using
Rob Savoye [Mon, 30 Apr 2007 18:17:43 +0000 (18:17 +0000)]
    * baseboards/xtensa-sim.exp: Set target_install.  Stop using
        basic-sim.exp.  Run the simulator with --turbo option.  Replace
        needs_status_wrapper with the simulator's --exit_with_target_code
        option.

17 years agoAdd patch from Bob Wilson.
Rob Savoye [Mon, 30 Apr 2007 17:58:14 +0000 (17:58 +0000)]
Add patch from Bob Wilson.

17 years ago * dejagnu.h: Add support for for expected failures and
Rob Savoye [Sun, 15 Oct 2006 15:46:30 +0000 (15:46 +0000)]
* dejagnu.h: Add support for for expected failures and
unexpected successes.

17 years ago * runtest.exp (usage): Use "triplet" instead of "config name".
Ben Elliston [Tue, 29 Aug 2006 01:49:47 +0000 (01:49 +0000)]
* runtest.exp (usage): Use "triplet" instead of "config name".

18 years ago2006-07-13 Daniel Jacobowitz <dan@codesourcery.com>
Ben Elliston [Fri, 14 Jul 2006 14:26:11 +0000 (14:26 +0000)]
2006-07-13  Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.am (DOCBOOK2RTF): Fix typo.
* Makefile.in: Regenerated.
* lib/libgloss.exp (process_multilib_options): Use -- to handle
options starting with hyphens.

18 years ago2006-06-23 Eric Botcazou <ebotcazou@adacore.com>
Ben Elliston [Thu, 22 Jun 2006 15:47:53 +0000 (15:47 +0000)]
2006-06-23  Eric Botcazou  <ebotcazou@adacore.com>

* libgloss.exp (find_gnatmake): Rewrite.

18 years agoTweak most recent entry.
Ben Elliston [Wed, 14 Jun 2006 00:50:56 +0000 (00:50 +0000)]
Tweak most recent entry.

18 years ago * rsh.exp (rsh_exec): Handle inp and outp arguments. Use
Ben Elliston [Wed, 14 Jun 2006 00:41:01 +0000 (00:41 +0000)]
* rsh.exp (rsh_exec): Handle inp and outp arguments.  Use
local_exec to run rsh.  Return failure if rsh times out.
* remote.exp (local_exec): Handle "|& cat" we added when deciding
whether to return output.

18 years ago * baseboards/cris-sim.exp: Use Tcl fall-through syntax for
Ben Elliston [Thu, 8 Jun 2006 23:58:17 +0000 (23:58 +0000)]
* baseboards/cris-sim.exp: Use Tcl fall-through syntax for
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.

18 years ago * Makefile.am (CONTRIB): New.
Ben Elliston [Tue, 6 Jun 2006 05:35:21 +0000 (05:35 +0000)]
* Makefile.am (CONTRIB): New.
(EXTRA_DIST): Add $(CONTRIB).
(doc/dejagnu.texi): Set directory-category param to docbook2texi.
* Makefile.in: Regenerate.
* doc/dejagnu.texi: Likewise.

18 years ago * runtest.exp (load_lib): Typo fix.
Ben Elliston [Tue, 6 Jun 2006 05:28:27 +0000 (05:28 +0000)]
* runtest.exp (load_lib): Typo fix.

18 years ago * dejagnu.h: Tidy comments.
Ben Elliston [Tue, 6 Jun 2006 05:06:58 +0000 (05:06 +0000)]
* dejagnu.h: Tidy comments.
(_BUFFER_SIZE_): Remove to minimise namespace pollution.
(wait): Define this function unconditionally.  Conditionally
compile the function body if _DEJAGNU_WAIT_ is defined.
(buffer): Set the buffer size explicitly.
(pass): Use sizeof (buffer).  Call wait() unconditionally.
(fail, untested, unresolved, note): Likewise.
(enum teststate): Tidy whitespace.

18 years ago * doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
Ben Elliston [Tue, 6 Jun 2006 04:52:34 +0000 (04:52 +0000)]
* doc/dejagnu.xml, doc/ref.xml, doc/user.xml: Edits.
* doc/dejagnu.texi: Regenerate.

18 years ago Import from GCC tree:
Ben Elliston [Tue, 6 Jun 2006 04:28:11 +0000 (04:28 +0000)]
Import from GCC tree:
2006-06-02  Richard Earnshaw  <rearnsha@arm.com>
    Mike Stump  <mrs@apple.com>

* compare_tests: Handle multilibs better.

18 years ago * doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.
Ben Elliston [Tue, 6 Jun 2006 04:16:13 +0000 (04:16 +0000)]
* doc/dejagnu.texi: Regnerate using Docbook2X 0.8.7.

18 years ago * configure.ac: Check for docbook2texi, not docbook2x-texi. The
Ben Elliston [Tue, 6 Jun 2006 04:13:48 +0000 (04:13 +0000)]
* configure.ac: Check for docbook2texi, not docbook2x-texi.  The
wrapper script changed its name again in the latest release.
* configure: Regenerate.
* Makefile.am (DOCBOOK2X_TEXI): Rename from this ..
(DOCBOOK2TEXI): .. to this.
(doc/dejagnu.texi): Do not use output-file parameter to deposit
the .texi file into the source directory; use mv(1) instead. Set
directory-description parameter.
* Makefile.in: Likewise.

18 years ago * config/sim.exp (sim_upload): Match up argument names.
Ben Elliston [Fri, 2 Jun 2006 05:35:36 +0000 (05:35 +0000)]
* config/sim.exp (sim_upload): Match up argument names.

18 years ago * config.guess: Update to most recent version.
Ben Elliston [Fri, 2 Jun 2006 05:12:11 +0000 (05:12 +0000)]
* config.guess: Update to most recent version.
* config.sub: Likewise.

18 years ago * config/dos.exp (dos_open): Only run global board_info once at
Ben Elliston [Fri, 2 Jun 2006 05:06:24 +0000 (05:06 +0000)]
* config/dos.exp (dos_open): Only run global board_info once at
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.

18 years agoImport this useful script from GCC. It's useful to any DejaGnu user.
Ben Elliston [Fri, 2 Jun 2006 04:13:57 +0000 (04:13 +0000)]
Import this useful script from GCC.  It's useful to any DejaGnu user.

* contrib/compare_tests: Import from the GCC contrib directory.

18 years ago * runtest.exp (verbose): Brace some expressions.
Ben Elliston [Wed, 24 May 2006 01:47:01 +0000 (01:47 +0000)]
* runtest.exp (verbose): Brace some expressions.
(load_file, search_and_load_file): Likewise.
(runtest): Likewise.

18 years ago * config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
Ben Elliston [Tue, 23 May 2006 02:43:22 +0000 (02:43 +0000)]
* config/gdb-comm.exp (gdb_comm_load): Brace some expressions.
* 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.

18 years ago * baseboards/cris-sim.exp: Use switch, not case.
Ben Elliston [Mon, 22 May 2006 07:09:39 +0000 (07:09 +0000)]
* baseboards/cris-sim.exp: Use switch, not case.
* baseboards/h8300.exp: Likewise.
* config/base68k.exp (base68k_ld): Brace an if expression.

18 years ago * runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
Ben Elliston [Mon, 22 May 2006 06:01:35 +0000 (06:01 +0000)]
* runtest.exp, baseboards/basic-sim.exp, baseboards/cf.exp,
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.

18 years ago * lib/framework.exp (open_logs): Use file join where applicable.
Ben Elliston [Mon, 22 May 2006 04:38:42 +0000 (04:38 +0000)]
* lib/framework.exp (open_logs): Use file join where applicable.
* 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.

18 years ago * lib/debugger.exp (watcharray): Add `array' parameter. Rename
Ben Elliston [Mon, 22 May 2006 04:16:45 +0000 (04:16 +0000)]
* lib/debugger.exp (watcharray): Add `array' parameter.  Rename
`type' parameter to `op' and update all uses in the proc.
(watchvar): Add `ignore' parameter for scalar variables.
Likewise, rename `type' to `op' and update throughout the proc.

18 years ago * runtest.exp: Use switch, not case.
Ben Elliston [Mon, 22 May 2006 03:37:04 +0000 (03:37 +0000)]
* runtest.exp: Use switch, not case.
* 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.

18 years ago * lib/debugger.exp (watcharray): Use switch, not case.
Ben Elliston [Mon, 22 May 2006 02:35:28 +0000 (02:35 +0000)]
* lib/debugger.exp (watcharray): Use switch, not case.
(watchvar): Likewise.
(bt): Add an explanatory comment.

18 years ago * lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
Ben Elliston [Thu, 13 Apr 2006 00:54:11 +0000 (00:54 +0000)]
* lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp,
lib/framework.exp, lib/libgloss.exp, lib/remote.exp,
lib/rlogin.exp, lib/target.exp, lib/telnet.exp: Formatting.