Ben Elliston
126a089777
* 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.
15 years ago
Ben Elliston
c24622e0f2
* runtest: Remove trailing semicolons.
* lib/rsh.exp: Likewise.
15 years ago
Ben Elliston
50a378f626
2011-03-15 H.J. Lu <hjl.tools@gmail.com>
* lib/remote.exp (local_exec): Ignore SIGHUP.
15 years ago
Ben Elliston
0b27348f64
* 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.
15 years ago
Ben Elliston
1ed066c11e
Upgrade to GPL version 3.
15 years ago
Ben Elliston
9dc6ca1204
* 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>.
15 years ago
Ben Elliston
119f94fff1
2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
* lib/remote.exp (remote_expect): Pass all exception conditions up
to the caller.
15 years ago
Ben Elliston
fd708571bd
2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/dg.exp (dg-test): Support nested calls.
15 years ago
Rob Savoye
f89e729b3f
update copyright date for 2010.
16 years ago
Ben Elliston
7cd597d12f
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.
18 years ago
Ben Elliston
7366d4887c
* lib/utils.exp (diff): Open both files as binary.
18 years ago
Ben Elliston
19fa183195
* lib/target.exp (default_link): Initialize nobjects before use.
19 years ago
Ben Elliston
d341192e6c
* lib/dg.exp (dg_bogus): Comment fix.
19 years ago
Ben Elliston
237db45be9
* lib/framework.exp (open_logs): Line buffer the .sum file.
19 years ago
Rob Savoye
3f39294f5c
Patch from Daniel Jacobowitz.
19 years ago
Ben Elliston
aad6a8333e
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.
20 years ago
Ben Elliston
db93e372db
2006-06-23 Eric Botcazou <ebotcazou@adacore.com>
* libgloss.exp (find_gnatmake): Rewrite.
20 years ago
Ben Elliston
00f38dcd28
* 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.
20 years ago
Ben Elliston
3f5ac97eac
* 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.
20 years ago
Ben Elliston
9190b14c8e
* 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.
20 years ago
Ben Elliston
7f62e93865
* 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.
20 years ago
Ben Elliston
433e1aeb52
* 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.
20 years ago
Ben Elliston
b6feeb8172
* 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.
20 years ago
Ben Elliston
7525491985
* 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.
20 years ago
Ben Elliston
a7964f9e4e
* 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.
20 years ago
Ben Elliston
24ac1d99e8
* lib/debugger.exp (watcharray): Use switch, not case.
(watchvar): Likewise.
(bt): Add an explanatory comment.
20 years ago
Ben Elliston
974f319287
* 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.
20 years ago
Ben Elliston
97ce888132
* config/default.exp, config/unix.exp, config/vxworks.exp,
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.
21 years ago
Ben Elliston
1e1634771b
* lib/remote.exp: Tidy.
* lib/targetdb.exp: Likewise.
* lib/target.exp (prune_warnings): Improve comments.
* lib/dejagnu.exp: Likewise.
* lib/utils.exp: Likewise.
21 years ago
Ben Elliston
5a57e9e6dd
* lib/rsh.exp: Tidy comments.
21 years ago
Ben Elliston
ea0797f447
* lib/telnet.exp (telnet_transmit): Remove; use standard method.
21 years ago
Ben Elliston
b4024ef1e3
Update copyright year.
21 years ago
Ben Elliston
d0b474c19a
* lib/tip.exp (tip_open): Improve comments.
(tip_download): Likewise.
21 years ago
Ben Elliston
dad85e81ed
* lib/telnet.exp (telnet_open): Improve option handling. Clarify
documentation for each proc.
21 years ago
Ben Elliston
9ba8e472a8
Import some missing hunks from this patch on sourceware:
2004-11-11 Nick Clifton <nickc@redhat.com>
* lib/libgloss.exp (libio_include_flags, g++_include_flags,
winsup_include_flags): Revert previous patch, restoring the use of
-I, for all libraries except newlib. Newlib needs -isystem to
avoid the problems with <limits.h> but the C++ and winsup
libraries need -I because -isystem generates an implicit 'extern
"C"' which may not be appropriate for certain targets.
21 years ago
Ben Elliston
0b9cac6ff4
* Update the FSF's physical address throughout.
21 years ago
Rob Savoye
c73ac7ccb5
2005-04-28 Mark Kettenis <kettenis@gnu.org>
* lib/target.exp (prune_warnings): Add a few more linker
warning patterns for OpenBSD.
21 years ago
Rob Savoye
8139152f1c
Minor addition to OpenBSD prune warning.
21 years ago
Rob Savoye
46b8c1dd80
Adjust OpenBSD warning in prune_warnings.
21 years ago
Rob Savoye
cb7e32ad91
from Mark Kettenis <kettenis@gnu.org>
* lib/target.exp (prune_warnings): Add linker warning patterns for
OpenBSD.
21 years ago
Rob Savoye
3b621ff766
2004-11-19 Nick Clifton <nickc@redhat.com>
* lib/libgloss.exp (newlib_include_flags): Document why -isystem
is used instead of -I.
(libio_include_flags): Use -I instead of -isystem and
document why.
(g++_include_flags): Use -I instead of -isystem.
(libstdc++_include_flags): Likewise.
22 years ago
Ben Elliston
c010382df8
* lib/dg.exp (dg-test): If a `dg-do run' test fails to compile,
mark the test as unresolved, rather than warning.
22 years ago
Ben Elliston
a4596b85c4
* lib/libgloss.exp (build_wrapper): Remove redundant set command.
22 years ago
Rob Savoye
e2ab05f8e5
Tue Feb 25 05:19:57 UTC 2003 Brendan Conoboy <blc@@redhat.com>
* lib/remote.exp (call_remote): Remove multilibs from the board
name when rebooting a board.
22 years ago
Rob Savoye
81264c6f85
2004-03-29 Joel Brobecker <brobecker@gnat.com>
* lib/libgloss.exp (find_gnatmake): New procedure.
* lib/target.exp (default_target_compile): Add support for Ada.
22 years ago
Rob Savoye
f3516b6529
2004-04-02 Rob Savoye <rob@direwolf.welcomehome.org>
* configure.ac, example/Makefile.am: Add example/mathhelper.
* configure, alocal.m4, example/Makefile.in: Regenerated.
2004-04-02 Joel Sherrill <joel@OARcorp.com>
* example/mathhelper: New example for using the unit testing API.
2004-03-05 Daniel Jacobowitz <drow@mvista.com>
* lib/remote.exp (standard_spawn): Fix rsh username support.
22 years ago
Ben Elliston
7eccecb752
* lib/standard.exp: Tidy.
22 years ago
Ben Elliston
17cf7a3dd7
* Makefile.am (pkgdata_SCRIPTS): Remove lib/mondfe, lib/xsh.exp.
(config_SCRIPTS): Remove udi.exp, vrtx.exp.
(baseboard_SCRIPTS): Remove a29k-udi.exp.
* Makefile.in: Regenerate.
* baseboards/a29k-udi.exp: Remove.
* baseboards/dos.exp: Update comments.
* config/udi.exp: Remove.
* config/vrtx.exp: Remove.
* doc/overview.sgml: Update. Don't mention mondfe and xsh support.
* doc/ref.sgml: Likewise.
* doc/user.sgml: Likewise.
* lib/mondfe.exp: Remove.
* lib/xsh.exp: Likewise.
* lib/remote.exp: Don't load mondfe.exp or xsh.exp.
* packaging/pkg/prototype: Update.
* NEWS: Update.
22 years ago
Ben Elliston
9b15dbbaf2
* util-defs.exp only exists to support testing lib/utils.exp, so move
it to the testsuite/lib directory and out of users' sight.
* lib/util-defs.exp: Move from here ..
* testsuite/lib/util-defs.exp: .. to here.
* Makefile.am (EXTRA_DIST): Remove lib/util-defs.exp.
* Makefile.in: Regenerate.
* testsuite/Makefile.am (EXTRA_DIST): Add lib/util-defs.exp.
* testsuite/Makefile.in: Regenerate.
* doc/ref.sgml (File Map): Remove util-defs.exp.
* packaging/pkg/prototype: Update file list.
22 years ago
Ben Elliston
be2ee77ded
* lib/target.exp (prune_warnings): Add spaces where required in
NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
22 years ago