timbunce / devel-nytprof

Devel::NYTProf is a powerful feature-rich source code profiler for Perl. (Mostly in maintenance mode, so PRs are much more likely to be acted upon than Issues.)
http://blog.timbunce.org/tag/nytprof/
67 stars 51 forks source link

Add 'test_author' 'make' target (and alias 'atest') #175

Closed jkeenan closed 3 years ago

jkeenan commented 3 years ago

Add envvar NYTPROF_AUTHOR_TESTING. 'make test_author' and 'make atest' will set this envvar true, thereby causing certain unit tests within the test suite and/or test files to run only when needed by NYTProf developers.

Accordingly, move 90-pod.t back into t/ from xt/, but have this run only when NYTPROF_AUTHOR_TESTING is set.

This should have a favorable impact on https://github.com/timbunce/devel-nytprof/issues/174.

jkeenan commented 3 years ago

I had hoped to have Travis and AppVeyor run 'make test_author' but have not yet figured out how to update the configuration files. So that will be handled in a separate pull request.

jkeenan commented 3 years ago

Merged into master in commit 3864290e695737eeb6c1dd8156ec1d7fbf19f83c