GoogleTest: Honor TEST_LAUNCHER in gtest_discover_tests
We run test executables to discover tests. Use the same launchers that
are used to run the tests. We already handle CROSSCOMPILING_EMULATOR
.
Update the logic to account for the TEST_LAUNCHER
property added by
!8963 (merged), and for the CROSSCOMPILING_EMULATOR
behavior change in !8947 (merged).
Fixes: #25603 (closed)
Topic-rename: GoogleTest-test-launcher
Edited by Brad King