]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qtest/pflash-cfi02-test.c
tests/pflash-cfi02: Refactor to support testing multiple configurations
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 26 Jun 2019 19:54:46 +0000 (21:54 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 2 Jul 2019 00:31:13 +0000 (02:31 +0200)
commit91d0231213629674c3a551d900c1b79a8f520caf
tree0f3f2de5a2c82a546973e34c4974c747e6d62ccb
parent6682bc1ee431dc6198b85ac71d537104cfc57fed
tests/pflash-cfi02: Refactor to support testing multiple configurations

Introduce the FlashConfig structure, to be able to run the same set
of tests on different flash models/configurations.

Signed-off-by: Stephen Checkoway <stephen.checkoway@oberlin.edu>
Message-Id: <20190426162624.55977-6-stephen.checkoway@oberlin.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[PMD: Extracted from bigger patch]
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/pflash-cfi02-test.c