Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage: introduce ONLY_EXTRA_QUERY_PATHS #10674

Merged
merged 2 commits into from
Apr 7, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
comments
Signed-off-by: Jose Nino <jnino@lyft.com>
  • Loading branch information
Jose Nino committed Apr 7, 2020
commit 7e89502ce5707d8b487d6b613a2b76cd0d24ded3
2 changes: 1 addition & 1 deletion test/coverage/gen_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ else
fi

# This setting allows consuming projects to only run coverage over private extensions.
if [ -z "$ONLY_EXTRA_QUERY_PATHS" ]; then
if [[ -z "${ONLY_EXTRA_QUERY_PATHS}" ]]; then
for target in ${COVERAGE_TARGETS}; do
TARGETS="$TARGETS $("${BAZEL_BIN}" query ${BAZEL_QUERY_OPTIONS} "attr('tags', 'coverage_test_lib', ${REPOSITORY}${target})" | grep "^//")"
done
Expand Down