Skip Menu |

This queue is for tickets about the Devel-CheckLib CPAN distribution.

Report information
The Basics
Id: 50015
Status: resolved
Priority: 0/
Queue: Devel-CheckLib

People
Owner: Nobody in particular
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.6
Fixed in: (no value)



Subject: option to pass through test C source code
This is a great module! Should be standard for all XS packages... and ideally also standard arguments to specify INCLUDE/LIB search paths in Makefile.PL should exist... One suggestion though: I saw that there is a simple, but hardcoded print $ch "int main(void) { return 0; }\n"; in the code. Why not make that an option parameter in the assert_lib() function? I.e., allow the user to specify own code (the body in main { ...}). This would allow to add more meaningful code for the library, so that e.g. also the existance of symbols in the library can be tested in the link step. I can work on a patch for this, if you'd prefer not to implement it yourself. All the best, Marek
This will be in 0.7, which is currently under development