daklib.architecture.match_architecture would consider 'source' as an
invalid architecture name.
def built_in_suite(self, suite):
built = False
for arch in suite.architectures:
+ if arch.arch_string == 'source':
+ continue
built_on_arch = self.built_on_architecture(arch.arch_string)
if built_on_arch:
return True
p_kfreebsdi386 = pl.packages_for_suite(suite_kfreebsdi386)
self.assertEqual(len(p_kfreebsdi386), 0)
+ suite_source = FakeSuite('source')
+ p_source = pl.packages_for_suite(suite_source)
+ self.assertEqual(len(p_source), 0)
+
def testNoArch(self):
pl = PackageList(source_noarch)