Fix tests for env-var filtering due to previous commit
authorCharles Giessen <charles@lunarg.com>
Thu, 3 Nov 2022 22:18:20 +0000 (16:18 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Fri, 4 Nov 2022 20:08:39 +0000 (14:08 -0600)
commit256a5e3b6d6fc31e711f912291498becd6a41330
tree58b0c6bbafb1af75edb5c22488962c84d920523c
parent78ffb447a3324e8a4f75ab57a67f1f184ebd0648
Fix tests for env-var filtering due to previous commit

The previous commit altered vkCreateInstance erroring out if the
application tries to enable an env-var disabled layer, so the tests
need to be revised for it. This commit also makes lot of modifications
to the tests in addition to that.

Also adds tests for when the override layer is present and when
implicit layer's enable-environment variables are present.
tests/framework/test_environment.cpp
tests/framework/test_environment.h
tests/loader_alloc_callback_tests.cpp
tests/loader_envvar_tests.cpp
tests/loader_layer_tests.cpp
tests/loader_regression_tests.cpp
tests/loader_testing_main.cpp