Conversation
chreekat
left a comment
There was a problem hiding this comment.
I have pointed out a few typical mistakes made by agents of the current era. There are more to be found. I suggest taking a look and trying to improve its output.
|
Sorry to rain on your parade with this review. I do appreciate that you tackled the issue I raised! The new test looks fine; if the impl was cleaned up I'm sure this would actually fix my problem. |
4397493 to
c426385
Compare
|
@chreekat Thanks for the review; this time I decided to take a closer look. I hope you'll find time for another review :) |
|
The cabal/doc/cmd-v2-help/test.txt Lines 349 to 351 in aeb7dbf Lines 1340 to 1344 in aeb7dbf |
|
@philderbeast Thanks, I've left a note. |
|
When reviewing, I added some 0001-Add-tests-for-running-all-tests-that-exist.patch I'm not sure what the behaviour should be when the targets are 0002-Failures-with-p-tests-and-q-tests.patch If we do want the behaviour to be the same with 0003-Behave-the-same-with-tests-targets.patch |
|
#12376 has merged so rebasing should enable that failing test to now pass. |
Adds cabal-testsuite/PackageTests/NewBuild/CmdTest/NoTests covering cabal v2-test with the p q, all, all:tests, q and q:tests targets, each with and without --test-fail-when-no-test-suites. Kind-filtered package targets that come up empty (q:tests when q has no test suites, all:tests when no package has test suites) are now skipped with a notice like plain package targets, instead of failing the command.
569295e to
f955f3d
Compare
|
Thanks for the tests, @philderbeast! I think |
fix: #11858
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significantin the changelog file.