un-XFAIL under Clang tests using labels
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 5 Sep 2019 22:01:25 +0000 (15:01 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 6 Sep 2019 21:17:36 +0000 (14:17 -0700)
gdb/testsuite/
* gdb.base/label.exp: un-XFAIL label related tests under Clang.
* gdb.cp/cplabel.exp: Ditto.
* gdb.linespec/ls-errs.exp: Ditto.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/label.exp
gdb/testsuite/gdb.cp/cplabel.exp
gdb/testsuite/gdb.linespec/ls-errs.exp

index 0f6917a5a045d3eca20a81613654b0601d0a0287..a6a645b81bd2693e8caff0b0741c48055c15d8c9 100644 (file)
@@ -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.
index bce90cb60eae441ef7da3b7c0c8f9a3d0ab3d6ba..ec4851970e31e3822e018b25ef603b7af4db067d 100644 (file)
@@ -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"
index 26818cb1a21deed2e4fc59a5e43d3c85948b7a07..93febd69253bffa0a52a490543213a74d39ab1c6 100644 (file)
@@ -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\."
     }
index 92a858ce264e650473abedbdef20e1edce9da0e2..f031c461cb9707bfec608be9c8457dbd1e18a52e 100644 (file)
@@ -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"
     }