test: scan returned values in ci

This commit is contained in:
chenhaoran 2024-08-02 01:53:22 +08:00
parent 744de4f305
commit cc74abad59
2 changed files with 1 additions and 2 deletions

View File

@ -455,7 +455,7 @@ pipeline {
}
sh '''
cd ${WKC}/tests/parallel_test
run_scan_container.sh -d ${WKDIR} -b ${BRANCH_NAME}_${BUILD_ID} -f ${WK}/../log/${BRANCH_NAME}_${BUILD_ID}/docs_changed.txt ''' + extra_param + '''
./run_scan_container.sh -d ${WKDIR} -b ${BRANCH_NAME}_${BUILD_ID} -f ${WK}/../log/${BRANCH_NAME}_${BUILD_ID}/docs_changed.txt ''' + extra_param + '''
'''
sh '''
cd ${WKC}/tests/parallel_test

View File

@ -4,7 +4,6 @@ match callExpr(
doStmt(hasCondition(expr().bind("cond"))))
),
unless(hasType(voidType())),
unless(callee(functionDecl(hasName("memcpy")))),
unless(callee(functionDecl(hasName("strcpy")))),
unless(callee(functionDecl(hasName("strcat")))),
unless(callee(functionDecl(hasName("strncpy")))),