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.
This commit is contained in:
+4
-3
@@ -51,7 +51,7 @@ matrix:
|
||||
- make -C tests fuzztest
|
||||
|
||||
# TODO: migrate to GH actions once newest clang staticanalyze warnings are fixed
|
||||
- name: static analyzer scanbuild # ~26mn
|
||||
- name: static analyzer scanbuild # ~8mn
|
||||
dist: trusty # note : it's important to pin down a version of static analyzer, since different versions report different false positives
|
||||
script:
|
||||
- make staticAnalyze
|
||||
@@ -104,8 +104,9 @@ matrix:
|
||||
- make arminstall
|
||||
- make aarch64fuzz
|
||||
|
||||
# To be removed once confirmed transferred to GA
|
||||
- name: Versions Compatibility Test # 11.5mn
|
||||
# This test currently fails on GA specifically, for no obvious reason
|
||||
# (it works fine on travisCI, and on local test platforms).
|
||||
- name: Versions Compatibility Test # ~6mn
|
||||
script:
|
||||
- make -C tests versionsTest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user