Dear Monks,
I am trying to investigate failed tests which occur on some CPAN testers' systems but not in mine.
Without excluding other suggestions, I would like to make the command make test more verbose by not suppressing diag and STDERR output for each test. Right now, running make test I get:
... t/11-scripts-pod.t .............................. ok t/12-from-file.t ................................ ... Test Summary Report ------------------- t/12-from-file.t (Wstat: 9 Tests: 11 Fail +ed: 0) Non-zero wait status: 9 Parse errors: No plan found in TAP output
So, I would like to know what's going in t/12-from-file.t and where exactly it gets KILL'ed. Alas the output is opaque.
I have read here https://stackoverflow.com/a/5307376 that running make test TEST_VERBOSE=1 will do exactly what I want.
The problem is I don't know how to tell CPAN testers to run make test TEST_VERBOSE=1 (and not the default make test).
The furthest I got was to add ANOTHER make test target in the produced Makefile, with increased verbosity flags, to be run after the usual make test via the MY::postamble technique (using ExtUtils::MakeMaker, e.g. see Re: Benchmarks target in Makefile). The caveat is that I am not sure it will go ahead if previous Makefile target has failed. I think it does not.
Is there a solution to this?
bw, bliako
In reply to Increase verbosity of "make test" by bliako
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |