aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-03-28 10:55:54 +0100
committerAndreas Färber <afaerber@suse.de>2014-03-31 22:35:03 +0200
commit5c4e24c1516b6b8c21b6defcd4ffcf05f21202f7 (patch)
tree416c373e15d1681c5e15338be34d9a4559e0967f /hw
parentd597a32a6dc5b2ef58b280100cd551b7fb30c963 (diff)
downloadqemu-5c4e24c1516b6b8c21b6defcd4ffcf05f21202f7.zip
qemu-5c4e24c1516b6b8c21b6defcd4ffcf05f21202f7.tar.gz
qemu-5c4e24c1516b6b8c21b6defcd4ffcf05f21202f7.tar.bz2
tests: Correctly skip qtest on non-POSIX hosts
qtest test cases only work on POSIX hosts. The following line only defines dependencies for qtest binaries on POSIX hosts: check-qtest-$(CONFIG_POSIX)=$(foreach TARGET,$(TARGETS),$(check-qtest-$(TARGET)-y)) But the QTEST_TARGETS definition earlier in the Makefile fails to check CONFIG_POSIX. This causes make targets to be generated for qtest test cases even though we don't know how to build the binaries. The following error message is printed when trying to run gtester on a binary that was never built: GLib-WARNING **: Failed to execute test binary: tests/endianness-test.exe: Failed to execute child process "tests/endianness-test.exe" (No such file or directory) This patch makes QTEST_TARGETS empty on non-POSIX hosts. This prevents the targets from being generated. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions