public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-keiths-linespec-rewrite: * testsuite/gdb.base/list.exp: Revert previous "invalid" tests. * testsuite/gdb.cp/overload.exp: Likewise. * testsuite/gdb.cp/static-method.exp: Likewise.
@ 2012-03-26 18:50 kseitz
0 siblings, 0 replies; only message in thread
From: kseitz @ 2012-03-26 18:50 UTC (permalink / raw)
To: archer-commits
The branch, archer-keiths-linespec-rewrite has been updated
via 992d767c35cd36d9bae8a1ccefd48645464070cd (commit)
from e4e9b34c8f64d9a2c9d56174206f2ef1f5fe99fb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 992d767c35cd36d9bae8a1ccefd48645464070cd
Author: Keith Seitz <keiths@redhat.com>
Date: Mon Mar 26 11:49:26 2012 -0700
* testsuite/gdb.base/list.exp: Revert previous "invalid" tests.
* testsuite/gdb.cp/overload.exp: Likewise.
* testsuite/gdb.cp/static-method.exp: Likewise.
-----------------------------------------------------------------------
Summary of changes:
gdb/testsuite/gdb.base/list.exp | 2 +-
gdb/testsuite/gdb.cp/overload.exp | 1 +
gdb/testsuite/gdb.cp/static-method.exp | 5 +++++
3 files changed, 7 insertions(+), 1 deletions(-)
First 500 lines of diff:
diff --git a/gdb/testsuite/gdb.base/list.exp b/gdb/testsuite/gdb.base/list.exp
index d00159d..d1358c3 100644
--- a/gdb/testsuite/gdb.base/list.exp
+++ b/gdb/testsuite/gdb.base/list.exp
@@ -468,7 +468,7 @@ proc test_list_filename_and_function {} {
pass "list filename:function ($testcnt tests)"
# Test with quoting.
- gdb_test "list 'list0.c':'main'" "int main.*"
+ gdb_test "list 'list0.c:main'" "int main.*"
# Test some invalid specs
# The following test takes the FIXME result on most systems using
diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp
index f3e56c7..5116e5f 100644
--- a/gdb/testsuite/gdb.cp/overload.exp
+++ b/gdb/testsuite/gdb.cp/overload.exp
@@ -306,6 +306,7 @@ gdb_test "list \"foo::overloadfnarg(int, int (*)(int))\"" \
gdb_test "list ${srcfile}:intToChar" "int intToChar.*"
gdb_test "list ${srcfile}:intToChar(char)" "int intToChar.*"
gdb_test "list ${srcfile}:'intToChar(char)'" "int intToChar.*"
+gdb_test "list '${srcfile}:intToChar(char)'" "int intToChar.*"
gdb_test "list '${srcfile}':intToChar(char)" "int intToChar.*"
gdb_test "list '${srcfile}':'intToChar(char)'" "int intToChar.*"
diff --git a/gdb/testsuite/gdb.cp/static-method.exp b/gdb/testsuite/gdb.cp/static-method.exp
index 576666c..6e086f3 100644
--- a/gdb/testsuite/gdb.cp/static-method.exp
+++ b/gdb/testsuite/gdb.cp/static-method.exp
@@ -95,6 +95,11 @@ foreach test $methods {
&& !$have_gcc_45682_fixed} {
setup_xfail gcc/45682 "*-*-*"
}
+ gdb_test "list '${srcfile}:$test'" $result
+ if {[string compare $test "xxx::${ans}::A::func"] == 0
+ && !$have_gcc_45682_fixed} {
+ setup_xfail gcc/45682 "*-*-*"
+ }
gdb_test "list '${srcfile}':'$test'" $result
if {[string compare $test "xxx::${ans}::A::func"] == 0
&& !$have_gcc_45682_fixed} {
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-26 18:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26 18:50 [SCM] archer-keiths-linespec-rewrite: * testsuite/gdb.base/list.exp: Revert previous "invalid" tests. * testsuite/gdb.cp/overload.exp: Likewise. * testsuite/gdb.cp/static-method.exp: Likewise kseitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).