Skip to content
Snippets Groups Projects
  • Simon Heimberg's avatar
    16b5f498
    check-code: always report when a file is skipped by "no-check-code" · 16b5f498
    Simon Heimberg authored
    Skipping an entire file generally from checking is an important event, so
    report it always.
    Do not tell the check name because skipping does not depend on it. Directly
    skip the entire file instead of checking more patterns and skip again.
    
    The pragma no-check-code was introduced by accident in the past. (Fixed in
    e033a7d444ac and ee07f9d142c9.) This now is prevented because the files
    to skip have to be listed in the test output of test-check-code-hg.t.
    16b5f498
    History
    check-code: always report when a file is skipped by "no-check-code"
    Simon Heimberg authored
    Skipping an entire file generally from checking is an important event, so
    report it always.
    Do not tell the check name because skipping does not depend on it. Directly
    skip the entire file instead of checking more patterns and skip again.
    
    The pragma no-check-code was introduced by accident in the past. (Fixed in
    e033a7d444ac and ee07f9d142c9.) This now is prevented because the files
    to skip have to be listed in the test output of test-check-code-hg.t.