X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fcommon%2Fcoverity.sh;h=80fc6490043be1fc4185892f27d6b646316abc97;hb=2aeca93f55b0c4d466e5d62166cd79227518f890;hp=e2282e1c3de73b67a6273adaa25d9888a277bb73;hpb=1c1cca412fd889887e6e0b53e55ad93a79641475;p=lttng-ci.git diff --git a/scripts/common/coverity.sh b/scripts/common/coverity.sh index e2282e1..80fc649 100755 --- a/scripts/common/coverity.sh +++ b/scripts/common/coverity.sh @@ -51,7 +51,7 @@ export TMPDIR case "$COVERITY_SCAN_PROJECT_NAME" in babeltrace) - CONF_OPTS="--enable-python-bindings --enable-python-bindings-doc" + CONF_OPTS="--enable-python-bindings --enable-python-bindings-doc --enable-python-plugins" BUILD_TYPE="autotools" ;; liburcu) @@ -112,28 +112,6 @@ if [ -d "$WORKSPACE/src/linux" ]; then export KERNELDIR="$WORKSPACE/src/linux" fi -# Hack to get coverity with gcc >= 7 -# -# We have to define the _Float* types as those are not defined by coverity and as result -# the codes linking agains those (pretty much anything linking against stdlib.h and math.h) -# won't be covered. -echo " -#ifdef __cplusplus -extern \"C\" { -#endif - -#define _Float128 long double -#define _Float64x long double -#define _Float64 double -#define _Float32x double -#define _Float32 float - -#ifdef __cplusplus -} -#endif" >> /tmp/coverity.h - -export CPPFLAGS="-include /tmp/coverity.h ${CPPFLAGS:-}" - # Verify upload is permitted # Added "--insecure" because Coverity can't be bothered to properly install SSL certificate chains