]> git.proxmox.com Git - qemu-server.git/commit
cfg2cmd: add test cases for custom CPU models
authorStefan Reiter <s.reiter@proxmox.com>
Tue, 7 Apr 2020 13:56:20 +0000 (15:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 7 Apr 2020 15:27:58 +0000 (17:27 +0200)
commit5bc084707b5f74e489c6c190d8d82d39a1e9cce8
treee97f49f957c75198c3c1fcad0d27f3583ba1f5d7
parent9f9792d3dc42e9ad971e6dc44131d8bfe5ae1d4c
cfg2cmd: add test cases for custom CPU models

Requires a mock CPU-model config, which is given as a raw string to also
test parsing capabilities. Also tests defaulting behaviour.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Reviewed-By: Fabian Ebner <f.ebner@proxmox.com>
Tested-By: Fabian Ebner <f.ebner@proxmox.com>
test/cfg2cmd/custom-cpu-model-defaults.conf [new file with mode: 0644]
test/cfg2cmd/custom-cpu-model-defaults.conf.cmd [new file with mode: 0644]
test/cfg2cmd/custom-cpu-model-host-phys-bits.conf [new file with mode: 0644]
test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd [new file with mode: 0644]
test/cfg2cmd/custom-cpu-model.conf [new file with mode: 0644]
test/cfg2cmd/custom-cpu-model.conf.cmd [new file with mode: 0644]
test/run_config2command_tests.pl