tests/acceptance: Specify arch for QueryCPUModelExpansion
PATCH RESEND 1/1 tests/acceptance: Specify arch for QueryCPUModelExpansion
At the moment this test runs on whatever the host arch is. But it looks for 'unavailable-features' which is an x86 specific cpu property. Tag it to always use qemu-system-x86_64.
--- tests/acceptance/cpu_queries.py | 3 +++ 1 file changed, 3 insertions(+)
I sent this a while back, but it seems to have been forgotten. As far as I can tell the current logic is Just Plain Wrong, on any host other than x86.
tests/acceptance/cpu_queries.py +3 -0
@@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test): """ def test(self): + """ + :avocado: tags=arch:x86_64 + """ self.vm.set_machine('none') self.vm.add_args('-S') self.vm.launch()
Signature · 1 line
2.21.0
Quoted 20 lines · David Gibson
At the moment this test runs on whatever the host arch is. But it looks for 'unavailable-features' which is an x86 specific cpu property. Tag it to always use qemu-system-x86_64.
Signed-off-by David Gibson <[email protected]>Reviewed-by Wainer dos Santos Moschetta <[email protected]>--- tests/acceptance/cpu_queries.py | 3 +++ 1 file changed, 3 insertions(+)I sent this a while back, but it seems to have been forgotten. As far as I can tell the current logic is Just Plain Wrong, on any host other than x86.
tests/acceptance/cpu_queries.py +0
-0
tests/acceptance/cpu_queries.py class QueryCPUModelExpansion(Test): · line 26
Quoted 9 lines
tests/acceptance/cpu_queries.py +3
-0@@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test): """ def test(self): + """ + :avocado: tags=arch:x86_64 + """ self.vm.set_machine('none') self.vm.add_args('-S') self.vm.launch()
Quoted 31 lines · David Gibson
At the moment this test runs on whatever the host arch is. But it looks for 'unavailable-features' which is an x86 specific cpu property. Tag it to always use qemu-system-x86_64.
Signed-off-by David Gibson <[email protected]>Reviewed-by Wainer dos Santos Moschetta <[email protected]>--- tests/acceptance/cpu_queries.py | 3 +++ 1 file changed, 3 insertions(+)I sent this a while back, but it seems to have been forgotten. As far as I can tell the current logic is Just Plain Wrong, on any host other than x86.
tests/acceptance/cpu_queries.py +3
-0@@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test): """ def test(self): + """ + :avocado: tags=arch:x86_64 + """ self.vm.set_machine('none') self.vm.add_args('-S') self.vm.launch()Signature · 1 line
2.21.0
I've queued on my python-next branch.