Re: [PATCH 01/12] build: detect Coverity 5.3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/6/6 Eric Blake <eblake@xxxxxxxxxx>:
> Coverity 5.3.0 still outputs lots of COVERITY_* variables, but no
> longer modifies COVERITY_BUILD_COMMAND in the environment. ÂPick
> one that seems likely to stay around.
>
> * configure.ac (STATIC_ANALYSIS): Detect newer Coverity.
> ---
> Âconfigure.ac | Â Â4 +++-
> Â1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 5307a1d..c9f09b9 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2389,7 +2389,9 @@ cp -f COPYING.LIB COPYING
>
> Â# Detect when running under the clang static analyzer's scan-build driver
> Â# or Coverity-prevent's cov-build. ÂDefine STATIC_ANALYSIS accordingly.
> -test -n "${CCC_ANALYZER_ANALYSIS+set}$COVERITY_BUILD_COMMAND" && t=1 || t=0
> +t=0
> +test -n "${CCC_ANALYZER_ANALYSIS+set}" && t=1
> +test -n "$COVERITY_BUILD_COMMAND$COVERITY_LD_PRELOAD" && t=1
> ÂAC_DEFINE_UNQUOTED([STATIC_ANALYSIS], [$t],
> Â [Define to 1 when performing static analysis.])

ACK.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]