Propagate CMAKE_GENERATOR_PLATFORM through the test hierarchy so that all tests can build with the selected generator platform, if any.
s/CMAKE_TEST_GENERATOR/CMAKE_GENERATOR/g