test: Add test infrastructure
authorCharles Giessen <charles@lunarg.com>
Thu, 15 Jun 2023 20:05:59 +0000 (14:05 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Fri, 16 Jun 2023 21:06:03 +0000 (15:06 -0600)
commit7879c955b9a8705576d975a9d1bbd280ca40ade8
treec7501d7daac6507fd6163e288dc53d16737e1022
parent0d43b2471174e5bb6d5d8061e5f69c609c84ad5d
test: Add test infrastructure

Add necessary CMake code to enable tests to be built and run. Most of
the logic is taken from Vulkan-ValidationLayers' and adapted for use
here.

New build option:
BUILD_TESTS - defaults to OFF. Controls whether to build tests.
BUILD.md
CMakeLists.txt
tests/CMakeLists.txt [new file with mode: 0644]
tests/icd/mock_icd_tests.cpp [new file with mode: 0644]
tests/main.cpp [new file with mode: 0644]