Skip to content
This repository was archived by the owner on Nov 11, 2019. It is now read-only.

staticanalysis/bot: Coverity check for extra flags to be sure that we consume only local issues.#1884

Merged
abpostelnicu merged 1 commit into
mozilla:masterfrom
abpostelnicu:cov-only-local
Feb 14, 2019
Merged

staticanalysis/bot: Coverity check for extra flags to be sure that we consume only local issues.#1884
abpostelnicu merged 1 commit into
mozilla:masterfrom
abpostelnicu:cov-only-local

Conversation

@abpostelnicu
Copy link
Copy Markdown
Contributor

No description provided.

@abpostelnicu abpostelnicu requested review from La0 and marco-c February 14, 2019 16:05
Comment thread src/staticanalysis/bot/static_analysis_bot/coverity/coverity.py Outdated
Comment thread src/staticanalysis/bot/static_analysis_bot/coverity/coverity.py Outdated
Comment thread src/staticanalysis/bot/static_analysis_bot/coverity/coverity.py Outdated
# According to Coverity manual:
# presentInReferenceSnapshot - True if the issue is present in the reference
# snapshot specified in the cov-run-desktop command, false if not.
return stateOnServer is not None and 'presentInReferenceSnapshot' in stateOnServer \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can stateOnServer be None? If it can't, then maybe we should assert.
Same with 'presentInReferenceSnapshot' in stateOnServer, if it is supposed to be always there, we should assert it is.

@abpostelnicu abpostelnicu merged commit f24ac17 into mozilla:master Feb 14, 2019
@abpostelnicu abpostelnicu deleted the cov-only-local branch February 14, 2019 17:32
abpostelnicu added a commit that referenced this pull request Feb 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants