OpenBSD test failures in t/src/extend_vtable.t
Andy Dougherty
doughera at lafayette.edu
Fri Jul 22 14:56:55 UTC 2011
On Thu, 21 Jul 2011, Jonathan "Duke" Leto wrote:
> Howdy,
>
> I wrote these tests originally, and I assumed that anything returned from the
> get_pointer vtable should be a positive integer, since I assumed that all
> memory locations were positive.
>
> That assumption seems to be wrong on OpenBSD.
> I recently modified [0] that test to provide more debugging output, so if you
> update parrot.git and run the test again, it should print out the integer it
> gets from get_pointer. If it is negative, then our test is wrong and your patch
> would work fine. If it is returning 0 or NULL, then something is wrong with the
> get_pointer vtable on OpenBSD.
I won't have the opportunity to test it for a while, but I think it's now
clear that the test should simply be checking for a non-NULL pointer.
I recommend simply changing the test now.
--
Andy Dougherty doughera at lafayette.edu
More information about the parrot-dev
mailing list