diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-09-05 15:01:25 -0700 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-09-06 14:17:36 -0700 |
commit | 736b0f76188c7a4d497a5e2255b78af909393afe (patch) | |
tree | 1aead3f8afde428c688f1c818ca7ba21af4f5a71 /gdb/testsuite | |
parent | ead0e69a4ab34d0c689f0c4c310b8d788867da32 (diff) | |
download | gdb-736b0f76188c7a4d497a5e2255b78af909393afe.zip gdb-736b0f76188c7a4d497a5e2255b78af909393afe.tar.gz gdb-736b0f76188c7a4d497a5e2255b78af909393afe.tar.bz2 |
un-XFAIL under Clang tests using labels
gdb/testsuite/
* gdb.base/label.exp: un-XFAIL label related tests under Clang.
* gdb.cp/cplabel.exp: Ditto.
* gdb.linespec/ls-errs.exp: Ditto.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/label.exp | 10 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/cplabel.exp | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.linespec/ls-errs.exp | 3 |
4 files changed, 6 insertions, 14 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0f6917a..a6a645b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-09-06 David Blaikie <dblaikie@gmail.com> + + * gdb.base/label.exp: un-XFAIL label related tests under Clang. + * gdb.cp/cplabel.exp: Ditto. + * gdb.linespec/ls-errs.exp: Ditto. + 2019-09-05 Tom de Vries <tdevries@suse.de> * lib/gdb.exp (cmp_file_string): New proc. diff --git a/gdb/testsuite/gdb.base/label.exp b/gdb/testsuite/gdb.base/label.exp index bce90cb..ec48519 100644 --- a/gdb/testsuite/gdb.base/label.exp +++ b/gdb/testsuite/gdb.base/label.exp @@ -29,34 +29,24 @@ if {![runto_main]} { return -1 } -set has_pr_14500_fixed 1 -if {[test_compiler_info {clang-*-*}]} { - set has_pr_14500_fixed 0 -} - -if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* } gdb_test "break here" \ "Breakpoint.*at.*" \ "breakpoint here" -if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* } gdb_test "break main:there" \ "Breakpoint.*at.*" \ "breakpoint there" -if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* } gdb_test "cont" \ "Breakpoint 3,.*" \ "continue to 'there'" -if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* } gdb_test "cont" \ "Breakpoint 2,.*" \ "continue to 'here'" rerun_to_main -if {!$has_pr_14500_fixed} { setup_xfail clang/14500 *-*-* } gdb_test "cont" \ "Breakpoint 3,.*" \ "continue to 'there' after re-run" diff --git a/gdb/testsuite/gdb.cp/cplabel.exp b/gdb/testsuite/gdb.cp/cplabel.exp index 26818cb..93febd6 100644 --- a/gdb/testsuite/gdb.cp/cplabel.exp +++ b/gdb/testsuite/gdb.cp/cplabel.exp @@ -34,7 +34,6 @@ 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\." } diff --git a/gdb/testsuite/gdb.linespec/ls-errs.exp b/gdb/testsuite/gdb.linespec/ls-errs.exp index 92a858c..f031c46 100644 --- a/gdb/testsuite/gdb.linespec/ls-errs.exp +++ b/gdb/testsuite/gdb.linespec/ls-errs.exp @@ -231,9 +231,6 @@ proc do_test {lang} { foreach x $spaces { test_break "main${x}there" invalid_label "there" "main" - if {[test_compiler_info {clang-*-*}]} { - setup_xfail clang/14500 *-*-* - } test_break "main:here${x}" unexpected "end of input" } |