Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add subtarget information to a test target name
This lets users know which subtarget failed, which is crucial when testing multiple test subtargets (e.g. when there is one per configuration, generated via transitions). Before: ``` 2 TESTS FAILED ✗ root//:dummy_test ✗ root//:dummy_test ``` After: ``` 2 TESTS FAILED ✗ root//:dummy_test[gcc13-cxx20-debug] ✗ root//:dummy_test[clang18-cxx20-debug] ``` When a default provider is built (no subtargets), the output is unchanged, because `ProviderName`'s `Display` implementation returns an empty string for default providers.
- Loading branch information