...while it would be cleaner if GTest were not installed with LPF. E.g., if LPF-was installed system-wide while (an older) GTest was also installed there, we would overwrite that, which is not nice behaviour.
The test in question is the "testing compilation of an MPI LPF program"-- this test ensures that lpfcc / lpfcxx also pass the MPI header includes corresponding to the MPI LPF was installed with. It presently reuses the func_lpf_hook_subset.mpimsg.cpp test for this purpose-- cleaner is if there was an ../example that performs hooking (and thus requires mpi.h) that could be compiled instead. After that, the GTest installation can be removed.