tests/acceptance: Handle cpu tag on x86_cpu_model_versions tests
authorWainer dos Santos Moschetta <wainersm@redhat.com>
Fri, 30 Apr 2021 13:34:14 +0000 (10:34 -0300)
committerCleber Rosa <crosa@redhat.com>
Tue, 13 Jul 2021 17:35:57 +0000 (13:35 -0400)
commit3843a32152a54092f1fc2c8eb54a03da64ad4c6d
tree87e16b735b2740f8ac7393ff11beddb31f1fad3b
parent58954ac0b59966ebd32720b183a3c7fcfc60e83d
tests/acceptance: Handle cpu tag on x86_cpu_model_versions tests

Some test cases on x86_cpu_model_versions.py are corner cases because they
need to pass extra options to the -cpu argument. Once the avocado_qemu
framework will set -cpu automatically, the value should be reset. This changed
those tests so to call set_vm_arg() to overwrite the -cpu value.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210430133414.39905-8-wainersm@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
tests/acceptance/x86_cpu_model_versions.py