Skip to content

fix: Populate test tag correctly for all sourcesets #108

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

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

Arthurm1
Copy link
Contributor

Currently the BSP BuildTargetTag tag is populated as Test only when the source set name is test.

All other build targets won't have this tag, which means other test configurations (e.g. integration tests) won't have the tag.

Now the code checks to see if there is a Test task associated with the source set and populates the tag from that information.

@Arthurm1 Arthurm1 force-pushed the test_tag branch 2 times, most recently from 4c0d214 to 104643a Compare December 5, 2023 12:54
@Arthurm1
Copy link
Contributor Author

Arthurm1 commented Dec 5, 2023

rebased

Copy link
Member

@jdneo jdneo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good. Need to rebase before merge.

@Arthurm1
Copy link
Contributor Author

Arthurm1 commented Dec 6, 2023

Rebased

@jdneo jdneo added the bug Something isn't working label Dec 7, 2023
@jdneo jdneo added this to the 0.2.0 milestone Dec 7, 2023
@jdneo jdneo changed the title Populate test tag correctly for all sourcesets fix: Populate test tag correctly for all sourcesets Dec 7, 2023
@jdneo jdneo merged commit 25c1141 into microsoft:develop Dec 7, 2023
@jdneo
Copy link
Member

jdneo commented Dec 7, 2023

Thank you @Arthurm1

@Arthurm1 Arthurm1 deleted the test_tag branch December 7, 2023 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants