diff --git a/tests/run_workflow_coverage.sh b/tests/run_workflow_coverage.sh index b83926bec2..01b7730f53 100755 --- a/tests/run_workflow_coverage.sh +++ b/tests/run_workflow_coverage.sh @@ -60,7 +60,7 @@ function lcovFunc { # collect data lcov -d "$CAPTURE_GCDA_DIR" -capture --rc lcov_branch_coverage=1 --rc genhtml_branch_coverage=1 --no-external -b $TDENGINE_DIR -o coverage.info - # remove exclude paths '*/taos-tools/*' '*/tools/*' 后面add + # remove exclude paths lcov --remove coverage.info \ '*/contrib/*' '*/test/*' '*/packaging/*' '*/taos-tools/deps/*' '*/taosadapter/*' '*/TSZ/*' \ '*/AccessBridgeCalls.c' '*/ttszip.c' '*/dataInserter.c' '*/tlinearhash.c' '*/tsimplehash.c' '*/tsdbDiskData.c' '/*/enterprise/*' '*/docs/*' '*/sim/*'\ @@ -69,7 +69,7 @@ function lcovFunc { '*/clientJniConnector.c' '*/clientTmqConnector.c' '*/version.cc' '*/strftime.c' '*/localtime.c'\ '*/tthread.c' '*/tversion.c' '*/ctgDbg.c' '*/schDbg.c' '*/qwDbg.c' '*/version.c' '*/tencode.h' \ '*/shellAuto.c' '*/shellTire.c' '*/shellCommand.c' '*/debug/*' '*/tests/*'\ - '*/tsdbFile.c' '*/tsdbUpgrade.c' '*/tsdbFS.c' '*/tsdbReaderWriter.c' '*/taos-tools/*' '*/tools/*'\ + '*/tsdbFile.c' '*/tsdbUpgrade.c' '*/tsdbFS.c' '*/tsdbReaderWriter.c' \ '*/sql.c' '*/sql.y' '*/smaSnapshot.c' '*/smaCommit.c'\ --rc lcov_branch_coverage=1 -o coverage.info