cppcheck/test/cli
Oliver Stöneberg ad1caa8100
report `internalError` when command execution returns errorcode / also some related cleanups and tests (#5037)
Encountered while investigating https://trac.cppcheck.net/ticket/11708.

This has been like this since the introduction of `internalError` in
b6bcdf2936 (almost ten years ago to the
day). Logging internal errors which bail out(!) of the analysis simply
to `std::cout` for them possibly never to be seen (and also not affected
the exitcode) is pretty bad IMO. They should always be visible.

I also removed the filename from the message as it is already available
(and thus redundant) and its existence should be defined by the
template.
2023-08-31 13:33:29 +02:00
..
QML-Samples-TableView runformat 2023-05-08 10:30:20 +02:00
helloworld added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
proj-inline-suppress Execute runformat 2023-06-10 17:37:32 +02:00
proj-inline-suppress-unusedFunction test/cli: fixed missing returns in test cases 2021-07-04 18:25:19 +02:00
proj-suppress-syntaxError Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
proj2 added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
trac5704 Fix unmatched suppression (#5704) (#3886) 2022-03-30 19:24:53 +02:00
readme.txt Add cli testing 2019-04-14 10:46:47 +02:00
test-clang-import.py Revert "Clang import; This experimental feature didn't "take off" much. After a lot of work we are still far fram the goal. I remove it now but don't rule out completely that it could ever be added again." 2021-04-30 16:47:02 +02:00
test-helloworld.py Partial fix for #11897 (Safety: show what checks are enabled/disabled) (#5372) 2023-08-29 12:00:52 +02:00
test-inline-suppress.py #11733 FP unusedFunction with templates and --cppcheck-build-dir (#5085) 2023-05-26 06:13:48 +02:00
test-more-projects.py greatly improved error handling in Cppcheck project file parsing / some cleanups (#4752) 2023-02-08 20:30:43 +01:00
test-other.py report `internalError` when command execution returns errorcode / also some related cleanups and tests (#5037) 2023-08-31 13:33:29 +02:00
test-proj2.py CI; Fixed problems in windows paths 2021-06-12 12:45:31 +02:00
test-project.py Fix #9162 (Invalid --project files do not give any error) (#3177) 2021-12-19 12:36:11 +01:00
test-qml.py Fixed #11700 (Markup support is broken, unused function false positives) (#5025) 2023-05-03 11:19:13 +02:00
test-suppress-syntaxError.py some Python cleanups based on PyCharm inspections (#2999) 2021-01-31 14:27:11 +01:00
testutils.py report `internalError` when command execution returns errorcode / also some related cleanups and tests (#5037) 2023-08-31 13:33:29 +02:00

readme.txt

Systemtesting of Cppcheck CLI on some projects

addons
base path
exclude folders
importing projects
 * visual studio
 * compile database
   - different generators bear/cmake/..
   - different platforms
suppressions

Different paths:
 * relative
 * absolute