[gdb/testsuite] Fix c++/14186 kpass in cpexprs.exp
authorTom de Vries <tdevries@suse.de>
Wed, 19 Feb 2020 12:41:10 +0000 (13:41 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 19 Feb 2020 12:41:10 +0000 (13:41 +0100)
With gdb.cp/cpexprs.exp, we see:
...
KPASS: gdb.cp/cpexprs.exp: p CV::m(int) const (PRMS c++/14186)
KPASS: gdb.cp/cpexprs.exp: p CV::m(int) volatile (PRMS c++/14186)
KPASS: gdb.cp/cpexprs.exp: p CV::m(int) const volatile (PRMS c++/14186)
...

The tests have been KPASSing since Sept 4 2017, due to commit 3693fdb3c8
'Make "p S::method() const::static_var" work too'.

Fix this by removing the corresponding kfail.

gdb/testsuite/ChangeLog:

2020-02-19  Tom de Vries  <tdevries@suse.de>

* gdb.cp/cpexprs.exp: Remove c++/14186 kfail.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/cpexprs.exp

index 49b0affaafc81883783b7b3a9997977eecb96960..b2f20fe38b1adacb99919c46ed8a3427c2e65fc8 100644 (file)
@@ -1,3 +1,7 @@
+2020-02-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
+
 2020-02-19  Tom de Vries  <tdevries@suse.de>
 
        * gdb.base/solib-overlap.exp: Use exec instead of system to execute
index 9ccb94cf402a20b50e5c088c70c2bd7c9093519b..e8b898fa111e88d2aee8559bc787780c53af8651 100644 (file)
@@ -731,9 +731,6 @@ foreach cv {{} { const} { volatile} { const volatile}} {
          pass $test
       }
   }
-  if {"$cv" != ""} {
-      setup_kfail c++/14186 *-*-*
-  }
   gdb_test "p CV::m(int)$cv" [string_to_regexp $correct]
 }
 
This page took 0.069846 seconds and 4 git commands to generate.