Skip to content

Commit

Permalink
update service test script
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Apr 18, 2024
1 parent f292d52 commit 4b187c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .teamcity/scripts/service_tests/acceptance_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

set -euo pipefail

TEST_LIST=$(./test-binary -test.list="%TEST_PATTERN%" 2>/dev/null | grep -vE "%TEST_EXCLUDE_PATTERN%")
TEST_LIST=$(./test-binary -test.list="%TEST_PATTERN%" 2>/dev/null)

if [[ -n "%TEST_EXCLUDE_PATTERN%" ]]; then
TEST_LIST=$(echo "${TEST_LIST}" | grep -vE "%TEST_EXCLUDE_PATTERN%")
fi

read -r -a split <<<"${TEST_LIST}"
TEST_COUNT=${#split[@]}
Expand Down

0 comments on commit 4b187c7

Please sign in to comment.