in reply to Re: Testing Inline::C Modules
in thread Testing Inline::C Modules

It's also very easy to write some quick C code to chuck out test results in the format that Test::Harness expects. You can then have a normal *.t script fire it off and get your C tests integrated into your Perl test suite.

I wonder if that's more difficult than it sounds. I seem to recall that there's a lot of special case code in the Test:: modules to deal with VMS quirks (and a quick grep confirms this). I suppose I could just forget about VMS, but I don't like that thought. Have you any experience with this?

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re^3: Testing Inline::C Modules
by adrianh (Chancellor) on Feb 12, 2004 at 00:08 UTC

    No experience of doing it on VMS boxes, but I can't really see how it would cause problems. All you're doing is printing "ok" and "no ok" to STDOUT after all.

    I've used C and even (gasp) PHP in this sort of way in the past without problems on various Unix boxes.