mariadb/tests
Anson Chung df35072c8d Refactor GitLab cppcheck and update SAST ignorelists
Line numbers had to be removed from the ignorelists in order to be
diffed against since locations of the same findings can differ
across runs. Therefore preprocessing has to be done on the CI findings
so that it can be compared to the ignorelist and new findings can be
outputted. However, since line numbers have to be removed, a situation
occurs where it is difficult to reference the location of findings
in code given the output of the CI job.

To lessen this pain, change the cppcheck template to include
code snippets which make it easier to reference where in the code
the finding is referring to, even in the absence of line numbers.
Ignorelisting works as before since locations of the finding may
change but not the code it is referring to.

Furthermore, due to the innate difficulty in maintaining ignorelists
across branches and triaging new findings, allow failure as to not
have constantly failing pipelines as a result of a new findings that
have not been addressed yet.

Lastly, update SAST ignorelists to match the newly refactored cppcheck
job and the current state of the codebase.

All new code of the whole pull request, including one or several
files that are either new files or modified ones, are contributed
under the BSD-new license. I am contributing on behalf of my
employer Amazon Web Services, Inc.
2024-07-08 10:51:48 +01:00
..
code_quality Refactor GitLab cppcheck and update SAST ignorelists 2024-07-08 10:51:48 +01:00
async_queries.c Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
auto_increment.res
auto_increment.tst
big_record.pl Merge 10.4 into 10.5 2020-07-02 09:41:44 +03:00
bug25714.c
check_async_queries.pl
CMakeLists.txt
connect_test.c
consistent_snapshot.pl
deadlock_test.c
drop_test.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
export.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
fork2_test.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
fork_big.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
fork_big2.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
function.res
function.tst
grant.res
index_corrupt.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
insert_and_repair.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
insert_test.c
list_test.c
lock_test.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
lock_test.res
mail_to_db.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
myisam-big-rows.tst
mysql_client_fw.c Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
mysql_client_test.c MDEV-24411: Trigger doesn't work correctly with bulk insert 2024-06-25 09:52:52 +07:00
nonblock-wrappers.h
pmail.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
rename_test.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
restore-lock.smack
select_test.c
showdb_test.c
ssl_test.c
table_types.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
test_delayed_insert.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30
thread_test.c MDEV-31461 mariadb SIGSEGV when built with -DCLIENT_PLUGIN_DIALOG=STATIC 2023-06-19 12:12:21 +02:00
truncate.pl Merge branch '10.4' into 10.5 2020-09-29 16:59:36 +05:30