Skip to content

Commit

Permalink
igl | tests | Disable EnsureValidation test
Browse files Browse the repository at this point in the history
Reviewed By: rokuz

Differential Revision: D67580459

fbshipit-source-id: 5a6cebcee38b7d720d251dd4662b4eceb4a31a01
  • Loading branch information
corporateshark authored and facebook-github-bot committed Dec 23, 2024
1 parent 46a383a commit 063103f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/igl/tests/vulkan/Device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,15 @@ TEST_F(DeviceVulkanTest, CurrentThreadIdTest) {
}

TEST_F(DeviceVulkanTest, EnsureValidation) {
GTEST_SKIP() << "Some tests are still running without Validation Layers enabled, so this test "
"has been temporarily disabled.";

#if !defined(IGL_DISABLE_VALIDATION)
igl::vulkan::VulkanContext& ctx =
static_cast<igl::vulkan::Device*>(iglDev_.get())->getVulkanContext();
// @fb-only
// igl::vulkan::VulkanContext& ctx =
// static_cast<igl::vulkan::Device*>(iglDev_.get())->getVulkanContext();

ASSERT_TRUE(ctx.areValidationLayersEnabled());
// ASSERT_TRUE(ctx.areValidationLayersEnabled());
#endif // !defined(IGL_DISABLE_VALIDATION)
}

Expand Down

0 comments on commit 063103f

Please sign in to comment.