Makefile.SH: Add 'test_regex_tests' as make target - #24679
Conversation
With variant 'make-regex-tests'. This runs 'make test_prep', then runs the harness over all the 're/*.t ../ext/re/t/*.t' tests you expect.
|
Wouldn't it be better to just fix This could be by depending on Otherwise you could depend on the dynamic I suspect that might be pushing your technical knowledge a bit. (looking at it, I think |
|
One change I'm considering in this pull request ... The target name Thoughts? |
|
I still don't think we need another name here. |
@tonycoz, if you think that the existing |
With variant
make-regex-tests. This runsmake test_prep, then runs the harness over all there/*.t ../ext/re/t/*.ttests you expect.Today I was in a situation where I wanted to run all the customary tests exercising regular expressions. I vaguely recalled that we had a
maketarget calledmake test_reonlyand naively called:But that ended with:
I spent some time peering into
Makefile.SHand noted thattest_reonlyhad a dependency ontest_prep_reonlybut not ontest_prep.To make a long story short, I didn't get a DWIM result until I added this target with a patch:
... which ends nicely with this:
Let's add this to
Makefile.SH.