Testsuite fixes (was Re: [PATCH] Fix libffi on m68k-linux-gnu, completely)
authorThorsten Glaser <tg@mirbsd.de>
Mon, 3 Dec 2012 00:02:31 +0000 (00:02 +0000)
committerAnthony Green <green@moxielogic.com>
Mon, 7 Jan 2013 11:22:51 +0000 (06:22 -0500)
commit0de3277b18cf54be3b81d509b9be9b47d9bc1e82
tree9d8e65a014aa9f9215925dc680e089fd00d03b38
parent8f4772f383abd71cfa141c8a70ba11c1aa4ebe2c
Testsuite fixes (was Re: [PATCH] Fix libffi on m68k-linux-gnu, completely)

Dixi quod…

>although I believe some 3.0.11 checks to be broken:

And indeed, with a few minor changes on top of git master,
I still get a full run of PASS plus one XPASS on amd64-linux!

With the other patches (from this message’s parent) and
these applied, I get a full PASS on m68k-linux as well.

So, please git am these three diffs ☺

bye,
//mirabilos
--
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
From 5cb15a3bad1f0fb360520dd48bfc938c821cdcca Mon Sep 17 00:00:00 2001
From: Thorsten Glaser <tg@mirbsd.org>
Date: Sun, 2 Dec 2012 23:20:56 +0000
Subject: [PATCH 1/2] Fix tests writing to a closure retval via pointer casts

As explained in <Pine.BSM.4.64L.1212022014490.23442@herc.mirbsd.org>
all other tests that do the same cast to an ffi_arg pointer instead.

PASS on amd64-linux (Xen domU) and m68k-linux (ARAnyM)

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
testsuite/libffi.call/cls_uchar_va.c
testsuite/libffi.call/cls_ushort_va.c
testsuite/libffi.call/va_1.c