&&-chaining tester
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 7, 2011, 10:08 UTC
- Message-ID
- <20111207100858.GB13374@elie.hsd1.il.comcast.net>
- In-Reply-To
- <CALkWK0nNtvrLHxQv17jfrFQ=BcwLfgh7eE9X-nDCCYY0nsOskg@mail.gmail.com>
Ramkumar Ramachandra wrote:
> Missing the chaining '&&' seems to be quite a common > error: I vaguely remember seeing a patch to detect this sometime ago. > Jonathan?
I guess you mean [1].
If you want to deploy it, you have three choices:
- maintain a list of tests known to have broken &&-chaining, and set GIT_SKIP_TESTS to avoid them
- fix all cases of broken &&-chaining. For extra bonus points, send out those patches, respond to reviews, and gently usher them into Junio's tree
- modify the &&-chaining tester to output a list of tests encountered with broken &&-chaining instead of halting on the first one.
Some day, I'd like to (help) carry out option (b), but please don't hold your breath.
[1] http://thread.gmane.org/gmane.comp.version-control.git/157903/focus=158265