diff mbox

Add vector ABI tests to gnu_vector.exp

Message ID 87egld0xfl.fsf@br87z6lw.de.ibm.com
State New
Headers show

Commit Message

Andreas Arnez June 15, 2015, 4:05 p.m. UTC
On Fri, Jun 12 2015, Ulrich Weigand wrote:

> Andreas Arnez wrote:
>
>> [...]
>> Since GDB has no vector ABI support for x86 and x86_64 targets, most of
>> the new checks are XFAILed there.
>
> As this due to a known GDB problem and not something in the environment,
> that should be a KFAIL, not an XFAIL.

OK, I've opened a bug:

    https://sourceware.org/bugzilla/show_bug.cgi?id=18537

and changed the XFAILs to KFAILs pointing to that bug, as shown by the
patch below.

--
diff mbox

Patch

diff --git a/gdb/testsuite/gdb.base/gnu_vector.exp b/gdb/testsuite/gdb.base/gnu_vector.exp
index 9fe3a27..cf91fbb 100644
--- a/gdb/testsuite/gdb.base/gnu_vector.exp
+++ b/gdb/testsuite/gdb.base/gnu_vector.exp
@@ -180 +180 @@  gdb_test "ptype struct_with_vector_1" "type = struct {\r\n\[\t \]+int i;\r\n\[\t
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -183 +183 @@  gdb_test "print add_some_intvecs(i4a, i4b, 3 * i4a)" "= \\{17, 34, 72, 132\\}" \
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -186 +186 @@  gdb_test "print add_many_charvecs(c4, c4, c4, c4, c4, c4, c4, c4, c4, c4)" \
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -189 +189 @@  gdb_test "print add_various_floatvecs(2, f4a, f4b)" "= \\{3, 6, 16, 20\\}" \
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -198 +198 @@  gdb_continue "add_some_intvecs"
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -206 +206 @@  gdb_test "return (int4) \{4, 2, 7, 6\}" \
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"