diff options
author | Michael Chastain <mec@google.com> | 2003-11-23 18:24:46 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2003-11-23 18:24:46 +0000 |
commit | 4d9eda44f593f5a8d1cd59f76f127d31290a26d4 (patch) | |
tree | c47cce3fab841e80c9a724ef823bdf4344ec5517 /gdb/testsuite/gdb.cp/ambiguous.exp | |
parent | b729099eb3e9178b78da950654963a61e9646535 (diff) | |
download | gdb-4d9eda44f593f5a8d1cd59f76f127d31290a26d4.zip gdb-4d9eda44f593f5a8d1cd59f76f127d31290a26d4.tar.gz gdb-4d9eda44f593f5a8d1cd59f76f127d31290a26d4.tar.bz2 |
2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
reference to gcc_compiled.
Diffstat (limited to 'gdb/testsuite/gdb.cp/ambiguous.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/ambiguous.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/ambiguous.exp b/gdb/testsuite/gdb.cp/ambiguous.exp index 4224b2d..6385dcb 100644 --- a/gdb/testsuite/gdb.cp/ambiguous.exp +++ b/gdb/testsuite/gdb.cp/ambiguous.exp @@ -1,4 +1,4 @@ -# Copyright 1998, 1999 Free Software Foundation, Inc. +# Copyright 1998, 1999, 2003 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 @@ -45,7 +45,7 @@ if [get_compiler_info ${binfile} "c++"] { return -1; } -if { $gcc_compiled } then { continue } +if { [test_compiler_info gcc-*] } then { continue } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug c++}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." |