[PATCH v2] gnu_vector.exp: Respect `should_kfail' for PR8549
Yao Qi
qiyaoltc@gmail.com
Wed Jan 20 13:49:00 GMT 2016
Andreas Arnez <arnez@linux.vnet.ibm.com> writes:
Hi Andreas,
Patch is OK to me,
> -gdb_test "p res" "\\{4, 2, 7, 6\\}.*" "verify vector return value"
> +set test "verify vector return value"
> +gdb_test_multiple "p res" $test {
> + -re ".*= \\{4, 2, 7, 6\\}\r\n.*$gdb_prompt $" {
> + pass $test
> + }
> + -re ".*= \\{.*\\}\r\n.*$gdb_prompt $" {
> + if { $should_kfail } {
> + # GDB had not actually set the return value, likely due to
> + # PR8549. So accept any return value and emit a KFAIL.
Nit, we need a space between "PR" and "8549".
--
Yao (齐尧)
More information about the Gdb-patches
mailing list