diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-12-19 13:37:34 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-12-19 13:37:34 +0000 |
commit | 13ac8d2c29bd346711448e3d6630d231e46fb70d (patch) | |
tree | e3406b81c583ed43e1393b4ae1b6b9a78406434f /gdb/testsuite | |
parent | a53e62cf5654e07a8d78ce5c8f7d386565c2c17d (diff) | |
download | gdb-13ac8d2c29bd346711448e3d6630d231e46fb70d.zip gdb-13ac8d2c29bd346711448e3d6630d231e46fb70d.tar.gz gdb-13ac8d2c29bd346711448e3d6630d231e46fb70d.tar.bz2 |
gdb/doc/
* gdbint.texinfo (Testsuite): Describe KFAIL and XFAIL in Writing
tests.
gdb/testsuite/
* gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
by XFAIL.
* gdb.cp/static-method.exp (info addr A::func())
(list static-method.cc:xxx::(anonymous namespace)::A::func)
(list 'static-method.cc:xxx::(anonymous namespace)::A::func')
(list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
(list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
* gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
(test value of F in k3_m): Likewise.
* gdb.python/py-type.exp (python print ttype.template_argument(2)):
Likewise.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 14 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/ptype-cv-cp.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/static-method.exp | 11 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/temargs.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-type.exp | 2 |
5 files changed, 25 insertions, 10 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index fe12c18..f618349 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,19 @@ 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com> + * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL + by XFAIL. + * gdb.cp/static-method.exp (info addr A::func()) + (list static-method.cc:xxx::(anonymous namespace)::A::func) + (list 'static-method.cc:xxx::(anonymous namespace)::A::func') + (list 'static-method.cc':'xxx::(anonymous namespace)::A::func') + (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise. + * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m) + (test value of F in k3_m): Likewise. + * gdb.python/py-type.exp (python print ttype.template_argument(2)): + Likewise. + +2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com> + * gdb.threads/attach-stopped.exp (continue (*: attach2 continue)) (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping): Remove. diff --git a/gdb/testsuite/gdb.cp/ptype-cv-cp.exp b/gdb/testsuite/gdb.cp/ptype-cv-cp.exp index 254f889..21b4365 100644 --- a/gdb/testsuite/gdb.cp/ptype-cv-cp.exp +++ b/gdb/testsuite/gdb.cp/ptype-cv-cp.exp @@ -37,5 +37,5 @@ gdb_test "whatis v_const_volatile_my_int" "type = const_volatile_my_int" gdb_test "ptype v_const_volatile_my_int" "type = const volatile int" gdb_test "whatis v_volatile_const_my_int" "type = volatile_const_my_int" -setup_kfail "gcc/45997" *-*-* +setup_xfail "gcc/45997" "*-*-*" gdb_test "ptype v_volatile_const_my_int" "type = const volatile int" diff --git a/gdb/testsuite/gdb.cp/static-method.exp b/gdb/testsuite/gdb.cp/static-method.exp index 21e3747..79b53ab 100644 --- a/gdb/testsuite/gdb.cp/static-method.exp +++ b/gdb/testsuite/gdb.cp/static-method.exp @@ -60,7 +60,8 @@ gdb_test_multiple $test $test { pass $test } -re "Symbol \"A::func\\(\\)\" is a function at address .*\r\n$gdb_prompt $" { - kfail gcc/45682 $test + setup_xfail gcc/45682 "*-*-*" + fail $test set have_gcc_45682_fixed 0 } } @@ -87,22 +88,22 @@ foreach test $methods { # with the filename pre-pended. if {[string compare $test "xxx::${ans}::A::func"] == 0 && !$have_gcc_45682_fixed} { - setup_kfail gcc/45682 "*-*-*" + setup_xfail gcc/45682 "*-*-*" } gdb_test "list ${srcfile}:$test" $result if {[string compare $test "xxx::${ans}::A::func"] == 0 && !$have_gcc_45682_fixed} { - setup_kfail gcc/45682 "*-*-*" + setup_xfail gcc/45682 "*-*-*" } gdb_test "list '${srcfile}:$test'" $result if {[string compare $test "xxx::${ans}::A::func"] == 0 && !$have_gcc_45682_fixed} { - setup_kfail gcc/45682 "*-*-*" + setup_xfail gcc/45682 "*-*-*" } gdb_test "list '${srcfile}':'$test'" $result if {[string compare $test "xxx::${ans}::A::func"] == 0 && !$have_gcc_45682_fixed} { - setup_kfail gcc/45682 "*-*-*" + setup_xfail gcc/45682 "*-*-*" } gdb_test "list ${srcfile}:'$test'" $result diff --git a/gdb/testsuite/gdb.cp/temargs.exp b/gdb/testsuite/gdb.cp/temargs.exp index d094c5a..f97b5ab 100644 --- a/gdb/testsuite/gdb.cp/temargs.exp +++ b/gdb/testsuite/gdb.cp/temargs.exp @@ -176,7 +176,7 @@ if $have_older_template_gcc { setup_xfail "*-*-*" } gdb_test "ptype F" "type = void \\\(S::\\\*\\\)\\\(S \\\* const\\\)" \ "test type of F in k2_m" -setup_kfail gcc/49366 "*-*-*" +setup_xfail gcc/49366 "*-*-*" gdb_test "print F" "&S::somefunc" "test value of F in k2_m" # @@ -189,10 +189,10 @@ gdb_test "print F" "&S::somefunc" "test value of F in k2_m" gdb_continue_to_breakpoint "continue to sixth breakpoint for temargs" if $have_older_template_gcc { setup_xfail "*-*-*" -} else { setup_kfail gcc/49546 "*-*-*" } +} else { setup_xfail gcc/49546 "*-*-*" } gdb_test "ptype F" {type = void \(\*\)\(int\)} "test type of F in k3_m" if $have_older_template_gcc { setup_xfail "*-*-*" -} else { setup_kfail gcc/49546 "*-*-*" } +} else { setup_xfail gcc/49546 "*-*-*" } gdb_test "print F" { = \(void \(\*\)\(int\)\) 0x[0-9a-f]+ <S3::m\(int\)>} \ "test value of F in k3_m" diff --git a/gdb/testsuite/gdb.python/py-type.exp b/gdb/testsuite/gdb.python/py-type.exp index 056f4e1..b5e6ff9 100644 --- a/gdb/testsuite/gdb.python/py-type.exp +++ b/gdb/testsuite/gdb.python/py-type.exp @@ -193,7 +193,7 @@ proc test_template {} { gdb_test "python print isinstance(ttype.template_argument(1), gdb.Value)" \ "True" - setup_kfail "gcc/41736" *-*-* + setup_xfail "gcc/41736" *-*-* gdb_test "python print ttype.template_argument(2)" "&C::c" } |