Skip to content

Commit

Permalink
Disable cppcheck, it fails for no good reason :(
Browse files Browse the repository at this point in the history
See e.g. this run: https://dev.azure.com/pyhandle/hpy/_build/results?buildId=1327&view=logs&j=71490d96-a242-5f1c-bb38-546ccf5abc39&t=31ff8806-cfa1-5f20-3b24-e9367d546093

it fails with:
    nofile:0:0: information: Unmatched suppression: allocaCalled [unmatchedSuppression]

which seems to suggest that --suppress=allocaCalled is not a valid
option. However:

1) it worked until today
2) it works on my machine with the VERY SAME VERSION of cppcheck (1.90)
3) if I remove it, I get a bunch of errors called exactly "allocaCalled"
  • Loading branch information
antocuni committed Mar 26, 2021
1 parent 9b6683a commit a91f8f9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ jobs:
python test/check_py27_compat.py
displayName: 'check_py27_compat.py'
- job: CPPCheck
pool:
vmImage: 'ubuntu-latest'
displayName: "Run CPPCheck"
steps:
- template: azure-templates/cppcheck.yml
- template: azure-templates/python.yml
- script: make cppcheck
displayName: Run CPPCheck
# - job: CPPCheck
# pool:
# vmImage: 'ubuntu-latest'
# displayName: "Run CPPCheck"
# steps:
# - template: azure-templates/cppcheck.yml
# - template: azure-templates/python.yml
# - script: make cppcheck
# displayName: Run CPPCheck

- job: infer
pool:
Expand Down

0 comments on commit a91f8f9

Please sign in to comment.