Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Feb 18, 2025

Motivation:

The SwiftPM build plugin doesn't currently handle proto files with the same name even if they come from different packages. This happens because the build system cannot handle object files with the same name. This change adds such a test while tidying up some of the plugin test code.

Modifications:

  • Divide up test resources in sources, config, and proto directories.
  • Have one function per test
  • Document each test with the expected structure
  • Add another test but don't run it. (It fails.)

Result:

More tests. The issue will be fixed in a separate change.

Motivation:

The SwiftPM build plugin doesn't currently handle proto files with the
same name even if they come from different packages. This happens
because the build system cannot handle object files with the same name.
This change adds such a test while tidying up some of the plugin test
code.

Modifications:

- Divide up test resources in sources, config, and proto directories.
- Have one function per test
- Document each test with the expected structure
- Add another test but don't run it. (It fails.)

Result:

More tests. The issue will be fixed in a separate change.
@glbrntt glbrntt added the semver/none No version bump required. label Feb 18, 2025
@glbrntt glbrntt merged commit e426ad8 into grpc:main Feb 24, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants