Skip to content
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

tests: Cleanup test to use framework more #8181

Conversation

spencer-lunarg
Copy link
Contributor

just a friendly 1000+ line clean up of test code to be more unify in using the framework

@spencer-lunarg spencer-lunarg requested a review from a team as a code owner June 21, 2024 22:56
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 204949.

@@ -109,7 +109,6 @@ TEST_F(PositiveBuffer, DISABLED_PerfGetBufferAddressWorstCase) {
constexpr size_t N = 1400;
std::vector<vkt::Buffer> buffers(N);
VkBufferCreateInfo buffer_ci = vku::InitStructHelper();
buffer_ci.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

InitStructHelper sets everything to zero

except for the few tests who need to care about sharingMode, having it here just causes it to get copy-and-pasted for no good reason

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 16895 passed.

@spencer-lunarg spencer-lunarg merged commit 64f742b into KhronosGroup:main Jun 23, 2024
20 checks passed
@spencer-lunarg spencer-lunarg deleted the spencer-lunarg-test-clean-8888 branch June 23, 2024 14:28
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