Fix tests framework_config.h to work all the time
authorCharles Giessen <charles@lunarg.com>
Thu, 2 May 2024 15:42:56 +0000 (10:42 -0500)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Thu, 2 May 2024 21:08:41 +0000 (15:08 -0600)
commit668bafa375b5ca795f33097dcbc7ca973d23de7c
treee6eb389bed85d3bec34902440ff5e1b42235904b
parente99fce9366ceabe1a1568d2d0febfaa39af1b065
Fix tests framework_config.h to work all the time

When using multi-config build systems such as MSVC, it was possible
for the framework_config.h to not be updated properly, resulting in
the wrong binaries being used during testing. By ditching the
common header file and directly specifying the header file to use
through a compiler definition, the code is now shorter and more
reliable.
tests/framework/CMakeLists.txt
tests/framework/test_util.h