From d10763c1f9f900e68de2c99ef64b5f6a8169c3aa Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 16 Sep 2015 16:49:14 +0200 Subject: [PATCH] Autopkgtest tests: Publish test packages on all architectures by default This is a prerequisite for introducing per-architecture test calculation. --- tests/__init__.py | 2 +- tests/test_autopkgtest.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index 46d3769..4c26c7b 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -78,7 +78,7 @@ class TestData: assert (name not in self.added_binaries[unstable]) self.added_binaries[unstable].add(name) - fields.setdefault('Architecture', architectures[0]) + fields.setdefault('Architecture', 'all') fields.setdefault('Version', '1') fields.setdefault('Priority', 'optional') fields.setdefault('Section', 'devel') diff --git a/tests/test_autopkgtest.py b/tests/test_autopkgtest.py index eb8d8d9..a5bace8 100755 --- a/tests/test_autopkgtest.py +++ b/tests/test_autopkgtest.py @@ -59,7 +59,6 @@ class TestAutoPkgTest(TestBase): self.data.add('blue', False, {'Depends': 'libc6 (>= 0.9)', 'Conflicts': 'green'}, testsuite='specialtest') - self.data.add('justdata', False, {'Architecture': 'all'}) # create mock Swift server (but don't start it yet, as tests first need # to poke in results)