Skip to content

Commit

Permalink
Merge pull request #9193 from keszybz/coverity
Browse files Browse the repository at this point in the history
Coverity support for glibc-2.27
  • Loading branch information
poettering committed Jun 14, 2018
2 parents c9299be + 0d2f879 commit 28e1a3e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions src/test/test-sizeof.c
Expand Up @@ -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);
Expand Down

0 comments on commit 28e1a3e

Please sign in to comment.