Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

Rationale for this change

The test-coverage target was failing with "No data to combine" because the COVERAGE=1 variable wasn't being propagated to prerequisite test targets.

Make's target-specific variable syntax (test-coverage: COVERAGE=1) only sets the variable for that specific target, not for its prerequisites when they execute as separate Make invocations.

Found this out when verifying release, which is the only place we run make test-coverage. CI runs make coverage-report

Are these changes tested?

Ran make test-coverage before and after

Are there any user-facing changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant