aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-13 11:42:02 -0700
committerDavid Blaikie <dblaikie@gmail.com>2014-04-24 20:20:46 -0700
commitc2e827ad5340fcf1735df6c77cb0311e56b985ef (patch)
tree2f806a7951bc7ec0fb48f66b78e352e1600b0689 /gdb/testsuite/gdb.cp
parent4c2d33e7a2309f4cec2a1a850c53e8f6e147e5fd (diff)
downloadgdb-c2e827ad5340fcf1735df6c77cb0311e56b985ef.zip
gdb-c2e827ad5340fcf1735df6c77cb0311e56b985ef.tar.gz
gdb-c2e827ad5340fcf1735df6c77cb0311e56b985ef.tar.bz2
XFAIL under Clang tests using labels
gdb/testsuite/ * gdb.base/label.exp: XFAIL label related tests under Clang. * gdb.cp/cplabel.exp: Ditto. * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL under Clang those using labels.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/cplabel.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/cplabel.exp b/gdb/testsuite/gdb.cp/cplabel.exp
index a9cbfec..9c0e7fe 100644
--- a/gdb/testsuite/gdb.cp/cplabel.exp
+++ b/gdb/testsuite/gdb.cp/cplabel.exp
@@ -34,6 +34,7 @@ set labels {"to_the_top" "get_out_of_here"}
foreach m $methods {
foreach l $labels {
set line [gdb_get_line_number "$m:$l"]
+ if {[test_compiler_info {clang-*-*}]} { setup_xfail clang/14500 *-*-* }
gdb_test "break foo::$m:$l" \
"Breakpoint $decimal at $hex: file .*$srcfile, line $line\."
}