mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-14 16:58:43 +00:00
Unset env-var in layer tests
Need to unset an env-var in order to allow the vul_tests executable to pass all tests. This is because environment variables leak between tests when not running with CTest.
This commit is contained in:
parent
f56dfa0fe0
commit
89b8b0df6d
1 changed files with 2 additions and 0 deletions
|
@ -439,4 +439,6 @@ TEST(test_layer_setting_env, vkuGetLayerSettingValues_String) {
|
|||
EXPECT_EQ(2, value_count);
|
||||
|
||||
vkuDestroyLayerSettingSet(layerSettingSet, nullptr);
|
||||
|
||||
SetEnv("VK_LUNARG_TEST_MY_SETTING=");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue