Re: [PATCH 2/2] tests(gpg): increase verbosity to allow debugging
- From
Jeff King <peff@peff.net>
- Date
- Mar 24, 2020, 22:05 UTC
- Message-ID
- <20200324220532.GA647727@coredump.intra.peff.net>
- In-Reply-To
- <nycvar.QRO.7.76.6.2003242239300.46@tvgsbejvaqbjf.bet>
On Tue, Mar 24, 2020 at 10:41:58PM +0100, Johannes Schindelin wrote:
Show 16 quoted lines
> > The thing I was more worried about is that it's technically a behavior > > change to set up GNUPGHOME when we're not going to use it (as well as > > create the directory). But I find it hard to imagine a test that would > > be affected where my suggested solution wouldn't be "fix the test". > > It is _half_ a change in behavior: in case that `gpg` was found, and does > not have a known-bad version, we set up the environment variable, _even > if_ the test-signing fails. In other words, we don't roll back the > environment variable. > > As such, I figure that setting it globally _before_ even evaluating the > prereq is okay. > > Therefore, it is relatively easy to turn this thing into a set of lazy > prereqs, which is better, conceptually, I think. I am in the process of > making it so.
Er, isn't that what my patch did? I'm fine if you have another approach to present, but I'm worried we might be duplicating effort.
-Peff