Files
third_party_vulkan-loader/tests
Charles Giessen 0b14ceae6c test: Move more old tests to new test framework
Remove them from the calling scripts where appropriate. Notably the 'get count
then run tests and pass in count' are now using the framework where that is
completely redundant.

Change-Id: I00d561a85047742a849df48818398b10c62d3b74
2021-07-12 16:23:15 -06:00
..
2021-04-06 14:52:51 -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.