Skip to content

CodeQL: Update test results after array specifier bug fix in the extractor #885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

IdrissRio
Copy link

@IdrissRio IdrissRio commented Apr 9, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings April 9, 2025 13:16
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adjusts test results and comments in the CodeQL test suite after a bug fix, ensuring that the tests accurately reflect the now-verified behavior.

  • Removed the outdated workaround with a false-positive comment in test_array_uses_static_again
  • Updated test comments so that all tests uniformly indicate COMPLIANT results
Files not reviewed (1)
  • c/misra/test/rules/RULE-17-6/UseOfArrayStatic.expected: Language not supported
Comments suppressed due to low confidence (1)

c/misra/test/rules/RULE-17-6/test.c:4

  • Consider adding a comment explaining that the workaround was removed because the underlying CodeQL bug has been fixed; this will help future maintainers understand the context of the COMPLIANT designation.
void test_array_uses_static_again(int arr4[11]) {}           // COMPLIANT

@jketema jketema self-requested a review April 9, 2025 14:25
@jketema jketema changed the title CodeQL: Adjust test results and comments after bug fix CodeQL: Update test results after array specifier bug fix in the extractor Apr 10, 2025
@jketema jketema merged commit 79526c3 into github:next Apr 10, 2025
17 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants