hugs ffi, cygwin

Alastair Reid alastair@reid-consulting-uk.ltd.uk
Fri, 03 Jan 2003 14:09:11 +0000


> I ran some of the tests by hand in tests/ffi, and they seem
> fine. There is no real hard-core marshalling in there, so I will
> check that out by hand later. (i have some code I wrote for work
> that should do the trick)

We would love to get more test cases.  What we have at the moment is
little more than a white box test of each feature I implemented -
black box tests, more comprehensive tests and tests of the limits of
the system would be especially valuable.  We tend to swap back and
forth with the GHC test suite so test cases would be especially
valuable since they might flush out differences between the GHC and
Hugs implementations.

> So.... so far cygwin works like any unix platform except for the
> problem with the exit codes. I dont know what is going on there.

Hmmm, this sounds vaguely familiar.  IIRC, there were some recent
changes inside Hugs to avoid using 'system' on Windows platforms since
it didn't do error codes correctly.  Either we weren't thorough enough
in applying these changes or we need to make them in the testing
script as well (which is a piece of shell/perl script).

--
Alastair Reid                 alastair@reid-consulting-uk.ltd.uk  
Reid Consulting (UK) Limited  http://www.reid-consulting-uk.ltd.uk/alastair/