From: Philippe Mathieu-Daudé<philmd@redhat.com>
Now that we can probe if the TCG accelerator is available
at runtime with a QMP command, do it once at the beginning
and only register the tests we can run.
We can then replace the #ifdef'ry by an assertion.
Reviewed-by: Eric Blake<eblake@redhat.com>
Reviewed-by: Igor Mammedov<imammedo@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé<philmd@redhat.com>
Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
Message-Id:<20210505125806.1263441-12-philmd@redhat.com>
---
tests/qtest/bios-tables-test.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)