Help running Native GoogleTest on cross compile target


(John Grange) #1

Our project compiles native C++ to a number of platforms, including visual studio, and gcc (x86 and ARM). I have got the googletest plugin working fine for executables that will run on the target that is being used for the build, but cannot work out how to run the tests on one of the cross compiled targets.

In our current build scripts, we copy the cross compiled googletest binaries to the target platform (using scp), along with test data, execute the binary and then copy the results back.