in reply to Re: Benchmarks target in Makefile
in thread Benchmarks target in Makefile
My other thought, after reading your most recent post: your benchmarks are seeming rather like the concept of "author tests", which I (and other CPAN authors I've seen) put in the 'xt' directory rather than the 't' directory. See this snippet from my already-linked Makefile.PL preamble:
You could then populate this temporary TEST_FILES value with the $h{BENCHMARK_FILES}. Or, you could still call it your bench target, but use syntax like the above to make it more like the rest of the Makefile.# run author-tests on the original authtest :: $(TEST_D) xt && $(MAKE) test TEST_FILES='xt/*.t'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Benchmarks target in Makefile
by bliako (Abbot) on Jun 20, 2018 at 17:22 UTC |