Style tests failing

I don’t have any errors while make check, i don’t have any yellow underlines in code suggesting styling warnings , even so all of my style public tests fail, how can i find out why?

They work for me. Do they not work for you locally, or do they not work for you on the server? If the latter, please also post what was mailed to you.

Did you run the patch script to install the tools necessary for the style tests?

The error message in the mail tells you the reason why they fail:

Running test public.style.splint:
FAIL: source contains linter suppressions
Running test public.style.cpplint:
FAIL: source contains linter suppressions
Running test public.style.cppcheck:
FAIL: source contains linter suppressions

You use suppress annotations to disable the linter in certain parts of your code.

1 Like