Currently there is no way for a port to configure gtest. The options are also not readily available to TestWebKitAPI.
Created attachment 348954 [details] Patch
Ports may want to set any one of the variables set in https://github.com/google/googletest/blob/release-1.8.1/googletest/include/gtest/internal/gtest-port.h#L46-L115 to describe their environment so this allows that.
Comment on attachment 348954 [details] Patch Clearing flags on attachment: 348954 Committed r235718: <https://trac.webkit.org/changeset/235718>
All reviewed patches have been landed. Closing bug.