Vulkan-Utility-Libraries/tests
Charles Giessen 89b8b0df6d 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.
2023-10-17 13:48:39 -06:00
..
add_subdirectory gn: Add stub file to ensure header only files are checked 2023-09-21 10:42:16 -06:00
find_package cmake: Export library to standardize compiler/linker options 2023-09-21 15:58:50 -06:00
CMakeLists.txt ci: Add armeabi-v7a to CI 2023-10-06 10:39:43 -06:00
README.md Ensure all header files shipped have the vk_ prefix 2023-09-08 12:47:09 -06:00
struct_helper.cpp ci: Add armeabi-v7a to CI 2023-10-06 10:39:43 -06:00
test_formats.cpp cmake: Only create 1 test executable 2023-10-05 16:55:23 -06:00
test_interface.cpp ci: Add armeabi-v7a to CI 2023-10-06 10:39:43 -06:00
test_setting_api.cpp cmake: Only create 1 test executable 2023-10-05 16:55:23 -06:00
test_setting_cast.cpp cmake: Only create 1 test executable 2023-10-05 16:55:23 -06:00
test_setting_cpp.cpp cmake: Only create 1 test executable 2023-10-05 16:55:23 -06:00
test_setting_env.cpp Unset env-var in layer tests 2023-10-17 13:48:39 -06:00
test_setting_file.cpp cmake: Only create 1 test executable 2023-10-05 16:55:23 -06:00
test_setting_util.cpp cmake: Only create 1 test executable 2023-10-05 16:55:23 -06:00
vk_enum_string_helper.cpp cmake: Only create 1 test executable 2023-10-05 16:55:23 -06:00

Library integration testing

In order to avoid disruption of downstream users. It's important to test how this repository is consumed.

  1. Self contained headers

It's easy to write header files that aren't self contained. By compiling a single source file that includes a single header we ensure a smooth experience for downstream users.

  1. Ensure C compatibility of C header files

It's VERY easy to write invalid C code. Especially for experience C++ programmers.

tests/find_package

Test find_package support. The intent is to ensure we properly install files.

Used by system/language package managers and the Vulkan SDK packaging.

tests/add_subdirectory

  1. Test add_subdirectory support

While we don't have to support add_subdirectory it is a common feature request for CMake projects.

  1. Ensure file name consistency of header files we install

All header files we ship will have the vk_ prefix

This convention was originally established in VulkanHeaders for files created by LunarG.

  • EX: vk_icd.h, vk_layer.h, vk_platform.h