This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: un-kfail PR 11289 tests
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 02 Aug 2011 14:59:24 -0600
- Subject: FYI: un-kfail PR 11289 tests
I'm checking this in.
I noticed today that PR 11289 is fixed -- but the tests are not correct,
so they still show up as KFAILs.
Built and regtested by the buildbot.
Tom
2011-08-02 Tom Tromey <tromey@redhat.com>
PR gdb/11289:
* gdb.cp/overload.exp: Fix regexps. Remove kfails.
diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp
index 8f312e4..adfd770 100644
--- a/gdb/testsuite/gdb.cp/overload.exp
+++ b/gdb/testsuite/gdb.cp/overload.exp
@@ -315,13 +315,10 @@ gdb_test "list '${srcfile}:intToChar(char)'" "int intToChar.*"
gdb_test "list '${srcfile}':intToChar(char)" "int intToChar.*"
gdb_test "list '${srcfile}':'intToChar(char)'" "int intToChar.*"
-# And with filename and namespace... which does not work.
+# And with filename and namespace.
-setup_kfail gdb/11289 *-*-*
-gdb_test "list ${srcfile}:foo::overloadfnarg(int)" "int foo::overloadfnarg"
-
-setup_kfail gdb/11289 *-*-*
-gdb_test "list ${srcfile}:'foo::overloadfnarg(int)'" "int foo::overloadfnarg"
+gdb_test "list ${srcfile}:foo::overloadfnarg(int)" "int foo::overloadfnarg.*}"
+gdb_test "list ${srcfile}:'foo::overloadfnarg(int)'" "int foo::overloadfnarg.*}"
# Now some tests to see how overloading and namespaces interact.