To be applied on top of: [Qemu-devel] [PATCH v2 0/3] acpi unit-test: compare resulting aml vs expected aml
The test checked if iasl is installed by running "iasl" and checking the error output. It is better to use the iasl executable as appears in configuration. patch 1: exports IASL configuration option to config-host.h patch 2: acpi uint-test uses the exported CONFIG_IASL define v2 -> v3 - Used existing stringify macro v1 -> v2 Addressed Michael S. Tsirkin's comments: - Stringified iasl macro Marcel Apfelbaum (2): configure: add CONFIG_IASL to config-host.h acpi unit-test: extract iasl executable from configuration scripts/create_config | 4 ++++ tests/acpi-test.c | 31 ++++++++----------------------- 2 files changed, 12 insertions(+), 23 deletions(-) -- 1.8.3.1