]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Travis/Coverity: put some debugging printouts into coverity-scan-build.
authorGuy Harris <[email protected]>
Fri, 8 Jan 2021 10:10:23 +0000 (02:10 -0800)
committerGuy Harris <[email protected]>
Fri, 8 Jan 2021 10:10:23 +0000 (02:10 -0800)
.travis-coverity-scan-build.sh

index 892dac1e294a9d1f36278b3deacfd3def9231d60..72516c2c1542233a3845a9375abe3682a58d22e2 100644 (file)
@@ -17,6 +17,8 @@ TOOL_BASE=/tmp/coverity-scan-analysis
 UPLOAD_URL="https://scan.coverity.com/builds"
 SCAN_URL="https://scan.coverity.com"
 
+echo -e "\033[33;1mTest point 1\033[0m"
+
 # Verify Coverity Scan run condition
 COVERITY_SCAN_RUN_CONDITION=${coverity_scan_run_condition:-true}
 echo -ne "\033[33;1mTesting '${COVERITY_SCAN_RUN_CONDITION}' condition... "
@@ -27,12 +29,16 @@ else
   exit 0
 fi
 
+echo -e "\033[33;1mTest point 2\033[0m"
+
 # Do not run on pull requests
 if [ "${TRAVIS_PULL_REQUEST}" = "true" ]; then
   echo -e "\033[33;1mINFO: Skipping Coverity Analysis: branch is a pull request.\033[0m"
   exit 0
 fi
 
+echo -e "\033[33;1mTest point 3\033[0m"
+
 # Verify this branch should run
 IS_COVERITY_SCAN_BRANCH=`ruby -e "puts '${TRAVIS_BRANCH}' =~ /\\A$COVERITY_SCAN_BRANCH_PATTERN\\z/ ? 1 : 0"`
 if [ "$IS_COVERITY_SCAN_BRANCH" = "1" ]; then
@@ -42,6 +48,8 @@ else
   exit 1
 fi
 
+echo -e "\033[33;1mTest point 4\033[0m"
+
 # Verify upload is permitted
 AUTH_RES=`curl -s --form project="$COVERITY_SCAN_PROJECT_NAME" --form token="$COVERITY_SCAN_TOKEN" $SCAN_URL/api/upload_permitted`
 if [ "$AUTH_RES" = "Access denied" ]; then
@@ -58,6 +66,8 @@ else
   fi
 fi
 
+echo -e "\033[33;1mTest point 5\033[0m"
+
 if [ ! -d $TOOL_BASE ]; then
   # Download Coverity Scan Analysis Tool
   if [ ! -e $TOOL_ARCHIVE ]; then