aboutsummaryrefslogtreecommitdiff
path: root/tests/fp
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-02-04 16:29:22 +0100
committerThomas Huth <thuth@redhat.com>2022-07-05 09:33:49 +0200
commite0a2602070e4f3c265a6c0fc48b4f032455ea3d3 (patch)
treeb600aed52bdad5f53772bd500a5f95a2585bcf57 /tests/fp
parent9323af2e81be7c7697db024bdd5680a8d47c17e4 (diff)
downloadqemu-e0a2602070e4f3c265a6c0fc48b4f032455ea3d3.zip
qemu-e0a2602070e4f3c265a6c0fc48b4f032455ea3d3.tar.gz
qemu-e0a2602070e4f3c265a6c0fc48b4f032455ea3d3.tar.bz2
tests/fp: Do not build softfloat3 tests if TCG is disabled
Technically we don't need the TCG accelerator to run the softfloat3 tests. However it is unlikely an interesting build combination. Developers using softfloat3 likely use TCG too. Similarly, developers disabling TCG shouldn't mind much about softfloat3 tests. This reduces a non-TCG build by 474 objects! Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220204152924.6253-3-f4bug@amsat.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/fp')
-rw-r--r--tests/fp/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fp/meson.build b/tests/fp/meson.build
index 8bd0979..2b4f00b 100644
--- a/tests/fp/meson.build
+++ b/tests/fp/meson.build
@@ -1,3 +1,6 @@
+if 'CONFIG_TCG' not in config_all
+ subdir_done()
+endif
# There are namespace pollution issues on Windows, due to osdep.h
# bringing in Windows headers that define a FLOAT128 type.
if targetos == 'windows'