tests/qtest: Build cases that use memory-backend-file for posix only
commit84efa8aa4e7c568c996b9575947474c734f128b3
authorBin Meng <bin.meng@windriver.com>
Wed, 24 Aug 2022 09:39:56 +0000 (24 17:39 +0800)
committerThomas Huth <thuth@redhat.com>
Thu, 25 Aug 2022 13:24:09 +0000 (25 15:24 +0200)
treed7e4f1526c4dacc56c0b4044c541d595841fdd0a
parentbc67e31c3ebc284bf3fee284c1cd8f2f8ef489d1
tests/qtest: Build cases that use memory-backend-file for posix only

As backends/meson.build tells us, hostmem-file.c is only supported on
POSIX platforms, hence any test case that utilizes the memory backend
file should be guarded by CONFIG_POSIX too.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220824094029.1634519-19-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/bios-tables-test.c
tests/qtest/cxl-test.c
tests/qtest/meson.build