Mention individual test file target in the test Makefile#6871
Mention individual test file target in the test Makefile#6871WalterBright merged 1 commit intodlang:masterfrom
Conversation
|
Already exists: make resultsdir + testname including path +.out |
I know (after all this target gets called), but (1) |
|
The comment is welcome, but I don't think we need the extra Makefile rules. I've observed that the more of those we have, the more painful everything becomes, so we should look for opportunities to shrink our makefiles, not grow them. |
66fd584 to
6516ac4
Compare
Hmm ok. I rebased then. As the target section started to grow, I used plain-text lines to help the reader to immediately visually distinguish between the sections. |
|
I still don't understand why the new rules are needed.
|
Yes convenience. Shell completion works nicely and then you just need to add
Didn't you see that I already changed this PR? |
Somehow my push didn't went through. Sorry about this. The |
Shell completion should be able to partially complete a common prefix, so
Yep, looks good. |
I guess everyone has found his favorite solution over the years, but why not adding a good "out-of-the-box" solution?
I re-open the Makefile as imho that's cleaner than duplicating the build commands (AFAIK there's no nice way in Make to force re-execution of dependencies).