From 560421a65fb0e97bfbbd8aa83763b5849d741d30 Mon Sep 17 00:00:00 2001 From: Celso Providelo Date: Mon, 2 Feb 2015 13:42:35 -0500 Subject: [PATCH] Checking BOOTTEST_ARCHES binaries before attempting to boottest. --- boottest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/boottest.py b/boottest.py index eb900b7..67485b2 100644 --- a/boottest.py +++ b/boottest.py @@ -96,8 +96,6 @@ class BootTest(object): "RUNNING": 'Test in progress', } - ARCHITECTURES = ('all', 'armhf') - def __init__(self, britney, distribution, series, debug=False): self.britney = britney self.distribution = distribution @@ -142,7 +140,7 @@ class BootTest(object): binary_names = [ b.split('/')[0] for b in unstable_sources[excuse.name][BINARIES] - if b.split('/')[1] in self.ARCHITECTURES + if b.split('/')[1] in self.britney.options.boottest_arches.split() ] # Process (request or update) boottest attempts for each binary.