cvs commit: hugs98/tests testScript.in hugs98/tests/ffi Forms.hs Loaded.output Types.hs forms_aux.c forms_aux.h

reid 2002/06/18 12:14:39 PDT Modified files: tests testScript.in Added files: tests/ffi Forms.hs Loaded.output Types.hs forms_aux.c forms_aux.h Log: First cut at a test suite for the ffi. As you'd expect you do 'sh ./testScript ffi' to run the test. These checks only check that typechecking and code generation works ok for correct input. So far, there are no checks for erroneous input and there are no checks that it executes ok. Revision Changes Path 1.23 +15 -3 hugs98/tests/testScript.in

btw These tests use library specs of the form: [types_aux.c] The ffi spec is silent on the form of library specs so this might be legal and portable - but I wouldn't count on it. If anyone out there chooses to use specs of this form, they should expect to have to change that code sometime in the future. -- Alastair
participants (2)
-
Alastair Reid
-
Alastair Reid