]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: Handle -Dtests=enabled with Clang
authorAndrea Bolognani <abologna@redhat.com>
Tue, 3 Oct 2023 12:52:45 +0000 (14:52 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 26 Oct 2023 09:31:21 +0000 (11:31 +0200)
commit5904228f92cb46253f0f4624e98cda9a375a24a3
tree06e6731237d7598b0a8d554b4efbd2a6aebe21b2
parent44711485b1c1dae0a69995dbaea2a8f7069b3f51
meson: Handle -Dtests=enabled with Clang

There are some cases in which we automatically disable tests when
using Clang as the compiler. If the user has explicitly asked for
tests to be enabled, however, we should error out instead of
silently disabling things.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
meson.build