mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
Merge coverity: fix deprecated uses of --no-command and --fs-capture-search
According to the coverity documentation [1], filesystem capture is no longer supported, favoring the use of the "coverity capture" tool. This fixes the coverity pipeline which is broken due to flags --no-command and --fs-capture-search no longer working. [1] https://documentation.blackduck.com/bundle/coverity-docs-2024.3/page/coverity-analysis/topics/moving_from_filesystem_capture_to_the_coverity_cli.html Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com> MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1751 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
c54c4a7e01
2
Makefile
2
Makefile
@ -55,7 +55,7 @@ snapshot: clean
|
|||||||
coverity: snapshot
|
coverity: snapshot
|
||||||
cd $(SNAPSHOT_NAME)/libraries/libapparmor && ./configure --with-python
|
cd $(SNAPSHOT_NAME)/libraries/libapparmor && ./configure --with-python
|
||||||
$(foreach dir, libraries/libapparmor utils, \
|
$(foreach dir, libraries/libapparmor utils, \
|
||||||
cov-build --dir $(COVERITY_DIR) --no-command --fs-capture-search $(SNAPSHOT_NAME)/$(dir); \
|
coverity capture --dir $(COVERITY_DIR) --project-dir $(SNAPSHOT_NAME)/$(dir); \
|
||||||
mv $(COVERITY_DIR)/build-log.txt $(COVERITY_DIR)/build-log-python-$(subst /,.,$(dir)).txt ;)
|
mv $(COVERITY_DIR)/build-log.txt $(COVERITY_DIR)/build-log-python-$(subst /,.,$(dir)).txt ;)
|
||||||
cov-build --dir $(COVERITY_DIR) -- sh -c \
|
cov-build --dir $(COVERITY_DIR) -- sh -c \
|
||||||
"$(foreach dir, $(filter-out utils profiles tests, $(DIRS)), \
|
"$(foreach dir, $(filter-out utils profiles tests, $(DIRS)), \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user