chiark / gitweb /
adt-run: make sure apt-listbugs + apt-listchanges do not show up
authorMichael Prokop <mika@grml.org>
Mon, 17 Oct 2011 20:41:47 +0000 (21:41 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 17 Oct 2011 20:41:47 +0000 (21:41 +0100)
Iff apt-listbugs and/or apt-listchanges are installed and enabled
then the frontends may pop up and pause the test runs. By setting
the according environment variables we make sure they do not show
up.

Signed-off-by: Michael Prokop <mika@debian.org>
runner/adt-run

index 1de59342fbd8f8a46b0d28b964f30f54542e4924..91102366944022390d887441def76ba4936354b2 100755 (executable)
@@ -55,6 +55,8 @@ timeouts = { 'short':100, 'install':3000, 'test':10000, 'build':100000 }
 binaries = None                # Binaries (.debs we have registered)
 build_essential = ["build-essential"]
 paths = []
+os.putenv("APT_LISTBUGS_FRONTEND", "none")    # do not consider using apt-listbugs
+os.putenv("APT_LISTCHANGES_FRONTEND", "none") # do not consider using apt-listchanges
 
 #---------- output handling
 #