Re: [RFA] kfail longjmp.exp tests due to bug 9270

Mark Kettenis
2010-03-18T22:33:24Z

> Date: Thu, 18 Mar 2010 15:16:01 -0700 (PDT)
> From: dje@google.com (Doug Evans)
>
> Anyone mind if I mark these as kfail for amd64?

What makes you think these fail on *all* amd64 platforms?

> 2010-03-18 Doug Evans <dje@google.com>
>
> * gdb.base/longjmp.exp: Mark tests that fail on x86_64 due to
> bug 9270 as kfail.
>
> Index: longjmp.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/longjmp.exp,v
> retrieving revision 1.4
> diff -u -p -r1.4 longjmp.exp
> --- longjmp.exp 1 Jan 2010 07:32:01 -0000 1.4
> +++ longjmp.exp 18 Mar 2010 22:13:19 -0000
> @@ -73,6 +73,7 @@ gdb_test "break $bp_miss_step_1" \
> gdb_test "next" "longjmps\\+\\+;.*" "next over setjmp (1)"
> gdb_test "next" "longjmp \\(env, 1\\);.*" "next to longjmp (1)"
>
> +setup_kfail "gdb/9270" "x86_64-*-*"
> set msg "next over longjmp(1)"
> gdb_test_multiple "next" $msg {
> -re ".*patt1.*$gdb_prompt $" {
> @@ -103,6 +104,7 @@ gdb_test "break $bp_miss_step_2" \
>
> gdb_test "next" "call_longjmp.*" "next over setjmp (2)"
>
> +setup_kfail "gdb/9270" "x86_64-*-*"
> set msg "next over call_longjmp (2)"
> gdb_test_multiple "next" $msg {
> -re ".*patt2.*$gdb_prompt $" {
> @@ -127,4 +129,5 @@ gdb_test "break $bp_start_test_3" \
> "breakpoint at pattern 3 start"
> gdb_test "continue" "patt3.*" "continue to breakpoint at pattern 3 start"
>
> +setup_kfail "gdb/9270" "x86_64-*-*"
> gdb_test "next" "longjmp caught.*" "next over patt3"
>