Skip to content

Commit 8a1c58f

Browse files
Add additional parameter to valgrind (#1183)
Add additional parameter to valgrind to improve reports on CI Resolves: OLPEDGE-2517 Signed-off-by: Serhii Lozynskyi <[email protected]>
1 parent 906b4f0 commit 8a1c58f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/linux/nv/gitlab_test_valgrind.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ do
5252
source ${FV_HOME}/olp-cpp-sdk-${test_group_name}-test.variables
5353

5454
test_command="$REPO_HOME/build/tests/${test_group_name}/olp-cpp-sdk-${test_group_name}-tests --gtest_output=xml:${REPO_HOME}/reports/olp-cpp-sdk-${test_group_name}-test-report.xml ${EXCEPTION} ${FLAKY_CHECK}"
55-
valgrind_command="valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all --xml=yes"
55+
valgrind_command="valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all --num-callers=500 --xml=yes"
5656

5757
if [[ ! -z "$misc_folder_path" ]]; then
5858
valgrind_result_file_path="${REPO_HOME}/${misc_folder_path}/${test_group_name}_memcheck.xml"
@@ -82,7 +82,7 @@ do
8282
test_command="$REPO_HOME/build/${test_name%?????}/tests/${test_name}s \
8383
--gtest_output="xml:${REPO_HOME}/reports/${test_name}-report.xml" $EXCEPTION $FLAKY_CHECK "
8484

85-
valgrind_command="valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all --xml=yes"
85+
valgrind_command="valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all --num-callers=500 --xml=yes"
8686
if [[ ! -z "$misc_folder_path" ]]; then
8787
valgrind_result_file_path="${REPO_HOME}/${misc_folder_path}/${test_name}_memcheck.xml"
8888
valgrind_command="$valgrind_command --xml-file=$valgrind_result_file_path"

0 commit comments

Comments
 (0)