Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions jenkins-integration-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ SG_COMMIT_HASH=$(git rev-parse HEAD)
echo "Sync Gateway git commit hash: $SG_COMMIT_HASH"

echo "Downloading tool dependencies..."
go install github.com/axw/gocov/gocov@latest
go install github.com/AlekSi/gocov-xml@latest
go install gotest.tools/gotestsum@latest

if [ "${SG_TEST_X509:-}" == "true" ] && [ "${COUCHBASE_SERVER_PROTOCOL}" != "couchbases" ]; then
Expand Down Expand Up @@ -154,13 +152,6 @@ else
cp integration.xml "${INT_LOG_FILE_NAME}.xml"
fi

# Get coverage
~/go/bin/gocov convert "coverage_int.out" | ~/go/bin/gocov-xml > coverage_int.xml
if [ "${RUN_WALRUS:-}" == "true" ]; then
~/go/bin/gocov convert "coverage_walrus_ee.out" | ~/go/bin/gocov-xml > "coverage_walrus_ee.xml"
~/go/bin/gocov convert "coverage_walrus_ce.out" | ~/go/bin/gocov-xml > "coverage_walrus_ce.xml"
fi

if [ "${TEST_FAILED:-}" = true ]; then
# If output contained `FAIL:`
if grep -q 'FAIL:' "${INT_LOG_FILE_NAME}.out"; then
Expand Down
44 changes: 0 additions & 44 deletions test_with_coverage.sh

This file was deleted.