Am 09.12.2014 um 05:29 schrieb sisyph...@optusnet.com.au:

> 
> From: David Golden
> [snip]
>> For your hand-rolled config test, after each one, you could just save the 
>> $out variable to files with different names and then have a .t file read 
>> them and dump them with diag().
> 
> Oh, yes - that makes better sense than re-compiling and re-running the 
> executables.
> Thanks for the clear thinking.

It is reasonable to rewrite your tests using Config::AutoConf.

* you'll benefit from all test changes the module receives during continued 
development
* all test results are written to "config.log" in the cwd (or any other file 
when constructed appropriate)

An appropriate t/showlog.t could look like:

Attachment: showlog.t
Description: Binary data


You can prove that by downloading 
https://cpan.metacpan.org/authors/id/R/RE/REHSACK/Unix-Statgrab-0.105_001.tar.gz
 and view config.log after "perl Makefile.PL"


Cheers
-- 
Jens Rehsack
rehs...@gmail.com

Reply via email to