On 15.10.2018 22:04, Paul Gevers wrote: > Control: severity -1 normal > > On Tue, 14 Aug 2018 18:26:16 +0200 Matthias Klose <d...@debian.org> wrote: >> So please either support running a build with an environment variable set > > I guess my response is not what you are looking for, but you can already > do this, except you have to start your build in your test script. You > can do: > Test-Command: X=y run-my-command > > See e.g. how I set the temporary directory in dbconfig-common: > https://sources.debian.org/src/dbconfig-common/2.0.10/debian/tests/control/?hl=5#L5
no, you can't do this for the restriction "build-required". Any env var set for the test command doesn't affect the build.