cppcheck/test/cli
Oliver Stöneberg fc700b68eb
refs #4452 / refs #11705 - improved `--showtime=` behavior and testing (#4876)
This is a step onto leveraging the `ThreadExecutor` implementation for
`ProcessExecutor` which is a follow-up to #4870. We need to have the
proper test coverage and the existing implementations working as
expected before we move to the shared code.

Fixes:
- added `--showtime=` tests for all executor implementations
- only print `--showtime=summary` once at the end
- prevents `--showtime=` by multiple threads to be written at the same
time - essentially breaking the output
- reset the timer results before each test
- deprecated `top5` in favor of `top5_file`
- fixed printing for all executors except `ProcessExecutor`
2023-10-05 19:04:06 +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 fixed #11917 (Default to `native` platform in Windows builds) (#5428) 2023-09-11 11:08:23 +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 fixed #11917 (Default to `native` platform in Windows builds) (#5428) 2023-09-11 11:08:23 +02:00
test-other.py refs #4452 / refs #11705 - improved `--showtime=` behavior and testing (#4876) 2023-10-05 19:04:06 +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