bliako has asked for the wisdom of the Perl Monks concerning the following question:
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Increase verbosity of "make test"
by Haarg (Priest) on Oct 11, 2023 at 13:17 UTC | |
by bliako (Abbot) on Oct 11, 2023 at 14:34 UTC | |
by bliako (Abbot) on Oct 12, 2023 at 08:38 UTC | |
by hippo (Archbishop) on Oct 12, 2023 at 11:20 UTC | |
by bliako (Abbot) on Oct 16, 2023 at 22:22 UTC | |
Re: Increase verbosity of "make test"
by Corion (Patriarch) on Oct 11, 2023 at 07:13 UTC | |
by bliako (Abbot) on Oct 11, 2023 at 07:21 UTC | |
Re: Increase verbosity of "make test"
by choroba (Cardinal) on Oct 11, 2023 at 07:13 UTC | |
by bliako (Abbot) on Oct 11, 2023 at 08:26 UTC |