]> git.ipfire.org Git - thirdparty/zstd.git/commit
reduce length of scanbuild static analyzer test
authorYann Collet <yann.collet.73@gmail.com>
Sun, 29 Aug 2021 22:26:31 +0000 (15:26 -0700)
committerYann Collet <yann.collet.73@gmail.com>
Sun, 29 Aug 2021 22:26:31 +0000 (15:26 -0700)
commit72bd2a83a01c70938f4d55337ecc2c3211694a2a
treed78ec88b7edbcb74c2c9ffdeb57d563d2769e6f2
parent7f37b8a547e960e58dd3c247925a66dcb0412f77
reduce length of scanbuild static analyzer test

This was ~30mn, by far the longest run on travisCI.
That's because it re-analyzes multiple times the same files (library files notably).
It also performs actions that make no sense for the static analyzer purpose,
such as building the single-file library.

Reduced time spent in this test by reducing its scope :
just build the CLI, and obviously the library along it.
These are the only ones that really deserve to be analyzed.

Unfortunately, it still results in a number of false positives when using newer versions of scanbuild
(each version of scanbuild generates a different list of false positives).
These will have to be fixed before transfering to Github Actions.
.travis.yml
Makefile
tests/test-zstd-versions.py