[PATCH 11/11] Update test cases that work with minimal encodings

Tom de Vries tdevries@suse.de
Tue Apr 28 06:38:27 GMT 2020


On 08-04-2020 19:54, Tom Tromey wrote:
> -    gdb_test "ptype x" \
> +    gdb_test_multiple "print x" "" {
> +	-re -wrap $pass_re {
> +	    pass $gdb_test_name
> +	}
> +	-re -wrap $kfail_re {
> +	    if {$scenario == "minimal"} {
> +		setup_kfail "gnat compiler bug" *-*-*
> +	    }
> +	    fail $gdb_test_name
> +	}
> +    }

The wording "gnat compiler bug" suggest that this is an xfail (a problem
in the environment), not a kfail (a problem in the tool, in other words,
gdb).

Thanks,
- Tom


More information about the Gdb-patches mailing list