1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

Merge pull request #9193 from keszybz/coverity

Coverity support for glibc-2.27
This commit is contained in:
Lennart Poettering 2018-06-14 09:59:58 +02:00 committed by GitHub
commit 28e1a3ec44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -50,7 +50,7 @@ jobs:
- docker cp tools/coverity.sh travis_coverity_scan:/usr/local/bin
# Preconfigure with meson to prevent Coverity from capturing meson metadata
# Set compiler flag to prevent emit failure
- docker exec -it travis_coverity_scan sh -c "CFLAGS='-D_Float128=long\ double' meson cov-build -Dman=false"
- docker exec -it travis_coverity_scan sh -c "CFLAGS='-D_Float128=long\ double -D_Float64=double -D_Float64x=long\ double -D_Float32=float -D_Float32x=double' meson cov-build -Dman=false"
# Run Coverity Analysis
- docker exec -it travis_coverity_scan coverity.sh build
- docker exec -it travis_coverity_scan coverity.sh upload

View File

@ -49,6 +49,14 @@ int main(void) {
info(double);
info(long double);
#ifdef __HAVE_DISTINCT_FLOAT128X
info(_Float128);
info(_Float64);
info(_Float64x);
info(_Float32);
info(_Float32x);
#endif
info(size_t);
info(ssize_t);
info(time_t);