Only define test suites when TEST_Ps defined
The EXTClipCullDistanceForVertexShaderCompileFailureTest and
EXTClipCullDistanceForFragmentShaderCompileFailureTest test suites
each contain only one test, which is defined iff ANGLE_ENABLE_VULKAN
is defined. This results in UNINSTANTIATED_PARAMETERIZED_TEST errors.
This problem was discovered by attempting to roll googletest past CL
315255779, which causes test binaries to fail when they include test
suites / parametrized tests that are not instantiated, and when they
include empty test suites.
Bug: chromium:1163396
Change-Id: Ie1837bc2879c14ad9f51a4a757ee1edc7e603c61
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2686377Reviewed-by:
Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Showing
Please
register
or
sign in
to comment