third_party_vulkan-loader/tests
Shannon McPherson c389e8ca45 tests: Modify vk_layer_logging.h for hdr 1.1.95
The `VkDebugUtilsObjectNameInfoEXT` member of the
`VkDebugUtilsMessengerCallbackDataEXT` struct was turned const in Vulkan
header 1.1.95 and modifications were required for compilation

Change-Id: I0e52d821239a2b74c8880864a9522359f2285d72
2018-12-03 18:29:45 -07:00
..
layers tests: Modify vk_layer_logging.h for hdr 1.1.95 2018-12-03 18:29:45 -07:00
_run_all_tests.ps1 repo: Minor updates for repo split 2018-05-13 12:06:29 -06:00
CMakeLists.txt build: fix ninja on windows 2018-10-30 15:44:52 -06:00
loader_validation_tests.cpp tests: Make layer tests use layers from this repo 2018-05-22 15:41:30 -06:00
README.md docs: Add a short readme to tests directory 2018-05-22 15:41:30 -06:00
run_all_tests.sh repo: Fixup test code and scripts 2018-05-13 12:06:12 -06:00
run_extra_loader_tests.sh tests: add implicit layer tests 2016-08-18 16:07:12 -06:00
run_loader_tests.sh tests: Make layer tests use layers from this repo 2018-05-22 15:41:30 -06:00
run_wrap_objects_tests.sh repo: Make loader tests work on Linux 2018-05-13 11:58:20 -06:00
test_common.h repo: Fixup test code and scripts 2018-05-13 12:06:12 -06:00
vk_layer_settings.txt docs: Remove swapchain refs from docs/text files 2017-06-12 07:32:50 -06:00
vk_loader_validation_tests.vcxproj.user tests: Add user env file for Visual Studio 2018-05-22 15:41:30 -06:00

Loader Tests

This directory contains a test suite for the Vulkan loader. These tests are not exhaustive — they are expected to be supplemented with other tests, such as CTS.

Running Tests

To run the tests, your environment needs to be configured so that the test layers will be found. This can be done by setting the VK_LAYER_PATH environment variable to point at the built layers. Depending on the platform build tool you use, this location will either be ${CMAKE_BINARY_DIR}/tests/layers or ${CMAKE_BINARY_DIR}/tests/layers/${CONFIGURATION}. When using Visual Studio, a the generated project will already be set up to set the environment as needed. Running the tests through the run_loader_tests.sh script on Linux will also set up the environment properly. With any other toolchain, the user will have to set up the environment manually.