|
@@ -102,11 +102,7 @@ elif [ "$task" = "valgrind" ]; then
|
|
echo "Valid valgrind types are: debug, release, all"
|
|
echo "Valid valgrind types are: debug, release, all"
|
|
printHelpExit
|
|
printHelpExit
|
|
fi
|
|
fi
|
|
- valgrind="valgrind \
|
|
|
|
- --leak-check=full \
|
|
|
|
- --show-leak-kinds=all \
|
|
|
|
- --suppressions=../valgrind.supp
|
|
|
|
- "
|
|
|
|
|
|
+ valgrind="valgrind --leak-check=full --show-leak-kinds=all"
|
|
elif [ "$task" = "performance" ]; then
|
|
elif [ "$task" = "performance" ]; then
|
|
build_profile=true
|
|
build_profile=true
|
|
performance=true
|
|
performance=true
|
|
@@ -225,8 +221,8 @@ if $coverage; then
|
|
--exclude-lines-by-pattern ".*CoverageIgnore.*"
|
|
--exclude-lines-by-pattern ".*CoverageIgnore.*"
|
|
else
|
|
else
|
|
files=$(find build_debug -name *.profraw)
|
|
files=$(find build_debug -name *.profraw)
|
|
- llvm-profdata-16 merge -sparse $files -o build_debug/default.profdata
|
|
|
|
|
|
+ llvm-profdata-17 merge -sparse $files -o build_debug/default.profdata
|
|
generateCoverageFunctions
|
|
generateCoverageFunctions
|
|
- llvm-cov-16 show ./build_debug/test -instr-profile=build_debug/default.profdata --ignore-filename-regex="test/" -line-coverage-lt=100 --name-allowlist=build_debug/coverageFunctions
|
|
|
|
|
|
+ llvm-cov-17 show ./build_debug/test -instr-profile=build_debug/default.profdata --ignore-filename-regex="test/" -line-coverage-lt=100 --name-allowlist=build_debug/coverageFunctions
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|