diff options
author | David Taylor <taylor@redhat.com> | 2001-03-08 21:09:23 +0000 |
---|---|---|
committer | David Taylor <taylor@redhat.com> | 2001-03-08 21:09:23 +0000 |
commit | fc33412a6a4c081d87101199cf3f711f89c29fe3 (patch) | |
tree | 1e7b27703870ee07e890fa15242bb831aa208060 /gdb/testsuite/gdb.c++ | |
parent | 7898dedac0f0bd75d7363d13427c4a1e72b66f66 (diff) | |
download | binutils-fc33412a6a4c081d87101199cf3f711f89c29fe3.zip binutils-fc33412a6a4c081d87101199cf3f711f89c29fe3.tar.gz binutils-fc33412a6a4c081d87101199cf3f711f89c29fe3.tar.bz2 |
* gdb.base/annota1.exp: Move test of isnative to earlier in the
file -- to prevent failing when the compile fails but we have no
intention of running the tests anyway.
* gdb.base/long_long.exp: Test target_info for no_long_long, skip
tests if set.
* gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
integers.
* gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
* gdb.c++/namespace.exp: Ditto.
Fix PR gdb/16.
Diffstat (limited to 'gdb/testsuite/gdb.c++')
-rw-r--r-- | gdb/testsuite/gdb.c++/ctti.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.c++/namespace.exp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.c++/ctti.exp b/gdb/testsuite/gdb.c++/ctti.exp index 645a542..96e9fcf 100644 --- a/gdb/testsuite/gdb.c++/ctti.exp +++ b/gdb/testsuite/gdb.c++/ctti.exp @@ -1,4 +1,4 @@ -# Copyright 1998, 1999 Free Software Foundation, Inc. +# Copyright 1998, 1999, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if $tracelevel then { strace $tracelevel } +if { [skip_cplus_tests] } { continue } # Check to see if we have an executable to test. If not, then either we # haven't tried to compile one, or the compilation failed for some reason. diff --git a/gdb/testsuite/gdb.c++/namespace.exp b/gdb/testsuite/gdb.c++/namespace.exp index a88a25a..a30ce0c 100644 --- a/gdb/testsuite/gdb.c++/namespace.exp +++ b/gdb/testsuite/gdb.c++/namespace.exp @@ -1,4 +1,4 @@ -# Copyright 1997, 1998, 2000 Free Software Foundation, Inc. +# Copyright 1997, 1998, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -35,6 +35,7 @@ if $tracelevel then { set prms_id 0 set bug_id 0 +if { [skip_cplus_tests] } { continue } set testfile "namespace" set srcfile ${testfile}.cc |