aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-02-19 13:41:10 +0100
committerTom de Vries <tdevries@suse.de>2020-02-19 13:41:10 +0100
commitd3308cfdec5765e8667fa6f61f75bc36986cdcf9 (patch)
tree4eb4eb99a3ce2abf430640881a65b7eb48428a4b
parentdcf06b89b9129da6988878a77afdd02d3acc2e30 (diff)
downloadgdb-d3308cfdec5765e8667fa6f61f75bc36986cdcf9.zip
gdb-d3308cfdec5765e8667fa6f61f75bc36986cdcf9.tar.gz
gdb-d3308cfdec5765e8667fa6f61f75bc36986cdcf9.tar.bz2
[gdb/testsuite] Fix c++/14186 kpass in cpexprs.exp
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.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.cp/cpexprs.exp3
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 49b0aff..b2f20fe 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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
prelink.
diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp b/gdb/testsuite/gdb.cp/cpexprs.exp
index 9ccb94c..e8b898f 100644
--- a/gdb/testsuite/gdb.cp/cpexprs.exp
+++ b/gdb/testsuite/gdb.cp/cpexprs.exp
@@ -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]
}