Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jessieqliu
Copy link
Contributor

@jessieqliu jessieqliu commented Sep 2, 2025

Adds a wrapper package around internal test functions as our need for testing outside of this repo expands.

Since GetTPM makes use of a package-level lock in internal/test, it is better to wrap the function than move it to a new package (same for any future functions in that package we also want to make available).

@jessieqliu
Copy link
Contributor Author

/gcbrun

@jessieqliu
Copy link
Contributor Author

/gcbrun

@jessieqliu jessieqliu requested review from alexmwu and jkl73 September 2, 2025 18:42
"github.com/google/go-tpm-tools/internal/test"
)

// GetTPM is a cross-platform testing helper function that retrives the
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: retrieves

@jessieqliu jessieqliu merged commit b87dff4 into google:main Sep 4, 2025
10 checks passed
@jessieqliu jessieqliu deleted the testutils branch September 4, 2025 18:40
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.

3 participants